question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is Run 1, when Run 4 is 1:56.59? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "run_1" FROM "results" WHERE "run_4"='1:56.59'; | 2-16944107-2 |
What is Rank, when Run 2 is 2:06.62? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "rank" FROM "results" WHERE "run_2"='2:06.62'; | 2-16944107-2 |
What is Run 2, when Run 1 is 2:09.09? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "run_2" FROM "results" WHERE "run_1"='2:09.09'; | 2-16944107-2 |
What is Final, when Team is United States (USA) USA I? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "final" FROM "results" WHERE "team"='united states (usa) usa i'; | 2-16944107-2 |
What is Final, when Run 3 is 1:57.41? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "final" FROM "results" WHERE "run_3"='1:57.41'; | 2-16944107-2 |
What is Run 3, when Team is United States (USA) USA I? | CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
); | SELECT "run_3" FROM "results" WHERE "team"='united states (usa) usa i'; | 2-16944107-2 |
Which position has 30 points and Reiner Stuyvenberg as a passenger? | CREATE TABLE "season_by_season" (
"season" text,
"passenger" text,
"equipment" text,
"position" text,
"points" real,
"races" real,
"wins" text,
"second" text,
"third" text
); | SELECT "position" FROM "season_by_season" WHERE "points"=30 AND "passenger"='reiner stuyvenberg'; | 2-16757967-1 |
Which passenger has a position of 21 and less than 49 points? | CREATE TABLE "season_by_season" (
"season" text,
"passenger" text,
"equipment" text,
"position" text,
"points" real,
"races" real,
"wins" text,
"second" text,
"third" text
); | SELECT "passenger" FROM "season_by_season" WHERE "position"='21' AND "points"<49; | 2-16757967-1 |
What were the wins with more than 145 points, less than 17 races, and Sven Verbrugge as a passenger? | CREATE TABLE "season_by_season" (
"season" text,
"passenger" text,
"equipment" text,
"position" text,
"points" real,
"races" real,
"wins" text,
"second" text,
"third" text
); | SELECT "wins" FROM "season_by_season" WHERE "points">145 AND "passenger"='sven verbrugge' AND "races"<17; | 2-16757967-1 |
Who is the passenger in 2009 season with 17 races? | CREATE TABLE "season_by_season" (
"season" text,
"passenger" text,
"equipment" text,
"position" text,
"points" real,
"races" real,
"wins" text,
"second" text,
"third" text
); | SELECT "passenger" FROM "season_by_season" WHERE "season"='2009' AND "races"=17; | 2-16757967-1 |
WHAT IS THE POSITION FOR BRAZIL, WITH 27 GOALS, AND FOR NECA? | CREATE TABLE "players" (
"name" text,
"nationality" text,
"position" text,
"s_o_paulo_career" text,
"appearances" real,
"goals" real
); | SELECT "position" FROM "players" WHERE "nationality"='brazil' AND "goals"=27 AND "name"='neca'; | 2-17121079-1 |
WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? | CREATE TABLE "players" (
"name" text,
"nationality" text,
"position" text,
"s_o_paulo_career" text,
"appearances" real,
"goals" real
); | SELECT "s_o_paulo_career" FROM "players" WHERE "appearances"<201 AND "goals"<2 AND "name"='ricardo rocha'; | 2-17121079-1 |
Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? | CREATE TABLE "current_models" (
"model" text,
"released" real,
"sensor_size" text,
"resolution" text,
"active_pixels" text,
"iso_range" text,
"dynamic_range_f_stops" real,
"seconds_frame" real,
"lens_conversion_factor" real,
"display" text,
"storage" text
); | SELECT "display" FROM "current_models" WHERE "iso_range"='80-800' AND "seconds_frame"=0.8; | 2-16395908-2 |
WHAT IS THE VALE ROYAL WITH THE JEWISH RELIGION? | CREATE TABLE "religious_group_breakdown" (
"religion" text,
"chester" text,
"congleton" text,
"crewe_and_nantwich" text,
"ellesmere_port_and_neston" text,
"macclesfield" text,
"vale_royal" text,
"total" text
); | SELECT "vale_royal" FROM "religious_group_breakdown" WHERE "religion"='jewish'; | 2-16974228-1 |
On 1959-01-27 when outcome was failure, what is the serial? | CREATE TABLE "launch_history" (
"date" text,
"time_gmt" text,
"serial" text,
"apogee" text,
"outcome" text
); | SELECT "serial" FROM "launch_history" WHERE "outcome"='failure' AND "date"='1959-01-27'; | 2-17618402-1 |
Which date has serial of 11c? | CREATE TABLE "launch_history" (
"date" text,
"time_gmt" text,
"serial" text,
"apogee" text,
"outcome" text
); | SELECT "date" FROM "launch_history" WHERE "serial"='11c'; | 2-17618402-1 |
Which Apogee was on 1959-02-20? | CREATE TABLE "launch_history" (
"date" text,
"time_gmt" text,
"serial" text,
"apogee" text,
"outcome" text
); | SELECT "apogee" FROM "launch_history" WHERE "date"='1959-02-20'; | 2-17618402-1 |
Which date has time (GMT) of 23:34? | CREATE TABLE "launch_history" (
"date" text,
"time_gmt" text,
"serial" text,
"apogee" text,
"outcome" text
); | SELECT "date" FROM "launch_history" WHERE "time_gmt"='23:34'; | 2-17618402-1 |
What is Cross Country, when Soccer is Ashland, when Volleyball is Wooster, and when School Year is 2006-07? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "cross_country" FROM "girls_league_championships" WHERE "soccer"='ashland' AND "volleyball"='wooster' AND "school_year"='2006-07'; | 2-16423070-4 |
What is School Year, when Cross Country is Wooster? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "school_year" FROM "girls_league_championships" WHERE "cross_country"='wooster'; | 2-16423070-4 |
What is Tennis, when School Year is 2004-05? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "tennis" FROM "girls_league_championships" WHERE "school_year"='2004-05'; | 2-16423070-4 |
What is Cross Country, when School Year is 2012-13? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "cross_country" FROM "girls_league_championships" WHERE "school_year"='2012-13'; | 2-16423070-4 |
What is School Year, when Cross Country is Lexington, when Soccer is Ashland, and when Volleyball is Wooster? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "school_year" FROM "girls_league_championships" WHERE "cross_country"='lexington' AND "soccer"='ashland' AND "volleyball"='wooster'; | 2-16423070-4 |
What is Soccer, when Cross Country is Lexington, and when School Year is 2011-12? | CREATE TABLE "girls_league_championships" (
"school_year" text,
"volleyball" text,
"cross_country" text,
"soccer" text,
"tennis" text,
"golf" text
); | SELECT "soccer" FROM "girls_league_championships" WHERE "cross_country"='lexington' AND "school_year"='2011-12'; | 2-16423070-4 |
What is the highest Attendance, when Result is l 26-16, and when Week is less than 12? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "result"='l 26-16' AND "week"<12; | 2-16714074-2 |
What is the highest Week, when Result is W 34-21? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("week") FROM "schedule" WHERE "result"='w 34-21'; | 2-16714074-2 |
What is the most recent year with a finish in 2nd position? | CREATE TABLE "season_to_season" (
"season" real,
"level" text,
"division" text,
"administration" text,
"position" text
); | SELECT MAX("season") FROM "season_to_season" WHERE "position"='2nd'; | 2-16644861-1 |
What is the position in the 2004 season? | CREATE TABLE "season_to_season" (
"season" real,
"level" text,
"division" text,
"administration" text,
"position" text
); | SELECT "position" FROM "season_to_season" WHERE "season">2004; | 2-16644861-1 |
What is the division for the season earlier than 2004? | CREATE TABLE "season_to_season" (
"season" real,
"level" text,
"division" text,
"administration" text,
"position" text
); | SELECT "division" FROM "season_to_season" WHERE "season"<2004; | 2-16644861-1 |
What is Team, when Qual 1 is 1:16.417? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='1:16.417'; | 2-16326318-1 |
What is Team, when Qual 1 is 1:16.417? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='1:16.417'; | 2-16326318-1 |
What is Team when Qual 1 is 1:20.139? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='1:20.139'; | 2-16326318-1 |
What is Name when Qual 2 is 1:15.582? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:15.582'; | 2-16326318-1 |
What is Name, when Best is 1:15.673? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "best"='1:15.673'; | 2-16326318-1 |
Where was the tournament that happened in 1987 on a clay surface? | CREATE TABLE "doubles_titles_28" (
"date" real,
"tournament" text,
"surface" text,
"partnering" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "doubles_titles_28" WHERE "date"=1987 AND "surface"='clay'; | 2-1723582-9 |
Who was the opponent before 1990 that had a score of 4–6, 6–3, 6–4 and Partnering of Yannick Noah? | CREATE TABLE "doubles_titles_28" (
"date" real,
"tournament" text,
"surface" text,
"partnering" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "doubles_titles_28" WHERE "date"<1990 AND "partnering"='yannick noah' AND "score"='4–6, 6–3, 6–4'; | 2-1723582-9 |
WHAT IS THE SEATS IN Hamburgische Bürgerschaft THAT HAS GREEN POLITICS? | CREATE TABLE "political_parties" (
"name_english" text,
"name_german" text,
"abbr" text,
"ideology" text,
"position" text,
"votes_2011" text,
"seats_in_hamburgische_b_rgerschaft" real
); | SELECT "seats_in_hamburgische_b_rgerschaft" FROM "political_parties" WHERE "ideology"='green politics'; | 2-17159413-1 |
WHAT IS THE ABBR WITH VOTES OF 11.2% IN 2011? | CREATE TABLE "political_parties" (
"name_english" text,
"name_german" text,
"abbr" text,
"ideology" text,
"position" text,
"votes_2011" text,
"seats_in_hamburgische_b_rgerschaft" real
); | SELECT "abbr" FROM "political_parties" WHERE "votes_2011"='11.2%'; | 2-17159413-1 |
WHAT IS THE TOTAL NUMBER OF SEATS IN Hamburgische Bürgerschaft WITH AN ABBR OF bündnis 90 / die grünen (gal)? | CREATE TABLE "political_parties" (
"name_english" text,
"name_german" text,
"abbr" text,
"ideology" text,
"position" text,
"votes_2011" text,
"seats_in_hamburgische_b_rgerschaft" real
); | SELECT COUNT("seats_in_hamburgische_b_rgerschaft") FROM "political_parties" WHERE "abbr"='bündnis 90 / die grünen (gal)'; | 2-17159413-1 |
WHAT IS THE GERMAN NAME OF LIBERALISM? | CREATE TABLE "political_parties" (
"name_english" text,
"name_german" text,
"abbr" text,
"ideology" text,
"position" text,
"votes_2011" text,
"seats_in_hamburgische_b_rgerschaft" real
); | SELECT "name_german" FROM "political_parties" WHERE "ideology"='liberalism'; | 2-17159413-1 |
WHAT ARE THE SEATS IN Hamburgische Bürgerschaft WITH THE NAME alliance '90/the greens? | CREATE TABLE "political_parties" (
"name_english" text,
"name_german" text,
"abbr" text,
"ideology" text,
"position" text,
"votes_2011" text,
"seats_in_hamburgische_b_rgerschaft" real
); | SELECT "seats_in_hamburgische_b_rgerschaft" FROM "political_parties" WHERE "name_english"='alliance ''90/the greens'; | 2-17159413-1 |
What is the earliest game played at the TD Waterhouse Centre? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT MIN("game") FROM "game_log" WHERE "location"='td waterhouse centre'; | 2-17621978-10 |
Who was the opponent on April 2? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='april 2'; | 2-17621978-10 |
What was the highest game number when the opponent was the Miami Heat? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT MAX("game") FROM "game_log" WHERE "opponent"='miami heat'; | 2-17621978-10 |
What is Website, when License is Apache License 2.0? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "website" FROM "main_information" WHERE "license"='apache license 2.0'; | 2-16831098-1 |
What is Source Version, when Target Version is Java 7, 6, 5? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "source_version" FROM "main_information" WHERE "target_version"='java 7, 6, 5'; | 2-16831098-1 |
What is Source Version, when License is LGPL or MPL? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "source_version" FROM "main_information" WHERE "license"='lgpl or mpl'; | 2-16831098-1 |
What is Target Version, when Last Release is 2009-08-09, 1.2.9? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "target_version" FROM "main_information" WHERE "last_release"='2009-08-09, 1.2.9'; | 2-16831098-1 |
What is Website, when Last Release is 2009-08-09, 1.2.9? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "website" FROM "main_information" WHERE "last_release"='2009-08-09, 1.2.9'; | 2-16831098-1 |
What is Target Version, when License is LGPL or MPL? | CREATE TABLE "main_information" (
"source_version" text,
"target_version" text,
"last_release" text,
"license" text,
"website" text
); | SELECT "target_version" FROM "main_information" WHERE "license"='lgpl or mpl'; | 2-16831098-1 |
What is the class for the ERP W of 500? | CREATE TABLE "broadcast_translators_of_kjjj" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "class" FROM "broadcast_translators_of_kjjj" WHERE "erp_w"=500; | 2-17071097-1 |
What is the ERP W for the station whose call sign is K248BJ and whose frequency MHz is higher than 97.5? | CREATE TABLE "broadcast_translators_of_kjjj" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT AVG("erp_w") FROM "broadcast_translators_of_kjjj" WHERE "call_sign"='k248bj' AND "frequency_m_hz">97.5; | 2-17071097-1 |
In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000? | CREATE TABLE "broadcast_translators_of_kjjj" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "broadcast_translators_of_kjjj" WHERE "frequency_m_hz"=102.3 AND "erp_w"<'1,000'; | 2-17071097-1 |
In which city is the station licensed whose frequency MHz is higher than 102.3 and whose call sign is K292EU? | CREATE TABLE "broadcast_translators_of_kjjj" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "broadcast_translators_of_kjjj" WHERE "frequency_m_hz">102.3 AND "call_sign"='k292eu'; | 2-17071097-1 |
What was sweden's purse in USD? | CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"purse_us" real,
"winner_s_share" text
); | SELECT SUM("purse_us") FROM "winners" WHERE "country"='sweden'; | 2-1628792-1 |
What was 2003's To Par? | CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"purse_us" real,
"winner_s_share" text
); | SELECT "to_par" FROM "winners" WHERE "year"=2003; | 2-1628792-1 |
What is the highest laps for the grid of 7? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("laps") FROM "race" WHERE "grid"=7; | 2-16838759-2 |
What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT AVG("laps") FROM "race" WHERE "time_retired"='+16.874 secs' AND "grid"<5; | 2-16838759-2 |
What are the greatest points for a time/retired of +32.256 secs, and a a grid larger than 12? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("points") FROM "race" WHERE "time_retired"='+32.256 secs' AND "grid">12; | 2-16838759-2 |
What is biggest grid when the laps are 65? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT MAX("grid") FROM "race" WHERE "laps"=65; | 2-16838759-2 |
What team has a grid of 15? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT "team" FROM "race" WHERE "grid"=15; | 2-16838759-2 |
What is the average new council number when the election result is smaller than 0? | CREATE TABLE "council_composition" (
"party" text,
"previous_council" real,
"staying_councillors" real,
"seats_up_for_election" real,
"election_result" real,
"new_council" real
); | SELECT AVG("new_council") FROM "council_composition" WHERE "election_result"<0; | 2-17344348-1 |
How many seats were up for election during the vote where the election result was 9 and the new council 27? | CREATE TABLE "council_composition" (
"party" text,
"previous_council" real,
"staying_councillors" real,
"seats_up_for_election" real,
"election_result" real,
"new_council" real
); | SELECT SUM("seats_up_for_election") FROM "council_composition" WHERE "election_result"=9 AND "new_council">27; | 2-17344348-1 |
How many staying councillors were there when the election result was larger than 0, the new council less than 27 and the party conservatives? | CREATE TABLE "council_composition" (
"party" text,
"previous_council" real,
"staying_councillors" real,
"seats_up_for_election" real,
"election_result" real,
"new_council" real
); | SELECT AVG("staying_councillors") FROM "council_composition" WHERE "election_result">0 AND "party"='conservatives' AND "new_council"<27; | 2-17344348-1 |
What opponent did the Broncos play on November 16? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='november 16'; | 2-16727837-1 |
What was the Bronco's record when they played the Detroit Lions at Mile High Stadium? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "record" FROM "schedule" WHERE "game_site"='mile high stadium' AND "opponent"='detroit lions'; | 2-16727837-1 |
What was the score of the game on November 22? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "result" FROM "schedule" WHERE "date"='november 22'; | 2-16727837-1 |
What is the lowest number of points scored when there were 1,500 in attendance? | CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" text,
"record" text,
"points" real
); | SELECT MIN("points") FROM "regular_season" WHERE "attendance"='1,500'; | 2-16785772-6 |
what is the average 2011 when 2012 is 65,000 and 2010 is more than 75,680? | CREATE TABLE "financial_data_in_millions_of_euro" (
"year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real,
"2012" real
); | SELECT AVG("2011") FROM "financial_data_in_millions_of_euro" WHERE "2012"='65,000' AND "2010">'75,680'; | 2-1690139-1 |
what is 2001 when the year is ebitda and 2009 is less than 3,600? | CREATE TABLE "financial_data_in_millions_of_euro" (
"year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real,
"2012" real
); | SELECT SUM("2001") FROM "financial_data_in_millions_of_euro" WHERE "year"='ebitda' AND "2009"<'3,600'; | 2-1690139-1 |
what is the lowest 2003 when 2009 is less than 15,884, 2006 is less than 9,845 and 2004 is less than 868? | CREATE TABLE "financial_data_in_millions_of_euro" (
"year" text,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real,
"2012" real
); | SELECT MIN("2003") FROM "financial_data_in_millions_of_euro" WHERE "2009"<'15,884' AND "2006"<'9,845' AND "2004"<868; | 2-1690139-1 |
who is the author for harry potter and the deathly hallows? | CREATE TABLE "odyssey_award_winners_and_honor_audioboo" (
"year" real,
"title" text,
"producer" text,
"narrator" text,
"author" text,
"citation" text
); | SELECT "author" FROM "odyssey_award_winners_and_honor_audioboo" WHERE "title"='harry potter and the deathly hallows'; | 2-17578746-1 |
what is the title when the citation is honor and the narrator is lincoln hoppe? | CREATE TABLE "odyssey_award_winners_and_honor_audioboo" (
"year" real,
"title" text,
"producer" text,
"narrator" text,
"author" text,
"citation" text
); | SELECT "title" FROM "odyssey_award_winners_and_honor_audioboo" WHERE "citation"='honor' AND "narrator"='lincoln hoppe'; | 2-17578746-1 |
who is the producer when the narrator is katherine kellgren, the year is before 2013 and the author is karen cushman? | CREATE TABLE "odyssey_award_winners_and_honor_audioboo" (
"year" real,
"title" text,
"producer" text,
"narrator" text,
"author" text,
"citation" text
); | SELECT "producer" FROM "odyssey_award_winners_and_honor_audioboo" WHERE "narrator"='katherine kellgren' AND "year"<2013 AND "author"='karen cushman'; | 2-17578746-1 |
what is the year when the citation is honor and the author is kadir nelson? | CREATE TABLE "odyssey_award_winners_and_honor_audioboo" (
"year" real,
"title" text,
"producer" text,
"narrator" text,
"author" text,
"citation" text
); | SELECT SUM("year") FROM "odyssey_award_winners_and_honor_audioboo" WHERE "citation"='honor' AND "author"='kadir nelson'; | 2-17578746-1 |
What is Opponent In The Final, when Year is "1942"? | CREATE TABLE "pro_slam" (
"outcome" text,
"year" real,
"pro_slam_championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "pro_slam" WHERE "year"=1942; | 2-17188888-2 |
What is the average Year, when Outcome is "Winner"? | CREATE TABLE "pro_slam" (
"outcome" text,
"year" real,
"pro_slam_championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT AVG("year") FROM "pro_slam" WHERE "outcome"='winner'; | 2-17188888-2 |
What tournament did Pemra Özgen play against julia kimmelmann in the finals? | CREATE TABLE "singles_10_7_3" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "singles_10_7_3" WHERE "opponent_in_the_final"='julia kimmelmann'; | 2-17373032-2 |
Which Home has a Visitor of nashville? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "game_log" WHERE "visitor"='nashville'; | 2-17371135-8 |
Which Visitor has a Decision of osgood, and a Date of february 15? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "visitor" FROM "game_log" WHERE "decision"='osgood' AND "date"='february 15'; | 2-17371135-8 |
Which Date has a Record of 36–11–7? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='36–11–7'; | 2-17371135-8 |
Which Date has a Visitor of edmonton? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "visitor"='edmonton'; | 2-17371135-8 |
What is the sum of Bronze, when Gold is less than 1, when Total is greater than 1, and when Rank is 10? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "gold"<1 AND "total">1 AND "rank"=10; | 2-16574447-6 |
What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_table" WHERE "rank">6 AND "nation"='italy (ita)' AND "total"<1; | 2-16574447-6 |
What is the sum of Total, when Silver is greater than 1, when Rank is 9, and when Bronze is greater than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medal_table" WHERE "silver">1 AND "rank"=9 AND "bronze">0; | 2-16574447-6 |
What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "total"=2 AND "silver"<1 AND "rank">5; | 2-16574447-6 |
What is the sum of Rank, when Bronze is less than 1, when Nation is Switzerland (SUI), and when Total is less than 2? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medal_table" WHERE "bronze"<1 AND "nation"='switzerland (sui)' AND "total"<2; | 2-16574447-6 |
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medal_table" WHERE "silver">1 AND "nation"='germany (ger)' AND "gold"<1; | 2-16574447-6 |
What is Player, when To Par is "7", and when Score is "73-72-67-75=287"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT "player" FROM "final_round" WHERE "to_par"=7 AND "score"='73-72-67-75=287'; | 2-17290101-6 |
What is the average To Par, when Player is "Billy Casper"? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT AVG("to_par") FROM "final_round" WHERE "player"='billy casper'; | 2-17290101-6 |
What is the highest Money ( $ ), when To Par is less than 2? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT MAX("money") FROM "final_round" WHERE "to_par"<2; | 2-17290101-6 |
What event in guam did Tetsuji Kato win against patrick madayag? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "location"='guam' AND "opponent"='patrick madayag'; | 2-17430107-2 |
What was the result of the fight when Tetsuji Kato's record was 19-9? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='19-9'; | 2-17430107-2 |
How many receptions were smaller than 7? | CREATE TABLE "receiving" (
"player" text,
"games" real,
"reception" real,
"yards" real,
"long" real
); | SELECT COUNT("reception") FROM "receiving" WHERE "long"<7; | 2-16678064-7 |
What is the average yards for Jimmie Giles in a game larger than 15 and reception larger than 2? | CREATE TABLE "receiving" (
"player" text,
"games" real,
"reception" real,
"yards" real,
"long" real
); | SELECT AVG("yards") FROM "receiving" WHERE "games">15 AND "reception">2 AND "player"='jimmie giles'; | 2-16678064-7 |
What year had a league position of 8/12? | CREATE TABLE "domestic_records" (
"year" text,
"league_position" text,
"league" text,
"domestic_cup" text,
"cup_position" text
); | SELECT "year" FROM "domestic_records" WHERE "league_position"='8/12'; | 2-16860409-1 |
What league has a position of 8/13? | CREATE TABLE "domestic_records" (
"year" text,
"league_position" text,
"league" text,
"domestic_cup" text,
"cup_position" text
); | SELECT "league" FROM "domestic_records" WHERE "league_position"='8/13'; | 2-16860409-1 |
What year did the malaysia premier league get a position of 8/12? | CREATE TABLE "domestic_records" (
"year" text,
"league_position" text,
"league" text,
"domestic_cup" text,
"cup_position" text
); | SELECT "year" FROM "domestic_records" WHERE "league"='malaysia premier league' AND "league_position"='8/12'; | 2-16860409-1 |
What year had a cup position of round 1 and a league position of 5/12? | CREATE TABLE "domestic_records" (
"year" text,
"league_position" text,
"league" text,
"domestic_cup" text,
"cup_position" text
); | SELECT "year" FROM "domestic_records" WHERE "cup_position"='round 1' AND "league_position"='5/12'; | 2-16860409-1 |
What year had a domestic cup of singapore cup? | CREATE TABLE "domestic_records" (
"year" text,
"league_position" text,
"league" text,
"domestic_cup" text,
"cup_position" text
); | SELECT "year" FROM "domestic_records" WHERE "domestic_cup"='singapore cup'; | 2-16860409-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.