question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What is the total decile with an Area of whitianga, and a Roll smaller than 835? | CREATE TABLE "thames_coromandel_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT SUM("decile") FROM "thames_coromandel_district" WHERE "area"='whitianga' AND "roll"<835; | 2-12146269-1 |
Which name has an Area of kennedy bay? | CREATE TABLE "thames_coromandel_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "name" FROM "thames_coromandel_district" WHERE "area"='kennedy bay'; | 2-12146269-1 |
Which years have a Decile larger than 4, and an Area of thames? | CREATE TABLE "thames_coromandel_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "years" FROM "thames_coromandel_district" WHERE "decile">4 AND "area"='thames'; | 2-12146269-1 |
Which Authority has a Decile smaller than 6, and an Area of opoutere? | CREATE TABLE "thames_coromandel_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "authority" FROM "thames_coromandel_district" WHERE "decile"<6 AND "area"='opoutere'; | 2-12146269-1 |
Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school? | CREATE TABLE "thames_coromandel_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "gender" FROM "thames_coromandel_district" WHERE "years"='1–8' AND "authority"='state' AND "roll"<184 AND "name"='matatoki school'; | 2-12146269-1 |
What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? | CREATE TABLE "nationwide_tour_wins_5" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "nationwide_tour_wins_5" WHERE "winning_score"='–4 (71-72-72-69=284)'; | 2-12636704-1 |
What was the winning score of the event where Brian Kamm was the runner-up? | CREATE TABLE "nationwide_tour_wins_5" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "nationwide_tour_wins_5" WHERE "runner_s_up"='brian kamm'; | 2-12636704-1 |
Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)? | CREATE TABLE "nationwide_tour_wins_5" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "nationwide_tour_wins_5" WHERE "winning_score"='–15 (66-67-70-70=273)'; | 2-12636704-1 |
On what date was the Nike Colorado Classic held? | CREATE TABLE "nationwide_tour_wins_5" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "nationwide_tour_wins_5" WHERE "tournament"='nike colorado classic'; | 2-12636704-1 |
What was the winning score of the Buy.com Siouxland Open? | CREATE TABLE "nationwide_tour_wins_5" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "nationwide_tour_wins_5" WHERE "tournament"='buy.com siouxland open'; | 2-12636704-1 |
What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty? | CREATE TABLE "qualification" (
"rank" real,
"gymnast" text,
"difficulty_score" text,
"routine_score" real,
"total" real
); | SELECT MIN("total") FROM "qualification" WHERE "rank">8 AND "routine_score">27.6 AND "difficulty_score"='13.8'; | 2-1325907-1 |
What is the average medal total of the country who had 0 silver medals and participated in less than 15 games? | CREATE TABLE "participation_and_medals" (
"games" real,
"first" real,
"last" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real,
"best_finish_first_last" text
); | SELECT AVG("total") FROM "participation_and_medals" WHERE "games"<15 AND "silver"<0; | 2-1264114-1 |
What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT MIN("points") FROM "complete_formula_one_results" WHERE "chassis"='forti fg01b forti fg03' AND "year"<1996; | 2-1226756-3 |
What is the lowest year for an engine of ford zetec-r v8, and points greater than 0? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT MIN("year") FROM "complete_formula_one_results" WHERE "engine"='ford zetec-r v8' AND "points">0; | 2-1226756-3 |
What are the average points for an engine of ford zetec-r v8? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine" text,
"tyres" text,
"points" real
); | SELECT AVG("points") FROM "complete_formula_one_results" WHERE "engine"='ford zetec-r v8'; | 2-1226756-3 |
Name the years for elsthorpe school | CREATE TABLE "central_hawke_s_bay_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "years" FROM "central_hawke_s_bay_district" WHERE "name"='elsthorpe school'; | 2-12195931-4 |
Name the total number of roll for st joseph's school when decile is less than 5 | CREATE TABLE "central_hawke_s_bay_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT COUNT("roll") FROM "central_hawke_s_bay_district" WHERE "name"='st joseph''s school' AND "decile"<5; | 2-12195931-4 |
Name the years for porangahau school | CREATE TABLE "central_hawke_s_bay_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "years" FROM "central_hawke_s_bay_district" WHERE "area"='porangahau' AND "name"='porangahau school'; | 2-12195931-4 |
Name the gender for elsthorpe school | CREATE TABLE "central_hawke_s_bay_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
); | SELECT "gender" FROM "central_hawke_s_bay_district" WHERE "name"='elsthorpe school'; | 2-12195931-4 |
Name the drivers for chassis of season cancelled | CREATE TABLE "summary" (
"season" text,
"chassis" text,
"engine" text,
"tyres" text,
"rounds" text,
"teams" text,
"drivers" text,
"champion_points" text,
"second_points" text,
"third_points" text
); | SELECT "drivers" FROM "summary" WHERE "chassis"='season cancelled'; | 2-12868148-1 |
Name the teams for third points of season cancelled | CREATE TABLE "summary" (
"season" text,
"chassis" text,
"engine" text,
"tyres" text,
"rounds" text,
"teams" text,
"drivers" text,
"champion_points" text,
"second_points" text,
"third_points" text
); | SELECT "teams" FROM "summary" WHERE "third_points"='season cancelled'; | 2-12868148-1 |
Name the engine with rounds of 11 and teams of 25 | CREATE TABLE "summary" (
"season" text,
"chassis" text,
"engine" text,
"tyres" text,
"rounds" text,
"teams" text,
"drivers" text,
"champion_points" text,
"second_points" text,
"third_points" text
); | SELECT "engine" FROM "summary" WHERE "rounds"='11' AND "teams"='25'; | 2-12868148-1 |
What was the score for the loss of McDowell (12-7)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "loss"='mcdowell (12-7)'; | 2-12207149-7 |
What was the score for the game with an attendance greater than 33,658 and a record of 73-66? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance">'33,658' AND "record"='73-66'; | 2-12207149-7 |
What is the total laps for the year 2011? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT SUM("laps") FROM "24_hours_of_le_mans_results" WHERE "year"=2011; | 2-1235636-3 |
Which team is in 9th place? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "pos"='9th'; | 2-1235636-3 |
What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT SUM("division") FROM "career_statistics" WHERE "country"='serbia and montenegro' AND "apps"<12 AND "goals">0; | 2-12170727-1 |
What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT SUM("goals") FROM "career_statistics" WHERE "team"='partizan' AND "country"='serbia' AND "division">1; | 2-12170727-1 |
What year was the Honda ra168e 1.5 v6 t engine used? | CREATE TABLE "works_team_entries" (
"year" real,
"chassis" text,
"engine" text,
"tyres" text,
"pts" text
); | SELECT "year" FROM "works_team_entries" WHERE "engine"='honda ra168e 1.5 v6 t'; | 2-12330531-1 |
What tyres were used with the mp4/14 chassis? | CREATE TABLE "works_team_entries" (
"year" real,
"chassis" text,
"engine" text,
"tyres" text,
"pts" text
); | SELECT "tyres" FROM "works_team_entries" WHERE "chassis"='mp4/14'; | 2-12330531-1 |
How many tickets were there sold/available in Barcelona? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue_1986" text,
"gross_revenue_2011" text
); | SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "city"='barcelona'; | 2-12556186-2 |
How many tickets were sold/available when the gross revenue (2011) was $366,916? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue_1986" text,
"gross_revenue_2011" text
); | SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "gross_revenue_2011"='$366,916'; | 2-12556186-2 |
How many tickets were sold/available when the gross revenue (2011) was $5,948,390? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue_1986" text,
"gross_revenue_2011" text
); | SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "gross_revenue_2011"='$5,948,390'; | 2-12556186-2 |
What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue_1986" text,
"gross_revenue_2011" text
); | SELECT "gross_revenue_1986" FROM "box_office_score_data" WHERE "tickets_sold_available"='24,000 / 24,000 (100%)'; | 2-12556186-2 |
What was the score in the 1st leg when Stade d'Abidjan was Team 2? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_round" WHERE "team_2"='stade d''abidjan'; | 2-12335175-2 |
What was the aggregate score that had Union Douala as Team 1? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "second_round" WHERE "team_1"='union douala'; | 2-12335175-2 |
What was the 2nd leg score of the aggregate score of 4-9? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "second_round" WHERE "agg"='4-9'; | 2-12335175-2 |
Who was Team 2 when Stationery Stores was Team 1? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_2" FROM "second_round" WHERE "team_1"='stationery stores'; | 2-12335175-2 |
Which Team 1 has an aggregate score of 1-1 1? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "second_round" WHERE "agg"='1-1 1'; | 2-12335175-2 |
Can you tell me the Chassis that has the Year of 1977? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_european_formula_two_championsh" WHERE "year"=1977; | 2-1228177-1 |
Can you tell me the Entrant that has the Chassis of march 742, and the Year larger than 1974? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "entrant" FROM "complete_european_formula_two_championsh" WHERE "chassis"='march 742' AND "year">1974; | 2-1228177-1 |
Can you tell me the Chassis that has the Entrant of trivellato racing team? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_european_formula_two_championsh" WHERE "entrant"='trivellato racing team'; | 2-1228177-1 |
Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille? | CREATE TABLE "complete_european_formula_two_championsh" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_european_formula_two_championsh" WHERE "points"=13 AND "year"=1975 AND "entrant"='scuderia citta del mille'; | 2-1228177-1 |
What is the lowest value of a team with revenue less than 374 and a debt of 84%? | CREATE TABLE "2007_rankings" (
"team" text,
"country" text,
"value_m" real,
"debt_as_pctof_value" text,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT MIN("value_m") FROM "2007_rankings" WHERE "revenue_m"<374 AND "debt_as_pctof_value"='84'; | 2-12164751-7 |
What is the highest operating income that change by 2% and is less than $1,036m? | CREATE TABLE "2007_rankings" (
"team" text,
"country" text,
"value_m" real,
"debt_as_pctof_value" text,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT MAX("operating_income_m") FROM "2007_rankings" WHERE "pct_change_on_year"='2' AND "value_m"<'1,036'; | 2-12164751-7 |
Which team did they play on September 19? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='september 19'; | 2-12207528-7 |
What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY? | CREATE TABLE "broadcast_translators_of_wmhr" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "broadcast_translators_of_wmhr" WHERE "frequency_m_hz"<91.9 AND "city_of_license"='dansville, ny'; | 2-12454334-2 |
What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY? | CREATE TABLE "broadcast_translators_of_wmhr" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT "fcc_info" FROM "broadcast_translators_of_wmhr" WHERE "frequency_m_hz"<100.3 AND "city_of_license"='lowville, ny'; | 2-12454334-2 |
What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10? | CREATE TABLE "broadcast_translators_of_wmhr" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "broadcast_translators_of_wmhr" WHERE "frequency_m_hz"<95.9 AND "erp_w"=10; | 2-12454334-2 |
What is listed as the highest ERP W with a Call sign of W262AC? | CREATE TABLE "broadcast_translators_of_wmhr" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT MAX("erp_w") FROM "broadcast_translators_of_wmhr" WHERE "call_sign"='w262ac'; | 2-12454334-2 |
What's the sum of ERP W with a Frequency MHz that larger than 97.7? | CREATE TABLE "broadcast_translators_of_wmhr" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"height_m_ft" text,
"class" text,
"fcc_info" text
); | SELECT COUNT("erp_w") FROM "broadcast_translators_of_wmhr" WHERE "frequency_m_hz">97.7; | 2-12454334-2 |
What was the score of the game played on September 9? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='september 9'; | 2-12206056-8 |
Name the overall record for indian river | CREATE TABLE "2006_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "overall_record" FROM "2006_regular_season_football_standings" WHERE "school"='indian river'; | 2-13054553-8 |
What was E.J. "Dutch" Harrison's lowest To Par? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT MIN("to_par") FROM "final_round" WHERE "player"='e.j. \"dutch\" harrison'; | 2-13081314-4 |
How much money was won for the game with a score of 74-76-71-71=292? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "money" FROM "final_round" WHERE "score"='74-76-71-71=292'; | 2-13081314-4 |
What country was the player from with a score of 70-79-74-68=291? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "country" FROM "final_round" WHERE "score"='70-79-74-68=291'; | 2-13081314-4 |
When To par was less than 2, what was the score? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "score" FROM "final_round" WHERE "to_par"<2; | 2-13081314-4 |
When was the match with a result of sa by 10 wkts? | CREATE TABLE "england_in_south_africa" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "england_in_south_africa" WHERE "result"='sa by 10 wkts'; | 2-12410929-58 |
When was the match with a result of sa by 10 wkts? | CREATE TABLE "england_in_south_africa" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "england_in_south_africa" WHERE "result"='sa by 10 wkts'; | 2-12410929-58 |
When was there a match in Centurion Park? | CREATE TABLE "england_in_south_africa" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "england_in_south_africa" WHERE "venue"='centurion park'; | 2-12410929-58 |
Name the finish which has qual of 144.817 | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "qual"='144.817'; | 2-1252089-1 |
Name the qual for rank of 9 | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "rank"='9'; | 2-1252089-1 |
Name the qual for 1957 | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "year"='1957'; | 2-1252089-1 |
What shows as the status for the name of de la red? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "status" FROM "out" WHERE "name"='de la red'; | 2-12217273-6 |
What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "country" FROM "out" WHERE "transfer_fee"='—' AND "transfer_window"='summer' AND "status"='loaned out' AND "name"='gonzález'; | 2-12217273-6 |
What shows as the status for Diogo? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "status" FROM "out" WHERE "name"='diogo'; | 2-12217273-6 |
What is the name when the country is ESP and the transfer fee is € 7m? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "name" FROM "out" WHERE "country"='esp' AND "transfer_fee"='€ 7m'; | 2-12217273-6 |
What is the transfer window for the country of ESP and the name of de la red? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "transfer_window" FROM "out" WHERE "country"='esp' AND "name"='de la red'; | 2-12217273-6 |
What is the transfer fee of Diogo? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"transfer_window" text,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "out" WHERE "name"='diogo'; | 2-12217273-6 |
What was the record at the game that had an attendance over 27,623 and a score of 0–7? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "att">'27,623' AND "score"='0–7'; | 2-12278845-8 |
What was the lowest attendance at a game that had a loss of lohse (12–11)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" real,
"record" text
); | SELECT MIN("att") FROM "game_log" WHERE "loss"='lohse (12–11)'; | 2-12278845-8 |
What was time of the game against the Royals with a record of 81–73? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" real,
"record" text
); | SELECT "time" FROM "game_log" WHERE "opponent"='royals' AND "record"='81–73'; | 2-12278845-8 |
What is the average year of Maja Pohar's Women's singles matches? | CREATE TABLE "previous_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT AVG("year") FROM "previous_winners" WHERE "women_s_singles"='maja pohar'; | 2-12163387-1 |
Which round has a Kick Off of 1992-10-01 21:15? | CREATE TABLE "1992_93_ue_lleida_season" (
"round" text,
"kick_off" text,
"opponents" text,
"h_a" text,
"result" text,
"referee" text
); | SELECT "round" FROM "1992_93_ue_lleida_season" WHERE "kick_off"='1992-10-01 21:15'; | 2-12356410-6 |
Which round has a Kick Off of 1993-02-17 20:30? | CREATE TABLE "1992_93_ue_lleida_season" (
"round" text,
"kick_off" text,
"opponents" text,
"h_a" text,
"result" text,
"referee" text
); | SELECT "round" FROM "1992_93_ue_lleida_season" WHERE "kick_off"='1993-02-17 20:30'; | 2-12356410-6 |
What is the sum of Mpix with a maximum fps HDRX of less than 12 with a width larger than 5120? | CREATE TABLE "history" (
"frame_size" text,
"width" real,
"height" real,
"mpix" real,
"aspect_ratio" text,
"maximum_fps" real,
"maximum_fps_hd_rx" real,
"least_compression_at_24_fps" text,
"least_compression_at_maximum_fps" text
); | SELECT SUM("mpix") FROM "history" WHERE "maximum_fps_hd_rx"<12 AND "width">5120; | 2-1251878-3 |
What is the lowest maximum of fps with a width of 3072 and a height less than 1620? | CREATE TABLE "history" (
"frame_size" text,
"width" real,
"height" real,
"mpix" real,
"aspect_ratio" text,
"maximum_fps" real,
"maximum_fps_hd_rx" real,
"least_compression_at_24_fps" text,
"least_compression_at_maximum_fps" text
); | SELECT MIN("maximum_fps") FROM "history" WHERE "width"=3072 AND "height"<1620; | 2-1251878-3 |
What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1? | CREATE TABLE "history" (
"frame_size" text,
"width" real,
"height" real,
"mpix" real,
"aspect_ratio" text,
"maximum_fps" real,
"maximum_fps_hd_rx" real,
"least_compression_at_24_fps" text,
"least_compression_at_maximum_fps" text
); | SELECT "maximum_fps_hd_rx" FROM "history" WHERE "height">1080 AND "least_compression_at_24_fps"='6:1' AND "least_compression_at_maximum_fps"='7:1'; | 2-1251878-3 |
Who got the loss on the game that ended in a 52-36 record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='52-36'; | 2-12207553-5 |
Who got the loss for the game ending in a record of 55-41? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='55-41'; | 2-12207553-5 |
Which team opponent had a loss with their pitcher Dotson (8-6)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "loss"='dotson (8-6)'; | 2-12207553-5 |
What is the average 2006 value for wheat with a 2005 value greater than 7340? | CREATE TABLE "romanian_agricultural_research" (
"production_year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real
); | SELECT AVG("2006") FROM "romanian_agricultural_research" WHERE "production_year"='wheat' AND "2005">7340; | 2-12459580-1 |
What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546? | CREATE TABLE "romanian_agricultural_research" (
"production_year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real
); | SELECT AVG("2002") FROM "romanian_agricultural_research" WHERE "2010"<5587 AND "production_year"='sunflower' AND "2007">546; | 2-12459580-1 |
What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340? | CREATE TABLE "romanian_agricultural_research" (
"production_year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real
); | SELECT AVG("2001") FROM "romanian_agricultural_research" WHERE "2010">414 AND "2011"=7192 AND "2005">7340; | 2-12459580-1 |
What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181? | CREATE TABLE "romanian_agricultural_research" (
"production_year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real
); | SELECT SUM("2006") FROM "romanian_agricultural_research" WHERE "2011">4113 AND "2008"<7181; | 2-12459580-1 |
Name the gamecenter that has attendance of 65,212 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"game_center" text,
"tv_time" text,
"attendance" text
); | SELECT "game_center" FROM "schedule" WHERE "attendance"='65,212'; | 2-13258144-2 |
Name the gamecenter with attendance of 78,551 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"game_center" text,
"tv_time" text,
"attendance" text
); | SELECT "game_center" FROM "schedule" WHERE "attendance"='78,551'; | 2-13258144-2 |
Name the tv time for attendance of 69,551 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"game_center" text,
"tv_time" text,
"attendance" text
); | SELECT "tv_time" FROM "schedule" WHERE "attendance"='69,551'; | 2-13258144-2 |
what is the smallest number of laps imre toth has? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "250cc_classification" WHERE "rider"='imre toth'; | 2-12262589-2 |
what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "250cc_classification" WHERE "manufacturer"='gilera' AND "rider"='marco simoncelli' AND "grid"<8; | 2-12262589-2 |
Who was the away captain at Brisbane Cricket Ground? | CREATE TABLE "india_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "india_in_australia" WHERE "venue"='brisbane cricket ground'; | 2-12410929-9 |
Who was the home captain at Sydney Cricket Ground? | CREATE TABLE "india_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "india_in_australia" WHERE "venue"='sydney cricket ground'; | 2-12410929-9 |
On what date was the venue at Brisbane Cricket Ground? | CREATE TABLE "india_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "india_in_australia" WHERE "venue"='brisbane cricket ground'; | 2-12410929-9 |
Who was the away captain at Waca Ground? | CREATE TABLE "india_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "india_in_australia" WHERE "venue"='waca ground'; | 2-12410929-9 |
On what date was the venue at Brisbane Cricket Ground? | CREATE TABLE "india_in_australia" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "india_in_australia" WHERE "venue"='brisbane cricket ground'; | 2-12410929-9 |
What was the score for the game on June 30? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='june 30'; | 2-12207149-4 |
What CD has a catalog # of PCR 502? | CREATE TABLE "cd_releases" (
"catalog_num" text,
"title" text,
"year" text,
"composer" text,
"released" real
); | SELECT "title" FROM "cd_releases" WHERE "catalog_num"='pcr 502'; | 2-12187109-3 |
What CD was released in 2009? | CREATE TABLE "cd_releases" (
"catalog_num" text,
"title" text,
"year" text,
"composer" text,
"released" real
); | SELECT "title" FROM "cd_releases" WHERE "released"=2009; | 2-12187109-3 |
What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MAX("division") FROM "year_by_year" WHERE "playoffs"='quarter finals' AND "regular_season"='5th'; | 2-12322638-2 |
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT COUNT("year") FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "regular_season"='10th'; | 2-12322638-2 |
Subsets and Splits