question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is Oriol Servia's average Grid on races with more than 43 laps? | CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia" |
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 |
In what Season is Necaxa an Opponent? | CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR) | SELECT season FROM table_name_96 WHERE opponent = "necaxa" |
In what season is Victoria the Opponent? | CREATE TABLE table_name_97 (season VARCHAR, opponent VARCHAR) | SELECT season FROM table_name_97 WHERE opponent = "victoria" |
Name the authority when the decile is 6 for pongaroa school | CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR) | SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa school" |
Name the years for dannevirke south school | CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR) | SELECT years FROM table_name_48 WHERE name = "dannevirke south school" |
Name the least decile for state authority and area of eketahuna with roll more than 44 | CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR) | SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44 |
Tell me the name with area of eketahuna | CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR) | SELECT name FROM table_name_16 WHERE area = "eketahuna" |
Name what was completed on 12 april 1934 | CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR) | SELECT completed FROM table_name_28 WHERE launched = "12 april 1934" |
Name the launched for 13 september 1934 completion | CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR) | SELECT launched FROM table_name_91 WHERE completed = "13 september 1934" |
Name the ship launched 29 may 1934 | CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR) | SELECT ship FROM table_name_22 WHERE launched = "29 may 1934" |
Name the laid down for launched being 16 february 1934 | CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR) | SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934" |
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934 | CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR) | SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934" |
Name the laid down for completed of 22 october 1934 | CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR) | SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934" |
what is the lowest votes of the candidate ranked 5th and riding in victoria? | CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR) | SELECT MIN(votes) FROM table_name_94 WHERE rank = "5th" AND riding = "victoria" |
Which home captian has aus by 295 runs as the result? | CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs" |
Which result has adelaide oval as the venue? | CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_11 WHERE venue = "adelaide oval" |
Born in 1982, this guard has what listed as a height? | CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR) | SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982 |
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown | CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR) | SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown" |
What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil? | CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR) | SELECT intermediate_sprints_classification_red_jersey FROM table_name_34 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND points_classification_navy_blue_jersey = "jose joaquin rojas gil" |
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital? | CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) | SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital" |
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner? | CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) | SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner" |
What was the attendance on April 7? | CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_75 WHERE date = "april 7" |
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'? | CREATE TABLE table_name_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR) | SELECT northumberland_senior_benevolent_bowl FROM table_name_25 WHERE northumberland_minor_cup = "whitley bay 'a'" |
What was the film nomination in the Netherlands? | CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands" |
Who directed Turks Fruit? | CREATE TABLE table_name_6 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_6 WHERE original_title = "turks fruit" |
What director is from Poland? | CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR) | SELECT director FROM table_name_65 WHERE country = "poland" |
Who directed the Romanian film? | CREATE TABLE table_name_60 (director VARCHAR, language VARCHAR) | SELECT director FROM table_name_60 WHERE language = "romanian" |
What placement gets more than $400? | CREATE TABLE table_name_18 (place VARCHAR, money___$__ INTEGER) | SELECT place FROM table_name_18 WHERE money___$__ > 400 |
What's the average payout of toney penna with a +2 par? | CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna" |
What is the attendance number of the game on April 16? | CREATE TABLE table_name_91 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_91 WHERE date = "april 16" |
What was the average pick of northwestern state college under round 3? | CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR) | SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state" |
Rutgers college holds what position? | CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_32 WHERE college = "rutgers" |
In what round smaller than 10, was the center les studdard picked in? | CREATE TABLE table_name_97 (pick INTEGER, round VARCHAR, position VARCHAR, name VARCHAR) | SELECT MIN(pick) FROM table_name_97 WHERE position = "center" AND name = "les studdard" AND round < 10 |
Which college had rounds smaller than 2? | CREATE TABLE table_name_80 (college VARCHAR, round INTEGER) | SELECT college FROM table_name_80 WHERE round < 2 |
What record was reached with a score of 7 - 2? | CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_8 WHERE score = "7 - 2" |
What is the name of the club with a rank of 5? | CREATE TABLE table_name_78 (club VARCHAR, rank VARCHAR) | SELECT club FROM table_name_78 WHERE rank = "5" |
What is the rank that shows 276 games? | CREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR) | SELECT rank FROM table_name_25 WHERE games = "276" |
What is the rank that shows 426 games? | CREATE TABLE table_name_64 (rank VARCHAR, games VARCHAR) | SELECT rank FROM table_name_64 WHERE games = "426" |
What is the number of games for Roger Merrett? | CREATE TABLE table_name_39 (games VARCHAR, player VARCHAR) | SELECT games FROM table_name_39 WHERE player = "roger merrett" |
What Engine had a Finish of 27? | CREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR) | SELECT engine FROM table_name_98 WHERE finish = "27" |
What Engine had a chassis of March 85c? | CREATE TABLE table_name_72 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_72 WHERE chassis = "march 85c" |
What Engine has a Finish of 21? | CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR) | SELECT engine FROM table_name_68 WHERE finish = "21" |
On what platform does Mindark publish? | CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR) | SELECT platform FROM table_name_84 WHERE publisher = "mindark" |
What year did Avatar Reality release a game? | CREATE TABLE table_name_14 (year VARCHAR, developer VARCHAR) | SELECT year FROM table_name_14 WHERE developer = "avatar reality" |
What publisher created Crysis Warhead? | CREATE TABLE table_name_35 (publisher VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_35 WHERE title = "crysis warhead" |
For what platform does Mindark publish? | CREATE TABLE table_name_37 (platform VARCHAR, publisher VARCHAR) | SELECT platform FROM table_name_37 WHERE publisher = "mindark" |
What publisher does Paleo Entertainment develop for? | CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR) | SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment" |
Who was the developer for Vigilance? | CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR) | SELECT developer FROM table_name_71 WHERE title = "vigilance" |
Which player's home town is Swift Current, AB? | CREATE TABLE table_name_17 (player VARCHAR, home_town VARCHAR) | SELECT player FROM table_name_17 WHERE home_town = "swift current, ab" |
Which position does number 23 play? | CREATE TABLE table_name_13 (position VARCHAR, number VARCHAR) | SELECT position FROM table_name_13 WHERE number = "23" |
Which number plays the skaters position? | CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR) | SELECT number FROM table_name_22 WHERE position = "skaters" |
How much does number 26 weigh? | CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR) | SELECT weight FROM table_name_31 WHERE number = "26" |
Which family has a Name of humpback whale? | CREATE TABLE table_name_40 (family VARCHAR, name VARCHAR) | SELECT family FROM table_name_40 WHERE name = "humpback whale" |
Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804? | CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR) | SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = "balaenoptera acutorostrata lacépède, 1804" |
Which Species/Authority has a Name of true's beaked whale? | CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR) | SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale" |
What engine has 2 points? | CREATE TABLE table_name_41 (engine_s_ VARCHAR, points VARCHAR) | SELECT engine_s_ FROM table_name_41 WHERE points = "2" |
What tyres are associated with a year after 1974 and 5 points? | CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) | SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" |
What is the engine(s) on the car before 1978 with ensign n177 chassis? | CREATE TABLE table_name_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_71 WHERE chassis = "ensign n177" AND year < 1978 |
What tyres have 1 point and an ensign n177 chassis? | CREATE TABLE table_name_15 (tyres VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT tyres FROM table_name_15 WHERE points = "1" AND chassis = "ensign n177" |
Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts? | CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) | SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = "bmw straight-4 (t/c)" AND pts > 2 |
What did Ku Hyo-Jin rank? | CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) | SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin" |
What was the rank of the person who swam in Lane 7 with a time of 2:25.86? | CREATE TABLE table_name_55 (rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_55 WHERE time = "2:25.86" AND lane < 7 |
Which Laid down has a Ship of fearless? | CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR) | SELECT laid_down FROM table_name_57 WHERE ship = "fearless" |
Which ship has a Pennant number of h.69? | CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR) | SELECT ship FROM table_name_43 WHERE pennant_number = "h.69" |
Which Launched has Commissioned 6 june 1935? | CREATE TABLE table_name_36 (launched VARCHAR, commissioned VARCHAR) | SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935" |
What launch has a Ship of fearless? | CREATE TABLE table_name_64 (launched VARCHAR, ship VARCHAR) | SELECT launched FROM table_name_64 WHERE ship = "fearless" |
Which commission was launched 28 june 1934, and has a Pennant number of h.78? | CREATE TABLE table_name_40 (commissioned VARCHAR, launched VARCHAR, pennant_number VARCHAR) | SELECT commissioned FROM table_name_40 WHERE launched = "28 june 1934" AND pennant_number = "h.78" |
Which year has a Round of 17? | CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR) | SELECT year FROM table_name_2 WHERE round = "17" |
Which opponent has a Club of essendon, and a Score of 13.4.82? | CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82" |
Which opponent has a Score of 15.4.94? | CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_89 WHERE score = "15.4.94" |
Which opponent has a Round of 12? | CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_34 WHERE round = "12" |
Which Quarter has a Round of 17? | CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR) | SELECT quarter FROM table_name_7 WHERE round = "17" |
When was moray firth built? | CREATE TABLE table_name_32 (whenbuilt VARCHAR, name VARCHAR) | SELECT whenbuilt FROM table_name_32 WHERE name = "moray firth" |
Name the withdrawn for charles dickens | CREATE TABLE table_name_93 (withdrawn VARCHAR, name VARCHAR) | SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens" |
Which opponent has a Date of july 27? | CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_24 WHERE date = "july 27" |
What Venue held the World Race Walking Cup tourney before 2008? | CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup" |
What tournement was held in Helsinki, Finland in 2005? | CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR) | SELECT event FROM table_name_8 WHERE venue = "helsinki, finland" |
What Venue held the Olympic games in 2012? | CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR) | SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012 |
What's the website for the yamagata international documentary film festival? | CREATE TABLE table_name_27 (website VARCHAR, name VARCHAR) | SELECT website FROM table_name_27 WHERE name = "yamagata international documentary film festival" |
How did Johnnie Parsons finish when his qualifying time was 135.328? | CREATE TABLE table_name_51 (rank VARCHAR, qual VARCHAR) | SELECT rank FROM table_name_51 WHERE qual = "135.328" |
What was Johnnie Parsons rank when he completed over 200 laps? | CREATE TABLE table_name_67 (rank VARCHAR, laps INTEGER) | SELECT rank FROM table_name_67 WHERE laps > 200 |
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008? | CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR) | SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008 |
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007? | CREATE TABLE table_name_98 (position VARCHAR, series VARCHAR, season VARCHAR) | SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007 |
What is the value for Wins when the Position is 7th? | CREATE TABLE table_name_67 (wins VARCHAR, position VARCHAR) | SELECT wins FROM table_name_67 WHERE position = "7th" |
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th? | CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_28 WHERE season > 2008 AND podiums = "3" AND position = "8th" |
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series? | CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR) | SELECT podiums FROM table_name_65 WHERE season > 2008 AND series = "gp2 asia series" |
What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009? | CREATE TABLE table_name_41 (wins VARCHAR, series VARCHAR, season VARCHAR) | SELECT wins FROM table_name_41 WHERE series = "gp2 series" AND season < 2009 |
What was the loss of the game against the Indians when the record was 15-15? | CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15" |
What is the total attendance for games when the record was 23-23? | CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_61 WHERE record = "23-23" |
What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13? | CREATE TABLE table_name_61 (points VARCHAR, lost VARCHAR, division VARCHAR, league_pos VARCHAR) | SELECT COUNT(points) FROM table_name_61 WHERE division = "conference" AND league_pos = "9th" AND lost < 13 |
What is the drawn result with a league position of 15th and a lost result that is more than 17? | CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17 |
Name the competition of 2010 of dnp | CREATE TABLE table_name_6 (competition VARCHAR) | SELECT competition FROM table_name_6 WHERE 2010 = "dnp" |
Name the score for columbus visitor | CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_73 WHERE visitor = "columbus" |
Name the least attendance with visitor of edmonton | CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR) | SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton" |
What is the lowest numbered lane of Sue Rolph with a rank under 5? | CREATE TABLE table_name_17 (lane INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(lane) FROM table_name_17 WHERE name = "sue rolph" AND rank < 5 |
What is the lane number of the swimmer with a time of 55.69? | CREATE TABLE table_name_21 (lane VARCHAR, time VARCHAR) | SELECT lane FROM table_name_21 WHERE time = 55.69 |
What is the lowest number of league cups with 4 championships? | CREATE TABLE table_name_9 (league_cup INTEGER, championship VARCHAR) | SELECT MIN(league_cup) FROM table_name_9 WHERE championship = 4 |
What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships? | CREATE TABLE table_name_43 (fa_cup INTEGER, total VARCHAR, championship VARCHAR) | SELECT MAX(fa_cup) FROM table_name_43 WHERE total = "0 4" AND championship < 4 |
How many FA cups were there without any league cups, but a total of 0 2? | CREATE TABLE table_name_3 (fa_cup INTEGER, total VARCHAR, league_cup VARCHAR) | SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2" AND league_cup < 0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.