question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What date is associated with the label Village Records? | CREATE TABLE table_name_88 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_88 WHERE label = "village records" |
Name the round for southampton opponents | CREATE TABLE table_name_43 (round VARCHAR, opponents VARCHAR) | SELECT round FROM table_name_43 WHERE opponents = "southampton" |
Name the most attendance for 19 february 2005 | CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_62 WHERE date = "19 february 2005" |
Name the sum of attendance for round 3 | CREATE TABLE table_name_22 (attendance INTEGER, round VARCHAR) | SELECT SUM(attendance) FROM table_name_22 WHERE round = "round 3" |
What team is owned by Mark Smith and has Paul Clapprood as a crew chief? | CREATE TABLE table_name_8 (team VARCHAR, owner_s_ VARCHAR, crew_chief VARCHAR) | SELECT team FROM table_name_8 WHERE owner_s_ = "mark smith" AND crew_chief = "paul clapprood" |
Who is Mike Wallace's primary Sponsor(s)? | CREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace" |
What driver has Scott Zipadelli as a crew chief? | CREATE TABLE table_name_44 (driver_s_ VARCHAR, crew_chief VARCHAR) | SELECT driver_s_ FROM table_name_44 WHERE crew_chief = "scott zipadelli" |
What team does Reed Sorenson drive for? | CREATE TABLE table_name_22 (team VARCHAR, driver_s_ VARCHAR) | SELECT team FROM table_name_22 WHERE driver_s_ = "reed sorenson" |
Who is Austin Dillon's primary sponsor(s)? | CREATE TABLE table_name_55 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_55 WHERE driver_s_ = "austin dillon" |
Who is Eric McClure's and Tristar Motorsports' crew chief? | CREATE TABLE table_name_36 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR) | SELECT crew_chief FROM table_name_36 WHERE team = "tristar motorsports" AND driver_s_ = "eric mcclure" |
What is the highest rank from Lane 4? | CREATE TABLE table_name_44 (rank INTEGER, lane VARCHAR) | SELECT MAX(rank) FROM table_name_44 WHERE lane = 4 |
How many ranks are higher than lane 4 from Great Britain, raced by Margaretha Pedder? | CREATE TABLE table_name_83 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT COUNT(rank) FROM table_name_83 WHERE lane > 4 AND nationality = "great britain" AND name = "margaretha pedder" |
What is the lowest rank from Great Britain with a time of 2:10.33? | CREATE TABLE table_name_40 (rank INTEGER, nationality VARCHAR, time VARCHAR) | SELECT MIN(rank) FROM table_name_40 WHERE nationality = "great britain" AND time = "2:10.33" |
How many Lanes have a rank higher than 3 with a time of 2:08.11? | CREATE TABLE table_name_72 (lane VARCHAR, time VARCHAR, rank VARCHAR) | SELECT COUNT(lane) FROM table_name_72 WHERE time = "2:08.11" AND rank > 3 |
Tkkm o te ara rima has a decile less than 4 in what years? | CREATE TABLE table_name_36 (years VARCHAR, decile VARCHAR, name VARCHAR) | SELECT years FROM table_name_36 WHERE decile < 4 AND name = "tkkm o te ara rima" |
What authority does the rototuna area have? | CREATE TABLE table_name_35 (authority VARCHAR, area VARCHAR) | SELECT authority FROM table_name_35 WHERE area = "rototuna" |
What award was Hannah Gal the recipient of? | CREATE TABLE table_name_23 (award VARCHAR, recipient VARCHAR) | SELECT award FROM table_name_23 WHERE recipient = "hannah gal" |
What is the name of the recipient when the director was Susan Jacobson? | CREATE TABLE table_name_31 (recipient VARCHAR, director_s_ VARCHAR) | SELECT recipient FROM table_name_31 WHERE director_s_ = "susan jacobson" |
What is the film where Hannah Gal was the director? | CREATE TABLE table_name_67 (film VARCHAR, director_s_ VARCHAR) | SELECT film FROM table_name_67 WHERE director_s_ = "hannah gal" |
What is the film dated 22/3/06 and redhouse lane / perfect world was the recipient? | CREATE TABLE table_name_35 (film VARCHAR, date VARCHAR, recipient VARCHAR) | SELECT film FROM table_name_35 WHERE date = "22/3/06" AND recipient = "redhouse lane / perfect world" |
What is the name of the film with an award of Β£5,380? | CREATE TABLE table_name_18 (film VARCHAR, award VARCHAR) | SELECT film FROM table_name_18 WHERE award = "Β£5,380" |
What chassis was paired with climax straight-4? | CREATE TABLE table_name_32 (chassis VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_32 WHERE engine = "climax straight-4" |
What year did Cooper Car Company enter? | CREATE TABLE table_name_35 (year INTEGER, entrant VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE entrant = "cooper car company" |
What year has more than 0 points? | CREATE TABLE table_name_56 (year VARCHAR, points INTEGER) | SELECT year FROM table_name_56 WHERE points > 0 |
What is the total points before 1963? | CREATE TABLE table_name_47 (points INTEGER, year INTEGER) | SELECT SUM(points) FROM table_name_47 WHERE year < 1963 |
What was the genre of Queen (an artist from the United Kingdom)? | CREATE TABLE table_name_47 (genre VARCHAR, country_of_origin VARCHAR, artist VARCHAR) | SELECT genre FROM table_name_47 WHERE country_of_origin = "united kingdom" AND artist = "queen" |
What is the number of claimed sales in the rock genre? | CREATE TABLE table_name_85 (claimed_sales VARCHAR, genre VARCHAR) | SELECT claimed_sales FROM table_name_85 WHERE genre = "rock" |
What was the earliest release-year of the first charted record of Abba? | CREATE TABLE table_name_88 (release_year_of_first_charted_record INTEGER, artist VARCHAR) | SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba" |
What was the active period for the pop genre? | CREATE TABLE table_name_87 (period_active VARCHAR, genre VARCHAR) | SELECT period_active FROM table_name_87 WHERE genre = "pop" |
What point had team Lotus whit the lotus 33 chassis in 1964? | CREATE TABLE table_name_66 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR) | SELECT points FROM table_name_66 WHERE chassis = "lotus 33" AND entrant = "team lotus" AND year = 1964 |
Which entrant before 1965 scored more than 0 point with the lotus 25 chassis? | CREATE TABLE table_name_23 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_23 WHERE year < 1965 AND points > 0 AND chassis = "lotus 25" |
Which engine scored 9 points? | CREATE TABLE table_name_85 (engine VARCHAR, points VARCHAR) | SELECT engine FROM table_name_85 WHERE points = 9 |
What chassis did team lotus use after 1964? | CREATE TABLE table_name_59 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_59 WHERE entrant = "team lotus" AND year > 1964 |
What is the value Others% when the value Others# is greater than 147 and the value Kerry% is 39.6%? | CREATE TABLE table_name_83 (others_percentage VARCHAR, others_number VARCHAR, kerry_percentage VARCHAR) | SELECT others_percentage FROM table_name_83 WHERE others_number > 147 AND kerry_percentage = "39.6%" |
What is the total number of the value Others#, when the county is Langlade, and when the value Bush# is greater than 6,235? | CREATE TABLE table_name_94 (others_number VARCHAR, county VARCHAR, bush_number VARCHAR) | SELECT COUNT(others_number) FROM table_name_94 WHERE county = "langlade" AND bush_number > 6 OFFSET 235 |
What is the average value of Bush# when the value for Others# is greater than 57, and the value for Bush% is 49.2%? | CREATE TABLE table_name_70 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR) | SELECT AVG(bush_number) FROM table_name_70 WHERE others_number > 57 AND bush_percentage = "49.2%" |
What is the date the Fubuki ship laid down? | CREATE TABLE table_name_76 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_76 WHERE name = "fubuki" |
What is the launched date for the Harusame ship? | CREATE TABLE table_name_18 (launched VARCHAR, name VARCHAR) | SELECT launched FROM table_name_18 WHERE name = "harusame" |
The game taking place in Lille had what as a score? | CREATE TABLE table_name_96 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_96 WHERE location = "lille" |
A competition of test taking place on 23 Apr 1988 had what as a score? | CREATE TABLE table_name_51 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_51 WHERE competition = "test" AND date = "23 apr 1988" |
On 11 Feb 1990, the competition is listed as what? | CREATE TABLE table_name_23 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_23 WHERE date = "11 feb 1990" |
The competition that took place on 4 Apr 1997 ended with what as the score? | CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_42 WHERE date = "4 apr 1997" |
The competition located in Northampton had a resulting score of what? | CREATE TABLE table_name_75 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_75 WHERE location = "northampton" |
What category did MCG get a nominee in? | CREATE TABLE table_name_62 (category VARCHAR, label VARCHAR, result VARCHAR) | SELECT category FROM table_name_62 WHERE label = "mcg" AND result = "nominee" |
What genre was Music in the Air? | CREATE TABLE table_name_7 (genre VARCHAR, title VARCHAR) | SELECT genre FROM table_name_7 WHERE title = "music in the air" |
Which opponent has a record of 52-52? | CREATE TABLE table_name_63 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_63 WHERE record = "52-52" |
What is the record as of July 22? | CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_11 WHERE date = "july 22" |
What was the highest number played when there were 21 goals conceded and a draw greater than 3? | CREATE TABLE table_name_47 (played INTEGER, goals_conceded VARCHAR, draw VARCHAR) | SELECT MAX(played) FROM table_name_47 WHERE goals_conceded = 21 AND draw > 3 |
What were the total number of points when the amount of goals scored was less than 20? | CREATE TABLE table_name_39 (points VARCHAR, goals_scored INTEGER) | SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20 |
What were the total number of points when there was a lost larger than 6, when the team was Once Municipal, and when the number of goals scored was less than 8? | CREATE TABLE table_name_45 (points VARCHAR, goals_scored VARCHAR, lost VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_name_45 WHERE lost > 6 AND team = "once municipal" AND goals_scored < 8 |
What was the highest number of points scored when there was a draw of 2 and when the amount played was 18? | CREATE TABLE table_name_83 (points INTEGER, draw VARCHAR, played VARCHAR) | SELECT MAX(points) FROM table_name_83 WHERE draw = 2 AND played < 18 |
What was the total number of places in which the draw was less than 4 and the amount lost was less than 6? | CREATE TABLE table_name_73 (place VARCHAR, draw VARCHAR, lost VARCHAR) | SELECT COUNT(place) FROM table_name_73 WHERE draw < 4 AND lost < 6 |
What is the lowest rank with poland as the nationality and a time greater than 55.34? | CREATE TABLE table_name_73 (rank INTEGER, nationality VARCHAR, time VARCHAR) | SELECT MIN(rank) FROM table_name_73 WHERE nationality = "poland" AND time > 55.34 |
Which name has a lane smaller than 7, and a time greater than 54.32 with germany as the nationality and a rank less than 5? | CREATE TABLE table_name_8 (name VARCHAR, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR) | SELECT name FROM table_name_8 WHERE lane < 7 AND time > 54.32 AND nationality = "germany" AND rank < 5 |
Which average lane has 54.95 as a time? | CREATE TABLE table_name_99 (lane INTEGER, time VARCHAR) | SELECT AVG(lane) FROM table_name_99 WHERE time = 54.95 |
Which average time has eithan urbach as a name with a lane bigger than 2? | CREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 2 |
What year was the brabham bt46 bt48 bt49 Chassis common? | CREATE TABLE table_name_89 (year INTEGER, chassis VARCHAR) | SELECT AVG(year) FROM table_name_89 WHERE chassis = "brabham bt46 bt48 bt49" |
How high did Arnold Palmer score in 1962? | CREATE TABLE table_name_69 (score INTEGER, player VARCHAR) | SELECT MAX(score) FROM table_name_69 WHERE player = "arnold palmer" |
Which result has a Venue of ulsan? | CREATE TABLE table_name_27 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_27 WHERE venue = "ulsan" |
Which competition has a Date of 2007-08-22? | CREATE TABLE table_name_55 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_55 WHERE date = "2007-08-22" |
Which result has a Date of 2007-08-22? | CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_31 WHERE date = "2007-08-22" |
What's the 2004 tournament that has a 2R in 2000? | CREATE TABLE table_name_24 (Id VARCHAR) | SELECT 2004 FROM table_name_24 WHERE 2000 = "2r" |
What is the 1999 tournament that has a Q1 in 2003 and a Q3 in 2002? | CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 1999 FROM table_name_2 WHERE 2003 = "q1" AND 2002 = "q3" |
What is the 2004 tournament that has a Q1 of 2011? | CREATE TABLE table_name_10 (Id VARCHAR) | SELECT 2004 FROM table_name_10 WHERE 2011 = "q1" |
What was the hometown of the contestant who was a professional mixologist? | CREATE TABLE table_name_13 (hometown VARCHAR, profession VARCHAR) | SELECT hometown FROM table_name_13 WHERE profession = "mixologist" |
What is the average Year when there was a cosworth straight-4 engine, and the Entrant was ron harris / team lotus? | CREATE TABLE table_name_17 (year INTEGER, engine VARCHAR, entrant VARCHAR) | SELECT AVG(year) FROM table_name_17 WHERE engine = "cosworth straight-4" AND entrant = "ron harris / team lotus" |
What is the name of the Entrant that has a Chassis of lotus 25 | CREATE TABLE table_name_39 (entrant VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_39 WHERE chassis = "lotus 25" |
What was the engine when the chassis was a porsche 718?? | CREATE TABLE table_name_87 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_87 WHERE chassis = "porsche 718" |
What is the number of points when there was a BMW 269 F2 chassis earlier than 1969? | CREATE TABLE table_name_63 (points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_63 WHERE chassis = "bmw 269 f2" AND year < 1969 |
What engine was in the lotus 44 f2 Chassis? | CREATE TABLE table_name_27 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_27 WHERE chassis = "lotus 44 f2" |
What year was there a lotus 25 Chassis? | CREATE TABLE table_name_47 (year VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_47 WHERE chassis = "lotus 25" |
what is the lowest rank for the netherlands in lane less than 4? | CREATE TABLE table_name_92 (rank INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT MIN(rank) FROM table_name_92 WHERE nationality = "netherlands" AND lane < 4 |
What is the height of the delegate whose hometown is Renton, WA? | CREATE TABLE table_name_69 (height VARCHAR, hometown VARCHAR) | SELECT height FROM table_name_69 WHERE hometown = "renton, wa" |
Is there a Position for Notes 53.96? | CREATE TABLE table_name_82 (position VARCHAR, notes VARCHAR) | SELECT position FROM table_name_82 WHERE notes = "53.96" |
Is there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position? | CREATE TABLE table_name_82 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) | SELECT venue FROM table_name_82 WHERE event = "4x400m relay" AND year > 2002 AND position = "4th" |
What Event goes with Notes 53.76? | CREATE TABLE table_name_76 (event VARCHAR, notes VARCHAR) | SELECT event FROM table_name_76 WHERE notes = "53.76" |
On what date did they have a record of 12-17? | CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_68 WHERE record = "12-17" |
What engine did the Team Lotus have after 1965? | CREATE TABLE table_name_63 (engine VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT engine FROM table_name_63 WHERE entrant = "team lotus" AND year > 1965 |
What chassis did the BRM V8 engine have? | CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_92 WHERE engine = "brm v8" |
What was the highest number of points in 1966? | CREATE TABLE table_name_99 (points INTEGER, year VARCHAR) | SELECT MAX(points) FROM table_name_99 WHERE year = 1966 |
What is the greatest number of losses a team that played fewer than 25 games in 2010 had? | CREATE TABLE table_name_87 (losses INTEGER, games VARCHAR, season VARCHAR) | SELECT MAX(losses) FROM table_name_87 WHERE games < 25 AND season = "2010" |
What is the average number of points for a team that played 17 games and had more than 15 losses? | CREATE TABLE table_name_37 (points INTEGER, games VARCHAR, losses VARCHAR) | SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15 |
How many laps did gunnar nilsson drive? | CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_69 WHERE driver = "gunnar nilsson" |
Who built james hunt's car that went 79 laps? | CREATE TABLE table_name_74 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_74 WHERE laps = 79 AND driver = "james hunt" |
How much did the Modern Pentathlon III Series coin weigh? | CREATE TABLE table_name_65 (weight VARCHAR, series VARCHAR, reverse VARCHAR) | SELECT weight FROM table_name_65 WHERE series = "iii series" AND reverse = "modern pentathlon" |
What is the obverse of the archery coin? | CREATE TABLE table_name_45 (obverse VARCHAR, reverse VARCHAR) | SELECT obverse FROM table_name_45 WHERE reverse = "archery" |
What is the denomination of the III Series? | CREATE TABLE table_name_8 (denomination VARCHAR, series VARCHAR) | SELECT denomination FROM table_name_8 WHERE series = "iii series" |
What is the diameter of the Archery Reverse coin? | CREATE TABLE table_name_46 (diameter VARCHAR, reverse VARCHAR) | SELECT diameter FROM table_name_46 WHERE reverse = "archery" |
Who wrote the episode with a production code greater than 1.4 direcyed by rick wallace? | CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = "rick wallace" |
Who wrote the episode that was directed by dan lerner? | CREATE TABLE table_name_12 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_name_12 WHERE directed_by = "dan lerner" |
What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0? | CREATE TABLE table_name_2 (total INTEGER, player VARCHAR, scottish_cup VARCHAR) | SELECT AVG(total) FROM table_name_2 WHERE player = "simon donnelly" AND scottish_cup > 0 |
What is the Challenge Cup total with a League of 1, Player Simon Storey, and a Total greater than 1? | CREATE TABLE table_name_90 (challenge_cup INTEGER, total VARCHAR, league VARCHAR, player VARCHAR) | SELECT SUM(challenge_cup) FROM table_name_90 WHERE league = 1 AND player = "simon storey" AND total > 1 |
What is the highest total of Player Damon Gray, with a Challenge Cup less than 0? | CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR) | SELECT MAX(total) FROM table_name_25 WHERE player = "damon gray" AND challenge_cup < 0 |
Which result has a Venue of away, and an Opponent of marbella? | CREATE TABLE table_name_35 (result VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_35 WHERE venue = "away" AND opponent = "marbella" |
Which venue has a Date of 28 july 2007? | CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_68 WHERE date = "28 july 2007" |
What is the result with a home venue? | CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_26 WHERE venue = "home" |
Which Date has a Result of 0β0? | CREATE TABLE table_name_42 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_42 WHERE result = "0β0" |
Which date has a Result of 5β0, and an Opponent of tooting & mitcham? | CREATE TABLE table_name_90 (date VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_90 WHERE result = "5β0" AND opponent = "tooting & mitcham" |
Name the total number of goals which have played more than 44 | CREATE TABLE table_name_13 (goals_for VARCHAR, played INTEGER) | SELECT COUNT(goals_for) FROM table_name_13 WHERE played > 44 |
Name the most draws when goals against is more than 56 and wins is more than 14 | CREATE TABLE table_name_89 (draws INTEGER, goals_against VARCHAR, wins VARCHAR) | SELECT MAX(draws) FROM table_name_89 WHERE goals_against > 56 AND wins > 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.