question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the constructor when the chassis is talbot-lago t26c and the driver is charles pozzi?
CREATE TABLE table_name_78 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_78 WHERE chassis = "talbot-lago t26c" AND driver = "charles pozzi"
What is the name of the race for which the circuit was Snetterton?
CREATE TABLE table_name_37 (race_name VARCHAR, circuit VARCHAR)
SELECT race_name FROM table_name_37 WHERE circuit = "snetterton"
What was Craig Stadler's score?
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_80 WHERE player = "craig stadler"
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?
CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR)
SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "66%"
What week had attendance of 64,146?
CREATE TABLE table_name_3 (week INTEGER, attendance VARCHAR)
SELECT MIN(week) FROM table_name_3 WHERE attendance = 64 OFFSET 146
Who has the most assists on Denver?
CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_17311812_8 WHERE team = "Denver"
What is the event that is in 8th position?
CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR)
SELECT event FROM table_name_70 WHERE position = "8th"
What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern?
CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern"
How many teams scored exactly 38 points
CREATE TABLE table_14288212_1 (team VARCHAR, points_for VARCHAR)
SELECT COUNT(team) FROM table_14288212_1 WHERE points_for = 38
Name the outcome on 6 october 2013
CREATE TABLE table_name_70 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_70 WHERE date = "6 october 2013"
Tell me the dates conducted for plaid cymru of 19%
CREATE TABLE table_name_69 (date_s__conducted VARCHAR, plaid_cymru VARCHAR)
SELECT date_s__conducted FROM table_name_69 WHERE plaid_cymru = "19%"
What date was the loss of ponson (4–3)?
CREATE TABLE table_name_68 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_68 WHERE loss = "ponson (4–3)"
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?
CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR)
SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21
What is the Country of the T8 Place Player with a Score of 68-74=142?
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_99 WHERE place = "t8" AND score = 68 - 74 = 142
what is the mountain range when the region is british columbia and mountain pea is mount edziza?
CREATE TABLE table_name_90 (mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_90 WHERE region = "british columbia" AND mountain_peak = "mount edziza"
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005?
CREATE TABLE table_name_47 (kilgore__r_ VARCHAR, date VARCHAR, potts__i_ VARCHAR, kaine__d_ VARCHAR)
SELECT kilgore__r_ FROM table_name_47 WHERE potts__i_ = "4%" AND kaine__d_ = "47%" AND date = "october 30, 2005"
Who had the most assists in the game against Indiana?
CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_57 WHERE team = "indiana"
What is the s B share for the shareholder that has 2.55 percent of votes?
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
SELECT MAX(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.55"
What was the pick for Bill Gramatica after round 2?
CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR)
SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica"
Name the total party for north carolina 7
CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7"
Which position does Jesse Boulerice play?
CREATE TABLE table_name_83 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_83 WHERE player = "jesse boulerice"
Which Report includes the Belgian Grand Prix Race?
CREATE TABLE table_name_25 (report VARCHAR, race VARCHAR)
SELECT report FROM table_name_25 WHERE race = "belgian grand prix"
What is McMaster College's pick number?
CREATE TABLE table_10960039_1 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_10960039_1 WHERE college = "McMaster"
What was the free agent class, with a pick less than 38?
CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER)
SELECT free_agent_class FROM table_name_22 WHERE pick < 38
Who did the Chiefs play at the game attended by 34,063?
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_82 WHERE attendance = "34,063"
What is the sum of Artist Steve Hepburn's Mintage?
CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR)
SELECT SUM(mintage) FROM table_name_75 WHERE artist = "steve hepburn"
Say the region for 6854 altitudes
CREATE TABLE table_name_97 (region VARCHAR, altitude__metres_ VARCHAR)
SELECT region FROM table_name_97 WHERE altitude__metres_ = 6854
What is the date when the Lakers were the home team?
CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_1 WHERE home = "lakers"
Tell me the province for 260km ese of calgary
CREATE TABLE table_name_15 (province VARCHAR, location VARCHAR)
SELECT province FROM table_name_15 WHERE location = "260km ese of calgary"
Name the vcore for multi 11x
CREATE TABLE table_27277284_8 (v_core VARCHAR, mult_1 VARCHAR)
SELECT v_core FROM table_27277284_8 WHERE mult_1 = "11x"
What is the website of the cunningham hill infant school?
CREATE TABLE table_28523_2 (school VARCHAR)
SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw?
CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR)
SELECT COUNT(record___percentage__)[draw_ = _05_wins] FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1
Who did the most high rebounds in the game where Sales (17) did the high points?
CREATE TABLE table_18904831_5 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_18904831_5 WHERE high_points = "Sales (17)"
How many totals are there for players with an average under 8 and less than 4 matches?
CREATE TABLE table_name_53 (total VARCHAR, average VARCHAR, matches VARCHAR)
SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4
What is the total number of Tonnage, when Date is "25 June 1943"?
CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR)
SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943"
Who won the womens singles in the 1958/1959 season?
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, season VARCHAR)
SELECT womens_singles FROM table_12266757_1 WHERE season = "1958/1959"
What is the score of the match on 3 March 1988 at the estadio nacional?
CREATE TABLE table_name_73 (score VARCHAR, venue VARCHAR, date VARCHAR)
SELECT score FROM table_name_73 WHERE venue = "estadio nacional" AND date = "3 march 1988"
What's the value for race 4 for driver kevin heffernan?
CREATE TABLE table_name_61 (race_4 VARCHAR, driver VARCHAR)
SELECT race_4 FROM table_name_61 WHERE driver = "kevin heffernan"
Which airport has an IATA code of AMS?
CREATE TABLE table_name_73 (airport VARCHAR, code__iata_ VARCHAR)
SELECT airport FROM table_name_73 WHERE code__iata_ = "ams"
what was the total for the Wolverhampton Wanderers?
CREATE TABLE table_name_61 (league_goals VARCHAR, club VARCHAR)
SELECT league_goals FROM table_name_61 WHERE club = "wolverhampton wanderers"
Which Episode has requested £150,000?
CREATE TABLE table_name_38 (episode VARCHAR, money_requested__£_ VARCHAR)
SELECT episode FROM table_name_38 WHERE money_requested__£_ = "150,000"
what is the least laps when the driver is rubens barrichello and the grid is less than 12?
CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_5 WHERE driver = "rubens barrichello" AND grid < 12
Which average money has a To par larger than 12?
CREATE TABLE table_name_16 (money___ INTEGER, to_par INTEGER)
SELECT AVG(money___) AS $__ FROM table_name_16 WHERE to_par > 12
What was the streak on April 12?
CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR)
SELECT streak FROM table_name_77 WHERE date = "april 12"
What was the Attendance on october 2, 1977?
CREATE TABLE table_name_48 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_48 WHERE date = "october 2, 1977"
Which club has 101 tries for?
CREATE TABLE table_name_79 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_79 WHERE tries_for = "101"
Where is the team that is managed by richard barnwell from?
CREATE TABLE table_27409644_1 (location VARCHAR, manager VARCHAR)
SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell"
What Venue has a Date of 17/03/1990?
CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_46 WHERE date = "17/03/1990"
What is the home team of the game with the Raptors as the visitor team?
CREATE TABLE table_name_66 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_66 WHERE visitor = "raptors"
What is the Week number on October 10, 1976?
CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_17 WHERE date = "october 10, 1976"
What is the Score of the Pingguo Tournament?
CREATE TABLE table_name_94 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_94 WHERE tournament = "pingguo"
Which Sport has a Founded larger than 1874 and a Club of birmingham city?
CREATE TABLE table_name_71 (sport VARCHAR, founded VARCHAR, club VARCHAR)
SELECT sport FROM table_name_71 WHERE founded > 1874 AND club = "birmingham city"
What is the bts retail price (regulated) for tariff code g10?
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "g10"
what was the maxiumum for the first elected?
CREATE TABLE table_1342270_24 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1342270_24
Who were candidates in Florida 10 district?
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10"
What player was picked by the Minnesota North Stars?
CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars"
Who was the challenger when winner was kimio nonaga?
CREATE TABLE table_23982399_12 (challenger VARCHAR, winner VARCHAR)
SELECT challenger FROM table_23982399_12 WHERE winner = "Kimio Nonaga"
What's the platform that has Rockstar Games as the developer?
CREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR)
SELECT platform_s_ FROM table_name_33 WHERE developer_s_ = "rockstar games"
What is the college pick for 213?
CREATE TABLE table_name_23 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_23 WHERE pick = 213
WHAT GOALS AGAINST HAD A GOAL FOR OF 46, AND PLAYED LESS THAN 38?
CREATE TABLE table_name_85 (goals_against INTEGER, goals_for VARCHAR, played VARCHAR)
SELECT SUM(goals_against) FROM table_name_85 WHERE goals_for = 46 AND played < 38
What is listed under tor floysvik when couple is maria & asmund?
CREATE TABLE table_28677723_10 (tor_fløysvik INTEGER, couple VARCHAR)
SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund"
Tell me the total number of attendance for result of l 18-6
CREATE TABLE table_name_3 (attendance VARCHAR, result VARCHAR)
SELECT COUNT(attendance) FROM table_name_3 WHERE result = "l 18-6"
what is the tournament when the court surface is clay and began in 1892?
CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR)
SELECT tournament FROM table_name_46 WHERE court_surface = "clay" AND began = 1892
What is Player, when Total is greater than 148, and when To Par is "12"?
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
Name the away team score for home team of university
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
Which Goals For has a Played larger than 34?
CREATE TABLE table_name_86 (goals_for INTEGER, played INTEGER)
SELECT MIN(goals_for) FROM table_name_86 WHERE played > 34
How many verbs mean to bear
CREATE TABLE table_1745843_10 (part_4 VARCHAR, verb_meaning VARCHAR)
SELECT COUNT(part_4) FROM table_1745843_10 WHERE verb_meaning = "to bear"
What parish did McCain have 45.37% of the votes?
CREATE TABLE table_20722805_1 (parish VARCHAR, mccain_percentage VARCHAR)
SELECT parish FROM table_20722805_1 WHERE mccain_percentage = "45.37%"
What were all the salary values of players in 2010 and 2001?
CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)
SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001
What is the lowest division number?
CREATE TABLE table_21602734_1 (division INTEGER)
SELECT MIN(division) FROM table_21602734_1
Which lineup has a Location of usa virginia beach?
CREATE TABLE table_name_95 (lineup VARCHAR, location VARCHAR)
SELECT lineup FROM table_name_95 WHERE location = "usa virginia beach"
What was the partnership in the season of 1928
CREATE TABLE table_name_91 (wicket_partnership VARCHAR, season VARCHAR)
SELECT wicket_partnership FROM table_name_91 WHERE season = "1928"
When there is a lost of 2 what is the mumber drawn?
CREATE TABLE table_15405904_1 (drawn INTEGER, lost VARCHAR)
SELECT MAX(drawn) FROM table_15405904_1 WHERE lost = 2
What is the common english word with the abbr of ai?
CREATE TABLE table_name_81 (common_english VARCHAR, abbr VARCHAR)
SELECT common_english FROM table_name_81 WHERE abbr = "ai"
who was the commentator when spokesperson was claude darget
CREATE TABLE table_184803_4 (commentator VARCHAR, spokespersons VARCHAR)
SELECT commentator FROM table_184803_4 WHERE spokespersons = "Claude Darget"
When was the station WLS-TV owned since?
CREATE TABLE table_22329326_1 (owned_since VARCHAR, station VARCHAR)
SELECT owned_since FROM table_22329326_1 WHERE station = "WLS-TV"
What is the Japanese orthography for the abbreviation of ndmc?
CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR)
SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc"
What is the number of participating parties when registered voters totaled 643629?
CREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR)
SELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629
For each advisor, report the total number of students advised by him or her.
CREATE TABLE STUDENT (Advisor VARCHAR)
SELECT Advisor, COUNT(*) FROM STUDENT GROUP BY Advisor
what was the venue that hosted Carlton as the away team?
CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_24 WHERE away_team = "carlton"
How many times did an episode with a production code of 12003 was aired?
CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_27250813_1 WHERE production_code = 12003
What tournament was played on Feb 3, 1991?
CREATE TABLE table_name_5 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_5 WHERE date = "feb 3, 1991"
What is the sum of the runs when the wkts were bigger than 0 and ovrs were smaller than 2?
CREATE TABLE table_name_65 (runs INTEGER, ovrs VARCHAR, wkts VARCHAR)
SELECT SUM(runs) FROM table_name_65 WHERE ovrs < 2 AND wkts > 0
Name the tournament for clay surface and outcome is winner with score is 6–3, 6–2
CREATE TABLE table_name_99 (tournament VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT tournament FROM table_name_99 WHERE surface = "clay" AND outcome = "winner" AND score = "6–3, 6–2"
Name the best actor for uncle boonmee who can recall his past lives
CREATE TABLE table_15301258_1 (best_actor VARCHAR, best_film VARCHAR)
SELECT best_actor FROM table_15301258_1 WHERE best_film = "Uncle Boonmee Who Can Recall His Past Lives"
On what date was the attendance of the crowd 78,431?
CREATE TABLE table_name_54 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_54 WHERE attendance = "78,431"
What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?
CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR)
SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = "Marc Lieb Richard Lietz"
What is the Format for the alfa records Label, and a Catalog of alca-9016?
CREATE TABLE table_name_81 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_81 WHERE label = "alfa records" AND catalog = "alca-9016"
What are the first names and last names of the students that minor in the department with DNO 140.
CREATE TABLE STUDENT (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE MINOR_IN (StuID VARCHAR, DNO VARCHAR)
SELECT T2.Fname, T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID = T2.StuID WHERE T1.DNO = 140
Who read the unabridged novel written by John D. Fitzgerald?
CREATE TABLE table_name_55 (read_by VARCHAR, un__abridged VARCHAR, author VARCHAR)
SELECT read_by FROM table_name_55 WHERE un__abridged = "unabridged" AND author = "john d. fitzgerald"
Position of member, and a Tenure Began of 2010, and a Name of xue hanqin has what lowest term ending?
CREATE TABLE table_name_54 (term_ending INTEGER, name VARCHAR, position VARCHAR, tenure_began VARCHAR)
SELECT MIN(term_ending) FROM table_name_54 WHERE position = "member" AND tenure_began = 2010 AND name = "xue hanqin"
In the game at Victoria Park, what was the number of people in the crowd?
CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park"
Name the julys
CREATE TABLE table_1539201_1 (july VARCHAR)
SELECT july FROM table_1539201_1
What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007?
CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR)
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007
When did Manchester United play against Bristol City with an H/A of A?
CREATE TABLE table_name_66 (date VARCHAR, h___a VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_66 WHERE h___a = "a" AND opponents = "bristol city"
How many games were played on november 27?
CREATE TABLE table_25461946_5 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_25461946_5 WHERE date = "November 27"
What is the percent for in manitoba?
CREATE TABLE table_120778_1 (percent_for VARCHAR, jurisdiction VARCHAR)
SELECT percent_for FROM table_120778_1 WHERE jurisdiction = "Manitoba"
Which Venue has a Notes of 2:28:31?
CREATE TABLE table_name_83 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_83 WHERE notes = "2:28:31"
What is the date where the winner was Tom Kite (10)?
CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR)
SELECT date FROM table_name_24 WHERE winner = "tom kite (10)"
What's the part 4 for the verb whose part 3 is borgen?
CREATE TABLE table_1745843_7 (part_4 VARCHAR, part_3 VARCHAR)
SELECT part_4 FROM table_1745843_7 WHERE part_3 = "borgen"