question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who was the home team in the game that led to a 2-3 series record?
CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "record"='2-3';
2-17323640-3
Which home team had a score of 100-86?
CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "home_team" FROM "round_22" WHERE "score"='100-86';
2-16653153-29
Which report corresponds to the State Sports Centre?
CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "report" FROM "round_22" WHERE "venue"='state sports centre';
2-16653153-29
Who was the away team at the Win Entertainment Centre?
CREATE TABLE "round_22" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "away_team" FROM "round_22" WHERE "venue"='win entertainment centre';
2-16653153-29
Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3?
CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT COUNT("gain") FROM "rushing" WHERE "name"='williams, jonathan' AND "loss">3;
2-16813505-19
Can you tell me the sum of Loss that has the Gain of 2646?
CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT SUM("loss") FROM "rushing" WHERE "gain"=2646;
2-16813505-19
Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?
CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT SUM("gain") FROM "rushing" WHERE "name"='kass, rob' AND "avg_g"<1.9;
2-16813505-19
Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?
CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );
SELECT MIN("long") FROM "rushing" WHERE "gain"=20 AND "loss"<0;
2-16813505-19
What was the result of the game at Cleveland Browns Stadium with an attendance of 65,995?
CREATE TABLE "schedule" ( "date" text, "opponent_num" text, "result" text, "score" text, "attendance" real, "stadium" text );
SELECT "result" FROM "schedule" WHERE "attendance">'65,995' AND "stadium"='cleveland browns stadium';
2-16764753-2
What is the highest ERP W with a w216bo call sign?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("erp_w") FROM "translators" WHERE "call_sign"='w216bo';
2-16917751-1
What kind of Crowd has a Home team of port adelaide, and a Away team score of 11.10 (76)?
CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "crowd" FROM "group_b" WHERE "home_team"='port adelaide' AND "away_team_score"='11.10 (76)';
2-16388398-2
What kind of Crowd has a Ground of subiaco oval?
CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "group_b" WHERE "ground"='subiaco oval';
2-16388398-2
What kind of Ground has a Home team score of 13.14 (92)?
CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "ground" FROM "group_b" WHERE "home_team_score"='13.14 (92)';
2-16388398-2
What kind of Home team has a Home team score of 13.14 (92)?
CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT "home_team" FROM "group_b" WHERE "home_team_score"='13.14 (92)';
2-16388398-2
How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?
CREATE TABLE "group_b" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text );
SELECT AVG("crowd") FROM "group_b" WHERE "date"='saturday, 29 january' AND "away_team"='collingwood';
2-16388398-2
On which date after week 11 was the opponent the arizona cardinals?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week">11 AND "opponent"='arizona cardinals';
2-16780132-2
What was the attendance during week 15?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "week"=15;
2-16780132-2
What was the lead with an alternate of li dongyan?
CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text );
SELECT "lead" FROM "teams" WHERE "alternate"='li dongyan';
2-16871409-1
Which lead had a season of 2007-08?
CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text );
SELECT "lead" FROM "teams" WHERE "season"='2007-08';
2-16871409-1
Which lead had a season of 2009-10?
CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text, "events" text );
SELECT "lead" FROM "teams" WHERE "season"='2009-10';
2-16871409-1
Which Name has a Yes Saturday and a Yes Evening?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "name" FROM "routes" WHERE "saturday"='yes' AND "evening"='yes';
2-16257447-1
Name the Daytime which has Saturday of yes and a Name of exmouth?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "daytime" FROM "routes" WHERE "saturday"='yes' AND "name"='exmouth';
2-16257447-1
Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "evening" FROM "routes" WHERE "sunday"='no' AND "name"='s. vidal/plant express';
2-16257447-1
Name the Daytime which has a Name of exmouth?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "daytime" FROM "routes" WHERE "name"='exmouth';
2-16257447-1
Which Saturday has a Sunday of yes and a Evening of yes?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "saturday" FROM "routes" WHERE "sunday"='yes' AND "evening"='yes';
2-16257447-1
Which Saturday has a Name of confederation?
CREATE TABLE "routes" ( "name" text, "daytime" text, "evening" text, "saturday" text, "sunday" text );
SELECT "saturday" FROM "routes" WHERE "name"='confederation';
2-16257447-1
What was the GP-GS for the 2009 season?
CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text );
SELECT "gp_gs" FROM "college" WHERE "season"='2009';
2-16337186-3
Which GP-GS had a long of 17 and a season of total?
CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text );
SELECT "gp_gs" FROM "college" WHERE "long"='17' AND "season"='total';
2-16337186-3
Which Long has redshirt for its Avg/G?
CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text );
SELECT "long" FROM "college" WHERE "avg_g"='redshirt';
2-16337186-3
What was the Av/G of the 2009 season?
CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text );
SELECT "avg_g" FROM "college" WHERE "season"='2009';
2-16337186-3
For the Avg/G of 5.9, what was the long?
CREATE TABLE "college" ( "season" text, "gp_gs" text, "yards" text, "long" text, "avg_g" text );
SELECT "long" FROM "college" WHERE "avg_g"='5.9';
2-16337186-3
What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "high_points"='d. mckey (24)' AND "score"='l 96-105';
2-17382360-6
What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "game_log" WHERE "game">33 AND "score"='w 132-101';
2-17382360-6
What is Team, when Game is "32"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "team" FROM "game_log" WHERE "game"=32;
2-17382360-6
What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT SUM("game") FROM "game_log" WHERE "high_points"='d. mckey (24)' AND "team"='@ dallas mavericks';
2-17382360-6
Which Tournament has Opponents of marc lópez santiago ventura?
CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text );
SELECT "tournament" FROM "doubles_15" WHERE "opponents"='marc lópez santiago ventura';
2-16474033-12
Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?
CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_15" WHERE "partnering"='alessandro motti' AND "date"='12 september 2005';
2-16474033-12
Which Opponents have a Score of 6–4, 6–3?
CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_15" WHERE "score"='6–4, 6–3';
2-16474033-12
Which Tournament has a Surface of hard, and a Date of 24 september 2011?
CREATE TABLE "doubles_15" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponents" text, "score" text );
SELECT "tournament" FROM "doubles_15" WHERE "surface"='hard' AND "date"='24 september 2011';
2-16474033-12
How many rounds did the match at GCF: Strength and Honor last?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "location" text );
SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "event"='gcf: strength and honor';
2-17441540-2
What is the total population for Saint-Antoine with an area squared of 6.43?
CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT SUM("population") FROM "communities" WHERE "official_name"='saint-antoine' AND "area_km_2">6.43;
2-171229-1
What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?
CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "status" FROM "communities" WHERE "population">930 AND "census_ranking"='1,769 of 5,008';
2-171229-1
How many games in February have a record of 40-15-5?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT SUM("february") FROM "schedule_and_results" WHERE "record"='40-15-5';
2-17324893-6
What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT MIN("game") FROM "schedule_and_results" WHERE "opponent"='minnesota north stars' AND "february"<25;
2-17324893-6
How many games have the New York Islanders as an opponent before February 7?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT SUM("game") FROM "schedule_and_results" WHERE "opponent"='new york islanders' AND "february"<7;
2-17324893-6
What is the earliest February date with a record of 37-13-4 in a game earlier than 54?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT MIN("february") FROM "schedule_and_results" WHERE "record"='37-13-4' AND "game"<54;
2-17324893-6
What is the date of the game when the record is 2-0?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='2-0';
2-16763663-4
What is the average game number when the record is 4-1?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT AVG("game") FROM "game_log" WHERE "record"='4-1';
2-16763663-4
What is the location and attendance of game 1?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "game"=1;
2-16763663-4
What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "location_attendance"='madison square garden' AND "game"<6 AND "team"='seattle';
2-16763663-4
What is the location and attendance of the game when the score is 125-100?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "score"='125-100';
2-16763663-4
Who was the winning driver in 1956?
CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "results" WHERE "year"='1956';
2-16933249-1
Which circuit did Peter Whitehead win?
CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "circuit" FROM "results" WHERE "winning_driver"='peter whitehead';
2-16933249-1
What report did Jack Brabham win?
CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "report" FROM "results" WHERE "winning_driver"='jack brabham';
2-16933249-1
What year did Ferrari win the Kyalami circuit?
CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "year" FROM "results" WHERE "circuit"='kyalami' AND "winning_constructor"='ferrari';
2-16933249-1
Which circuit did Jim Clark win in 1962?
CREATE TABLE "results" ( "year" text, "date" text, "circuit" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "circuit" FROM "results" WHERE "winning_driver"='jim clark' AND "year"='1962';
2-16933249-1
On what Date was the 2011 LG Cup Competittion?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='2011 lg cup';
2-16660943-1
What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz?
CREATE TABLE "selections" ( "pick" real, "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "nba_years_a" text, "career_with_the_franchise_b" text );
SELECT "pick" FROM "selections" WHERE "nba_years_a"='2' AND "previous_team"='utah jazz';
2-17284654-3
What was the final score for the game in which Carmelo Anthony (26) was the high points scorer?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "high_points"='carmelo anthony (26)';
2-17355408-7
In which game number was Chris Andersen (12) the high rebounds scorer?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "game" FROM "game_log" WHERE "high_rebounds"='chris andersen (12)';
2-17355408-7
What was the final score for the game played against @ Milwaukee?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "team"='@ milwaukee';
2-17355408-7
For the game played against the L.A. Lakers, where was the match played and what was the attendance level?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "team"='l.a. lakers';
2-17355408-7
What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"?
CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "name" FROM "race_1_results" WHERE "laps"=50 AND "grid">9 AND "team"='jim beam racing' AND "time_retired"='+ 18.0s';
2-17351388-2
What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"?
CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "race_1_results" WHERE "grid">7 AND "name"='fabian coulthard';
2-17351388-2
What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"?
CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race_1_results" WHERE "laps"<49 AND "name"='michael caruso';
2-17351388-2
What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4?
CREATE TABLE "race_1_results" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race_1_results" WHERE "team"='team vodafone' AND "grid">4;
2-17351388-2
What is the draw number of the Artist Dav Mcnamara and a place bigger than 4?
CREATE TABLE "national_final_14_march_1993" ( "draw" real, "artist" text, "song" text, "points" real, "place" real );
SELECT COUNT("draw") FROM "national_final_14_march_1993" WHERE "artist"='dav mcnamara' AND "place">4;
2-16285354-1
What is the stadium name that has 144 as the runs?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "stadium" FROM "test_cricket" WHERE "runs"='144';
2-1695229-6
For what year was 100* runs happen?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "year" FROM "test_cricket" WHERE "runs"='100*';
2-1695229-6
How many runs happened in 2013?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "runs" FROM "test_cricket" WHERE "year"='2013';
2-1695229-6
With 42 as the match what are the runs?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "runs" FROM "test_cricket" WHERE "match"='42';
2-1695229-6
In 2009 with 100* runs, what is the match?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "match" FROM "test_cricket" WHERE "year"='2009' AND "runs"='100*';
2-1695229-6
When the game was played in the stadium called stadium what was the match?
CREATE TABLE "test_cricket" ( "runs" text, "match" text, "stadium" text, "city_country" text, "year" text );
SELECT "match" FROM "test_cricket" WHERE "stadium"='stadium';
2-1695229-6
What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "2nd_round" FROM "round_of_16" WHERE "score"='3 - 3' AND "team_1"='fc gueugnon (d2)';
2-16982165-1
What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "2nd_round" FROM "round_of_16" WHERE "score"='3 - 3' AND "team_2"='fc lorient (d2)';
2-16982165-1
What team 1 has a 2nd round 0 - 1, and a team 2 rc lens (d1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "team_1" FROM "round_of_16" WHERE "2nd_round"='0 - 1' AND "team_2"='rc lens (d1)';
2-16982165-1
What is the 1st round with a team 2 paris sg (d1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "1st_round" FROM "round_of_16" WHERE "team_2"='paris sg (d1)';
2-16982165-1
What is the 1st round with a 2nd round of 0 - 1, and team 1 sco angers (d1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "1st_round" FROM "round_of_16" WHERE "2nd_round"='0 - 1' AND "team_1"='sco angers (d1)';
2-16982165-1
WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?
CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "name" FROM "loaned_out" WHERE "transfer_window"='summer' AND "country"='sen';
2-17200019-4
WHAT IS THE COUNTRY WITH NAME OF KANU?
CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "loaned_out" WHERE "name"='kanu';
2-17200019-4
WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?
CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "moving_to" FROM "loaned_out" WHERE "country"='bel';
2-17200019-4
WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?
CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "loaned_out" WHERE "transfer_window"='summer';
2-17200019-4
WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA?
CREATE TABLE "loaned_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "transfer_window" FROM "loaned_out" WHERE "country"='bra';
2-17200019-4
What opponent had an attendance of 63,659?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text );
SELECT "opponentnum" FROM "schedule" WHERE "attendance"='63,659';
2-16518708-13
What was the result of 10/18/1947?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='10/18/1947';
2-16518708-13
What was the result for 10/04/1947?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='10/04/1947';
2-16518708-13
Which competition has a report of AIFF?
CREATE TABLE "chinese_taipei_national_football_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "competition" FROM "chinese_taipei_national_football_team" WHERE "report"='aiff';
2-17016499-5
What is the score for a report of AFC on April 4, 2008?
CREATE TABLE "chinese_taipei_national_football_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "score" FROM "chinese_taipei_national_football_team" WHERE "report"='afc' AND "date"='april 4, 2008';
2-17016499-5
What was the attendance for the game against the Houston Oilers?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "opponent"='houston oilers';
2-16779912-2
How many people attended round f?
CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "scottish_cup" WHERE "round"='f';
2-16834484-2
How many people on average attend round f?
CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "scottish_cup" WHERE "round"='f';
2-16834484-2
What was the result in round qf?
CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "result" FROM "scottish_cup" WHERE "round"='qf';
2-16834484-2
Who played Blackpool when Blackpool was at home?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "fifth_round" WHERE "home_team"='blackpool';
2-17540875-6
How many times did Arsenal tie when they were away?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "fifth_round" WHERE "away_team"='arsenal';
2-17540875-6
What was the score of the game when Blackpool was away?
CREATE TABLE "fifth_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "fifth_round" WHERE "away_team"='blackpool';
2-17540875-6
What result had a time of 1:02?
CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "result" FROM "kickboxing_record" WHERE "time"='1:02';
2-17445522-1
What time was the event k-1 the challenge 1999?
CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "kickboxing_record" WHERE "event"='k-1 the challenge 1999';
2-17445522-1
Where was the decision draw before round 5?
CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "kickboxing_record" WHERE "method"='decision draw' AND "round"<5;
2-17445522-1
What is Career Win-Loss, when Tournament is "Hamburg"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "career_win_loss" FROM "singles_performance_timeline" WHERE "tournament"='hamburg';
2-1723703-3
What is 2004, when 2003 is "1R", and when 2006 is "A"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "career_wr" text, "career_win_loss" text );
SELECT "2004" FROM "singles_performance_timeline" WHERE "2003"='1r' AND "2006"='a';
2-1723703-3