question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What's the transfer distance (km) larger than 36.5, at the station of guangximen?
CREATE TABLE table_name_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)
SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = "guangximen"
The Chinese Name of 上地 shàngdì belongs to what station?
CREATE TABLE table_name_57 (station_name VARCHAR, chinese_name VARCHAR)
SELECT station_name FROM table_name_57 WHERE chinese_name = "上地 shàngdì"
Name the runner-up for margin of victory of 3 strokes
CREATE TABLE table_name_37 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
SELECT runner_s__up FROM table_name_37 WHERE margin_of_victory = "3 strokes"
Name the date with margin of victory of 1 stroke and tournament of legend financial group classic
CREATE TABLE table_name_83 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_83 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic"
Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic
CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic"
Name the margin of victory for jonas blixt
CREATE TABLE table_name_24 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_24 WHERE runner_s__up = "jonas blixt"
Which Party has a Office of majority floor leader
CREATE TABLE table_name_46 (party VARCHAR, office VARCHAR)
SELECT party FROM table_name_46 WHERE office = "majority floor leader"
Which Office has a Representative of scott pelath?
CREATE TABLE table_name_81 (office VARCHAR, representative VARCHAR)
SELECT office FROM table_name_81 WHERE representative = "scott pelath"
Which Office has a Party of rep, and a Representative of brian bosma?
CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR)
SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma"
Which Residence has a Party of dem, and a Representative of linda lawson?
CREATE TABLE table_name_20 (residence VARCHAR, party VARCHAR, representative VARCHAR)
SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson"
Which Party has a Representative of brian bosma?
CREATE TABLE table_name_61 (party VARCHAR, representative VARCHAR)
SELECT party FROM table_name_61 WHERE representative = "brian bosma"
Which Office has a Party of dem, and a First Elected of 1991†?
CREATE TABLE table_name_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991†"
what college has paul seiler as a player?
CREATE TABLE table_name_22 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_22 WHERE player = "paul seiler"
How many laps were in 1955?
CREATE TABLE table_name_89 (laps VARCHAR, year VARCHAR)
SELECT COUNT(laps) FROM table_name_89 WHERE year = "1955"
What was the finish with less than 200 laps in 1953?
CREATE TABLE table_name_85 (finish VARCHAR, laps VARCHAR, year VARCHAR)
SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953"
What was the rank in 1955?
CREATE TABLE table_name_89 (rank VARCHAR, year VARCHAR)
SELECT rank FROM table_name_89 WHERE year = "1955"
What was the sum of laps in 1954?
CREATE TABLE table_name_79 (laps INTEGER, year VARCHAR)
SELECT SUM(laps) FROM table_name_79 WHERE year = "1954"
What rank had less than 200 laps with a finish of 26?
CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26"
What's the average wins of those games with 3 podiums?
CREATE TABLE table_name_42 (wins INTEGER, podiums VARCHAR)
SELECT AVG(wins) FROM table_name_42 WHERE podiums = 3
Who was team 1 when team 2 was Young Africans?
CREATE TABLE table_name_65 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_65 WHERE team_2 = "young africans"
What was the 2nd leg score for Al-Merrikh as team 2?
CREATE TABLE table_name_61 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "al-merrikh"
What is the Date, when the Opponent is Gisela Dulko?
CREATE TABLE table_name_74 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_74 WHERE opponent = "gisela dulko"
What is the Tournament, when the Opponent is Patricia Mayr-Achleitner?
CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_83 WHERE opponent = "patricia mayr-achleitner"
what is the result of the competition in 2006 world cup qualification?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "2006 world cup qualification"
What nation started in lane 3 of heat 2?
CREATE TABLE table_name_78 (nationality VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT nationality FROM table_name_78 WHERE heat = 2 AND lane = 3
Which Tied has Matches of 1, and a Lost of 0, and a Team of durham?
CREATE TABLE table_name_95 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR)
SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham"
Which Team has a Winner of 1?
CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR)
SELECT team FROM table_name_6 WHERE winner = "1"
What is the % Won of Team of durham
CREATE TABLE table_name_12 (_percentage_won VARCHAR, team VARCHAR)
SELECT _percentage_won FROM table_name_12 WHERE team = "durham"
Which Match has the percentage won 52.38?
CREATE TABLE table_name_77 (matches VARCHAR, _percentage_won VARCHAR)
SELECT matches FROM table_name_77 WHERE _percentage_won = "52.38"
How many points has more than 15 wins and less than 10 losses?
CREATE TABLE table_name_54 (points VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT points FROM table_name_54 WHERE wins > 15 AND losses < 10
What is the total goal difference with more than 38 played and more than 47 goals against?
CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38
What is the average draws with more than 38 played?
CREATE TABLE table_name_25 (draws INTEGER, played INTEGER)
SELECT AVG(draws) FROM table_name_25 WHERE played > 38
What is the name of the partner who played in the final against Lucas Arnold Ker Martín García?
CREATE TABLE table_name_39 (partner VARCHAR, opponents_in_final VARCHAR)
SELECT partner FROM table_name_39 WHERE opponents_in_final = "lucas arnold ker martín garcía"
Who swam in a lane less than 6 and finished with a time of 2:11.02?
CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR)
SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02"
What is the Film title used in nomination of Mig Og Charly?
CREATE TABLE table_name_10 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_10 WHERE original_name = "mig og charly"
Who is the Director that has a Film title of nick carter in prague?
CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague"
Which Language Director of nagisa oshima use in his film?
CREATE TABLE table_name_54 (language VARCHAR, director VARCHAR)
SELECT language FROM table_name_54 WHERE director = "nagisa oshima"
Who is the Director that speaks dutch?
CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR)
SELECT director FROM table_name_8 WHERE language = "dutch"
What is the Original name of empire of passion?
CREATE TABLE table_name_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = "empire of passion"
Name the start date with party of pd
CREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR)
SELECT start_date FROM table_name_28 WHERE party = "pd"
Name the minister for end date of 31 july 2004
CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR)
SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"
Name the party with end date of 22 november 1980
CREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR)
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980"
Name the end date for robert goebbels
CREATE TABLE table_name_50 (end_date VARCHAR, minister VARCHAR)
SELECT end_date FROM table_name_50 WHERE minister = "robert goebbels"
Name the start date with lsap and end date of present day
CREATE TABLE table_name_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR)
SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day"
What is the acceleration 1-100km/h when the name is 1.5 dci?
CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR)
SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci"
what is the power when the capacity is 898cc?
CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR)
SELECT power FROM table_name_43 WHERE capacity = "898cc"
what is the capacity when the code is d4f bi-fuel 732?
CREATE TABLE table_name_36 (capacity VARCHAR, code VARCHAR)
SELECT capacity FROM table_name_36 WHERE code = "d4f bi-fuel 732"
what is the power when the name is 1.2 16v lpg?
CREATE TABLE table_name_13 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_13 WHERE name = "1.2 16v lpg"
what is the capacity when the name is 1.2 16v?
CREATE TABLE table_name_68 (capacity VARCHAR, name VARCHAR)
SELECT capacity FROM table_name_68 WHERE name = "1.2 16v"
what is the capacity when the acceleration 1-100km/h is 11.1 s?
CREATE TABLE table_name_39 (capacity VARCHAR, acceleration_0_100km_h VARCHAR)
SELECT capacity FROM table_name_39 WHERE acceleration_0_100km_h = "11.1 s"
Name the director for 1957
CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR)
SELECT director FROM table_name_50 WHERE year = 1957
Name the director who has title of transylvania 6-5000
CREATE TABLE table_name_47 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_47 WHERE title = "transylvania 6-5000"
Name the attendance for time of 1:31
CREATE TABLE table_name_21 (attendance VARCHAR, time VARCHAR)
SELECT attendance FROM table_name_21 WHERE time = "1:31"
Name the score for 1:36 time
CREATE TABLE table_name_20 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_20 WHERE time = "1:36"
Name the score for october 9
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE date = "october 9"
What round did the overall pick of 91 occur in the 1982 NFL draft?
CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR)
SELECT MIN(round) FROM table_name_83 WHERE overall = 91
What Race 3 is Round 5?
CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR)
SELECT race_3 FROM table_name_4 WHERE round = "round 5"
What Round has the Track Clipsal 500 Support?
CREATE TABLE table_name_42 (round VARCHAR, track VARCHAR)
SELECT round FROM table_name_42 WHERE track = "clipsal 500 support"
What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?
CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR)
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton"
What Round has the Track Winton?
CREATE TABLE table_name_30 (round VARCHAR, track VARCHAR)
SELECT round FROM table_name_30 WHERE track = "winton"
What is the Race 2 result of Round 2?
CREATE TABLE table_name_4 (race_2 VARCHAR, round VARCHAR)
SELECT race_2 FROM table_name_4 WHERE round = "round 2"
What is the Race 1 result of Round 2?
CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR)
SELECT race_1 FROM table_name_25 WHERE round = "round 2"
What is the average year with Nathan Robertson Gail Emms in mixed doubles?
CREATE TABLE table_name_71 (year INTEGER, mixed_doubles VARCHAR)
SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms"
Who is the player with a 76-67-71=214 score?
CREATE TABLE table_name_59 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_59 WHERE score = 76 - 67 - 71 = 214
What is Nick Price's score?
CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_20 WHERE player = "nick price"
What is the country of the player with a score of 69-74-71=214?
CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_23 WHERE score = 69 - 74 - 71 = 214
What is the to par of Greg Norman?
CREATE TABLE table_name_83 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_83 WHERE player = "greg norman"
What's the score for opponent @ Tigers on July 24?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "@ tigers" AND date = "july 24"
What's the opponent for July 2?
CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_12 WHERE date = "july 2"
What's the year of the Chassis surtees ts19?
CREATE TABLE table_name_80 (year VARCHAR, chassis VARCHAR)
SELECT year FROM table_name_80 WHERE chassis = "surtees ts19"
What are the lowest points past the year 1978?
CREATE TABLE table_name_51 (points INTEGER, year INTEGER)
SELECT MIN(points) FROM table_name_51 WHERE year > 1978
What's the top year with the Chassis ats hs1?
CREATE TABLE table_name_33 (year INTEGER, chassis VARCHAR)
SELECT MAX(year) FROM table_name_33 WHERE chassis = "ats hs1"
What was the time on September 1?
CREATE TABLE table_name_46 (local_time VARCHAR, date VARCHAR)
SELECT local_time FROM table_name_46 WHERE date = "september 1"
Where was September 5?
CREATE TABLE table_name_25 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_25 WHERE date = "september 5"
When the Winning score is 74-68-67-75=284, what was the Margin of victory?
CREATE TABLE table_name_72 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_72 WHERE winning_score = 74 - 68 - 67 - 75 = 284
When the Winning is 71-71-70-69=281, what is the To par?
CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_7 WHERE winning_score = 71 - 71 - 70 - 69 = 281
When the Winning score is 68-65-65-68=266, what is the Margin of victory?
CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266
On what Date was the Winning score of 72-67-68-67=274?
CREATE TABLE table_name_30 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_30 WHERE winning_score = 72 - 67 - 68 - 67 = 274
What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?
CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)
SELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = "2009-2010" AND wins > 0
What is the total number of 3rd place finishes for racers with 0 titles?
CREATE TABLE table_name_31 (titles INTEGER)
SELECT SUM(3 AS rd_pl) FROM table_name_31 WHERE titles < 0
What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles?
CREATE TABLE table_name_16 (years_active VARCHAR, titles VARCHAR)
SELECT AVG(2 AS nd_pl) FROM table_name_16 WHERE years_active = "2000" AND titles > 0
Name the sum of played for c.d. luis ángel firpo and place more than 3
CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3
Name the total number of places which has played more than 18
CREATE TABLE table_name_59 (place VARCHAR, played INTEGER)
SELECT COUNT(place) FROM table_name_59 WHERE played > 18
Name the total number of lost when goals scored is less than 22 and goals conceded is more than 27
CREATE TABLE table_name_82 (lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
SELECT COUNT(lost) FROM table_name_82 WHERE goals_scored < 22 AND goals_conceded > 27
Name the average goals conceded with draw bigger than 7 and goals scored more than 24
CREATE TABLE table_name_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR)
SELECT AVG(goals_conceded) FROM table_name_26 WHERE draw > 7 AND goals_scored > 24
Name the least goals scored with place more than 8 and lost less than 8
CREATE TABLE table_name_36 (goals_scored INTEGER, place VARCHAR, lost VARCHAR)
SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 8
Where does Mount Chamberlin, located in Alaska, rank on the chart?
CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)
SELECT SUM(rank) FROM table_name_37 WHERE state = "alaska" AND mountain_peak = "mount chamberlin"
What is the location of the mountain ranked at 36?
CREATE TABLE table_name_20 (location VARCHAR, rank VARCHAR)
SELECT location FROM table_name_20 WHERE rank = 36
Where does the Kuskokwim Mountains rank on the chart?
CREATE TABLE table_name_5 (rank INTEGER, mountain_range VARCHAR)
SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains"
What is the average rank of a mountain range located in Maine?
CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"
What round was matt roth drafted?
CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_82 WHERE player = "matt roth"
What team did the player represent that was picked after 196?
CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER)
SELECT nfl_club FROM table_name_35 WHERE pick > 196
Name the position for european competitions of eurocup regular season
CREATE TABLE table_name_41 (pos VARCHAR, european_competitions VARCHAR)
SELECT pos FROM table_name_41 WHERE european_competitions = "eurocup regular season"
Who was the opponent with a series of 3-2?
CREATE TABLE table_name_54 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_54 WHERE series = "3-2"
Who was the opponent with a series of 1-0?
CREATE TABLE table_name_79 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_79 WHERE series = "1-0"
For the Delmar school what is the division record?
CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR)
SELECT division_record FROM table_name_93 WHERE school = "delmar"
What school does the Blue Raiders belong to?
CREATE TABLE table_name_16 (school VARCHAR, team VARCHAR)
SELECT school FROM table_name_16 WHERE team = "blue raiders"
What team name belongs to Seaford?
CREATE TABLE table_name_57 (team VARCHAR, school VARCHAR)
SELECT team FROM table_name_57 WHERE school = "seaford"
What division record did the Spartans hold?
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
SELECT division_record FROM table_name_26 WHERE team = "spartans"
The wildcats belong to what school?
CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR)
SELECT school FROM table_name_38 WHERE team = "wildcats"