question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the score of the 2006 Fifa World Cup Qualification?
CREATE TABLE table_name_85 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_85 WHERE competition = "2006 fifa world cup qualification"
What is the average laps completed by riders with times of +2:11.524?
CREATE TABLE table_name_90 (laps INTEGER, time VARCHAR)
SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524"
What were the shots below par when the winning score was 69-66-69-64=268?
CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268
How many times is the couple kerry & daniel?
CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR)
SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel"
Tell me the high assists for orlando
CREATE TABLE table_name_46 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_46 WHERE team = "orlando"
Which points have a Combined elapsed time of 175d 20h 46m 04s?
CREATE TABLE table_name_97 (points VARCHAR, combined_elapsed_time VARCHAR)
SELECT points FROM table_name_97 WHERE combined_elapsed_time = "175d 20h 46m 04s"
Who was the runner-up in the tournament that has a margin of victory of 2 strokes, and a To par of −16?
CREATE TABLE table_name_62 (runner_up VARCHAR, margin_of_victory VARCHAR, to_par VARCHAR)
SELECT runner_up FROM table_name_62 WHERE margin_of_victory = "2 strokes" AND to_par = "−16"
Which tournament had 1R in 2013?
CREATE TABLE table_name_8 (tournament VARCHAR)
SELECT tournament FROM table_name_8 WHERE 2013 = "1r"
Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?
CREATE TABLE table_name_80 (track VARCHAR, english_title VARCHAR, disc VARCHAR)
SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl"
What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.?
CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Victor Cook" AND written_by = "Brat Jennett"
What is the result of the friendly competition on 23 January 2010?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "friendly" AND date = "23 january 2010"
Where was the game that took place in November 21 located and how many attended?
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17058116_5 WHERE date = "November 21"
Find the name and price of the product that has been ordered the greatest number of times.
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1
What place had a score of 71-70=141?
CREATE TABLE table_name_8 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_8 WHERE score = 71 - 70 = 141
What was the surface for finalist Justine Henin?
CREATE TABLE table_name_56 (surface VARCHAR, finalist VARCHAR)
SELECT surface FROM table_name_56 WHERE finalist = "justine henin"
What is the sum of wins after 1999?
CREATE TABLE table_name_47 (wins INTEGER, year INTEGER)
SELECT SUM(wins) FROM table_name_47 WHERE year > 1999
How many titles were released on 21 October 1992?
CREATE TABLE table_18590048_1 (rank VARCHAR, release_date VARCHAR)
SELECT COUNT(rank) FROM table_18590048_1 WHERE release_date = "21 October 1992"
What is the highest pick number from Slovakia?
CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR)
SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia"
In what year was this event held in Oslo, Norway?
CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)
SELECT year FROM table_name_13 WHERE venue = "oslo, norway"
In what round was the loss at ufc 118?
CREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR)
SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118"
when is the latest to join prsl when founded in 2007 and the stadium is roberto clemente stadium 1?
CREATE TABLE table_name_31 (joined_prsl INTEGER, founded VARCHAR, stadium VARCHAR)
SELECT MAX(joined_prsl) FROM table_name_31 WHERE founded = 2007 AND stadium = "roberto clemente stadium 1"
What was the Record during the game with a Score of 113–103?
CREATE TABLE table_name_16 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_16 WHERE score = "113–103"
Who was the home team that played against hawthorn?
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_65 WHERE away_team = "hawthorn"
When is Country of united states, and a Venue of mandalay bay resort in?
CREATE TABLE table_name_22 (date VARCHAR, country VARCHAR, venue VARCHAR)
SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort"
What was the crowd size when Essendon was the home team?
CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_98 WHERE home_team = "essendon"
Which constructor has laps less than 100 and a time/retired +10 laps?
CREATE TABLE table_name_43 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_43 WHERE laps < 100 AND time_retired = "+10 laps"
Name the total number of pop for ibaraki
CREATE TABLE table_name_10 (pop_¹ VARCHAR, prefecture VARCHAR)
SELECT COUNT(pop_¹) FROM table_name_10 WHERE prefecture = "ibaraki"
Name the nominating festival for director of 2004
CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR)
SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004"
How many entries is under 50s column when the average is 39.60?
CREATE TABLE table_28846752_8 (average VARCHAR)
SELECT 50 AS s FROM table_28846752_8 WHERE average = "39.60"
WHAT IS THE BUDGET WHEN THE WORLDWIDE BOX OFFICE IS $363,398,565?
CREATE TABLE table_name_28 (budget VARCHAR, worldwide VARCHAR)
SELECT budget FROM table_name_28 WHERE worldwide = "$363,398,565"
What is the sum of the rank of the rower with an r note from Australia?
CREATE TABLE table_name_6 (rank INTEGER, notes VARCHAR, country VARCHAR)
SELECT SUM(rank) FROM table_name_6 WHERE notes = "r" AND country = "australia"
Tell me north america for january 23, 2013
CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR)
SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"
What position did Tara Palmer-Tomkinson finish?
CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)
SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson"
What is the minimum Height of the Little Switzerland Tunnel?
CREATE TABLE table_name_49 (minimum_height VARCHAR, name_of_the_tunnel VARCHAR)
SELECT minimum_height FROM table_name_49 WHERE name_of_the_tunnel = "little switzerland tunnel"
what team's score is 101?
CREATE TABLE table_name_42 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_42 WHERE score = "101"
What is Year (Ceremony), when Director is "Wang Siu-Di"?
CREATE TABLE table_name_66 (year__ceremony_ VARCHAR, director VARCHAR)
SELECT year__ceremony_ FROM table_name_66 WHERE director = "wang siu-di"
What was the average number of points with bonus pts less than 31 with the rider dennis gavros?
CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR)
SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31
I want the sum of year for mark barron
CREATE TABLE table_name_11 (year INTEGER, player_name VARCHAR)
SELECT SUM(year) FROM table_name_11 WHERE player_name = "mark barron"
Which Date has a Home team of philadelphia, and a Result of 104–110?
CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_4 WHERE home_team = "philadelphia" AND result = "104–110"
How much Played has Goals against smaller than 34, and Wins smaller than 13?
CREATE TABLE table_name_51 (played INTEGER, goals_against VARCHAR, wins VARCHAR)
SELECT SUM(played) FROM table_name_51 WHERE goals_against < 34 AND wins < 13
What is the most recent year for a first elected republican?
CREATE TABLE table_name_36 (first_elected INTEGER, party VARCHAR)
SELECT MAX(first_elected) FROM table_name_36 WHERE party = "republican"
What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby?
CREATE TABLE table_name_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR)
SELECT britain__2013_ FROM table_name_1 WHERE us__2013_ = "ruby"
Which Socialist candidate ran against American Labor candidate Caroline O'Day?
CREATE TABLE table_name_65 (socialist_ticket VARCHAR, american_labor_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_65 WHERE american_labor_ticket = "caroline o'day"
What is the total number of quantity when the introductory year was 1984?
CREATE TABLE table_name_30 (quantity INTEGER, introduced VARCHAR)
SELECT SUM(quantity) FROM table_name_30 WHERE introduced = 1984
After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards?
CREATE TABLE table_name_78 (nationality VARCHAR, year VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_78 WHERE year > 2009 AND player = "dwayne de rosario category:articles with hcards"
what are all the percent (1990) where state is mississippi
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi"
In what round did Al Unser win at Wisconsin State Fair Park Speedway?
CREATE TABLE table_22673872_1 (rnd INTEGER, winning_driver VARCHAR, track VARCHAR)
SELECT MIN(rnd) FROM table_22673872_1 WHERE winning_driver = "Al Unser" AND track = "Wisconsin State Fair Park Speedway"
What is the highest rank with less than 2 bronze, more than 1 gold, and less than 1 silver?
CREATE TABLE table_name_35 (rank INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MAX(rank) FROM table_name_35 WHERE bronze < 2 AND gold > 1 AND silver < 1
What was the total To Par for Craig Wood?
CREATE TABLE table_name_16 (to_par INTEGER, player VARCHAR)
SELECT SUM(to_par) FROM table_name_16 WHERE player = "craig wood"
Which competition has a Year of 2008, a Surface of carpet, and a Date of 31 jan?
CREATE TABLE table_name_65 (competition VARCHAR, date VARCHAR, year VARCHAR, surface VARCHAR)
SELECT competition FROM table_name_65 WHERE year = 2008 AND surface = "carpet" AND date = "31 jan"
What was the result after 1994 for team MB2 and 31 starts?
CREATE TABLE table_name_64 (finish VARCHAR, start VARCHAR, year VARCHAR, team VARCHAR)
SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31"
How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?
CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood"
what's the points against with lost being 13
CREATE TABLE table_14058433_4 (points_against VARCHAR, lost VARCHAR)
SELECT points_against FROM table_14058433_4 WHERE lost = "13"
What city is the indianapolis speedrome in?
CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR)
SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome"
What is the Result F-A that was the quarter-final first leg round with a H/A of h?
CREATE TABLE table_name_96 (result_f_a VARCHAR, h___a VARCHAR, round VARCHAR)
SELECT result_f_a FROM table_name_96 WHERE h___a = "h" AND round = "quarter-final first leg"
What date did the Bulls play the LA Lakers?
CREATE TABLE table_11960610_7 (date VARCHAR, team VARCHAR)
SELECT date FROM table_11960610_7 WHERE team = "LA Lakers"
Which nominating festival did Olga Baillif enter?
CREATE TABLE table_name_72 (nominating_festival VARCHAR, director_s_ VARCHAR)
SELECT nominating_festival FROM table_name_72 WHERE director_s_ = "olga baillif"
Name the first elected for new york 1
CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1"
What was the final score in game 38?
CREATE TABLE table_17058178_8 (score VARCHAR, game VARCHAR)
SELECT score FROM table_17058178_8 WHERE game = 38
What is the date of the episode in which the presenter is Johnny Vaughan?
CREATE TABLE table_20466963_4 (date VARCHAR, presenter VARCHAR)
SELECT date FROM table_20466963_4 WHERE presenter = "Johnny Vaughan"
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
What label is after 2004?
CREATE TABLE table_name_24 (label VARCHAR, year INTEGER)
SELECT label FROM table_name_24 WHERE year > 2004
Which Score has a Away team of walthamstow avenue?
CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue"
What was the date of the game when North Melbourne was the away team?
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_10 WHERE away_team = "north melbourne"
How many crowds watched the game where the record was 1-3?
CREATE TABLE table_11452830_2 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_11452830_2 WHERE record = "1-3"
Which Host Team has Final Score of 42-23?
CREATE TABLE table_name_86 (host_team VARCHAR, final_score VARCHAR)
SELECT host_team FROM table_name_86 WHERE final_score = "42-23"
What is other when no party preference is 19.1%?
CREATE TABLE table_27003186_3 (other VARCHAR, no_party_preference VARCHAR)
SELECT other FROM table_27003186_3 WHERE no_party_preference = "19.1%"
What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
CREATE TABLE table_name_70 (all_around INTEGER, total VARCHAR, hoop VARCHAR)
SELECT MIN(all_around) FROM table_name_70 WHERE total = 19.85 AND hoop < 9.85
In which district is the incumbent Marcia C. Kaptur?
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"
What is the sum of average values for 23 yards?
CREATE TABLE table_name_5 (average INTEGER, yards VARCHAR)
SELECT SUM(average) FROM table_name_5 WHERE yards = 23
What are the categories of events that occurred after 2007 that were World Championships?
CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR)
SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships"
What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)
SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400"
What is the highest roll number of the school in Te puna with a decile larger than 2?
CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR)
SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = "te puna"
What is Region (Year), when No. 7 is William, and when No. 2 is Alexander?
CREATE TABLE table_name_51 (region__year_ VARCHAR, no_7 VARCHAR, no_2 VARCHAR)
SELECT region__year_ FROM table_name_51 WHERE no_7 = "william" AND no_2 = "alexander"
What was the average game with a record of 4-4-0?
CREATE TABLE table_name_58 (game INTEGER, record VARCHAR)
SELECT AVG(game) FROM table_name_58 WHERE record = "4-4-0"
What is the call sign of the translator in Spring Valley, Nevada?
CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT call_sign FROM table_name_16 WHERE city_of_license = "spring valley, nevada"
How much Silver has a Nation of mexico, and a Total larger than 1?
CREATE TABLE table_name_47 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_47 WHERE nation = "mexico" AND total > 1
What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?
CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_40 WHERE team = "holden racing team" AND circuit = "eastern creek raceway"
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR)
SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
What is the title of the July 2 song that is downloaded as Crazy Frog?
CREATE TABLE table_name_5 (title VARCHAR, download VARCHAR, issue_date VARCHAR)
SELECT title FROM table_name_5 WHERE download = "crazy frog" AND issue_date = "july 2"
What is the 2nd ratio of 1996-2002 Dodge Viper?
CREATE TABLE table_1310499_1 (application VARCHAR)
SELECT 2 AS nd FROM table_1310499_1 WHERE application = "1996-2002 Dodge Viper"
Which October is the lowest one that has an Opponent of washington capitals?
CREATE TABLE table_name_38 (october INTEGER, opponent VARCHAR)
SELECT MIN(october) FROM table_name_38 WHERE opponent = "washington capitals"
Which county has the mascot of Bruins?
CREATE TABLE table_name_81 (county VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_81 WHERE mascot = "bruins"
What Results has the Record of 28-12?
CREATE TABLE table_name_94 (results VARCHAR, record VARCHAR)
SELECT results FROM table_name_94 WHERE record = "28-12"
Which Away team has a Tie no of 4?
CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_38 WHERE tie_no = "4"
Name the number of details for emlyn road
CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR)
SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road"
What's the duration of the Archers with Pauline Seville acting?
CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)
SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"
How many Phonetic Greek words translate to grenouille in French?
CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR)
SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = "grenouille"
What is the smallest rank when there are fewer than 1 silver, 4 golds and less than 0 bronze?
CREATE TABLE table_name_10 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MIN(rank) FROM table_name_10 WHERE silver < 1 AND gold = 4 AND bronze < 0
Which nationality has a time of 50.92?
CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_52 WHERE time = 50.92
Which Opponent has the Event of Sengoku 1?
CREATE TABLE table_name_94 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_94 WHERE event = "sengoku 1"
Name the median income for age band being under 20
CREATE TABLE table_14946657_3 (median_income VARCHAR, age_band VARCHAR)
SELECT median_income FROM table_14946657_3 WHERE age_band = "Under 20"
What are the names of stations that are located in Palo Alto city but have never been the ending point of trips more than 100 times?
CREATE TABLE trip (name VARCHAR, end_station_name VARCHAR, city VARCHAR); CREATE TABLE station (name VARCHAR, end_station_name VARCHAR, city VARCHAR)
SELECT name FROM station WHERE city = "Palo Alto" EXCEPT SELECT end_station_name FROM trip GROUP BY end_station_name HAVING COUNT(*) > 100
What is the sum for gold when there is more than 17 silver and more than 24 bronze?
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24
What is the average Tournaments, when Highest Rank is "Maegashira 1"?
CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR)
SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1"
What is the total amount of trees when district is leninsky?
CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)
SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"
What nationality is the pick from round 7?
CREATE TABLE table_name_9 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_9 WHERE round = 7
Who were the co-drivers with more than 310 laps and team aston martin racing bms?
CREATE TABLE table_name_42 (co_drivers VARCHAR, laps VARCHAR, team VARCHAR)
SELECT co_drivers FROM table_name_42 WHERE laps > 310 AND team = "aston martin racing bms"
Name Road Team of Game of game 4?
CREATE TABLE table_name_66 (road_team VARCHAR, game VARCHAR)
SELECT road_team FROM table_name_66 WHERE game = "game 4"
Name the number of record for hp pavilion - 17,562
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562"