answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland"
CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR)
How many lanes have a Nationality of iceland?
SELECT MIN(rank) FROM table_name_65 WHERE lane = 1
CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR)
What is the smallest rank with a Lane of 1?
SELECT score FROM table_name_28 WHERE game = 1
CREATE TABLE table_name_28 (score VARCHAR, game VARCHAR)
What was the final score of Game 1?
SELECT date FROM table_name_48 WHERE time = "2:48"
CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR)
What date has 2:48 as the time?
SELECT record FROM table_name_91 WHERE time = "2:57"
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)
Which record has 2:57 as the time?
SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5"
CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR)
Can you tell me the Losing BP that has Played of 22, and the Lost of 5?
SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc"
CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR)
Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc?
SELECT club FROM table_name_34 WHERE lost = "19"
CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR)
Can you tell me the Club that has the Lost of 19?
SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0"
CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR)
Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0?
SELECT played FROM table_name_15 WHERE "club" = "club"
CREATE TABLE table_name_15 (played VARCHAR)
Can you tell me the Played that has the Club of club?
SELECT club FROM table_name_84 WHERE try_bp = "0"
CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)
Can you tell me the Club thay has the Try BP of 0?
SELECT date FROM table_name_82 WHERE points_against > 7 AND points_for = 27
CREATE TABLE table_name_82 (date VARCHAR, points_against VARCHAR, points_for VARCHAR)
What date did the Mountaineers score 27 points and their opponent scored more that 7?
SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26
CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR)
What was the final result when the Mountaineers scored less than 13 and their opponents scored 26?
SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14"
CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR)
With a Tally of 0-14, what is the Rank in Kilkenny County?
SELECT county FROM table_name_78 WHERE opposition = "dublin"
CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR)
What County has Dublin as the Opposition?
SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12
CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR)
In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition?
SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny"
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, opposition VARCHAR)
What Player in Opposition of Kilkenny has a Total of 10?
SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania"
CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
What is the time in Romania that has a lane larger than 4?
SELECT heat FROM table_name_54 WHERE name = "jin hao"
CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR)
Jin Hao had what amount of heat?
SELECT heat FROM table_name_1 WHERE time = "15:29.69"
CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR)
At time 15:29.69 what was the heat?
SELECT class FROM table_name_31 WHERE laps < 6
CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER)
What is the class of the team when less than 6 laps were completed?
SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"
CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR)
What is the year when Scuderia Lancia Corse competed?
SELECT pos FROM table_name_23 WHERE year < 1973
CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER)
What was the position of the teams before 1973?
SELECT laid_down FROM table_name_33 WHERE name = "kaki"
CREATE TABLE table_name_33 (laid_down VARCHAR, name VARCHAR)
What is the laid down date of Kaki?
SELECT launched FROM table_name_70 WHERE kanji = "ζ —"
CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR)
What is the launch date of ζ —?
SELECT completed FROM table_name_87 WHERE kanji = "蓬"
CREATE TABLE table_name_87 (completed VARCHAR, kanji VARCHAR)
What is the completed date of 蓬?
SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001"
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
Which catalog was published on December 19, 2001?
SELECT label FROM table_name_37 WHERE date = "october 21, 1981"
CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)
What is the label for October 21, 1981?
SELECT date FROM table_name_94 WHERE catalog = "alca-9201"
CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR)
What is the date for Catalog Alca-9201?
SELECT format FROM table_name_94 WHERE date = "july 27, 1994"
CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)
What is the format for July 27, 1994?
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"
CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)
What is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
SELECT catalog FROM table_name_18 WHERE format = "cd"
CREATE TABLE table_name_18 (catalog VARCHAR, format VARCHAR)
What catalog has the CD format?
SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75"
CREATE TABLE table_name_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Which nationaly is ranked greater than 1, with a time of 59.75?
SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france"
CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
Which france nationality has a lane larger than 3?
SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 8
CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR)
What's the total rank of the lane smaller than 8 with a time of 59.80?
SELECT MAX(rank) FROM table_name_77 WHERE lane < 1
CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER)
What's the top rank that's lane is smaller than 1?
SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey"
CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR)
What year did deputy prime minister Mariano Rajoy Brey take office?
SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004"
CREATE TABLE table_name_8 (deputy_prime_minister VARCHAR, term VARCHAR, left_office VARCHAR)
Which deputy prime minister left office in 2004 and was in the 7th legislature?
SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981"
CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR)
Which deputy prime minister left office in 1981?
SELECT AVG(points) FROM table_name_32 WHERE year < 1955 AND chassis = "connaught type a"
CREATE TABLE table_name_32 (points INTEGER, year VARCHAR, chassis VARCHAR)
How many points did Connaught Type A chassis earn on average before 1955?
SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10
CREATE TABLE table_name_62 (points INTEGER, draw VARCHAR, rank VARCHAR)
What is the lowest points with 6 draws and lower than rank 10?
SELECT MIN(draw) FROM table_name_94 WHERE rank = 4
CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR)
What is the lowest draw with rank 4?
SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance"
CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)
How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = "rumba/tango"
CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR)
How many draws have rumba/tango dance styles?
SELECT SUM(total) FROM table_name_90 WHERE gold > 1 AND nation = "russia" AND bronze < 10
CREATE TABLE table_name_90 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze?
SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006"
CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR)
what tournament happened on march 27, 2006?
SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins"
CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)
what was the score when scoville jenkins was the opponent?
SELECT opponent FROM table_name_91 WHERE date = "november 14, 2005"
CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)
what was the opponent on november 14, 2005?
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
what tournament happened on may 2, 2011?
SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey"
CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR)
what tournament had sam querrey as the opponent?
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson"
CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR)
what tournament was on a hard surface and saw jacob adaktusson as the opponent?
SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995"
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
Who was the opponent on September 17, 1995?
SELECT week FROM table_name_93 WHERE attendance = "51,265"
CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR)
Which week had an attendance of 51,265?
SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995"
CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)
Who was the opponent on December 17, 1995?
SELECT record FROM table_name_94 WHERE time = "4:14"
CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR)
Which record has 4:14 as the time?
SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman"
CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR)
Which record has tko (strikes) as the method, and daan kooiman as the opponent?
SELECT round FROM table_name_94 WHERE event = "pain and glory 2006"
CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR)
Which round has pain and glory 2006 as the event?
SELECT record FROM table_name_14 WHERE opponent = "john flemming"
CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR)
Which record has john flemming as the opponent?
SELECT record FROM table_name_49 WHERE time = "5:00" AND opponent = "jess liaudin" AND location = "england"
CREATE TABLE table_name_49 (record VARCHAR, location VARCHAR, time VARCHAR, opponent VARCHAR)
Which record has 5:00 as the time, jess liaudin as the opponent for the location of england?
SELECT score FROM table_name_37 WHERE home = "green bay packers"
CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR)
Name the score for home of green bay packers
SELECT home FROM table_name_93 WHERE score = "21-17"
CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
Name the home for 21-17
SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4
CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
What engine did Scuderia Ambrosiana with fewer than 4 points have?
SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0
CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR)
What chassis had fewer than 0 points in a year before 1954?
SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell"
CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR)
What chassis had an entrant of G.A. Vandervell?
SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2"
CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR)
How many people were in attendance on may 2?
SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17"
CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR)
How many people were in attendance on may 17?
SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002"
CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR)
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?
SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23
CREATE TABLE table_name_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR)
Which single was on the Charts for 23 weeks ?
SELECT COUNT(ects_credit_points) FROM table_name_25 WHERE program = "master in management"
CREATE TABLE table_name_25 (ects_credit_points VARCHAR, program VARCHAR)
How many ECTS credit points occur with Master in Management?
SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance"
CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR)
What is the teaching language for Master of Quantitative Finance?
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
Which program has 3.5 years?
SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65
CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR)
What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points?
SELECT engine FROM table_name_79 WHERE pts > 0
CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER)
What engine has more than 0 pts?
SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983
CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR)
What is the average pots of Alfa Romeo v12 after 1983?
SELECT SUM(against) FROM table_name_75 WHERE competition = "uefa champions league/european cup" AND draw > 1
CREATE TABLE table_name_75 (against INTEGER, competition VARCHAR, draw VARCHAR)
What was the total against in uefa champions league/european cup with more than 1 draw?
SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8
CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)
What is the total against with 1 draw and less than 8 played?
SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing"
CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR)
How many times did Super Nova Racing win with a zytek engine?
SELECT main_wins FROM table_name_63 WHERE team = "france"
CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR)
How many main wins for France?
SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix"
CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR)
How many poles does status grand prix have?
SELECT date FROM table_name_77 WHERE record = "88-74"
CREATE TABLE table_name_77 (date VARCHAR, record VARCHAR)
Question does not make sense since there was no record of 88-74
SELECT award FROM table_name_1 WHERE name = "lowe"
CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR)
What is the award type for all Lowe awards?
SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42"
CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR)
Which engine(s) has a year of 1966, and a point of 42.
SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv"
CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR)
What was the score against hapoel tel aviv?
SELECT date FROM table_name_51 WHERE opponent = "cambridge united"
CREATE TABLE table_name_51 (date VARCHAR, opponent VARCHAR)
What day did they play cambridge united?
SELECT ground FROM table_name_65 WHERE match = 8
CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR)
Where was match 8 played?
SELECT name_[b_] FROM table_name_63 WHERE Pwin_percentage = 0.696
CREATE TABLE table_name_63 (name_ VARCHAR, b_ VARCHAR, Pwin_percentage VARCHAR)
What is the name of the person with a PWin% of .696?
SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = β€” AND term_[c_] = "1987–1988" AND win_percentage < 0.506
CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, β€” VARCHAR, term_ VARCHAR, c_ VARCHAR)
What is the sum of the game with a PWin% of β€”, Term [c] of 1987–1988, and Win% less than 0.506?
SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = β€” AND term_[c_] = "1987–1988"
CREATE TABLE table_name_88 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, β€” VARCHAR, term_ VARCHAR, c_ VARCHAR)
What is the win% for the game 80 and a PWin% of β€”, and a Term [c ] of 1987–1988?
SELECT SUM(games) FROM table_name_24 WHERE term_[c_] = "1969 – 1973"
CREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR)
What is the of games when for the term [c] of 1969 – 1973?
SELECT method FROM table_name_6 WHERE date_of_execution = "september 24, 1830"
CREATE TABLE table_name_6 (method VARCHAR, date_of_execution VARCHAR)
What was the method of execution on September 24, 1830?
SELECT method FROM table_name_19 WHERE race = "native american" AND name = "wau-bau-ne-me-mee"
CREATE TABLE table_name_19 (method VARCHAR, race VARCHAR, name VARCHAR)
How was the native american, Wau-Bau-Ne-Me-Mee, executed?
SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827"
CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR)
What was the race of the person executed on December 27, 1827?
SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis"
CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR)
In what way was Kewaubis executed on December 27, 1827?
SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836"
CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR)
How was the native american executed in July 1836?
SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1"
CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR)
How many draws have 1 win, 1 loss, and a Goal Differential of +1?
SELECT genre FROM table_name_85 WHERE artist = "led zeppelin"
CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR)
What genre is Led Zeppelin?
SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)"
CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR)
On what date was the Loss by Flanagan (6-7)?
SELECT loss FROM table_name_45 WHERE record = "48-50"
CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR)
During which loss was the record 48-50?
SELECT score FROM table_name_22 WHERE record = "47-49"
CREATE TABLE table_name_22 (score VARCHAR, record VARCHAR)
What was the score that made the record 47-49?
SELECT opponent FROM table_name_61 WHERE date = "july 29"
CREATE TABLE table_name_61 (opponent VARCHAR, date VARCHAR)
Who was the Opponent on July 29?