question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the score when the away team was Collingwood?
CREATE TABLE table_name_56 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood"
Name the typ for project of igmdp and weight of 16,000
CREATE TABLE table_name_65 (type VARCHAR, project VARCHAR, weight__kg_ VARCHAR)
SELECT type FROM table_name_65 WHERE project = "igmdp" AND weight__kg_ = "16,000"
Which Margin of victory has a Runner(s)-up of buddy gardner?
CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "buddy gardner"
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4?
CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4
What is the driver for Grid 8?
CREATE TABLE table_name_46 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_46 WHERE grid = 8
What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes?
CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR)
SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 0
How many weeks have an Opponent of at new york giants?
CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants"
What was the pick number for the wide receiver drafted from Michigan State?
CREATE TABLE table_name_7 (pick__number VARCHAR, position VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_7 WHERE position = "wide receiver" AND college = "michigan state"
What is week 5 when week 6 is evicted, and week 2 is 34.55?
CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR)
SELECT week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55"
Which races did they accumulate at least 125 points?
CREATE TABLE table_name_38 (races VARCHAR, points VARCHAR)
SELECT races FROM table_name_38 WHERE points = "125"
What are the names of players whose training hours is between 500 and 1500?
CREATE TABLE Player (pName VARCHAR, HS INTEGER)
SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
What is 2010, when 2009 is "1"?
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT 2010 FROM table_name_82 WHERE 2009 = "1"
What was the playoff status when the head coach was Brent Sutter, the finish was 4th central, and the points were 82?
CREATE TABLE table_name_50 (playoffs VARCHAR, points VARCHAR, head_coach VARCHAR, finish VARCHAR)
SELECT playoffs FROM table_name_50 WHERE head_coach = "brent sutter" AND finish = "4th central" AND points = "82"
What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than 46?
CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR)
SELECT SUM(points_1) FROM table_name_55 WHERE team = "gainsborough trinity" AND played > 46
What is the status of the county with per capita market income of $24,326?
CREATE TABLE table_22815568_2 (status VARCHAR, market_income_per_capita VARCHAR)
SELECT status FROM table_22815568_2 WHERE market_income_per_capita = "$24,326"
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
Which Finalist has a Week of may 3?
CREATE TABLE table_name_17 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_17 WHERE week = "may 3"
Name the high points for march 30
CREATE TABLE table_27723526_12 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_27723526_12 WHERE date = "March 30"
What numer pick in the draft for jerry hill?
CREATE TABLE table_13758243_1 (overall VARCHAR, player VARCHAR)
SELECT COUNT(overall) FROM table_13758243_1 WHERE player = "Jerry Hill"
What company constructed the car with more than 0 laps and shows 5 for grid?
CREATE TABLE table_name_42 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_42 WHERE laps > 0 AND grid = 5
Where was the game played that had a record of 19-6?
CREATE TABLE table_18904831_7 (location VARCHAR, record VARCHAR)
SELECT location FROM table_18904831_7 WHERE record = "19-6"
Which city had the charleston area convention center as its callback location
CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR)
SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center"
What is the Writer with an Actual Title that is mork & mindy?
CREATE TABLE table_name_8 (writer VARCHAR, actual_title VARCHAR)
SELECT writer FROM table_name_8 WHERE actual_title = "mork & mindy"
What is the lowest First Elected, when District is "Massachusetts 10"?
CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR)
SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"
how many times is the team tauro and played less than 18?
CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)
SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18
What is the Score of the game against the boston celtics?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "boston celtics"
What was the connection speed when launched on 07.06.2005?
CREATE TABLE table_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005"
At what date did the 23rd manager vacate the position?
CREATE TABLE table_18795125_6 (date_of_vacancy VARCHAR, position_in_table VARCHAR)
SELECT date_of_vacancy FROM table_18795125_6 WHERE position_in_table = "23rd"
What is the largest attendance that has December 16, 1962 as the date?
CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_84 WHERE date = "december 16, 1962"
What was the average speed (mph) for the racer who finished in 1:45:00?
CREATE TABLE table_17802778_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
SELECT average_speed__mph_ FROM table_17802778_1 WHERE race_time = "1:45:00"
What university team is referred to as the tigers?
CREATE TABLE table_2419754_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_2419754_1 WHERE nickname = "Tigers"
How many visitors below age 30 are there?
CREATE TABLE visitor (age INTEGER)
SELECT COUNT(*) FROM visitor WHERE age < 30
What was the swimsuit score for Illinois?
CREATE TABLE table_17521433_1 (swimsuit VARCHAR, country VARCHAR)
SELECT swimsuit FROM table_17521433_1 WHERE country = "Illinois"
What was the score when there was a visitor of Magic and at home with the Clippers?
CREATE TABLE table_name_54 (score VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT score FROM table_name_54 WHERE visitor = "magic" AND home = "clippers"
What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?
CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
SELECT rd FROM table_1132568_3 WHERE fastest_lap = "Michael Schumacher" AND constructor = "Ferrari" AND pole_position = "Michael Schumacher"
What was the venue for the match on October 10?
CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_19576091_1 WHERE date = "October 10"
What is Marc's Surname?
CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)
SELECT surname FROM table_name_38 WHERE first = "marc"
What was the Attendance on September 11, 1983?
CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983"
Name the total number of african record
CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR)
SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record"
What rank has jo angel (wa) as the player?
CREATE TABLE table_name_47 (rank VARCHAR, player VARCHAR)
SELECT rank FROM table_name_47 WHERE player = "jo angel (wa)"
What positions did Paul Jones play?
CREATE TABLE table_14342367_7 (position VARCHAR, player VARCHAR)
SELECT position FROM table_14342367_7 WHERE player = "Paul Jones"
What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?
CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid"
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR)
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973
How economically free is the country of Armenia?
CREATE TABLE table_1604579_2 (country VARCHAR)
SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia"
What is Opponents, when Partner is Vitalia Diatchenko?
CREATE TABLE table_name_60 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_60 WHERE partner = "vitalia diatchenko"
Name the winnings for 23rd position
CREATE TABLE table_2463383_2 (winnings VARCHAR, position VARCHAR)
SELECT winnings FROM table_2463383_2 WHERE position = "23rd"
How many titles for the production code of NABF07?
CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_20942925_1 WHERE production_code = "NABF07"
What position does Drew Callander play?
CREATE TABLE table_name_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_1 WHERE player = "drew callander"
What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage.
CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR)
SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy"
How many class AA in the year 2002-03
CREATE TABLE table_14747043_1 (class_aA VARCHAR, school_year VARCHAR)
SELECT COUNT(class_aA) FROM table_14747043_1 WHERE school_year = "2002-03"
What is the status of bleeding time for thrombocytopenia?
CREATE TABLE table_20592988_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT bleeding_time FROM table_20592988_1 WHERE condition = "Thrombocytopenia"
Which stadium has the date/year of Fri 06/25/82?
CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR)
SELECT stadium FROM table_21436373_6 WHERE date_year = "Fri 06/25/82"
who got the third position when laranja kyoto got the second position?
CREATE TABLE table_21632864_1 (third_place VARCHAR, runners_up VARCHAR)
SELECT third_place FROM table_21632864_1 WHERE runners_up = "Laranja Kyoto"
What is every location attendance on the date December 12?
CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12"
What is the Nationality with an Elector with bertrand de saint-martin?
CREATE TABLE table_name_36 (nationality VARCHAR, elector VARCHAR)
SELECT nationality FROM table_name_36 WHERE elector = "bertrand de saint-martin"
What was the record for the Orangemen when they played against Army?
CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_23346983_1 WHERE opponent = "Army"
What was Kashmira Shah's position on August 14?
CREATE TABLE table_18278508_6 (position VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
SELECT position FROM table_18278508_6 WHERE main_contestant = "Kashmira Shah" AND date_performed = "August 14"
Which champion has sentosa golf club as the tournament location?
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)
SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf club"
How many players led Game #66 in scoring?
CREATE TABLE table_13619053_8 (high_points VARCHAR, game VARCHAR)
SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66
Where did someone run a 58:33?
CREATE TABLE table_name_25 (event_place VARCHAR, time VARCHAR)
SELECT event_place FROM table_name_25 WHERE time = "58:33"
What award was won after 2008?
CREATE TABLE table_name_77 (award VARCHAR, year INTEGER)
SELECT award FROM table_name_77 WHERE year > 2008
What are the hosts of competitions whose theme is not "Aliens"?
CREATE TABLE farm_competition (Hosts VARCHAR, Theme VARCHAR)
SELECT Hosts FROM farm_competition WHERE Theme <> 'Aliens'
What is the diameter of the coin with a € equivalence of 0.60?
CREATE TABLE table_name_80 (diameter VARCHAR, €_equiv VARCHAR)
SELECT diameter FROM table_name_80 WHERE €_equiv = "0.60"
What is Segment D of 20-08 series Ep.?
CREATE TABLE table_name_89 (segment_d VARCHAR, series_ep VARCHAR)
SELECT segment_d FROM table_name_89 WHERE series_ep = "20-08"
what is the average league cup goals when the position is df and total goals is more than 4?
CREATE TABLE table_name_78 (league_cup_goals INTEGER, position VARCHAR, total_goals VARCHAR)
SELECT AVG(league_cup_goals) FROM table_name_78 WHERE position = "df" AND total_goals > 4
Tell me the score on 22 august 2012
CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_37 WHERE date = "22 august 2012"
What is the margin of victory for PGA Championship?
CREATE TABLE table_name_25 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_25 WHERE tournament = "pga championship"
What is I/O bus when socket is socket g1bga-1288?
CREATE TABLE table_name_46 (i_o_bus VARCHAR, socket VARCHAR)
SELECT i_o_bus FROM table_name_46 WHERE socket = "socket g1bga-1288"
Which Major League Soccer team for the 2005 season has the lowest goals?
CREATE TABLE table_name_63 (goals INTEGER, league VARCHAR, season VARCHAR)
SELECT MIN(goals) FROM table_name_63 WHERE league = "major league soccer" AND season = "2005"
What's the network of BBTV Channel 7?
CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR)
SELECT network FROM table_name_99 WHERE name = "bbtv channel 7"
What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Operational?
CREATE TABLE table_name_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR)
SELECT gauge FROM table_name_39 WHERE status = "operational" AND owner = "aurizon" AND locomotive = "g534"
What was the title of the episode with production code 2J5515?
CREATE TABLE table_28582091_2 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_28582091_2 WHERE production_code = "2J5515"
Which Tournament has a 2007 of wta premier 5 tournaments?
CREATE TABLE table_name_28 (tournament VARCHAR)
SELECT tournament FROM table_name_28 WHERE 2007 = "wta premier 5 tournaments"
What is the fixed charge for the user who had a tariff of 11.30?
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR)
SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "11.30"
What was the home team for the game with more than 25,000 crowd?
CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_70 WHERE crowd > 25 OFFSET 000
What are the lengths of the tracks arranged by ROZ?
CREATE TABLE table_name_79 (time VARCHAR, arranger_s_ VARCHAR)
SELECT time FROM table_name_79 WHERE arranger_s_ = "roz"
What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?
CREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR)
SELECT result FROM table_name_47 WHERE score = "1–0" AND competition = "2014 fifa world cup qualification"
What were all the tries for when the try bonus was 8?
CREATE TABLE table_13564637_5 (tries_for VARCHAR, try_bonus VARCHAR)
SELECT tries_for FROM table_13564637_5 WHERE try_bonus = "8"
What is the Area of the Allardville Parish with a Population smaller than 2,151?
CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
SELECT SUM(area_km_2) FROM table_name_10 WHERE official_name = "allardville" AND population < 2 OFFSET 151
What is the time for Russia?
CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR)
SELECT time FROM table_name_54 WHERE nationality = "russia"
Type of stratovolcano, and a Name of goat rocks, and a Elevation (m) larger than 2,494 has what highest elevation in feet?
CREATE TABLE table_name_40 (elevation__ft_ INTEGER, elevation__m_ VARCHAR, type VARCHAR, name VARCHAR)
SELECT MAX(elevation__ft_) FROM table_name_40 WHERE type = "stratovolcano" AND name = "goat rocks" AND elevation__m_ > 2 OFFSET 494
What was the county with a longitude of -102.302775?
CREATE TABLE table_18600760_3 (county VARCHAR, longitude VARCHAR)
SELECT county FROM table_18600760_3 WHERE longitude = "-102.302775"
Which loss had a record of 79-49?
CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_7 WHERE record = "79-49"
What is the School with a Pick that is 24?
CREATE TABLE table_name_99 (school VARCHAR, pick VARCHAR)
SELECT school FROM table_name_99 WHERE pick = 24
What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan Wiebe Category:Articles with hCards"?
CREATE TABLE table_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT draft FROM table_name_17 WHERE round = "9" AND pick = 171 AND player = "dan wiebe category:articles with hcards"
At what age did Roy Emerson complete the Grand Slam?
CREATE TABLE table_197638_6 (age INTEGER, player VARCHAR)
SELECT MAX(age) FROM table_197638_6 WHERE player = "Roy Emerson"
What is the smallest value for Wins when the number of cuts is greater than 4 and the Top-5 value is less than 1?
CREATE TABLE table_name_51 (wins INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
SELECT MIN(wins) FROM table_name_51 WHERE cuts_made > 4 AND top_5 < 1
What is the Outcome of the match with Partner Marcella Mesker and a Score of 6–4, 4–6, 4–6?
CREATE TABLE table_name_61 (outcome VARCHAR, partner VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_61 WHERE partner = "marcella mesker" AND score = "6–4, 4–6, 4–6"
What is the date the high rebounds were by lamarcus aldridge (6)?
CREATE TABLE table_27734769_8 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_27734769_8 WHERE high_rebounds = "LaMarcus Aldridge (6)"
Name the institutional authority for launch date of october 12, 2004
CREATE TABLE table_name_47 (institutional_authority VARCHAR, launch_date VARCHAR)
SELECT institutional_authority FROM table_name_47 WHERE launch_date = "october 12, 2004"
How many teams finished in the top team with an average finish of 23.3?
CREATE TABLE table_2190919_1 (top_10 VARCHAR, avg_finish VARCHAR)
SELECT COUNT(top_10) FROM table_2190919_1 WHERE avg_finish = "23.3"
What is the minimum number of bypass ports listed?
CREATE TABLE table_16731248_1 (bypass_ports INTEGER)
SELECT MIN(bypass_ports) FROM table_16731248_1
What was the nationality of the player ranking 3?
CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR)
SELECT nationality FROM table_name_13 WHERE ranking = "3"
Name the viewers for the episode directed by tony phelan
CREATE TABLE table_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_19501664_1 WHERE directed_by = "Tony Phelan"
What State has an Opened (closing date if defunct) that shows 1960?
CREATE TABLE table_name_28 (state VARCHAR, opened__closing_date_if_defunct_ VARCHAR)
SELECT state FROM table_name_28 WHERE opened__closing_date_if_defunct_ = "1960"
When was the historic place listed that's in canyon county?
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)
SELECT listed FROM table_name_79 WHERE county = "canyon"
What was the qualifying 1 time for Rusport and Justin Wilson?
CREATE TABLE table_name_27 (qual_1 VARCHAR, team VARCHAR, name VARCHAR)
SELECT qual_1 FROM table_name_27 WHERE team = "rusport" AND name = "justin wilson"
what's current club with position being center and no being bigger than 12.0
CREATE TABLE table_12962773_1 (current_club VARCHAR, position VARCHAR, no VARCHAR)
SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.0
Which Proto-Polynesian has a Proto-Malayo-Polynesian of *telu?
CREATE TABLE table_name_50 (proto_polynesian VARCHAR, proto_malayo_polynesian VARCHAR)
SELECT proto_polynesian FROM table_name_50 WHERE proto_malayo_polynesian = "*telu"
What is the Undecided on 2009-05-24?
CREATE TABLE table_name_66 (undecided VARCHAR, date VARCHAR)
SELECT undecided FROM table_name_66 WHERE date = "2009-05-24"