context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_63 (torque VARCHAR, capacity VARCHAR) | What torque does a 1905 cc capacity have? | SELECT torque FROM table_name_63 WHERE capacity = "1905 cc" |
CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR) | What torque does 1.9 diesel with 1905 cc have? | SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc" |
CREATE TABLE table_name_18 (torque VARCHAR, type VARCHAR) | What torque does daewoo have? | SELECT torque FROM table_name_18 WHERE type = "daewoo" |
CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR, attendance VARCHAR) | Score of 3–4, and a Attendance larger than 34,609 happened on what date? | SELECT date FROM table_name_39 WHERE score = "3–4" AND attendance > 34 OFFSET 609 |
CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR) | Record of 12–15 happened on what date? | SELECT date FROM table_name_85 WHERE record = "12–15" |
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR) | Date of april 9 had what score? | SELECT score FROM table_name_11 WHERE date = "april 9" |
CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR) | Record of 11–12 involved what average attendance figures? | SELECT AVG(attendance) FROM table_name_10 WHERE record = "11–12" |
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR) | What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date? | SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923" |
CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR) | What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? | SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/s" |
CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR) | What is the Max Aggregate bandwidth with a HyperTransport of 2? | SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2 |
CREATE TABLE table_name_80 (opponent VARCHAR, city VARCHAR) | Who was the opposing team during the game in Zagreb? | SELECT opponent FROM table_name_80 WHERE city = "zagreb" |
CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) | The record of 35-31 has what score? | SELECT score FROM table_name_52 WHERE record = "35-31" |
CREATE TABLE table_name_69 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR) | Which Manufacturer has 1 lap and had an accident? | SELECT manufacturer FROM table_name_69 WHERE laps = 1 AND time_retired = "accident" |
CREATE TABLE table_name_23 (rider VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | Which rider has a Manufacturer of honda with a time of +44.814? | SELECT rider FROM table_name_23 WHERE manufacturer = "honda" AND time_retired = "+44.814" |
CREATE TABLE table_name_39 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | How many grids have a time of +1:21.239 and more than 25 laps? | SELECT COUNT(grid) FROM table_name_39 WHERE time_retired = "+1:21.239" AND laps > 25 |
CREATE TABLE table_name_29 (episode INTEGER, performer_1 VARCHAR, date VARCHAR) | What is the average episode number on 19 March 1993 with Jim Sweeney as performer 1? | SELECT AVG(episode) FROM table_name_29 WHERE performer_1 = "jim sweeney" AND date = "19 march 1993" |
CREATE TABLE table_name_83 (performer_2 VARCHAR, performer_4 VARCHAR, date VARCHAR) | Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4? | SELECT performer_2 FROM table_name_83 WHERE performer_4 = "josie lawrence" AND date = "9 april 1993" |
CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR) | What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4? | SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery" |
CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR) | Who is performer 4 on episode 3, where Jim Sweeney was performer 1? | SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3 |
CREATE TABLE table_name_25 (episode INTEGER, performer_1 VARCHAR, performer_4 VARCHAR) | What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4? | SELECT SUM(episode) FROM table_name_25 WHERE performer_1 = "jim sweeney" AND performer_4 = "mike mcshane" |
CREATE TABLE table_name_23 (wrestler VARCHAR, entered VARCHAR, pinned VARCHAR) | Which Wrestler has an Entered of 5, and a Pinned of mvp? | SELECT wrestler FROM table_name_23 WHERE entered = 5 AND pinned = "mvp" |
CREATE TABLE table_name_39 (stations_served INTEGER, line_color VARCHAR) | What route with the line color brown has the lowest number of stations served? | SELECT MIN(stations_served) FROM table_name_39 WHERE line_color = "brown" |
CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR) | Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)? | SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = "torpedo yaroslavl (rus)" |
CREATE TABLE table_name_28 (round INTEGER, player VARCHAR) | Which Round has a Player of todd fedoruk? | SELECT SUM(round) FROM table_name_28 WHERE player = "todd fedoruk" |
CREATE TABLE table_name_89 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | How much Grid has a Time/Retired of +1 lap, and a Driver of sébastien bourdais, and Laps larger than 70? | SELECT COUNT(grid) FROM table_name_89 WHERE time_retired = "+1 lap" AND driver = "sébastien bourdais" AND laps > 70 |
CREATE TABLE table_name_70 (laps INTEGER, driver VARCHAR, grid VARCHAR) | How many Laps have a Driver of david coulthard, and a Grid smaller than 14? | SELECT SUM(laps) FROM table_name_70 WHERE driver = "david coulthard" AND grid < 14 |
CREATE TABLE table_name_52 (laps VARCHAR, grid VARCHAR) | How many Laps have a Grid of 15? | SELECT COUNT(laps) FROM table_name_52 WHERE grid = 15 |
CREATE TABLE table_name_31 (catalogno VARCHAR, remark VARCHAR) | Which Catalogno was #160 us? | SELECT catalogno FROM table_name_31 WHERE remark = "#160 us" |
CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR) | What title was released in 1971? | SELECT title FROM table_name_54 WHERE year = 1971 |
CREATE TABLE table_name_26 (format VARCHAR, catalogno VARCHAR) | Whati s the format for the catalogno of st 491? | SELECT format FROM table_name_26 WHERE catalogno = "st 491" |
CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR) | What year was remark #104 us? | SELECT year FROM table_name_58 WHERE remark = "#104 us" |
CREATE TABLE table_name_61 (title VARCHAR, remark VARCHAR) | What title had a remark of #21 us [riaa certified gold january 3, 1990]? | SELECT title FROM table_name_61 WHERE remark = "#21 us [riaa certified gold january 3, 1990]" |
CREATE TABLE table_name_31 (catalogno VARCHAR, year VARCHAR, remark VARCHAR) | What catalogno was in 1971 and had a remark of #27 us? | SELECT catalogno FROM table_name_31 WHERE year = 1971 AND remark = "#27 us" |
CREATE TABLE table_name_56 (class_aAAAA VARCHAR, school_year VARCHAR) | what AAAAA class has the school year of 1990-91? | SELECT class_aAAAA FROM table_name_56 WHERE school_year = "1990-91" |
CREATE TABLE table_name_50 (class_aAA VARCHAR, school_year VARCHAR) | what AAA class has a school year of 1989-90? | SELECT class_aAA FROM table_name_50 WHERE school_year = "1989-90" |
CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR) | what AA class has a AAA class of commerce? | SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce |
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | What is the average week for the game against baltimore colts with less than 41,062 in attendance? | SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062 |
CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance? | SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066 |
CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, date VARCHAR) | What is the highest attendance for the game after week 1 on November 12, 1961? | SELECT MAX(attendance) FROM table_name_27 WHERE week > 1 AND date = "november 12, 1961" |
CREATE TABLE table_name_37 (result VARCHAR, week VARCHAR) | What was the result of the game on week 4? | SELECT result FROM table_name_37 WHERE week = 4 |
CREATE TABLE table_name_79 (round INTEGER, player VARCHAR) | What is the lowest Round of joe patterson? | SELECT MIN(round) FROM table_name_79 WHERE player = "joe patterson" |
CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER) | Which School/Club Team has a Round larger than 16? | SELECT school_club_team FROM table_name_16 WHERE round > 16 |
CREATE TABLE table_name_64 (points INTEGER, position INTEGER) | What is listed as the highest Points that's got a Position that's smaller than 1? | SELECT MAX(points) FROM table_name_64 WHERE position < 1 |
CREATE TABLE table_name_46 (draws INTEGER, played INTEGER) | What is the Draws average that has a Played that's smaller than 18? | SELECT AVG(draws) FROM table_name_46 WHERE played < 18 |
CREATE TABLE table_name_21 (wins INTEGER, team VARCHAR, draws VARCHAR) | What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4? | SELECT MIN(wins) FROM table_name_21 WHERE team = "olimpia" AND draws < 4 |
CREATE TABLE table_name_59 (played INTEGER, team VARCHAR, position VARCHAR) | What is the highest Played that's for the Team of Cerro Porteño, with a Position that's larger than 1? | SELECT MAX(played) FROM table_name_59 WHERE team = "cerro porteño" AND position > 1 |
CREATE TABLE table_name_74 (tournament VARCHAR, opponent VARCHAR) | Which tournament included an opponent of Marinko Matosevic? | SELECT tournament FROM table_name_74 WHERE opponent = "marinko matosevic" |
CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | Who was the opponent when the score was 6-3, 6-3? | SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3" |
CREATE TABLE table_name_26 (record VARCHAR, home VARCHAR) | Can you tell me the Record that has the Home of ny islanders? | SELECT record FROM table_name_26 WHERE home = "ny islanders" |
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR) | Can you tell me the Record that has the Date of december 15? | SELECT record FROM table_name_42 WHERE date = "december 15" |
CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR) | Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix? | SELECT record FROM table_name_59 WHERE home = "detroit" AND visitor = "phoenix" |
CREATE TABLE table_name_84 (date VARCHAR, visitor VARCHAR) | Can you tell me the Date that has the Visitor of florida? | SELECT date FROM table_name_84 WHERE visitor = "florida" |
CREATE TABLE table_name_39 (position VARCHAR, f_laps VARCHAR) | Which position had f/laps that was test driver? | SELECT position FROM table_name_39 WHERE f_laps = "test driver" |
CREATE TABLE table_name_47 (poles VARCHAR, position VARCHAR) | Which poles were there for the 8th position? | SELECT poles FROM table_name_47 WHERE position = "8th" |
CREATE TABLE table_name_40 (races VARCHAR, series VARCHAR, poles VARCHAR) | What race was there in the formula one series when there was a test driver? | SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver" |
CREATE TABLE table_name_22 (extra_points_1_point INTEGER, total_points VARCHAR, touchdowns__5_points_ VARCHAR) | Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5? | SELECT AVG(extra_points_1_point) FROM table_name_22 WHERE total_points < 30 AND touchdowns__5_points_ = 5 |
CREATE TABLE table_name_50 (touchdowns__5_points_ VARCHAR, extra_points_1_point VARCHAR, field_goals__5_points_ VARCHAR) | How many Touchdowns (5 points) have an Extra points 1 point of 0, and a Field goals (5 points) larger than 0? | SELECT COUNT(touchdowns__5_points_) FROM table_name_50 WHERE extra_points_1_point = 0 AND field_goals__5_points_ > 0 |
CREATE TABLE table_name_59 (extra_points_1_point INTEGER, total_points INTEGER) | Which Extra points 1 point is the highest one that has a Total Points smaller than 8? | SELECT MAX(extra_points_1_point) FROM table_name_59 WHERE total_points < 8 |
CREATE TABLE table_name_95 (extra_points_1_point INTEGER, player VARCHAR) | Which Extra points 1 point is the lowest one that has a Player of walter shaw? | SELECT MIN(extra_points_1_point) FROM table_name_95 WHERE player = "walter shaw" |
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR) | How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13? | SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13 |
CREATE TABLE table_name_52 (attendance INTEGER, decision VARCHAR, record VARCHAR) | How many people attended the game with parent recording the decision and a Record of 42–18–10? | SELECT SUM(attendance) FROM table_name_52 WHERE decision = "parent" AND record = "42–18–10" |
CREATE TABLE table_name_8 (record VARCHAR, home VARCHAR) | What is the team's record when vancouver was at home? | SELECT record FROM table_name_8 WHERE home = "vancouver" |
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR) | Name the opponent on november 22, 1942 | SELECT opponent FROM table_name_6 WHERE date = "november 22, 1942" |
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR) | What score did the Green Bay Packers get as visitor? | SELECT score FROM table_name_8 WHERE visitor = "green bay packers" |
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR) | On October 31 what team played at home? | SELECT home FROM table_name_56 WHERE date = "october 31" |
CREATE TABLE table_name_20 (home VARCHAR, date VARCHAR) | On December 5 what team played their home game? | SELECT home FROM table_name_20 WHERE date = "december 5" |
CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR) | How many people attended the game on October 31? | SELECT attendance FROM table_name_40 WHERE date = "october 31" |
CREATE TABLE table_name_19 (nationality VARCHAR, player VARCHAR) | What nationality is Rob Nicholson? | SELECT nationality FROM table_name_19 WHERE player = "rob nicholson" |
CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | What college or club team did Steve Jones play for? | SELECT college_junior_club_team__league_ FROM table_name_48 WHERE player = "steve jones" |
CREATE TABLE table_name_6 (nationality VARCHAR, player VARCHAR) | What nationality is Barry Duench? | SELECT nationality FROM table_name_6 WHERE player = "barry duench" |
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR) | What was Saskatoon Accelerators score on January 6, 2008? | SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008" |
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) | What was the score on April 6, 2008? | SELECT score FROM table_name_12 WHERE date = "april 6, 2008" |
CREATE TABLE table_name_61 (home_team VARCHAR, date VARCHAR) | Which home team played on April 5, 2008? | SELECT home_team FROM table_name_61 WHERE date = "april 5, 2008" |
CREATE TABLE table_name_79 (home_team VARCHAR, date VARCHAR) | Which home team played on January 5, 2008? | SELECT home_team FROM table_name_79 WHERE date = "january 5, 2008" |
CREATE TABLE table_name_99 (score VARCHAR, stadium VARCHAR, date VARCHAR) | What was the score at CN Centre on April 5, 2008? | SELECT score FROM table_name_99 WHERE stadium = "cn centre" AND date = "april 5, 2008" |
CREATE TABLE table_name_88 (score VARCHAR, visiting_team VARCHAR, date VARCHAR) | What was the score for Edmonton Drillers on January 6, 2008? | SELECT score FROM table_name_88 WHERE visiting_team = "edmonton drillers" AND date = "january 6, 2008" |
CREATE TABLE table_name_47 (silver INTEGER, nation VARCHAR, total VARCHAR) | How much Silver has a Nation of mexico, and a Total larger than 1? | SELECT SUM(silver) FROM table_name_47 WHERE nation = "mexico" AND total > 1 |
CREATE TABLE table_name_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR) | How much Bronze has a Gold larger than 0, and a Total smaller than 1? | SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 1 |
CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, total VARCHAR) | How much Bronze has a Nation of mexico, and a Total larger than 1? | SELECT SUM(bronze) FROM table_name_58 WHERE nation = "mexico" AND total > 1 |
CREATE TABLE table_name_12 (district VARCHAR, party VARCHAR, elected VARCHAR) | In which District(s) has a Democrat held office since 1998? | SELECT district FROM table_name_12 WHERE party = "democrat" AND elected > 1998 |
CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR, total VARCHAR) | Which Rank is the Country of soviet union with a Total smaller than 19? | SELECT MIN(rank) FROM table_name_94 WHERE country = "soviet union" AND total < 19 |
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR) | What is the lowest Rank of Denmark County with a Total smaller than 1? | SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1 |
CREATE TABLE table_name_10 (loser VARCHAR, weight_division VARCHAR, time VARCHAR) | Who was the loser of the heavyweight division fight that lasted a time of 2:24? | SELECT loser FROM table_name_10 WHERE weight_division = "heavyweight" AND time = "2:24" |
CREATE TABLE table_name_55 (weight_division VARCHAR, method VARCHAR) | What was the weight division for the fight that ended in a TKO (strikes)? | SELECT weight_division FROM table_name_55 WHERE method = "tko (strikes)" |
CREATE TABLE table_name_87 (loser VARCHAR, winner VARCHAR) | Who was the loser of the fight against antonio silva? | SELECT loser FROM table_name_87 WHERE winner = "antonio silva" |
CREATE TABLE table_name_66 (round INTEGER, loser VARCHAR) | What was the average number of rounds in the fight where Tank Abbott lost? | SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott" |
CREATE TABLE table_name_1 (round VARCHAR, position VARCHAR, pick__number VARCHAR) | In what Round was a Defensive Tackle Pick # less than 19? | SELECT COUNT(round) FROM table_name_1 WHERE position = "defensive tackle" AND pick__number < 19 |
CREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR) | What is the Pick # with an Overall of 19? | SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19 |
CREATE TABLE table_name_71 (event VARCHAR, athlete VARCHAR) | What is the event result for athlete Ali Ekranpour? | SELECT event FROM table_name_71 WHERE athlete = "ali ekranpour" |
CREATE TABLE table_name_73 (final VARCHAR, event VARCHAR) | What is the final result for the 63.5 kg? | SELECT final FROM table_name_73 WHERE event = "63.5 kg" |
CREATE TABLE table_name_71 (date VARCHAR, score VARCHAR, location VARCHAR) | What was the date of the tournament in Scotland with a score of 270 (–18)? | SELECT date FROM table_name_71 WHERE score = "270 (–18)" AND location = "scotland" |
CREATE TABLE table_name_93 (location VARCHAR, winner VARCHAR) | Where was the tournament won by Hale Irwin (19)? | SELECT location FROM table_name_93 WHERE winner = "hale irwin (19)" |
CREATE TABLE table_name_72 (vinculum VARCHAR, parentheses VARCHAR) | How much is vinculum when the parentheses are 0.(81)? | SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)" |
CREATE TABLE table_name_85 (fraction VARCHAR, dots VARCHAR) | What fraction has a value for dots of 0.\dot{3}? | SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}" |
CREATE TABLE table_name_29 (dots VARCHAR, ellipsis VARCHAR) | What is the dot value when the ellipsis is 0.012345679…? | SELECT dots FROM table_name_29 WHERE ellipsis = "0.012345679…" |
CREATE TABLE table_name_58 (fraction VARCHAR, parentheses VARCHAR) | What fraction has parentheses of 0.(3)? | SELECT fraction FROM table_name_58 WHERE parentheses = "0.(3)" |
CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR) | What is the value for parentheses with a dots value of 0.\dot{6}? | SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}" |
CREATE TABLE table_name_13 (vinculum VARCHAR, parentheses VARCHAR) | What is the value of vinculum for parentheses of 0.(6)? | SELECT vinculum FROM table_name_13 WHERE parentheses = "0.(6)" |
CREATE TABLE table_name_73 (date VARCHAR, score VARCHAR) | When was the score 7-1? | SELECT date FROM table_name_73 WHERE score = "7-1" |
CREATE TABLE table_name_26 (loss VARCHAR, score VARCHAR) | What was the loss when the score was 7-1? | SELECT loss FROM table_name_26 WHERE score = "7-1" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.