question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the surface against monaco
CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR)
SELECT surface FROM table_22853654_9 WHERE against = "Monaco"
What is the undecided percentage of the poll where Goldberg had 6%?
CREATE TABLE table_name_51 (undecided VARCHAR, goldberg VARCHAR)
SELECT undecided FROM table_name_51 WHERE goldberg = "6%"
Who drove during the race with less than 19 laps and a time listed as ignition?
CREATE TABLE table_name_55 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_55 WHERE laps < 19 AND time_retired = "ignition"
What home team has Southampton as the away team?
CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_71 WHERE away_team = "southampton"
What car number has 130 points?
CREATE TABLE table_name_58 (car__number VARCHAR, points VARCHAR)
SELECT car__number FROM table_name_58 WHERE points = 130
What is the average overall value for a round less than 4 associated with the College of Georgia?
CREATE TABLE table_name_32 (overall INTEGER, round VARCHAR, college VARCHAR)
SELECT AVG(overall) FROM table_name_32 WHERE round < 4 AND college = "georgia"
Show all donor names.
CREATE TABLE endowment (donator_name VARCHAR)
SELECT DISTINCT donator_name FROM endowment
How many 4 credits is the hand two pair?
CREATE TABLE table_11200856_1 (hand VARCHAR)
SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair"
in december 7 who made the high points
CREATE TABLE table_30049462_5 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_30049462_5 WHERE date = "December 7"
In what format was the release from the Nebt068 catalog on April 11, 2005 in?
CREATE TABLE table_name_62 (format VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_62 WHERE date = "april 11, 2005" AND catalog = "nebt068"
How many totals have t6 as the finish?
CREATE TABLE table_name_85 (total INTEGER, finish VARCHAR)
SELECT SUM(total) FROM table_name_85 WHERE finish = "t6"
How many colors are never used by any product?
CREATE TABLE products (color_code VARCHAR); CREATE TABLE Ref_colors (color_code VARCHAR)
SELECT COUNT(*) FROM Ref_colors WHERE NOT color_code IN (SELECT color_code FROM products)
In what seasons did Kate Woods direct Without A Trace?
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR)
SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods"
What is the Portuguese word for the English word 'welcome'?
CREATE TABLE table_26614365_5 (portuguese VARCHAR, english VARCHAR)
SELECT portuguese FROM table_26614365_5 WHERE english = "Welcome"
What organization had the founding date of 1998-11-08?
CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR)
SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08"
Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?
CREATE TABLE table_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (16)"
Which title has a Track of 3?
CREATE TABLE table_name_90 (title VARCHAR, track VARCHAR)
SELECT title FROM table_name_90 WHERE track = 3
What is the lowest poles of team comtec racing, which has a nc position?
CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)
SELECT MIN(poles) FROM table_name_84 WHERE position = "nc" AND team = "comtec racing"
Who is the player for St. Mary's team?
CREATE TABLE table_name_48 (player VARCHAR, school_club_team_country VARCHAR)
SELECT player FROM table_name_48 WHERE school_club_team_country = "st. mary's"
Record of 11–12 involved what average attendance figures?
CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_10 WHERE record = "11–12"
Name the D 43 and D 48 of r 28
CREATE TABLE table_name_45 (d_43 VARCHAR, d_48 VARCHAR)
SELECT d_43 FROM table_name_45 WHERE d_48 = "r 28"
Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)?
CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273)
What is the name of the 2008 club with Nadia Centoni Category:Articles with hCards?
CREATE TABLE table_name_69 (name VARCHAR)
SELECT 2008 AS _club FROM table_name_69 WHERE name = "nadia centoni category:articles with hcards"
I want the lowest Laps for time/retired of engine and driver of charles de tornaco
CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MIN(laps) FROM table_name_22 WHERE time_retired = "engine" AND driver = "charles de tornaco"
Mention all the applicable team who are replaced by gianluca atzori
CREATE TABLE table_27114708_2 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_27114708_2 WHERE replaced_by = "Gianluca Atzori"
What is the diameter in km of the feature named Colette Patera?
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, name VARCHAR)
SELECT diameter__km_ FROM table_16799784_8 WHERE name = "Colette Patera"
How many regions are affected?
CREATE TABLE affected_region (region_id VARCHAR)
SELECT COUNT(DISTINCT region_id) FROM affected_region
I want the date with the venue of mcalpine stadium
CREATE TABLE table_name_68 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium"
What is the winning score for the runner-up Ernie Els?
CREATE TABLE table_name_7 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_7 WHERE runner_s__up = "ernie els"
What is the ERP for the Mount Goonaneman transmitter?
CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman"
What is the result of the competition of 2000 afc asian cup group stages?
CREATE TABLE table_name_22 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_22 WHERE competition = "2000 afc asian cup group stages"
What is the Label of the UICI-1069 Catalog?
CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_42 WHERE catalog = "uici-1069"
How many cowboy coins were minted?
CREATE TABLE table_name_1 (mintage VARCHAR, theme VARCHAR)
SELECT mintage FROM table_name_1 WHERE theme = "cowboy"
what is the report when the home team is new zealand breakers?
CREATE TABLE table_name_31 (report VARCHAR, home_team VARCHAR)
SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers"
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?
CREATE TABLE table_29332810_14 (young_rider_classification VARCHAR, aggressive_rider VARCHAR)
SELECT young_rider_classification FROM table_29332810_14 WHERE aggressive_rider = "Luke Durbridge"
Who directed Predator that was filmed with Fox Studio?
CREATE TABLE table_name_29 (director VARCHAR, studio VARCHAR, title VARCHAR)
SELECT director FROM table_name_29 WHERE studio = "fox" AND title = "predator"
How many accounts have a savings balance above the average savings balance?
CREATE TABLE savings (balance INTEGER)
SELECT COUNT(*) FROM savings WHERE balance > (SELECT AVG(balance) FROM savings)
Where were the auditions held in the episode that aired on january 27, 2011?
CREATE TABLE table_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR)
SELECT audition_city FROM table_27455867_1 WHERE episode_air_date = "January 27, 2011"
Who was the Man of the Match when the opponent was Milton Keynes Lightning and the venue was Away?
CREATE TABLE table_name_19 (man_of_the_match VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT man_of_the_match FROM table_name_19 WHERE opponent = "milton keynes lightning" AND venue = "away"
What is the status for a journal with the ISSN of 0149-1830?
CREATE TABLE table_name_62 (status VARCHAR, issn VARCHAR)
SELECT status FROM table_name_62 WHERE issn = "0149-1830"
What is the number of played when the position is less than 4, and the team is Witton Albion?
CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion"
Name the team classification for stage of 20
CREATE TABLE table_name_92 (team_classification VARCHAR, stage VARCHAR)
SELECT team_classification FROM table_name_92 WHERE stage = "20"
Which round's name is Jonathan Massaquoi?
CREATE TABLE table_name_40 (round VARCHAR, name VARCHAR)
SELECT round FROM table_name_40 WHERE name = "jonathan massaquoi"
Where was South Melbourne played?
CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_13 WHERE home_team = "south melbourne"
What is the Tie number for the match where Dartford was the hone team?
CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_31 WHERE home_team = "dartford"
Which Date has a Record of 7–7–1?
CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_49 WHERE record = "7–7–1"
What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55?
CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR)
SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = "$378.55"
What is the total number of fate for pennant of u33?
CREATE TABLE table_1220125_4 (fate VARCHAR, pennant VARCHAR)
SELECT COUNT(fate) FROM table_1220125_4 WHERE pennant = "U33"
WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR)
SELECT SUM(year) FROM table_name_18 WHERE competition = "world championships" AND notes = 39.01
Name the result/games for 54741
CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE attendance = 54741
What is the time for Estonia with sc/d notes?
CREATE TABLE table_name_9 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_9 WHERE notes = "sc/d" AND country = "estonia"
What date was the score 29-7?
CREATE TABLE table_name_28 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_28 WHERE score = "29-7"
What was the away team for the match at Punt Road Oval?
CREATE TABLE table_name_39 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_39 WHERE venue = "punt road oval"
What was the attendance at the game that resulted in w 24-20?
CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20"
what is the total number of locations that had a score of 1-3?
CREATE TABLE table_27539272_5 (location_attendance VARCHAR, score VARCHAR)
SELECT COUNT(location_attendance) FROM table_27539272_5 WHERE score = "1-3"
Which event had a score of over 673 points?
CREATE TABLE table_name_72 (event VARCHAR, score INTEGER)
SELECT event FROM table_name_72 WHERE score > 673
How many Novembers have a Game larger than 14, and an Opponent of minnesota wild?
CREATE TABLE table_name_50 (november VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT COUNT(november) FROM table_name_50 WHERE game > 14 AND opponent = "minnesota wild"
NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013?
CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR)
SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013"
What is the margin of victory when the tournament is konica san jose classic?
CREATE TABLE table_name_23 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_23 WHERE tournament = "konica san jose classic"
For what year was 100* runs happen?
CREATE TABLE table_name_45 (year VARCHAR, runs VARCHAR)
SELECT year FROM table_name_45 WHERE runs = "100*"
What special notes are included for the windfarm with a capacity (MW) of 343?
CREATE TABLE table_name_86 (notes VARCHAR, capacity__mw_ VARCHAR)
SELECT notes FROM table_name_86 WHERE capacity__mw_ = 343
What royal house did Shaokang belong to?
CREATE TABLE table_name_94 (royal_house VARCHAR, name VARCHAR)
SELECT royal_house FROM table_name_94 WHERE name = "shaokang"
Show all the grades of the high schoolers.
CREATE TABLE Highschooler (grade VARCHAR)
SELECT grade FROM Highschooler
What is the area when the Iga name is Ahoada East?
CREATE TABLE table_28891101_3 (area__km_2__ INTEGER, lga_name VARCHAR)
SELECT MAX(area__km_2__) FROM table_28891101_3 WHERE lga_name = "Ahoada East"
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?
CREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)
SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29
What is the pick number for New Mexico?
CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR)
SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico"
What is From Club, when Player is "Robinho"?
CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR)
SELECT from_club FROM table_name_80 WHERE player = "robinho"
Which Lead Pitch/mm has a Body Width/mm larger than 10.16?
CREATE TABLE table_name_28 (lead_pitch_mm INTEGER, body_width_mm INTEGER)
SELECT SUM(lead_pitch_mm) FROM table_name_28 WHERE body_width_mm > 10.16
On what date was the result Wi by 1 run?
CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_24 WHERE result = "wi by 1 run"
How many tournament titles for iowa state with 3 total titles?
CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR)
SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state"
If the -250m is 18.852, what is the
CREATE TABLE table_1912276_2 (__750m VARCHAR, __250m VARCHAR)
SELECT __750m FROM table_1912276_2 WHERE __250m = "18.852"
What is the date of vacancy for the Liverpool team with a table named pre-season?
CREATE TABLE table_24172157_3 (date_of_vacancy VARCHAR, table VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_24172157_3 WHERE table = "Pre-season" AND team = "Liverpool"
What is the term of acharya shree vasudevprasadji maharaj?
CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR)
SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj"
how many overall goals were scored at moses mabhida stadium?
CREATE TABLE table_27708484_3 (overall_goals_scored INTEGER, stadium VARCHAR)
SELECT MAX(overall_goals_scored) FROM table_27708484_3 WHERE stadium = "Moses Mabhida stadium"
Name the sum of long for avg more than 9.8 with rec less than 5 and yards less than 20
CREATE TABLE table_name_25 (long INTEGER, yards VARCHAR, avg VARCHAR, rec VARCHAR)
SELECT SUM(long) FROM table_name_25 WHERE avg > 9.8 AND rec < 5 AND yards < 20
Who performed all the high rebounds when craig smith (4) was the lead for high assists?
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_17058226_5 WHERE high_assists = "Craig Smith (4)"
What is the total overall in round 1, in which Charles White was a player?
CREATE TABLE table_name_2 (overall INTEGER, player VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_2 WHERE player = "charles white" AND round < 1
What programs were held in charleston, illinois?
CREATE TABLE table_16275828_4 (program VARCHAR, location VARCHAR)
SELECT program FROM table_16275828_4 WHERE location = "Charleston, Illinois"
Who is listed under womens singles when year location is 1998 doha?
CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR)
SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha"
What Position is Ryan Russell?
CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_6 WHERE player = "ryan russell"
Who had the highest points when the series was 4-2?
CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR)
SELECT high_points FROM table_name_22 WHERE series = "4-2"
Which incumbent was first elected in 1972?
CREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972
Which entrant used the chassis de tomaso 505?
CREATE TABLE table_name_9 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_9 WHERE chassis = "de tomaso 505"
Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.
CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Pu...
What week had an Attendance smaller than 21,097?
CREATE TABLE table_name_46 (week VARCHAR, attendance INTEGER)
SELECT COUNT(week) FROM table_name_46 WHERE attendance < 21 OFFSET 097
Which week was the game on December 14, 1967?
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_27 WHERE date = "december 14, 1967"
what is part 1 when the class is 7d?
CREATE TABLE table_name_78 (part_1 VARCHAR, class VARCHAR)
SELECT part_1 FROM table_name_78 WHERE class = "7d"
Name the results for institutional authority of paf
CREATE TABLE table_name_73 (results VARCHAR, institutional_authority VARCHAR)
SELECT results FROM table_name_73 WHERE institutional_authority = "paf"
Name the outgoing manager for esteban vigo
CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE replaced_by = "Esteban Vigo"
What is the average grid for giorgio pantano?
CREATE TABLE table_name_70 (grid INTEGER, driver VARCHAR)
SELECT AVG(grid) FROM table_name_70 WHERE driver = "giorgio pantano"
Who built the car that has a Time/Retired of 1:36:38.887?
CREATE TABLE table_name_66 (constructor VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:38.887"
Which driver won the i race of champions?
CREATE TABLE table_1140099_6 (winning_driver VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_1140099_6 WHERE race_name = "I Race of Champions"
What is the at Manhattan record against TCU?
CREATE TABLE table_15740666_4 (at_manhattan VARCHAR, kansas_state_vs VARCHAR)
SELECT at_manhattan FROM table_15740666_4 WHERE kansas_state_vs = "TCU"
Who were the opponents for week 12?
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_31 WHERE week = 12
Name the number of episodes for sam snape
CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR)
SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape"
Who were the co-drivers in years after 2010?
CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER)
SELECT co_drivers FROM table_name_49 WHERE year > 2010
Name the total number of high points for pepsi center 19,756
CREATE TABLE table_23284271_6 (high_points VARCHAR, location_attendance VARCHAR)
SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = "Pepsi Center 19,756"
What is the lowest number played of the club with more than 15 wins and less than 42 goals against?
CREATE TABLE table_name_59 (played INTEGER, wins VARCHAR, goals_against VARCHAR)
SELECT MIN(played) FROM table_name_59 WHERE wins > 15 AND goals_against < 42
In games where st kilda was the away team, what was the smallest crowd?
CREATE TABLE table_name_68 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_68 WHERE away_team = "st kilda"
Which visitor had a record of 7–5–3?
CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_49 WHERE record = "7–5–3"