question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the average point count for tristan gommendy?
CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR)
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"
What was the total number in Manhattan when Staten Island was 12,658?
CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)
SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658"
What date was the game played at Lake Oval?
CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_80 WHERE venue = "lake oval"
Which Visiting Team is on december 23?
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_59 WHERE date = "december 23"
For the game with 26,236 attendance, what was the record?
CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_81 WHERE attendance = "26,236"
What is Try Diff, when Points Against is 213?
CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR)
SELECT try_diff FROM table_name_42 WHERE points_against = "213"
What is the highest PL GP for a round greater than 9?
CREATE TABLE table_name_27 (pl_gp INTEGER, rd__number INTEGER)
SELECT MAX(pl_gp) FROM table_name_27 WHERE rd__number > 9
What's the Result for week 15?
CREATE TABLE table_name_53 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_53 WHERE week = 15
Which title has the Translation of vesoul?
CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)
SELECT title FROM table_name_28 WHERE translation = "vesoul"
What is the total number of values for "Teleplay by" category for series # 35?
CREATE TABLE table_14346950_1 (teleplay_by VARCHAR, series__number VARCHAR)
SELECT COUNT(teleplay_by) FROM table_14346950_1 WHERE series__number = 35
Name the score for january 26
CREATE TABLE table_17058226_7 (score VARCHAR, date VARCHAR)
SELECT score FROM table_17058226_7 WHERE date = "January 26"
Name the date for Loss of schilling (5–2)
CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)"
What are the claim dates and settlement dates of all the settlements?
CREATE TABLE Settlements (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR)
SELECT Date_Claim_Made, Date_Claim_Settled FROM Settlements
Which Score has Points smaller than 67, and a Home of calgary flames?
CREATE TABLE table_name_45 (score VARCHAR, points VARCHAR, home VARCHAR)
SELECT score FROM table_name_45 WHERE points < 67 AND home = "calgary flames"
How many albums does Billy Cobham has?
CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (artist_id VARCHAR)
SELECT COUNT(*) FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Billy Cobham"
What's the lowest capacity when the margin is 03:30?
CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)
SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03:30"
How many laps were there in the race that netted the winner 19 points?
CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR)
SELECT laps FROM table_name_96 WHERE points = 19
What is the constructor of driver Alexander Wurz?
CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_84 WHERE driver = "alexander wurz"
Who was the Centerfild model that used Bruce Willis as her Interview subject?
CREATE TABLE table_name_60 (centerfold_model VARCHAR, interview_subject VARCHAR)
SELECT centerfold_model FROM table_name_60 WHERE interview_subject = "bruce willis"
What is the goal difference number with a position of 15?
CREATE TABLE table_name_35 (goal_difference VARCHAR, position VARCHAR)
SELECT goal_difference FROM table_name_35 WHERE position = 15
If the playoff berth is 17, what is the AFC championship number?
CREATE TABLE table_1952057_5 (afc_championships VARCHAR, playoff_berths VARCHAR)
SELECT afc_championships FROM table_1952057_5 WHERE playoff_berths = 17
What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27?
CREATE TABLE table_name_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)
SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 AND points_1 = "27"
Name the 132.1% for where north carolina is colorado
CREATE TABLE table_15051_4 (north_carolina VARCHAR)
SELECT 1321 AS _percentage FROM table_15051_4 WHERE north_carolina = "Colorado"
What is the total number of losses with less than 6 wins and less than 0 draws?
CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0
How many attended the game on April 17?
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_50 WHERE date = "april 17"
What is the lost On August 20
CREATE TABLE table_name_3 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_3 WHERE date = "august 20"
What is the general classification of Mapei-clas in stage 12?
CREATE TABLE table_name_25 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_name_25 WHERE team_classification = "mapei-clas" AND stage = "12"
On what date was the score 6–4, 7–5?
CREATE TABLE table_name_69 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_69 WHERE score = "6–4, 7–5"
How many games had been played when the Mavericks had a 46-22 record?
CREATE TABLE table_23284271_9 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_23284271_9 WHERE record = "46-22"
What is the group of ESPN International Sports?
CREATE TABLE table_name_70 (group VARCHAR, name VARCHAR)
SELECT group FROM table_name_70 WHERE name = "espn international sports"
When koki mizuno is the player what is the lowest league cup?
CREATE TABLE table_18254488_2 (league_cup INTEGER, player VARCHAR)
SELECT MIN(league_cup) FROM table_18254488_2 WHERE player = "Koki Mizuno"
What was the week of the game played December 6, 1964?
CREATE TABLE table_name_75 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964"
How many years was the opponent petr korda?
CREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR)
SELECT COUNT(year) FROM table_name_21 WHERE opponent = "petr korda"
How many electorates are there with Hedmark as a constituency?
CREATE TABLE table_1289762_1 (electorate VARCHAR, constituency VARCHAR)
SELECT COUNT(electorate) FROM table_1289762_1 WHERE constituency = "Hedmark"
WHAT IS THE SKIP WITH A THIRD OF DEANNA DOIG?
CREATE TABLE table_name_62 (skip VARCHAR, third VARCHAR)
SELECT skip FROM table_name_62 WHERE third = "deanna doig"
How many races were in fukuoka, japan?
CREATE TABLE table_26166836_1 (road_race VARCHAR, country VARCHAR, location VARCHAR)
SELECT COUNT(road_race) FROM table_26166836_1 WHERE country = "Japan" AND location = "Fukuoka"
What was the record on February 2?
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_42 WHERE date = "february 2"
What position has 7 as the round, with a pick # less than 214?
CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214
What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"?
CREATE TABLE table_name_35 (game INTEGER, high_points VARCHAR, team VARCHAR)
SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks"
Name the least year for paris, france venue
CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france"
When was the record 3-3?
CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_99 WHERE record = "3-3"
How many rounds was the match against Jason Fairn?
CREATE TABLE table_name_78 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_78 WHERE opponent = "jason fairn"
What is the result for 23,24,25,26 july 1992?
CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_58 WHERE date = "23,24,25,26 july 1992"
Which team names have 44.5 for tumbling?
CREATE TABLE table_22014431_3 (team_name VARCHAR, tumbling VARCHAR)
SELECT team_name FROM table_22014431_3 WHERE tumbling = "44.5"
What was the result of the Top 3 episode?
CREATE TABLE table_12310814_1 (result VARCHAR, episode VARCHAR)
SELECT result FROM table_12310814_1 WHERE episode = "Top 3"
Name the replacced by with ascoli
CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli"
Which week's game was attended by 65,272 people?
CREATE TABLE table_name_18 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_name_18 WHERE attendance = "65,272"
Who is the Constructor for round 5?
CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_58 WHERE rounds = "5"
What is Record, when Date is Oct 19?
CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_30 WHERE date = "oct 19"
Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes?
CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR)
SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "yes"
Which Points have a Drawn larger than 1?
CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER)
SELECT AVG(points) FROM table_name_98 WHERE drawn > 1
what is the minimum highest position with artbeingt being paul evans
CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR)
SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans"
Name the sum of rank by average with competition finish more than 8 and average larger than 30
CREATE TABLE table_name_29 (rank_by_average INTEGER, competition_finish VARCHAR, average VARCHAR)
SELECT SUM(rank_by_average) FROM table_name_29 WHERE competition_finish > 8 AND average > 30
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
What is the power of the Chassis code w123.130?
CREATE TABLE table_name_67 (power VARCHAR, chassis_code VARCHAR)
SELECT power FROM table_name_67 WHERE chassis_code = "w123.130"
What is the smallest attendance number for august 9, 1968?
CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_45 WHERE date = "august 9, 1968"
What power belongs to the LP Class and has an Identifier of CBLI?
CREATE TABLE table_name_98 (power VARCHAR, class VARCHAR, identifier VARCHAR)
SELECT power FROM table_name_98 WHERE class = "lp" AND identifier = "cbli"
What is the number of the first game?
CREATE TABLE table_24464253_1 (game INTEGER)
SELECT MIN(game) FROM table_24464253_1
Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s?
CREATE TABLE table_name_56 (object_type VARCHAR, apparent_magnitude VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_56 WHERE apparent_magnitude > 9.6 AND right_ascension___j2000__ = "17h59m02.0s"
When and where did Chen Qi win in men singles?
CREATE TABLE table_28138035_13 (year_location VARCHAR, mens_singles VARCHAR)
SELECT year_location FROM table_28138035_13 WHERE mens_singles = "Chen Qi"
Which song had Central Station as a label and whose album was Various - Wild Nights 4?
CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR)
SELECT song FROM table_name_33 WHERE label = "central station" AND album = "various - wild nights 4"
What year had a total of 2 and LA matches of 0?
CREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR)
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0"
What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded?
CREATE TABLE table_name_39 (points INTEGER, club VARCHAR, goals_conceded VARCHAR)
SELECT SUM(points) FROM table_name_39 WHERE club = "nevėžis-2 kėdainiai" AND goals_conceded > 35
Who is the gagarin cup winner when avangard omsk is the gagarin cup finalist?
CREATE TABLE table_name_17 (gagarin_cup_winner VARCHAR, gagarin_cup_finalist VARCHAR)
SELECT gagarin_cup_winner FROM table_name_17 WHERE gagarin_cup_finalist = "avangard omsk"
What is the result of the game at kyiv, ukraine?
CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine"
What is the lowest total from United States with a Rank smaller than 2?
CREATE TABLE table_name_17 (total INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_17 WHERE nation = "united states" AND rank < 2
What is the purse for the year earlier than 2013 and muhannak was the winner?
CREATE TABLE table_name_82 (purse VARCHAR, year VARCHAR, winner VARCHAR)
SELECT purse FROM table_name_82 WHERE year < 2013 AND winner = "muhannak"
Find names of all students who took some course and the course description.
CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)
SELECT T1.stu_fname, T1.stu_lname, T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code
Which Weekly Rank has an Official ratings (millions) of 11.58?
CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)
SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
Name the left day 9 finish for eliminated
CREATE TABLE table_25920798_2 (eliminated VARCHAR, finish VARCHAR)
SELECT eliminated FROM table_25920798_2 WHERE finish = "Left Day 9"
What color is the super-soft compound?
CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR)
SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"
what is the year(s) when the city is kunming?
CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR)
SELECT year_s_ FROM table_name_59 WHERE city = "kunming"
How many poles had 78 points?
CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR)
SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78"
Where is lootospark from?
CREATE TABLE table_27409644_1 (location VARCHAR, ground VARCHAR)
SELECT location FROM table_27409644_1 WHERE ground = "Lootospark"
Who is every co-artist with name of role as Ah-Zhong 阿忠?
CREATE TABLE table_23379776_5 (co_artists VARCHAR, name_of_role VARCHAR)
SELECT co_artists FROM table_23379776_5 WHERE name_of_role = "Ah-Zhong 阿忠"
Which Case Length has a Base of 14.96 (.589)?
CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR)
SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)"
If the Ovrs is less than 2, what's the average in Wkts?
CREATE TABLE table_name_95 (wkts INTEGER, ovrs INTEGER)
SELECT AVG(wkts) FROM table_name_95 WHERE ovrs < 2
What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?
CREATE TABLE table_name_48 (play_offs INTEGER, league VARCHAR, fa_cup VARCHAR)
SELECT MIN(play_offs) FROM table_name_48 WHERE league = 4 AND fa_cup > 1
How many males have a percentage of 80.62?
CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62"
Which Ages have an Ofsted larger than 106172, and a School of oakgrove school?
CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR)
SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school"
What is the name origin of Nike Fossae?
CREATE TABLE table_16799784_11 (name VARCHAR)
SELECT name AS origin FROM table_16799784_11 WHERE name = "Nike Fossae"
Name the most crowd for essendon
CREATE TABLE table_16388439_1 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_16388439_1 WHERE away_team = "Essendon"
What type institution is point park university
CREATE TABLE table_10581768_2 (type VARCHAR, institution VARCHAR)
SELECT type FROM table_10581768_2 WHERE institution = "Point Park University"
What is the Record of the game with an Attendance of 70,604?
CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_92 WHERE attendance = "70,604"
What position did the #94 pick play?
CREATE TABLE table_2897457_5 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_2897457_5 WHERE pick__number = 94
What's the lowest Year with the Location of Bangkok?
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE location = "bangkok"
What date has @ new orleans as the team?
CREATE TABLE table_name_47 (date VARCHAR, team VARCHAR)
SELECT date FROM table_name_47 WHERE team = "@ new orleans"
What was the result of the week 13 game?
CREATE TABLE table_name_66 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_66 WHERE week = 13
What was the score on January 14 when the Chicago Black Hawks were home against the New York Rangers?
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_18 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "january 14"
What is the name of the player with less than 2 wins?
CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER)
SELECT player FROM table_name_24 WHERE wins < 2
What home team has had a crowd bigger than 20,000?
CREATE TABLE table_name_95 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 000
What language is spoken after 2007 for the role of urvashi mathur?
CREATE TABLE table_name_56 (language VARCHAR, year VARCHAR, role VARCHAR)
SELECT language FROM table_name_56 WHERE year > 2007 AND role = "urvashi mathur"
What was the home leg score against fc schalke 04?
CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)
SELECT home_leg FROM table_2214582_3 WHERE opponents = "FC Schalke 04"
Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9
CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR)
SELECT hand_guards FROM table_name_8 WHERE name = "ar-15a2 government carbine" AND barrel_twist = "1:9"
How many laps were completed in the time of +7.213 with a grid number larger than 7?
CREATE TABLE table_name_85 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_85 WHERE time_retired = "+7.213" AND grid > 7
What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)
SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401
what is the surface when the opponents are louise field nathalie herreman?
CREATE TABLE table_name_13 (surface VARCHAR, opponents VARCHAR)
SELECT surface FROM table_name_13 WHERE opponents = "louise field nathalie herreman"
What is the mascot for the team smaller than 154 from 49 Marion?
CREATE TABLE table_name_21 (mascot VARCHAR, size VARCHAR, county VARCHAR)
SELECT mascot FROM table_name_21 WHERE size < 154 AND county = "49 marion"
which is the biggest production code?
CREATE TABLE table_22580855_1 (production_code INTEGER)
SELECT MAX(production_code) FROM table_22580855_1
who is the semi-finalist #1 where runner-up is elon university
CREATE TABLE table_11214772_1 (semi_finalist__number1 VARCHAR, runner_up VARCHAR)
SELECT semi_finalist__number1 FROM table_11214772_1 WHERE runner_up = "Elon University"