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 attendance date of the game home team Shrewsbury Town played? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fourth_round_proper" WHERE "home_team"='shrewsbury town'; | 2-16351829-4 |
Who is the home team that attended on 7 February 1996 and had a tie no of 1? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "attendance"='7 february 1996' AND "tie_no"='1'; | 2-16351829-4 |
What is the final score of the game home team Bolton Wanderers played? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "fourth_round_proper" WHERE "home_team"='bolton wanderers'; | 2-16351829-4 |
Which round has an opponent of Freiburg? | CREATE TABLE "european_cup_history" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"home" text,
"away" text
); | SELECT "round" FROM "european_cup_history" WHERE "opponent"='freiburg'; | 2-1629175-1 |
Who was the home when the opponent was slovan liberec? | CREATE TABLE "european_cup_history" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"home" text,
"away" text
); | SELECT "home" FROM "european_cup_history" WHERE "opponent"='slovan liberec'; | 2-1629175-1 |
Which Game has a January larger than 18, and a Decision of valiquette? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"decision" text,
"record" text
); | SELECT MAX("game") FROM "schedule_and_results" WHERE "january">18 AND "decision"='valiquette'; | 2-17360905-6 |
Who has a Game smaller than 43, and a Record of 23-14-3? | CREATE TABLE "schedule_and_results" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"decision" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "game"<43 AND "record"='23-14-3'; | 2-17360905-6 |
What is the time for qual 2 that has the best time of 59.266? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "best"='59.266'; | 2-16474450-1 |
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "team"='forsythe racing' AND "best"='1:00.099'; | 2-16474450-1 |
Justin Wilson has what has his best time? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "best" FROM "qualifying_results" WHERE "name"='justin wilson'; | 2-16474450-1 |
Team Rusport has the best of 59.654 and what qual 1? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "team"='rusport' AND "best"='59.654'; | 2-16474450-1 |
Sébastien Bourdais of the team Newman/Haas Racing has what qual 1? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "team"='newman/haas racing' AND "name"='sébastien bourdais'; | 2-16474450-1 |
What is Alex Tagliani's qual 1? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "name"='alex tagliani'; | 2-16474450-1 |
Which Bask has Soft of 18, and a Total larger than 35? | CREATE TABLE "women_s" (
"school" text,
"bask" real,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text,
"tennis" real,
"indoor_track" text,
"outdoor_track" text,
"volleyball" text,
"total" real
); | SELECT AVG("bask") FROM "women_s" WHERE "soft"='18' AND "total">35; | 2-16645083-4 |
Which Volleyball has a Golf of 2, and an Indoor track of 3? | CREATE TABLE "women_s" (
"school" text,
"bask" real,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text,
"tennis" real,
"indoor_track" text,
"outdoor_track" text,
"volleyball" text,
"total" real
); | SELECT "volleyball" FROM "women_s" WHERE "golf"='2' AND "indoor_track"='3'; | 2-16645083-4 |
Which Bask has an Indoor track of 0, and a Swimming of 5? | CREATE TABLE "women_s" (
"school" text,
"bask" real,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text,
"tennis" real,
"indoor_track" text,
"outdoor_track" text,
"volleyball" text,
"total" real
); | SELECT MIN("bask") FROM "women_s" WHERE "indoor_track"='0' AND "swimming"='5'; | 2-16645083-4 |
Which Swimming has a Total larger than 35, and a Volleyball of 1? | CREATE TABLE "women_s" (
"school" text,
"bask" real,
"golf" text,
"soccer" text,
"soft" text,
"swimming" text,
"tennis" real,
"indoor_track" text,
"outdoor_track" text,
"volleyball" text,
"total" real
); | SELECT "swimming" FROM "women_s" WHERE "total">35 AND "volleyball"='1'; | 2-16645083-4 |
Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "game_log" WHERE "location"='scotiabank place' AND "points"<20 AND "game">16 AND "opponent"='montreal canadiens'; | 2-17040191-5 |
Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
); | SELECT COUNT("game") FROM "game_log" WHERE "points"<15 AND "date"='november 15' AND "attendance">'13,722'; | 2-17040191-5 |
What was the results on September 24, 1995? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='september 24, 1995'; | 2-16433748-1 |
What was the results against the Philadelphia Eagles? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponent"='philadelphia eagles'; | 2-16433748-1 |
What is the date with 68,463 in attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='68,463'; | 2-16433748-1 |
What was the attendance for week 15? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=15; | 2-16433748-1 |
What is the name when winter is the transfer window? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "name" FROM "in" WHERE "transfer_window"='winter'; | 2-17596418-4 |
What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_fee" FROM "in" WHERE "transfer_window"='summer' AND "type"='transfer' AND "country"='hun'; | 2-17596418-4 |
What is the type when Rangers are the moving from? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "type" FROM "in" WHERE "moving_from"='rangers'; | 2-17596418-4 |
What is the type when McCormack is the name? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "type" FROM "in" WHERE "name"='mccormack'; | 2-17596418-4 |
What is the type when £120,000 is the transfer fee? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "type" FROM "in" WHERE "transfer_fee"='£120,000'; | 2-17596418-4 |
What date is aston villa away? | 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"='aston villa'; | 2-16312746-5 |
what date did tie number 5 occur? | 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 "tie_no"='5'; | 2-16312746-5 |
Which tie number has Bolton Wanderers as away? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='bolton wanderers'; | 2-16312746-5 |
What round was the circuit portland international raceway? | CREATE TABLE "schedule" (
"round" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text
); | SELECT "round" FROM "schedule" WHERE "circuit"='portland international raceway'; | 2-16952105-1 |
When was the circuit portland international raceway? | CREATE TABLE "schedule" (
"round" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text
); | SELECT "date" FROM "schedule" WHERE "circuit"='portland international raceway'; | 2-16952105-1 |
Which round had a city/location of Toronto, Ontario? | CREATE TABLE "schedule" (
"round" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text
); | SELECT "round" FROM "schedule" WHERE "city_location"='toronto, ontario'; | 2-16952105-1 |
For which location was the round smaller than 11 and the circuit streets of denver? | CREATE TABLE "schedule" (
"round" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text
); | SELECT "city_location" FROM "schedule" WHERE "round"<11 AND "circuit"='streets of denver'; | 2-16952105-1 |
What day was the location Cleveland, Ohio in Round 6? | CREATE TABLE "schedule" (
"round" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text
); | SELECT "date" FROM "schedule" WHERE "city_location"='cleveland, ohio' AND "round"=6; | 2-16952105-1 |
What is the sum of attendance for the games played at Los Angeles Rams? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("attendance") FROM "schedule" WHERE "opponent"='at los angeles rams'; | 2-17407008-2 |
In which week was the attendance 47,218? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "attendance"='47,218'; | 2-17407008-2 |
How many Decembers have calgary flames as the opponent? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"decision" text,
"record" text
); | SELECT COUNT("december") FROM "schedule_and_results" WHERE "opponent"='calgary flames'; | 2-17360905-5 |
What game has valiquette as the decision, with @ los angeles kings as the opponent? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"decision" text,
"record" text
); | SELECT "game" FROM "schedule_and_results" WHERE "decision"='valiquette' AND "opponent"='@ los angeles kings'; | 2-17360905-5 |
What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? | CREATE TABLE "season_3" (
"official_num" real,
"tf1_num" real,
"french_title" text,
"english_title" text,
"air_date_france" text,
"original_beechwood_bunny_tale_source_material" text
); | SELECT MAX("tf1_num") FROM "season_3" WHERE "official_num">47 AND "air_date_france"='13 july 2010'; | 2-16425614-4 |
What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of "sweet fabiola"? | CREATE TABLE "season_3" (
"official_num" real,
"tf1_num" real,
"french_title" text,
"english_title" text,
"air_date_france" text,
"original_beechwood_bunny_tale_source_material" text
); | SELECT "original_beechwood_bunny_tale_source_material" FROM "season_3" WHERE "official_num">38 AND "tf1_num">50 AND "english_title"='\"sweet fabiola\"'; | 2-16425614-4 |
What is the Official # that has a French title of "Pierre de Lune"? | CREATE TABLE "season_3" (
"official_num" real,
"tf1_num" real,
"french_title" text,
"english_title" text,
"air_date_france" text,
"original_beechwood_bunny_tale_source_material" text
); | SELECT "official_num" FROM "season_3" WHERE "french_title"='\"pierre de lune\"'; | 2-16425614-4 |
What venue had SF? | CREATE TABLE "scottish_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"scorers" text
); | SELECT "venue" FROM "scottish_cup" WHERE "round"='sf'; | 2-16649577-5 |
What venue has more than 50,715 attending? | CREATE TABLE "scottish_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"scorers" text
); | SELECT "venue" FROM "scottish_cup" WHERE "attendance">'50,715'; | 2-16649577-5 |
What round was at the A venue with a attendance more than 14,314? | CREATE TABLE "scottish_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"scorers" text
); | SELECT "round" FROM "scottish_cup" WHERE "venue"='a' AND "attendance">'14,314'; | 2-16649577-5 |
What's the callsign of Mom's Radio 101.9 Zamboanga? | CREATE TABLE "sbn_mom_s_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "branding"='mom''s radio 101.9 zamboanga'; | 2-17487395-1 |
What's the power when the frequency is 101.5mhz? | CREATE TABLE "sbn_mom_s_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "power_k_w" FROM "sbn_mom_s_radio_stations" WHERE "frequency"='101.5mhz'; | 2-17487395-1 |
What's the location of Mom's Radio 95.9 Naga having a power of 10kw? | CREATE TABLE "sbn_mom_s_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "location" FROM "sbn_mom_s_radio_stations" WHERE "power_k_w"='10kw' AND "branding"='mom''s radio 95.9 naga'; | 2-17487395-1 |
What's the callsign in Tacloban? | CREATE TABLE "sbn_mom_s_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "location"='tacloban'; | 2-17487395-1 |
What's the power of Mom's Radio 101.5 Tacloban? | CREATE TABLE "sbn_mom_s_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "power_k_w" FROM "sbn_mom_s_radio_stations" WHERE "branding"='mom''s radio 101.5 tacloban'; | 2-17487395-1 |
Which Built at has a Date of 1946, and a 1947 Nos of 3556/7? | CREATE TABLE "construction" (
"1946_nos" text,
"1947_nos" text,
"date" real,
"built_at" text,
"lms_nos" text,
"br_nos" text
); | SELECT "built_at" FROM "construction" WHERE "date"=1946 AND "1947_nos"='3556/7'; | 2-16263665-1 |
Which Date has a 1946 Nos of 3156/7? | CREATE TABLE "construction" (
"1946_nos" text,
"1947_nos" text,
"date" real,
"built_at" text,
"lms_nos" text,
"br_nos" text
); | SELECT AVG("date") FROM "construction" WHERE "1946_nos"='3156/7'; | 2-16263665-1 |
Which Date has a 1947 Nos of 3525-34? | CREATE TABLE "construction" (
"1946_nos" text,
"1947_nos" text,
"date" real,
"built_at" text,
"lms_nos" text,
"br_nos" text
); | SELECT COUNT("date") FROM "construction" WHERE "1947_nos"='3525-34'; | 2-16263665-1 |
Which 1947 Nos has a BR Nos of 48730-9? | CREATE TABLE "construction" (
"1946_nos" text,
"1947_nos" text,
"date" real,
"built_at" text,
"lms_nos" text,
"br_nos" text
); | SELECT "1947_nos" FROM "construction" WHERE "br_nos"='48730-9'; | 2-16263665-1 |
What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT SUM("losses") FROM "performance_summary" WHERE "win_pct"='71.43%' AND "no_result">0; | 2-16624655-5 |
What is the total number of wins in 2010, when there were more than 14 matches? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT COUNT("wins") FROM "performance_summary" WHERE "year"='2010' AND "matches">14; | 2-16624655-5 |
What is the number of wins when there are 14 matches, and the No Result was less than 0? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT AVG("wins") FROM "performance_summary" WHERE "matches"=14 AND "no_result"<0; | 2-16624655-5 |
What is the number of losses when there were 14 matches, and the No Result was larger than 0? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT SUM("losses") FROM "performance_summary" WHERE "matches"=14 AND "no_result">0; | 2-16624655-5 |
What is the number of matches when the wins are less than 8, and losses of 7, in 2011? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT SUM("matches") FROM "performance_summary" WHERE "wins"<8 AND "losses"=7 AND "year"='2011'; | 2-16624655-5 |
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? | CREATE TABLE "performance_summary" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"win_pct" text
); | SELECT "year" FROM "performance_summary" WHERE "win_pct"='50.00%' AND "matches">14 AND "wins">8; | 2-16624655-5 |
What area has less than 0.97 mil in population and is on the east? | CREATE TABLE "regions_of_iceland" (
"landsv_i" text,
"english" text,
"population_2011_01_01" text,
"area_km" text,
"pop_km" real
); | SELECT "area_km" FROM "regions_of_iceland" WHERE "pop_km"<0.97 AND "english"='east'; | 2-16278829-1 |
What is the area for a population of 0.58 km? | CREATE TABLE "regions_of_iceland" (
"landsv_i" text,
"english" text,
"population_2011_01_01" text,
"area_km" text,
"pop_km" real
); | SELECT "area_km" FROM "regions_of_iceland" WHERE "pop_km"=0.58; | 2-16278829-1 |
what is the method when the result is loss on january 19, 2008? | CREATE TABLE "post_show_success" (
"result" text,
"tuf_competitor" text,
"opponent" text,
"method" text,
"event" text,
"date" text
); | SELECT "method" FROM "post_show_success" WHERE "result"='loss' AND "date"='january 19, 2008'; | 2-1721369-4 |
when is the opponent lyoto machida? | CREATE TABLE "post_show_success" (
"result" text,
"tuf_competitor" text,
"opponent" text,
"method" text,
"event" text,
"date" text
); | SELECT "date" FROM "post_show_success" WHERE "opponent"='lyoto machida'; | 2-1721369-4 |
who is the opponent when the method is tko (punches) at 4:26 of round 1? | CREATE TABLE "post_show_success" (
"result" text,
"tuf_competitor" text,
"opponent" text,
"method" text,
"event" text,
"date" text
); | SELECT "opponent" FROM "post_show_success" WHERE "method"='tko (punches) at 4:26 of round 1'; | 2-1721369-4 |
who is the tuf competitor when the method id decision (unanimous)? | CREATE TABLE "post_show_success" (
"result" text,
"tuf_competitor" text,
"opponent" text,
"method" text,
"event" text,
"date" text
); | SELECT "tuf_competitor" FROM "post_show_success" WHERE "method"='decision (unanimous)'; | 2-1721369-4 |
who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2? | CREATE TABLE "post_show_success" (
"result" text,
"tuf_competitor" text,
"opponent" text,
"method" text,
"event" text,
"date" text
); | SELECT "opponent" FROM "post_show_success" WHERE "method"='submission (rear naked choke) at 4:02 of round 2'; | 2-1721369-4 |
What is the venue where the melbourne tigers play their home games? | CREATE TABLE "round_6" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "venue" FROM "round_6" WHERE "home_team"='melbourne tigers'; | 2-16653153-13 |
What team has theoir home games in the venue of gold coast convention centre? | CREATE TABLE "round_6" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "home_team" FROM "round_6" WHERE "venue"='gold coast convention centre'; | 2-16653153-13 |
What is the box score type for the game that has a score of 103-101? | CREATE TABLE "round_6" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "box_score" FROM "round_6" WHERE "score"='103-101'; | 2-16653153-13 |
What was the box score for the game where the away team was the sydney spirit? | CREATE TABLE "round_6" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"box_score" text,
"report" text
); | SELECT "box_score" FROM "round_6" WHERE "away_team"='sydney spirit'; | 2-16653153-13 |
What was the resolution of the fight when tim hague had a record of 15-7? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "record"='15-7'; | 2-17463217-2 |
What event did Tim hague have a fight that had a time of 5:00 and a record of 10-4? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='5:00' AND "record"='10-4'; | 2-17463217-2 |
What method of resolution was the fight that took place at hardcore championship fighting: destiny? | 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 "event"='hardcore championship fighting: destiny'; | 2-17463217-2 |
What event did tim Hague have a record of 3-0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='3-0'; | 2-17463217-2 |
On what date was the poll showing John Kennedy with 45% and Mary Landrieu with 38%? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_mary_landrieu" text,
"republican_john_kennedy" text,
"lead_margin" real
); | SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "republican_john_kennedy"='45%' AND "democrat_mary_landrieu"='38%'; | 2-16751596-4 |
What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_mary_landrieu" text,
"republican_john_kennedy" text,
"lead_margin" real
); | SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"<5.5 AND "poll_source"='survey usa'; | 2-16751596-4 |
Which organization administered the poll that showed a lead margin of 5.5? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_mary_landrieu" text,
"republican_john_kennedy" text,
"lead_margin" real
); | SELECT "poll_source" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"=5.5; | 2-16751596-4 |
Which poll shows Democrat Mary Landrieu with 53% against Republican John Kennedy? | CREATE TABLE "opinion_polling_for_the_united_states_se" (
"poll_source" text,
"dates_administered" text,
"democrat_mary_landrieu" text,
"republican_john_kennedy" text,
"lead_margin" real
); | SELECT "republican_john_kennedy" FROM "opinion_polling_for_the_united_states_se" WHERE "democrat_mary_landrieu"='53%'; | 2-16751596-4 |
What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "position"='forward' AND "school_club_team"='western kentucky'; | 2-16274053-1 |
What is Position, when Pick is 7? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT "position" FROM "draft_picks" WHERE "pick"='7'; | 2-16274053-1 |
What is Pick, when Round is greater than 1, and when School/Club Team is South Carolina? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT "pick" FROM "draft_picks" WHERE "round">1 AND "school_club_team"='south carolina'; | 2-16274053-1 |
What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6? | CREATE TABLE "singles_14_5_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_14_5_9" WHERE "outcome"='runner-up' AND "score"='5–7, 3–6, 6–3, 2–6'; | 2-1727962-1 |
What is the Date of the game with a Score of 4–6, 4–6? | CREATE TABLE "singles_14_5_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_14_5_9" WHERE "score"='4–6, 4–6'; | 2-1727962-1 |
What is the Date of the game against Christo Van Rensburg? | CREATE TABLE "singles_14_5_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "date" FROM "singles_14_5_9" WHERE "opponent"='christo van rensburg'; | 2-1727962-1 |
Who was the home team for the game that has a Tie value of 3? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='3'; | 2-16194551-4 |
How many in total were in attendance at games where Chelsea was the away team? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT SUM("attendance") FROM "fourth_round_proper" WHERE "away_team"='chelsea'; | 2-16194551-4 |
What is the 2004 population for 昌黎县? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2004_est" text,
"area_km" text,
"density_km" text
); | SELECT "population_2004_est" FROM "administrative_divisions" WHERE "hanzi"='昌黎县'; | 2-164256-2 |
What is the 2004 population for 山海关区? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2004_est" text,
"area_km" text,
"density_km" text
); | SELECT "population_2004_est" FROM "administrative_divisions" WHERE "hanzi"='山海关区'; | 2-164256-2 |
Which Hanzi has a suburban population in 2004? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2004_est" text,
"area_km" text,
"density_km" text
); | SELECT "hanzi" FROM "administrative_divisions" WHERE "population_2004_est"='suburban'; | 2-164256-2 |
What is the density of 昌黎县? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2004_est" text,
"area_km" text,
"density_km" text
); | SELECT "density_km" FROM "administrative_divisions" WHERE "hanzi"='昌黎县'; | 2-164256-2 |
Which Hanyu Pinyin is labeled rural? | CREATE TABLE "administrative_divisions" (
"name" text,
"hanzi" text,
"hanyu_pinyin" text,
"population_2004_est" text,
"area_km" text,
"density_km" text
); | SELECT "hanyu_pinyin" FROM "administrative_divisions" WHERE "name"='rural'; | 2-164256-2 |
What is the Pressure in hPa (mbar), when Vacuum Range is "medium vacuum"? | CREATE TABLE "mean_free_path_in_kinetic_theory" (
"vacuum_range" text,
"pressure_in_h_pa_mbar" text,
"molecules_cm_3" text,
"molecules_m_3" text,
"mean_free_path" text
); | SELECT "pressure_in_h_pa_mbar" FROM "mean_free_path_in_kinetic_theory" WHERE "vacuum_range"='medium vacuum'; | 2-170097-1 |
What is Mean Free Path, when Vacuum Range is "medium vacuum"? | CREATE TABLE "mean_free_path_in_kinetic_theory" (
"vacuum_range" text,
"pressure_in_h_pa_mbar" text,
"molecules_cm_3" text,
"molecules_m_3" text,
"mean_free_path" text
); | SELECT "mean_free_path" FROM "mean_free_path_in_kinetic_theory" WHERE "vacuum_range"='medium vacuum'; | 2-170097-1 |
What is Mean Free Path, when Vacuum Range is "medium vacuum"? | CREATE TABLE "mean_free_path_in_kinetic_theory" (
"vacuum_range" text,
"pressure_in_h_pa_mbar" text,
"molecules_cm_3" text,
"molecules_m_3" text,
"mean_free_path" text
); | SELECT "mean_free_path" FROM "mean_free_path_in_kinetic_theory" WHERE "vacuum_range"='medium vacuum'; | 2-170097-1 |
what is the outcome when the date is 10 october 1994? | CREATE TABLE "singles_26_17_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "outcome" FROM "singles_26_17_9" WHERE "date"='10 october 1994'; | 2-161972-5 |
what is the score on 22 february 1993? | CREATE TABLE "singles_26_17_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_26_17_9" WHERE "date"='22 february 1993'; | 2-161972-5 |
what is the outcome when the surface is grass on 23 june 1997? | CREATE TABLE "singles_26_17_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "outcome" FROM "singles_26_17_9" WHERE "surface"='grass' AND "date"='23 june 1997'; | 2-161972-5 |
what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands? | CREATE TABLE "singles_26_17_9" (
"outcome" text,
"date" text,
"championship" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_26_17_9" WHERE "surface"='carpet (i)' AND "outcome"='winner' AND "championship"='rotterdam, netherlands'; | 2-161972-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.