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 date southampton was the away team? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "fifth_round_proper" WHERE "away_team"='southampton'; | 2-17751859-5 |
What is the score of the home team tottenham hotspur? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "fifth_round_proper" WHERE "home_team"='tottenham hotspur'; | 2-17751859-5 |
What was the score of the game on 16 december 1987? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "second_round_proper" WHERE "date"='16 december 1987'; | 2-17751827-2 |
Who played against the away team hereford united? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='hereford united'; | 2-17751827-2 |
Who played against away team hereford united? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='hereford united'; | 2-17751827-2 |
Which club was in Position 1 in 1959-1960? | CREATE TABLE "details_of_participants" (
"clubs" text,
"seasons_at_this_level" text,
"settlements" text,
"season_joined_league" text,
"position_in_1959_1960" text
); | SELECT "clubs" FROM "details_of_participants" WHERE "position_in_1959_1960"='1'; | 2-17933459-2 |
In which season did the évora settlements join the league? | CREATE TABLE "details_of_participants" (
"clubs" text,
"seasons_at_this_level" text,
"settlements" text,
"season_joined_league" text,
"position_in_1959_1960" text
); | SELECT "season_joined_league" FROM "details_of_participants" WHERE "settlements"='évora'; | 2-17933459-2 |
What was the position in 1959-1960 for the club that had 14 seasons at this level? | CREATE TABLE "details_of_participants" (
"clubs" text,
"seasons_at_this_level" text,
"settlements" text,
"season_joined_league" text,
"position_in_1959_1960" text
); | SELECT "position_in_1959_1960" FROM "details_of_participants" WHERE "seasons_at_this_level"='14 seasons'; | 2-17933459-2 |
What was the position in 1959-1960 for the Sporting De Braga club? | CREATE TABLE "details_of_participants" (
"clubs" text,
"seasons_at_this_level" text,
"settlements" text,
"season_joined_league" text,
"position_in_1959_1960" text
); | SELECT "position_in_1959_1960" FROM "details_of_participants" WHERE "clubs"='sporting de braga'; | 2-17933459-2 |
What is the "season joined league" for the club that had 15 seasons at this level? | CREATE TABLE "details_of_participants" (
"clubs" text,
"seasons_at_this_level" text,
"settlements" text,
"season_joined_league" text,
"position_in_1959_1960" text
); | SELECT "season_joined_league" FROM "details_of_participants" WHERE "seasons_at_this_level"='15 seasons'; | 2-17933459-2 |
What country has a score of 71-66-72-72=281? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "score"='71-66-72-72=281'; | 2-18148933-6 |
What is the total amount of money that Payne Stewart has? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT SUM("money") FROM "final_round" WHERE "player"='payne stewart'; | 2-18148933-6 |
What country has player Nick Faldo? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "player"='nick faldo'; | 2-18148933-6 |
What is the to par for the score 64-73-74-69=280? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "score"='64-73-74-69=280'; | 2-18148933-6 |
What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055? | CREATE TABLE "busiest_international_routes_from_jeju_2" (
"rank" real,
"airport" text,
"passengers" real,
"aircraft_movements" real,
"carriers" text
); | SELECT MIN("rank") FROM "busiest_international_routes_from_jeju_2" WHERE "carriers"='china eastern airlines, korean air' AND "passengers">'97,055'; | 2-1783616-4 |
What is the smallest rank for passengers more than 73,754? | CREATE TABLE "busiest_international_routes_from_jeju_2" (
"rank" real,
"airport" text,
"passengers" real,
"aircraft_movements" real,
"carriers" text
); | SELECT MIN("rank") FROM "busiest_international_routes_from_jeju_2" WHERE "passengers">'73,754'; | 2-1783616-4 |
Which carrier is ranked 20? | CREATE TABLE "busiest_international_routes_from_jeju_2" (
"rank" real,
"airport" text,
"passengers" real,
"aircraft_movements" real,
"carriers" text
); | SELECT "carriers" FROM "busiest_international_routes_from_jeju_2" WHERE "rank"=20; | 2-1783616-4 |
What is the highest rank when there are fewer than 124,296 passengers? | CREATE TABLE "busiest_international_routes_from_jeju_2" (
"rank" real,
"airport" text,
"passengers" real,
"aircraft_movements" real,
"carriers" text
); | SELECT MAX("rank") FROM "busiest_international_routes_from_jeju_2" WHERE "passengers"<'124,296'; | 2-1783616-4 |
What's the 2013 result for the grand slam tournaments? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2013" FROM "women_s_doubles_performance_timeline" WHERE "tournament"='grand slam tournaments'; | 2-1818978-3 |
What's the 2010 result when 2006 is a? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2010" FROM "women_s_doubles_performance_timeline" WHERE "2006"='a'; | 2-1818978-3 |
What tournament has a 2003 of a? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "tournament" FROM "women_s_doubles_performance_timeline" WHERE "2003"='a'; | 2-1818978-3 |
What's the 2007 result when 2003 is a? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2007" FROM "women_s_doubles_performance_timeline" WHERE "2003"='a'; | 2-1818978-3 |
What's the 2011 result when 2010 is 2r and 2013 is w? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2011" FROM "women_s_doubles_performance_timeline" WHERE "2010"='2r' AND "2013"='w'; | 2-1818978-3 |
What's the 2005 result when 2001 is sf? | CREATE TABLE "women_s_doubles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2005" FROM "women_s_doubles_performance_timeline" WHERE "2001"='sf'; | 2-1818978-3 |
When the wolverhampton wanderers were the opponent, with a crowd larger than 41,415, what was the result? | CREATE TABLE "first_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "first_division" WHERE "attendance">'41,415' AND "opponent"='wolverhampton wanderers'; | 2-17631799-1 |
Which Binibining Pilipinas-World has a Second runner-up of sonia santiago? | CREATE TABLE "title_holders_from_1992_until_1999" (
"year" real,
"binibining_pilipinas_universe" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"miss_maja_pilipinas" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "binibining_pilipinas_world" FROM "title_holders_from_1992_until_1999" WHERE "second_runner_up"='sonia santiago'; | 2-1825751-3 |
Which Year has a Binibining Pilipinas International of alma concepcion? | CREATE TABLE "title_holders_from_1992_until_1999" (
"year" real,
"binibining_pilipinas_universe" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"miss_maja_pilipinas" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "year" FROM "title_holders_from_1992_until_1999" WHERE "binibining_pilipinas_international"='alma concepcion'; | 2-1825751-3 |
Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez? | CREATE TABLE "title_holders_from_1992_until_1999" (
"year" real,
"binibining_pilipinas_universe" text,
"binibining_pilipinas_world" text,
"binibining_pilipinas_international" text,
"miss_maja_pilipinas" text,
"first_runner_up" text,
"second_runner_up" text
); | SELECT "binibining_pilipinas_international" FROM "title_holders_from_1992_until_1999" WHERE "binibining_pilipinas_world"='sharmaine gutierrez'; | 2-1825751-3 |
Which Result has a Site of rice stadium • houston, tx? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "site"='rice stadium • houston, tx'; | 2-18336216-28 |
What Opponent has a Site of razorback stadium • fayetteville, ar, and a Date of october 7, 1967? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "site"='razorback stadium • fayetteville, ar' AND "date"='october 7, 1967'; | 2-18336216-28 |
What Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "site"='war memorial stadium • little rock, ar' AND "result"='l6–7'; | 2-18336216-28 |
What Result has a Date of october 14, 1967? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='october 14, 1967'; | 2-18336216-28 |
What Attendance has a Result of l12–21? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "result"='l12–21'; | 2-18336216-28 |
What Site has Attendance of 53,000, and a Date of october 21, 1967? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "site" FROM "schedule" WHERE "attendance"='53,000' AND "date"='october 21, 1967'; | 2-18336216-28 |
What region is the toshiba emi label with a cd format? | CREATE TABLE "recording_and_release_details" (
"region" text,
"date" text,
"label" text,
"format_s" text,
"catalog" text
); | SELECT "region" FROM "recording_and_release_details" WHERE "format_s"='cd' AND "label"='toshiba emi'; | 2-17637041-2 |
What is the dage of catalog asw 28033? | CREATE TABLE "recording_and_release_details" (
"region" text,
"date" text,
"label" text,
"format_s" text,
"catalog" text
); | SELECT "date" FROM "recording_and_release_details" WHERE "catalog"='asw 28033'; | 2-17637041-2 |
What is the date with a Japan region? | CREATE TABLE "recording_and_release_details" (
"region" text,
"date" text,
"label" text,
"format_s" text,
"catalog" text
); | SELECT "date" FROM "recording_and_release_details" WHERE "region"='japan'; | 2-17637041-2 |
What region has a lp format on 4 August 2008? | CREATE TABLE "recording_and_release_details" (
"region" text,
"date" text,
"label" text,
"format_s" text,
"catalog" text
); | SELECT "region" FROM "recording_and_release_details" WHERE "format_s"='lp' AND "date"='4 august 2008'; | 2-17637041-2 |
What region is on 11 August 2008? | CREATE TABLE "recording_and_release_details" (
"region" text,
"date" text,
"label" text,
"format_s" text,
"catalog" text
); | SELECT "region" FROM "recording_and_release_details" WHERE "date"='11 august 2008'; | 2-17637041-2 |
What is the position with a neutral H/A/N and more than 2 innings? | CREATE TABLE "odi_centuries" (
"score" text,
"pos" real,
"inn" real,
"venue" text,
"h_a_n" text
); | SELECT AVG("pos") FROM "odi_centuries" WHERE "h_a_n"='neutral' AND "inn">2; | 2-18316453-4 |
Which venue has a neutral H/A/N, lower than position 3 and a score of 141? | CREATE TABLE "odi_centuries" (
"score" text,
"pos" real,
"inn" real,
"venue" text,
"h_a_n" text
); | SELECT "venue" FROM "odi_centuries" WHERE "h_a_n"='neutral' AND "pos"<3 AND "score"='141'; | 2-18316453-4 |
Which H/A/N has a score of 105*♠? | CREATE TABLE "odi_centuries" (
"score" text,
"pos" real,
"inn" real,
"venue" text,
"h_a_n" text
); | SELECT "h_a_n" FROM "odi_centuries" WHERE "score"='105*♠'; | 2-18316453-4 |
What is the average goals scored when less than 34 were played and there were more than 2 draws? | CREATE TABLE "relegation_table" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT AVG("goals_scored") FROM "relegation_table" WHERE "played"<34 AND "draw">2; | 2-17633162-10 |
What is the average goals scored of the team who scored 44 points and placed higher than 5? | CREATE TABLE "relegation_table" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT AVG("goals_scored") FROM "relegation_table" WHERE "points"='44' AND "place">5; | 2-17633162-10 |
What is the lowest place of the team who conceded 36 goals and lost more than 6 times? | CREATE TABLE "relegation_table" (
"place" real,
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT MIN("place") FROM "relegation_table" WHERE "goals_conceded"=36 AND "lost">6; | 2-17633162-10 |
what is games when the losses is more than 1, percent is 0.5 and wins is 2? | CREATE TABLE "quarterbacks_sorted_by_win_percentage" (
"quarterback" text,
"games" real,
"teams" text,
"wins" real,
"losses" real,
"percent" real
); | SELECT "games" FROM "quarterbacks_sorted_by_win_percentage" WHERE "losses">1 AND "percent"=0.5 AND "wins"=2; | 2-17788889-6 |
what is the average wins when percent is more than 0.4 and teams is chargers~? | CREATE TABLE "quarterbacks_sorted_by_win_percentage" (
"quarterback" text,
"games" real,
"teams" text,
"wins" real,
"losses" real,
"percent" real
); | SELECT AVG("wins") FROM "quarterbacks_sorted_by_win_percentage" WHERE "percent">0.4 AND "teams"='chargers~'; | 2-17788889-6 |
What is the average wins when teams is lions and the percent is more than 0? | CREATE TABLE "quarterbacks_sorted_by_win_percentage" (
"quarterback" text,
"games" real,
"teams" text,
"wins" real,
"losses" real,
"percent" real
); | SELECT AVG("wins") FROM "quarterbacks_sorted_by_win_percentage" WHERE "teams"='lions' AND "percent">0; | 2-17788889-6 |
what is the highest wins when the losses is less than 1, team is rams and the games is more than 8? | CREATE TABLE "quarterbacks_sorted_by_win_percentage" (
"quarterback" text,
"games" real,
"teams" text,
"wins" real,
"losses" real,
"percent" real
); | SELECT MAX("wins") FROM "quarterbacks_sorted_by_win_percentage" WHERE "losses"<1 AND "teams"='rams' AND "games">8; | 2-17788889-6 |
What category is Matthew Barton? | CREATE TABLE "singles_6_3_titles_3_runner_ups" (
"outcome" text,
"date" text,
"category" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "category" FROM "singles_6_3_titles_3_runner_ups" WHERE "opponent"='matthew barton'; | 2-17859751-3 |
When did the ship commissioned in November 1975 with a bow number of ps-18 launch? | CREATE TABLE "ships_in_class" (
"bow_number" text,
"ship_name" text,
"launched" text,
"commissioned" text,
"service" text
); | SELECT "launched" FROM "ships_in_class" WHERE "commissioned"='november 1975' AND "bow_number"='ps-18'; | 2-17849650-1 |
When did the ship that was commissioned July 1948 with a bow number of ps-31 launch? | CREATE TABLE "ships_in_class" (
"bow_number" text,
"ship_name" text,
"launched" text,
"commissioned" text,
"service" text
); | SELECT "launched" FROM "ships_in_class" WHERE "commissioned"='july 1948' AND "bow_number"='ps-31'; | 2-17849650-1 |
When was the ship BRP Miguel Malvar commissioned? | CREATE TABLE "ships_in_class" (
"bow_number" text,
"ship_name" text,
"launched" text,
"commissioned" text,
"service" text
); | SELECT "commissioned" FROM "ships_in_class" WHERE "ship_name"='brp miguel malvar'; | 2-17849650-1 |
What parish has the lowest area and a population of more than 1,776 and a 579 of 5,008 census ranking? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT MIN("area_km_2") FROM "parishes" WHERE "population">'1,776' AND "census_ranking"='579 of 5,008'; | 2-176521-2 |
What is the population of northfield parish that has an area less than 342.4? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT SUM("population") FROM "parishes" WHERE "area_km_2"<342.4 AND "official_name"='northfield'; | 2-176521-2 |
What is the population of the parish with a census ranking of 579 of 5,008? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT SUM("population") FROM "parishes" WHERE "census_ranking"='579 of 5,008'; | 2-176521-2 |
What is the population of the parish that has an area of 304.06? | CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT SUM("population") FROM "parishes" WHERE "area_km_2"=304.06; | 2-176521-2 |
What is the earliest year the world junior championships has 1500 m notes? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT MIN("year") FROM "achievements" WHERE "notes"='1500 m' AND "competition"='world junior championships'; | 2-17889598-1 |
Which venue had 5000 m notes in 2009 with a 1st position? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "notes"='5000 m' AND "year"=2009 AND "position"='1st'; | 2-17889598-1 |
What is the average year with 7th (heats) position? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT AVG("year") FROM "achievements" WHERE "position"='7th (heats)'; | 2-17889598-1 |
What Method was used with opponent Kenneth Allen? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='kenneth allen'; | 2-18281308-2 |
What is the remark for Norway? | CREATE TABLE "list_of_dmfas_programme_managers_and_chi" (
"number" real,
"name" text,
"dates_in_office" text,
"country_of_origin" text,
"remarks" text
); | SELECT "remarks" FROM "list_of_dmfas_programme_managers_and_chi" WHERE "country_of_origin"='norway'; | 2-1763530-1 |
How many people attended the game against the Kaizer Chiefs? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT SUM("attendance") FROM "pre_season_and_friendlies" WHERE "opponents"='kaizer chiefs'; | 2-18223552-1 |
What is the result F-A with an H/A of h and more than 31,727 attending? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "pre_season_and_friendlies" WHERE "h_a"='h' AND "attendance">'31,727'; | 2-18223552-1 |
What was the result F-A with more than 11,372 attending and an H/A of n? | CREATE TABLE "pre_season_and_friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "pre_season_and_friendlies" WHERE "attendance">'11,372' AND "h_a"='n'; | 2-18223552-1 |
What is Player, when College/Junior/Club Team (League) is "Val d'Or Foreurs ( QMJHL )"? | CREATE TABLE "2011_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "player" FROM "2011_draft_picks" WHERE "college_junior_club_team_league"='val d''or foreurs ( qmjhl )'; | 2-18259953-8 |
What is the Position, when Player is "Magnus Nygren"? | CREATE TABLE "2011_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "2011_draft_picks" WHERE "player"='magnus nygren'; | 2-18259953-8 |
What is Position, when Round is less than 5, when Nationality is "Canada", and when College/Junior/Club Team (League) is "Saint John Sea Dogs ( QMJHL )"? | CREATE TABLE "2011_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "2011_draft_picks" WHERE "round"<5 AND "nationality"='canada' AND "college_junior_club_team_league"='saint john sea dogs ( qmjhl )'; | 2-18259953-8 |
What is College/Junior/Club Team (League), when Position is "Defence", when Nationality is "Canada", when Round is less than 5, and when Player is "Josiah Didier"? | CREATE TABLE "2011_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "2011_draft_picks" WHERE "position"='defence' AND "nationality"='canada' AND "round"<5 AND "player"='josiah didier'; | 2-18259953-8 |
count the the average Total of ian baker-finch? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT AVG("total") FROM "missed_the_cut" WHERE "player"='ian baker-finch'; | 2-18103106-3 |
Which Country has a Year(s) won of 1963? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "country" FROM "missed_the_cut" WHERE "year_s_won"='1963'; | 2-18103106-3 |
What is Greg Norman's score? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "score" FROM "final_leaderboard" WHERE "player"='greg norman'; | 2-18116279-4 |
What place is John Cook in? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "place" FROM "final_leaderboard" WHERE "player"='john cook'; | 2-18116279-4 |
What is the money for the player with a score of 68-69-67-73=277? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_leaderboard" WHERE "score"='68-69-67-73=277'; | 2-18116279-4 |
What is the to par of the player with a 72-71-65-69=277 score? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_round" WHERE "score"='72-71-65-69=277'; | 2-18026889-7 |
What is the country of the player with playoff money and a score of 66-67-70-67=270? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "country" FROM "final_round" WHERE "money"='playoff' AND "score"='66-67-70-67=270'; | 2-18026889-7 |
How much money does the player with a score of 76-70-65-68=279 have? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "score"='76-70-65-68=279'; | 2-18026889-7 |
What is the score of player darren clarke, who has $112,500? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "score" FROM "final_round" WHERE "money"='112,500' AND "player"='darren clarke'; | 2-18026889-7 |
What is the to par of player notah begay iii from the United States? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "player"='notah begay iii'; | 2-18026889-7 |
What song has a draw more than 4 in 1st place? | CREATE TABLE "semi_final_2_31_january_2009" (
"draw" real,
"artist" text,
"song" text,
"results" text,
"place" text
); | SELECT "song" FROM "semi_final_2_31_january_2009" WHERE "draw">4 AND "place"='1st'; | 2-17824548-3 |
What is the artist for the song "alt har en mening nå"? | CREATE TABLE "semi_final_2_31_january_2009" (
"draw" real,
"artist" text,
"song" text,
"results" text,
"place" text
); | SELECT "artist" FROM "semi_final_2_31_january_2009" WHERE "song"='\"alt har en mening nå\"'; | 2-17824548-3 |
What is the result of the song "ride"? | CREATE TABLE "semi_final_2_31_january_2009" (
"draw" real,
"artist" text,
"song" text,
"results" text,
"place" text
); | SELECT "results" FROM "semi_final_2_31_january_2009" WHERE "song"='\"ride\"'; | 2-17824548-3 |
Which 1st member has Thomas Grimsditch as a 2nd member? | CREATE TABLE "m_ps_1832_1885_macclesfield_parliamentar" (
"election" real,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_member" FROM "m_ps_1832_1885_macclesfield_parliamentar" WHERE "2nd_member"='thomas grimsditch'; | 2-1811218-1 |
What is all the total election that has conservative as 2nd party? | CREATE TABLE "m_ps_1832_1885_macclesfield_parliamentar" (
"election" real,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT SUM("election") FROM "m_ps_1832_1885_macclesfield_parliamentar" WHERE "2nd_party"='conservative'; | 2-1811218-1 |
Which 1st party has John Brocklehurst as 1st member, Edward Christopher Egerton 2nd memeber, and election smaller than 1880? | CREATE TABLE "m_ps_1832_1885_macclesfield_parliamentar" (
"election" real,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "m_ps_1832_1885_macclesfield_parliamentar" WHERE "election"<1880 AND "1st_member"='john brocklehurst' AND "2nd_member"='edward christopher egerton'; | 2-1811218-1 |
Which 1st party has 2nd party conservative, election smaller than 1852, and Thomas Grimsditch as 2nd member? | CREATE TABLE "m_ps_1832_1885_macclesfield_parliamentar" (
"election" real,
"1st_member" text,
"1st_party" text,
"2nd_member" text,
"2nd_party" text
); | SELECT "1st_party" FROM "m_ps_1832_1885_macclesfield_parliamentar" WHERE "2nd_party"='conservative' AND "election"<1852 AND "2nd_member"='thomas grimsditch'; | 2-1811218-1 |
Name the Weight of ádám steinmetz category:articles with hcards? | CREATE TABLE "current_squad" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "weight" FROM "current_squad" WHERE "name"='ádám steinmetz category:articles with hcards'; | 2-17951419-6 |
Name the Weight which has a 2012 club of pro recco, and a Name of tamás kásás category:articles with hcards? | CREATE TABLE "current_squad" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "weight" FROM "current_squad" WHERE "2012_club"='pro recco' AND "name"='tamás kásás category:articles with hcards'; | 2-17951419-6 |
Name the Weight which has a Name of balázs hárai category:articles with hcards? | CREATE TABLE "current_squad" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "weight" FROM "current_squad" WHERE "name"='balázs hárai category:articles with hcards'; | 2-17951419-6 |
Name the 012 club which has of norbert hosnyánszky category:articles with hcards? | CREATE TABLE "current_squad" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"2012_club" text
); | SELECT "2012_club" FROM "current_squad" WHERE "name"='norbert hosnyánszky category:articles with hcards'; | 2-17951419-6 |
What is the lowest Against, when Venue is "Twickenham , London", when Status is "Six Nations", and when Opposing Teams is "France"? | CREATE TABLE "2005" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT MIN("against") FROM "2005" WHERE "venue"='twickenham , london' AND "status"='six nations' AND "opposing_teams"='france'; | 2-18178551-6 |
What is the total number of Against, when Date is "27/02/2005"? | CREATE TABLE "2005" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT COUNT("against") FROM "2005" WHERE "date"='27/02/2005'; | 2-18178551-6 |
What is the highest Against, when Date is "27/02/2005"? | CREATE TABLE "2005" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT MAX("against") FROM "2005" WHERE "date"='27/02/2005'; | 2-18178551-6 |
What is Status, when Opposing Teams is "Italy"? | CREATE TABLE "2005" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "status" FROM "2005" WHERE "opposing_teams"='italy'; | 2-18178551-6 |
Which Name has Apparent Magnitude smaller than 11.4, and R.A. (J2000) of 04h17m35.8s? | CREATE TABLE "huchra_et_al_1982_members_of_the_dorado_" (
"name" text,
"type" text,
"r_a_j2000" text,
"dec_j2000" text,
"redshift_km_s" text,
"apparent_magnitude" real
); | SELECT "name" FROM "huchra_et_al_1982_members_of_the_dorado_" WHERE "apparent_magnitude"<11.4 AND "r_a_j2000"='04h17m35.8s'; | 2-18156552-1 |
Which R.A. (J2000) has a Name of ngc 1543? | CREATE TABLE "huchra_et_al_1982_members_of_the_dorado_" (
"name" text,
"type" text,
"r_a_j2000" text,
"dec_j2000" text,
"redshift_km_s" text,
"apparent_magnitude" real
); | SELECT "r_a_j2000" FROM "huchra_et_al_1982_members_of_the_dorado_" WHERE "name"='ngc 1543'; | 2-18156552-1 |
Which Dec. (J2000) has a Redshift (km/ s) of 1331 ± 3? | CREATE TABLE "huchra_et_al_1982_members_of_the_dorado_" (
"name" text,
"type" text,
"r_a_j2000" text,
"dec_j2000" text,
"redshift_km_s" text,
"apparent_magnitude" real
); | SELECT "dec_j2000" FROM "huchra_et_al_1982_members_of_the_dorado_" WHERE "redshift_km_s"='1331 ± 3'; | 2-18156552-1 |
Which R.A. (J2000) has a Name of ngc 1515? | CREATE TABLE "huchra_et_al_1982_members_of_the_dorado_" (
"name" text,
"type" text,
"r_a_j2000" text,
"dec_j2000" text,
"redshift_km_s" text,
"apparent_magnitude" real
); | SELECT "r_a_j2000" FROM "huchra_et_al_1982_members_of_the_dorado_" WHERE "name"='ngc 1515'; | 2-18156552-1 |
Which R.A. (J2000) has Apparent Magnitude of 11.7, and Dec. (J2000) of °07′06″? | CREATE TABLE "huchra_et_al_1982_members_of_the_dorado_" (
"name" text,
"type" text,
"r_a_j2000" text,
"dec_j2000" text,
"redshift_km_s" text,
"apparent_magnitude" real
); | SELECT "r_a_j2000" FROM "huchra_et_al_1982_members_of_the_dorado_" WHERE "apparent_magnitude"=11.7 AND "dec_j2000"='°07′06″'; | 2-18156552-1 |
Which player had a To par of +11? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "to_par"='+11'; | 2-18009787-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.