text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
### Question:
What day is collingwood the home side?
### Answer:
SELECT date FROM table_name_79 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR)
### Question:
Which fatality was at ankara for the aircraft douglas c-47?
### Answer:
SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)
### Question:
What is the record when the time is 1:11?
### Answer:
SELECT record FROM table_name_91 WHERE time = "1:11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21486890_1 (matches INTEGER, name VARCHAR)
### Question:
Name the matches for mark taylor category:articles with hcards
### Answer:
SELECT MAX(matches) FROM table_21486890_1 WHERE name = "Mark Taylor Category:Articles with hCards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
How many totals have a Gold larger than 0, and a Bronze smaller than 0?
### Answer:
SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (goals VARCHAR, venue VARCHAR)
### Question:
What were the goals at Sydney?
### Answer:
SELECT goals FROM table_name_16 WHERE venue = "sydney" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (score VARCHAR, winner VARCHAR, runner_up VARCHAR)
### Question:
What is the Score when the winner was sanyo wild knights, and a Runner-up of suntory sungoliath?
### Answer:
SELECT score FROM table_name_39 WHERE winner = "sanyo wild knights" AND runner_up = "suntory sungoliath" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1354805_6 (rank_by_average VARCHAR, number_of_dances VARCHAR)
### Question:
tell the mean of the times competition for the 7 jigs
### Answer:
SELECT rank_by_average FROM table_1354805_6 WHERE number_of_dances = 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (year INTEGER, winning_constructor VARCHAR)
### Question:
What is the latest year that has ferrari 166 fl as the winning constructor?
### Answer:
SELECT MAX(year) FROM table_name_7 WHERE winning_constructor = "ferrari 166 fl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (wins INTEGER, top_10 VARCHAR, cuts_made VARCHAR, starts VARCHAR)
### Question:
What is the highest number of wins when more than 17 cuts and more than 25 starts were made, and the top 10 ranking is less than 8?
### Answer:
SELECT MAX(wins) FROM table_name_95 WHERE cuts_made > 17 AND starts > 25 AND top_10 < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the opponents score when Geelong played as home team?
### Answer:
SELECT away_team AS score FROM table_name_99 WHERE home_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR)
### Question:
What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?
### Answer:
SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the average crowd size when Melbourne was the home team?
### Answer:
SELECT AVG(crowd) FROM table_name_9 WHERE home_team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR)
### Question:
How many overalls has 1 combined and 24 downhills?
### Answer:
SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)
### Question:
In what Season is Necaxa an Opponent?
### Answer:
SELECT season FROM table_name_96 WHERE opponent = "necaxa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
### Question:
What is the starting weight if weight lost is 54.6?
### Answer:
SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2144389_8 (vocalist VARCHAR, japanese_translation VARCHAR)
### Question:
Name the number of vocalists for which one ~ is it?
### Answer:
SELECT COUNT(vocalist) FROM table_2144389_8 WHERE japanese_translation = "Which One ~ Is It?" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR)
### Question:
Name the country where % change on year is 21 and value is less than 86
### Answer:
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)
### Question:
What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?
### Answer:
SELECT construction_completed FROM table_name_49 WHERE listed = "09/08/1983" AND name = "cecil lindsey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is the tie number when Wigan Athletic is the home team?
### Answer:
SELECT tie_no FROM table_name_21 WHERE home_team = "wigan athletic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (team_1 VARCHAR)
### Question:
The 2nd leg is what for the Atlético Madrid as Team 1?
### Answer:
SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
### Question:
what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?
### Answer:
SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE hall_of_fame (yearid VARCHAR)
### Question:
In which year did the least people enter hall of fame?
### Answer:
SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY COUNT(*) LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (venue VARCHAR, against VARCHAR, date VARCHAR)
### Question:
What was the venue for the game played on 16/01/1954, when the against was more than 3?
### Answer:
SELECT venue FROM table_name_96 WHERE against > 3 AND date = "16/01/1954" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (games INTEGER, goals_against VARCHAR, lost VARCHAR, points VARCHAR)
### Question:
How many games were lost by more than 27 but not more 78 with goals less than 300?
### Answer:
SELECT AVG(games) FROM table_name_61 WHERE lost > 27 AND points < 78 AND goals_against < 300 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR)
### Question:
In what round was Clyde the opponent?
### Answer:
SELECT round FROM table_name_28 WHERE opponent = "clyde" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
### Question:
Name the outcome for 6 march 2000
### Answer:
SELECT outcome FROM table_name_76 WHERE date = "6 march 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17271495_1 (driver VARCHAR, points VARCHAR)
### Question:
Name the drive for points being 13
### Answer:
SELECT driver FROM table_17271495_1 WHERE points = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR)
### Question:
What is the lowest heat number for a swimmer with a time of 2:34.94?
### Answer:
SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_158088_2 (production_code VARCHAR, written_by VARCHAR)
### Question:
What is the production code for the episode written by Drew Z. Greenberg?
### Answer:
SELECT production_code FROM table_158088_2 WHERE written_by = "Drew Z. Greenberg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (kerry_number INTEGER, others_number VARCHAR, bush_number VARCHAR)
### Question:
What is the lowest Kerry#, when Others# is "106", and when Bush# is less than 3,188?
### Answer:
SELECT MIN(kerry_number) FROM table_name_38 WHERE others_number = 106 AND bush_number < 3 OFFSET 188 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (crowd INTEGER, home_team VARCHAR)
### Question:
What is the largest crowd when north melbourne is the home side?
### Answer:
SELECT MAX(crowd) FROM table_name_94 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR)
### Question:
if they played last on 12/5/1987 what is their record
### Answer:
SELECT current_streak FROM table_15740666_6 WHERE last_meeting = "12/5/1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (lead VARCHAR, home VARCHAR)
### Question:
Who is the lead of the team from Lockerbie?
### Answer:
SELECT lead FROM table_name_81 WHERE home = "lockerbie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)
### Question:
Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?
### Answer:
SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)
### Question:
Name the course for team time trial
### Answer:
SELECT course FROM table_name_58 WHERE type = "team time trial" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (to_par INTEGER, country VARCHAR, score VARCHAR)
### Question:
What is the lowest to par of a player from australia with a score of 76-70-75-72=293?
### Answer:
SELECT MIN(to_par) FROM table_name_96 WHERE country = "australia" AND score = 76 - 70 - 75 - 72 = 293 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (date VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
### Question:
What is the date of the final that has a score of 3–6, 6–3, 6–4 and penny barg paula smith was the opponent?
### Answer:
SELECT date FROM table_name_98 WHERE score_in_the_final = "3–6, 6–3, 6–4" AND opponents_in_the_final = "penny barg paula smith" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR)
### Question:
What was the final score of the player from Inglewood, California?
### Answer:
SELECT score FROM table_name_14 WHERE city = "inglewood, california" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
### Question:
What's Russia's lane when they were ranked before 1?
### Answer:
SELECT MAX(lane) FROM table_name_60 WHERE nationality = "russia" AND rank < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)
### Question:
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?
### Answer:
SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away team's score when Collingwood was the home team?
### Answer:
SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1912276_2 (name VARCHAR, __750m VARCHAR)
### Question:
If -750m is 46.436, what is the name of the cyclist?
### Answer:
SELECT name FROM table_1912276_2 WHERE __750m = "46.436" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16912000_13 (player VARCHAR, kr_avg VARCHAR)
### Question:
Who's average is 24.8?
### Answer:
SELECT player FROM table_16912000_13 WHERE kr_avg = "24.8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)
### Question:
Which Perth has Auckland yes and Gold Coast yes?
### Answer:
SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (datacenter VARCHAR, itanium VARCHAR, features VARCHAR)
### Question:
What is the Datacenter for the Memory modules: hot addition Feature that has Yes listed for Itanium?
### Answer:
SELECT datacenter FROM table_name_85 WHERE itanium = "yes" AND features = "memory modules: hot addition" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22875369_3 (date VARCHAR, irish_points VARCHAR)
### Question:
Name the date for irish points being 89
### Answer:
SELECT date FROM table_22875369_3 WHERE irish_points = 89 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (date VARCHAR, visitor VARCHAR)
### Question:
What is the date of the game that had a visitor of Chicago?
### Answer:
SELECT date FROM table_name_22 WHERE visitor = "chicago" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)
### Question:
Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up?
### Answer:
SELECT champion FROM table_29295463_9 WHERE runner_up = "Scott Davis Chris Dunk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR)
### Question:
What is Mike Weir's To par?
### Answer:
SELECT to_par FROM table_name_79 WHERE player = "mike weir" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VARCHAR)
### Question:
Show all train names and times in stations in London in descending order by train time.
### Answer:
SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR)
### Question:
When was the game in Mexico played?
### Answer:
SELECT date FROM table_11602885_1 WHERE location = "Mexico" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (performer_s_ VARCHAR, composer_s_ VARCHAR)
### Question:
Who sang the song composed by Mariah Carey and Walter Afanasieff?
### Answer:
SELECT performer_s_ FROM table_name_20 WHERE composer_s_ = "mariah carey and walter afanasieff" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR)
### Question:
What engine with years of 1975-84 has a displacement of 1585cc?
### Answer:
SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23117208_3 (viewers__millions_ VARCHAR, prod_code VARCHAR)
### Question:
how many millions of spectator did has the episode whose prod.code was rp#213?
### Answer:
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10420426_1 (poles VARCHAR, team VARCHAR)
### Question:
What is the total number of poles for arden international?
### Answer:
SELECT COUNT(poles) FROM table_10420426_1 WHERE team = "Arden International" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (location VARCHAR, runner_up VARCHAR, year VARCHAR)
### Question:
What is the location where ed c. kingsley was the runner-up in 1939?
### Answer:
SELECT location FROM table_name_63 WHERE runner_up = "ed c. kingsley" AND year = "1939" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1302886_1 (county VARCHAR, kerry_number VARCHAR)
### Question:
What is the county where kerry# is 59740?
### Answer:
SELECT county FROM table_1302886_1 WHERE kerry_number = 59740 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (venue VARCHAR, position VARCHAR)
### Question:
Name the venue for 27th position
### Answer:
SELECT venue FROM table_name_1 WHERE position = "27th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (category VARCHAR, nominee VARCHAR, result VARCHAR, award VARCHAR)
### Question:
What is Category, when Result is "Nominated", when Award is "Drama Desk Award", and when Nominee is "Nathan Lane"?
### Answer:
SELECT category FROM table_name_95 WHERE result = "nominated" AND award = "drama desk award" AND nominee = "nathan lane" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1708014_1 (position VARCHAR, winnings VARCHAR)
### Question:
Which position offers winnings of $4,228,889?
### Answer:
SELECT position FROM table_1708014_1 WHERE winnings = "$4,228,889" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, administrative_division VARCHAR)
### Question:
Name the total number of population 2000 census for mesquita
### Answer:
SELECT COUNT(population_2000_census) FROM table_14986292_1 WHERE administrative_division = "Mesquita" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_269920_3 (l2_cache__mb_ VARCHAR, model VARCHAR)
### Question:
What's the L2 cache for the 7140N model?
### Answer:
SELECT l2_cache__mb_ FROM table_269920_3 WHERE model = "7140N" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (tyres VARCHAR, points VARCHAR)
### Question:
Which tyres received 8 points?
### Answer:
SELECT tyres FROM table_name_56 WHERE points = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What is the To Par of Peter Senior from Australia?
### Answer:
SELECT to_par FROM table_name_28 WHERE country = "australia" AND player = "peter senior" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (total VARCHAR, nation VARCHAR)
### Question:
What is the medal total of Denmark?
### Answer:
SELECT COUNT(total) FROM table_name_52 WHERE nation = "denmark" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (musical_guest_song_performed VARCHAR, pilot VARCHAR)
### Question:
What is the Musical Guest/Song with a pilot of 3?
### Answer:
SELECT musical_guest_song_performed FROM table_name_99 WHERE pilot = "3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (week VARCHAR, attendance VARCHAR)
### Question:
What week had an attendance of 27,262?
### Answer:
SELECT week FROM table_name_66 WHERE attendance = "27,262" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (year INTEGER, pts VARCHAR, entrant VARCHAR)
### Question:
What year did Ecurie Bleue score more than 0 points?
### Answer:
SELECT AVG(year) FROM table_name_34 WHERE pts > 0 AND entrant = "ecurie bleue" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home side at glenferrie oval?
### Answer:
SELECT home_team FROM table_name_37 WHERE venue = "glenferrie oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (release_date VARCHAR, catalogue VARCHAR, recorded VARCHAR)
### Question:
When was the cataglogue EPA 4054 released with a 1/12/57 recorded?
### Answer:
SELECT release_date FROM table_name_31 WHERE catalogue = "epa 4054" AND recorded = "1/12/57" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (earnings_per_share__p_ INTEGER, year_ended VARCHAR, revenue__£million_ VARCHAR)
### Question:
When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?
### Answer:
SELECT SUM(earnings_per_share__p_) FROM table_name_89 WHERE year_ended = "2008" AND revenue__£million_ < 4 OFFSET 177 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (score VARCHAR, opponent VARCHAR, attendance VARCHAR)
### Question:
Can you tell me the Score that has the Opponent of brewers, and the Attendance of 11,235?
### Answer:
SELECT score FROM table_name_98 WHERE opponent = "brewers" AND attendance = "11,235" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
### Question:
Who's the Republican ticket with a Democratic ticket of matthew j. merritt?
### Answer:
SELECT republican_ticket FROM table_name_49 WHERE democratic_ticket = "matthew j. merritt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR)
### Question:
Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3?
### Answer:
SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = "5–7, 6–1, 6–3, 6–3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR)
### Question:
what is the soap opera when the duration is 18 years and the character is miley byrne?
### Answer:
SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (attendance INTEGER, date VARCHAR)
### Question:
What was the Attendance on November 29, 1953?
### Answer:
SELECT SUM(attendance) FROM table_name_56 WHERE date = "november 29, 1953" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
### Question:
how many district with incumbent being david delano glover
### Answer:
SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR)
### Question:
What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2?
### Answer:
SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
### Question:
What College/junior/club team (league) did mitch fadden play for?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_14 WHERE player = "mitch fadden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, current_broadway_cast VARCHAR)
### Question:
Who in the original Toronto cast played the character played by Kate Rockwell in the current Broadway cast?
### Answer:
SELECT original_toronto_cast FROM table_19529639_3 WHERE current_broadway_cast = "Kate Rockwell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR)
### Question:
How many in the cultural and educational panel have a university of Dublin of 3 & A labor panel larger than 11?
### Answer:
SELECT COUNT(cultural_and_educational_panel) FROM table_name_41 WHERE university_of_dublin = 3 AND labour_panel > 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Aircraft (aid VARCHAR, distance INTEGER); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR)
### Question:
What is the salary and name of the employee who has the most number of certificates on aircrafts with distance more than 5000?
### Answer:
SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.distance > 5000 GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (name VARCHAR, floors VARCHAR)
### Question:
what is the name that had 46 floors?
### Answer:
SELECT name FROM table_name_47 WHERE floors = 46 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)
### Question:
Tell me the left team for josh vanlandingham
### Answer:
SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (president VARCHAR, c_span_2009 VARCHAR)
### Question:
Who is the president when c-span 2009 is 21?
### Answer:
SELECT president FROM table_name_57 WHERE c_span_2009 = "21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR)
### Question:
What is the rear sight type on the model with the acr muzzle brake device?
### Answer:
SELECT rear_sight_type FROM table_19901_1 WHERE muzzle_device = "ACR muzzle brake" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (home_team VARCHAR)
### Question:
How many points did North Melbourne score?
### Answer:
SELECT home_team AS score FROM table_name_12 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (date VARCHAR, attendance VARCHAR)
### Question:
What was the date when the attendance was 73,529?
### Answer:
SELECT date FROM table_name_89 WHERE attendance = "73,529" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals?
### Answer:
SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR)
### Question:
what day was the sandown
### Answer:
SELECT date FROM table_name_56 WHERE race_title = "sandown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the country that has a place of T6 that Eduardo Romero plays for?
### Answer:
SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (total VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
### Answer:
SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (callsign VARCHAR, icao VARCHAR)
### Question:
What is the callsign where the ICAO is AAR?
### Answer:
SELECT callsign FROM table_name_80 WHERE icao = "aar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (season_outcome VARCHAR, school VARCHAR)
### Question:
What was the season outcome of Lake Forest?
### Answer:
SELECT season_outcome FROM table_name_43 WHERE school = "lake forest" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (longi__tude VARCHAR, date_³ VARCHAR)
### Question:
Which Longi- tude is on jun 6?
### Answer:
SELECT longi__tude FROM table_name_28 WHERE date_³ = "jun 6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25664518_3 (viewers__millions_ VARCHAR, fourth_couple VARCHAR)
### Question:
What was the number of viewers for the episode having a fourth couple of Tony and Jamie?
### Answer:
SELECT viewers__millions_ FROM table_25664518_3 WHERE fourth_couple = "Tony and Jamie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (score VARCHAR, outcome VARCHAR, date VARCHAR)
### Question:
What is the score when the outcome was runner-up, earlier than 1975?
### Answer:
SELECT score FROM table_name_25 WHERE outcome = "runner-up" AND date < 1975 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR, emp_dob VARCHAR)
### Question:
List the first name of all employees with job code PROF ordered by their date of birth.
### Answer:
SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' ORDER BY emp_dob |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)
### Question:
What is the earliest stage where mountains classifications was awarded to Peter Stetina?
### Answer:
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.