question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What was the record on September 4? | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE date = "september 4" |
What was the record on September 26? | CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_79 WHERE date = "september 26" |
Who was the opponent with a Loss of Leal (1β4)? | CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_35 WHERE loss = "leal (1β4)" |
In the Class T, what is the total of the 1958 UTA? | CREATE TABLE t (Id VARCHAR) | SELECT COUNT(1958 AS _uta) FROM "t" AS able_name_49 WHERE class = "t" |
What was the result of the match played on 13 October 1993? | CREATE TABLE table_name_93 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_93 WHERE date = "13 october 1993" |
When did the team score 21 goals? | CREATE TABLE table_name_67 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_67 WHERE goal = 21 |
What was the score of the match played on 14 October 1998, resulting in more than 10 goals? | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR) | SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10 |
What is the total number of years that Scuderia Guastalla was an entrant? | CREATE TABLE table_name_24 (year VARCHAR, entrant VARCHAR) | SELECT COUNT(year) FROM table_name_24 WHERE entrant = "scuderia guastalla" |
What was the earliest year that Scuderia Ferrari was an entrant with 0 points? | CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, entrant VARCHAR) | SELECT MIN(year) FROM table_name_88 WHERE points = "0" AND entrant = "scuderia ferrari" |
What is the total number of years that has a chassis of Ferrari 625 and 2 points? | CREATE TABLE table_name_24 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_24 WHERE chassis = "ferrari 625" AND points = "2" |
Which 2006 Cobra Starship song has work done of guest vocals? | CREATE TABLE table_name_53 (song VARCHAR, artist_s_ VARCHAR, work_done VARCHAR, year VARCHAR) | SELECT song FROM table_name_53 WHERE work_done = "guest vocals" AND year = 2006 AND artist_s_ = "cobra starship" |
What is the decile sum with a roll smaller than 25, and franz josef area? | CREATE TABLE table_name_37 (decile INTEGER, roll VARCHAR, area VARCHAR) | SELECT SUM(decile) FROM table_name_37 WHERE roll < 25 AND area = "franz josef" |
What is the area with decile of 8, and a 25 roll? | CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25 |
What is the overall pick average with the pick # lower than 15? | CREATE TABLE table_name_26 (overall INTEGER, pick__number INTEGER) | SELECT AVG(overall) FROM table_name_26 WHERE pick__number < 15 |
What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze? | CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10 |
What is the Qual listed on the Year of 1954? | CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR) | SELECT qual FROM table_name_38 WHERE year = "1954" |
Which Year has a Qual of 144.683 and Lap larger than 27? | CREATE TABLE table_name_66 (year VARCHAR, laps VARCHAR, qual VARCHAR) | SELECT year FROM table_name_66 WHERE laps > 27 AND qual = "144.683" |
What's the Qual listed with a Rank of 27? | CREATE TABLE table_name_41 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_41 WHERE rank = "27" |
Which Team has a Year of 1978? | CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_45 WHERE year = 1978 |
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761? | CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761" |
What is the smallest year with a Mintage smaller than 10,000? | CREATE TABLE table_name_37 (year INTEGER, mintage INTEGER) | SELECT MIN(year) FROM table_name_37 WHERE mintage < 10 OFFSET 000 |
Which loss has a Date of april 26? | CREATE TABLE table_name_30 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_30 WHERE date = "april 26" |
Which date has an Opponent of angels, and a Loss of sanderson (0β1)? | CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT date FROM table_name_95 WHERE opponent = "angels" AND loss = "sanderson (0β1)" |
What is the largest Attendance with a Loss of darling (0β1)? | CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0β1)" |
What is the maximum capacity of the San Agustin Gym? | CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR) | SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym" |
Where is the Cagayan de Oro city located? | CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR) | SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city" |
Where is the Holy Cross of Davao College campus located? | CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR) | SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college" |
Which campus has the San Agustin gym? | CREATE TABLE table_name_2 (home_campus VARCHAR, arena_venue VARCHAR) | SELECT home_campus FROM table_name_2 WHERE arena_venue = "san agustin gym" |
What year did the San Agustin gym open? | CREATE TABLE table_name_44 (year_opened VARCHAR, arena_venue VARCHAR) | SELECT year_opened FROM table_name_44 WHERE arena_venue = "san agustin gym" |
Which player has a total bigger than 285 and a to par of +14? | CREATE TABLE table_name_10 (player VARCHAR, total VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_10 WHERE total > 285 AND to_par = "+14" |
What is the highest total with a t12 finish? | CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR) | SELECT MAX(total) FROM table_name_61 WHERE finish = "t12" |
Which country has a finish of t4? | CREATE TABLE table_name_98 (country VARCHAR, finish VARCHAR) | SELECT country FROM table_name_98 WHERE finish = "t4" |
What year won has a total less than 281? | CREATE TABLE table_name_71 (year_s__won VARCHAR, total INTEGER) | SELECT year_s__won FROM table_name_71 WHERE total < 281 |
Which chassis is ranked 24th? | CREATE TABLE table_name_96 (chassis VARCHAR, rank VARCHAR) | SELECT chassis FROM table_name_96 WHERE rank = "24th" |
Which chassis was made in 1993? | CREATE TABLE table_name_94 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_94 WHERE year = 1993 |
Which team is from earlier than 1994? | CREATE TABLE table_name_53 (team VARCHAR, year INTEGER) | SELECT team FROM table_name_53 WHERE year < 1994 |
What rank is later than 1994? | CREATE TABLE table_name_4 (rank VARCHAR, year INTEGER) | SELECT rank FROM table_name_4 WHERE year > 1994 |
What year did the King team have fewer than 10 points? | CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR) | SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10 |
What are the average points for the Project Indy team that has the Ford xb engine? | CREATE TABLE table_name_42 (points INTEGER, engine VARCHAR, team VARCHAR) | SELECT AVG(points) FROM table_name_42 WHERE engine = "ford xb" AND team = "project indy" |
Name the became consort for marriage of 4 april 1721 | CREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR) | SELECT became_consort FROM table_name_92 WHERE marriage = "4 april 1721" |
Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721 | CREATE TABLE table_name_55 (birth VARCHAR, spouse VARCHAR, became_consort VARCHAR) | SELECT birth FROM table_name_55 WHERE spouse = "frederick iv" AND became_consort = "4 april 1721" |
Name the became consort for ceased to be consort of 4 april 1588 husband's death | CREATE TABLE table_name_14 (became_consort VARCHAR, ceased_to_be_consort VARCHAR) | SELECT became_consort FROM table_name_14 WHERE ceased_to_be_consort = "4 april 1588 husband's death" |
Name the marriage of the person who is married for christian viii | CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR) | SELECT marriage FROM table_name_74 WHERE spouse = "christian viii" |
Who has 48 points in the class of 500 cc? | CREATE TABLE table_name_11 (team VARCHAR, points VARCHAR, class VARCHAR) | SELECT team FROM table_name_11 WHERE points = 48 AND class = "500 cc" |
How many wins does Benelli have before 1962? | CREATE TABLE table_name_43 (wins VARCHAR, team VARCHAR, year VARCHAR) | SELECT COUNT(wins) FROM table_name_43 WHERE team = "benelli" AND year < 1962 |
Which is Natural Wood Keyboard with a Model of clps306? | CREATE TABLE table_name_18 (natural_wood_keyboard VARCHAR, model VARCHAR) | SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "clps306" |
Which Graded Hammer (Non GH3) has a Model of cvp501? | CREATE TABLE table_name_44 (graded_hammer__non_gh3_ VARCHAR, model VARCHAR) | SELECT graded_hammer__non_gh3_ FROM table_name_44 WHERE model = "cvp501" |
Which Natural Wood Keyboard has a CLP380 ? | CREATE TABLE table_name_21 (natural_wood_keyboard VARCHAR, model VARCHAR) | SELECT natural_wood_keyboard FROM table_name_21 WHERE model = "clp380" |
Which Graded Hammer Three (GH3) shows Model of clp320? | CREATE TABLE table_name_20 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR) | SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320" |
What was the date for the French Grand Prix? | CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR) | SELECT date FROM table_name_19 WHERE name = "french grand prix" |
What was the name for the race in the Miramas circuit? | CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_31 WHERE circuit = "miramas" |
Which circuit was Delage the winning constructor for? | CREATE TABLE table_name_44 (circuit VARCHAR, winning_constructor VARCHAR) | SELECT circuit FROM table_name_44 WHERE winning_constructor = "delage" |
What is the name for the Monza circuit race were Bugatti was the winning constructor? | CREATE TABLE table_name_51 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_51 WHERE winning_constructor = "bugatti" AND circuit = "monza" |
Which report shows that Frank Lockhart was a winning driver? | CREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR) | SELECT report FROM table_name_79 WHERE winning_drivers = "frank lockhart" |
What Ranking has Gold less than 20 and the Event 1976 Toronto? | CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR) | SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto" |
What Gold has a Silver greater than 30 and a Total less than 107? | CREATE TABLE table_name_40 (gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT gold FROM table_name_40 WHERE silver > 30 AND total < 107 |
What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5? | CREATE TABLE table_name_27 (bronze INTEGER, event VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_27 WHERE event = "1972 heidelberg" AND total < 5 |
What is the Total with the Event 2004 Athens and Gold less than 20? | CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20 |
What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger than 4? | CREATE TABLE table_name_2 (bronze INTEGER, ranking VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_2 WHERE ranking = "22nd of 32" AND gold > 4 |
Which polling firm put T. Papadopoulos at 31%? | CREATE TABLE table_name_91 (polling_firm VARCHAR, t_papadopoulos VARCHAR) | SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "31%" |
What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%? | CREATE TABLE table_name_85 (t_papadopoulos VARCHAR, i_kasoulidis VARCHAR) | SELECT t_papadopoulos FROM table_name_85 WHERE i_kasoulidis = "27.1%" |
What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%? | CREATE TABLE table_name_65 (k_themistokleous VARCHAR, i_kasoulidis VARCHAR) | SELECT k_themistokleous FROM table_name_65 WHERE i_kasoulidis = "30.1%" |
What was the percentage for T. Papadopoulos when D. Christofias was 28.4%? | CREATE TABLE table_name_48 (t_papadopoulos VARCHAR, d_christofias VARCHAR) | SELECT t_papadopoulos FROM table_name_48 WHERE d_christofias = "28.4%" |
Which tournament has a 2007 of 2r, and a 2011 of 2r? | CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r" |
What is the number of titles for the city of gyΕr with a rank larger than 4? | CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR) | SELECT SUM(titles) FROM table_name_47 WHERE city = "gyΕr" AND rank > 4 |
What is the Score of the Toronto Maple Leafs home game on February 1? | CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_99 WHERE home = "toronto maple leafs" AND date = "february 1" |
What is the score of the Boston Bruins away game on March 13? | CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_92 WHERE visitor = "boston bruins" AND date = "march 13" |
What visiting team has a record of 9β5β2? | CREATE TABLE table_name_93 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_93 WHERE record = "9β5β2" |
What is the score of the game with a record of 12β8β3? | CREATE TABLE table_name_98 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_98 WHERE record = "12β8β3" |
What is the date that the Montreal Canadiens hosted a game with a record of 14β11β3? | CREATE TABLE table_name_77 (date VARCHAR, home VARCHAR, record VARCHAR) | SELECT date FROM table_name_77 WHERE home = "montreal canadiens" AND record = "14β11β3" |
What is the country of Craig Stadler? | CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_65 WHERE player = "craig stadler" |
What is the average total of Gay Brewer from the United States with a to par of 9? | CREATE TABLE table_name_49 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer" |
What was the finish by the player from West Germany? | CREATE TABLE table_name_36 (finish VARCHAR, country VARCHAR) | SELECT finish FROM table_name_36 WHERE country = "west germany" |
What is the smallest goal during the 2006 fifa world cup qualification competition? | CREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR) | SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification" |
Name the representative for party of whig | CREATE TABLE table_name_76 (representative VARCHAR, party VARCHAR) | SELECT representative FROM table_name_76 WHERE party = "whig" |
Name the total number of years for chassis of maserati 250f and points less than 0 | CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0 |
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957 | CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957 |
Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati | CREATE TABLE table_name_80 (points INTEGER, chassis VARCHAR, entrant VARCHAR) | SELECT SUM(points) FROM table_name_80 WHERE chassis = "maserati 250f" AND entrant = "officine alfieri maserati" |
Name the lowest points for officine alfieri maserati | CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR) | SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati" |
How tall is Ye Fei? | CREATE TABLE table_name_36 (height VARCHAR, players VARCHAR) | SELECT height FROM table_name_36 WHERE players = "ye fei" |
What is the attendance of the game on July 26? | CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26" |
How many years did the team place 2nd in Antwerp, Belgium? | CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR) | SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd" |
What is the name of the venue that was used before 1991? | CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER) | SELECT venue FROM table_name_23 WHERE year < 1991 |
How many years did the team place 2nd in Auckland, New Zealand? | CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR) | SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand" |
What was the started round for the competition that had the last match on January 16, 2008? | CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR) | SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008" |
On what date was the first match for the competition that ended its last match on December 16, 2007? | CREATE TABLE table_name_81 (first_match VARCHAR, last_match VARCHAR) | SELECT first_match FROM table_name_81 WHERE last_match = "december 16, 2007" |
What competition had a final round in the finals and the final position winners? | CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR) | SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals" |
On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals? | CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR) | SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals" |
What competition had its first match on December 20, 2007? | CREATE TABLE table_name_15 (competition VARCHAR, first_match VARCHAR) | SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007" |
What was the date of the first match of the Fifa Club World Cup that ended with the final position as winners? | CREATE TABLE table_name_6 (first_match VARCHAR, final_position VARCHAR, competition VARCHAR) | SELECT first_match FROM table_name_6 WHERE final_position = "winners" AND competition = "fifa club world cup" |
What was Len Sutton's total number of completed laps when his qualifying time was 142.653? | CREATE TABLE table_name_49 (laps VARCHAR, qual VARCHAR) | SELECT COUNT(laps) FROM table_name_49 WHERE qual = "142.653" |
What call sign has a frequency of 91.3 MHz? | CREATE TABLE table_name_81 (call_sign VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_81 WHERE frequency_mhz = 91.3 |
What city of license has a value of k293bg for its call sign? | CREATE TABLE table_name_82 (city_of_license VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_82 WHERE call_sign = "k293bg" |
When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign? | CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7 |
In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz? | CREATE TABLE table_name_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR) | SELECT AVG(frequency_mhz) FROM table_name_21 WHERE city_of_license = "los banos, california" AND erp_w < 10 |
What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10? | CREATE TABLE table_name_16 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_16 WHERE frequency_mhz < 95.5 AND erp_w > 10 |
Name the player with score of 73-69-74-71=287 | CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287 |
Name the sum To par for score of 71-74-71-72=288 | CREATE TABLE table_name_26 (to_par INTEGER, score VARCHAR) | SELECT SUM(to_par) FROM table_name_26 WHERE score = 71 - 74 - 71 - 72 = 288 |
Tell me the tournament for kathy horvath opponent | CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath" |
Name the date for hard surface at maybelline classic with opponent of wendy turnbull | CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.