question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
What player went to DePaul University?
SELECT player FROM table_name_80 WHERE college = "depaul"
CREATE TABLE table_name_80 (player VARCHAR, college VARCHAR)
What was the score when the visitor was toronto maple leafs on march 22?
SELECT score FROM table_name_53 WHERE visitor = "toronto maple leafs" AND date = "march 22"
CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
Name the stadium for nizhny novgorod
SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod"
CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)
What operating system was needed for 2D games?
SELECT required_os FROM table_name_91 WHERE type = "2d"
CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR)
What was the score in Hampden Park, Glasgow?
SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"
CREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR)
What day in october was game number 4 with under 3 points?
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3
CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)
What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What
SELECT date FROM table_name_29 WHERE place = "chernivtsi" AND race_winners = "etienne bax / kaspars stupelis"
CREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)
For R. Magjistari scores over 12, what is the highest number of points?
SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12
CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)
What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?
SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro"
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
what title was given to the episode with production code 6ajn08?
SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08"
CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)
When the played number is less than 8 and against is 23, what is the least amount of points?
SELECT MIN(points) FROM table_name_76 WHERE against = 23 AND played < 8
CREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR)
What Turbo has the Release price (USD) of $583?
SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583"
CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)
How many districts does Ed Jones represent?
SELECT COUNT(district) FROM table_1341718_43 WHERE incumbent = "Ed Jones"
CREATE TABLE table_1341718_43 (district VARCHAR, incumbent VARCHAR)
Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?
SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo"
CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR)
What was the minimum operating system required by Stunlock Studios' game?
SELECT required_os FROM table_name_91 WHERE developer_s_ = "stunlock studios"
CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)
What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?
SELECT power FROM table_name_15 WHERE torque = "n·m (lb·ft) at1,500rpm"
CREATE TABLE table_name_15 (power VARCHAR, torque VARCHAR)
What were the Results for 25,000 Attendance?
SELECT result FROM table_name_91 WHERE attendance = "25,000"
CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)
Who is moving with the nationality of Tri?
SELECT moving_to FROM table_name_78 WHERE nat = "tri"
CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)
What is the highest silver rank with a total of 27?
SELECT MAX(silver) FROM table_name_65 WHERE total = 27
CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR)
On what Date did the massacre result with 21 Injured?
SELECT date FROM table_name_73 WHERE injured = "21"
CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR)
When Fred Funk had a to par of E, what was the score?
SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"
CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Who won Bronze with Notes of 2.5km, 16controls?
SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls"
CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR)
what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28
SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28"
CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)
On which day were the subtotal hours 9:30?
SELECT date FROM table_name_9 WHERE sub_total = "9:30"
CREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)
What is the position of a player from North Carolina?
SELECT position FROM table_name_57 WHERE school = "north carolina"
CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)
Name the w/l for czech republic
SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic"
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)
What To par has a Country of united states, and a Score of 67-66-78-77=288?
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)
What's the total number that had a rank larger than 17 and a gold greater than 0?
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0
CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
What is the June 21 ncaat baseball record for Fresno State Bulldogs?
SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 21"
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
Which church had a Split off/Continuation in 1836?
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR)
What is the result of the match with Jeff Monson as opponent?
SELECT res FROM table_name_96 WHERE opponent = "jeff monson"
CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)
What was the total number of places in which the draw was less than 4 and the amount lost was less than 6?
SELECT COUNT(place) FROM table_name_73 WHERE draw < 4 AND lost < 6
CREATE TABLE table_name_73 (place VARCHAR, draw VARCHAR, lost VARCHAR)
Which Date has a Venue of junction oval?
SELECT date FROM table_name_39 WHERE venue = "junction oval"
CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)
What is the smallest played amount when there are 2 draws and an against of more than 73?
SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73
CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)
What is the total number of dates of successor formal installation when the vacator was Joshua Clayton ( F )?
SELECT COUNT(date_of_successors_formal_installation) FROM table_224839_3 WHERE vacator = "Joshua Clayton ( F )"
CREATE TABLE table_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR)
Which capitals have an area of exactly 377930 square km?
SELECT capital FROM table_19605700_1 WHERE area_km² = 377930
CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR)
What is the lowest heat of the Lakeside race?
SELECT MIN(heat) FROM table_name_65 WHERE race_title = "lakeside"
CREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR)
What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4?
SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4"
CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
What type of event had the wrestler with a reign of 2 and held the title for 35 days?
SELECT event FROM table_name_31 WHERE reign = "2" AND days_held = "35"
CREATE TABLE table_name_31 (event VARCHAR, reign VARCHAR, days_held VARCHAR)
What is Democrat: Carl Levin, when Lead Margin is 22?
SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22
CREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR)
Who are all the candidates vying for Henry B. Gonzalez' seat?
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
Which number is the player from Minnesota?
SELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = "Minnesota"
CREATE TABLE table_11545282_12 (no INTEGER, school_club_team VARCHAR)
How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?
SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013"
CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
What is the location for the club trophy?
SELECT location FROM table_name_69 WHERE type = "club trophy"
CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)
What team does mario andretti play pole position for?
SELECT winning_team FROM table_name_9 WHERE pole_position = "mario andretti"
CREATE TABLE table_name_9 (winning_team VARCHAR, pole_position VARCHAR)
Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?
SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%"
CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR)
How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "1"
CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30
CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
What team was played on november 24?
SELECT team FROM table_23211041_5 WHERE date = "November 24"
CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)
What was the category of the project name Mighty No. 9?
SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 9"
CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
How many members did Europe have the year that America had 403892?
SELECT europe FROM table_1914090_2 WHERE america = 403892
CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)
Name the region 1 for episode number 13
SELECT region_1 FROM table_171320_3 WHERE ep__number = 13
CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)
For the game ending with a record of 31-43-2, what was the decision?
SELECT decision FROM table_name_10 WHERE record = "31-43-2"
CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)
What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"
CREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)
What is the lowest ERP W of the 67829 Facility ID?
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)
What is the score 1 for the major league soccer all-star game?
SELECT score1 FROM table_name_20 WHERE competition_or_tour = "major league soccer all-star game"
CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR)
Name the team for chris duhon , nate robinson , david lee (3)
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)
What type had a beginning term of December 8, 1980
SELECT type FROM table_1602620_1 WHERE term_began = "December 8, 1980"
CREATE TABLE table_1602620_1 (type VARCHAR, term_began VARCHAR)
WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?
SELECT SUM(round) FROM table_name_55 WHERE college = "michigan" AND overall > 37
CREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)
What is the nationality of the player who played during the years 1989-92; 1994-95?
SELECT nationality FROM table_11545282_5 WHERE years_for_jazz = "1989-92; 1994-95"
CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)
How much money did Ian Chamings request?
SELECT money_requested__£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings"
CREATE TABLE table_name_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
What is the status with the opposing team of Scotland?
SELECT status FROM table_name_9 WHERE opposing_teams = "scotland"
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
What is the team of the player who was previously on the indiana pacers?
SELECT team FROM table_name_15 WHERE previous_team = "indiana pacers"
CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)
Which team was in the 2012 clausura tournament?
SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura"
CREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR)
what is the engine for year less than 1959 and points more than 4?
SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 4
CREATE TABLE table_name_7 (engine VARCHAR, year VARCHAR, points VARCHAR)
What is the highest number of households with a median household income of $31,176, and a population of 25,607?
SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607
CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
What division record did the Spartans hold?
SELECT division_record FROM table_name_26 WHERE team = "spartans"
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
What is the name of the country where moving from is listed as bristol city?
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)
What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"
CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
Which Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?
SELECT MIN(attendance) FROM table_name_77 WHERE result = "1-0" AND venue = "a" AND opponent = "newcastle united"
CREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)
Which Tie is from birmingham city?
SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city"
CREATE TABLE table_name_97 (tie_no VARCHAR, home_team VARCHAR)
Who finished 3rd in Oslo?
SELECT third FROM table_name_74 WHERE venue = "oslo"
CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)
In what place was the song that had a draw of 3?
SELECT place FROM table_name_54 WHERE draw = 3
CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)
What is the award for 1998 with Representative Work of city beat?
SELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = "city beat"
CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)
Which city is Alianza?
SELECT city FROM table_name_62 WHERE name = "alianza"
CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)
How many countries spent $83.7 billion on international tourism in 2012?
SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion"
CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)
Show the title and director for all films.
SELECT title, directed_by FROM film
CREATE TABLE film (title VARCHAR, directed_by VARCHAR)
What number is shown for november 3 where january 15-16 is 151?
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151"
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
Who is the Constructor for the Trac Racing Team?
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)
Who is Birmingham City's outgoing manager?
SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"
CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.
SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC
CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
For which location was the round smaller than 11 and the circuit streets of denver?
SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
What is the total amount of money spent by Lucas Mancini?
SELECT SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"
CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Which pick was used on Ian Hazlett?
SELECT MIN(pick) FROM table_name_8 WHERE player = "ian hazlett"
CREATE TABLE table_name_8 (pick INTEGER, player VARCHAR)
What is the nationality of the swimmer with a rank over 2 with a time of 55.77?
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77"
CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?
SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0
CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Type of primary, and a Call letters of kbjs has what format?
SELECT format FROM table_name_74 WHERE type = "primary" AND call_letters = "kbjs"
CREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR)
When karl ridderbusch is the la roche who is the olivier?
SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch"
CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)
What is shown on Friday when Tuesday is Jay Mohr Sports?
SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports"
CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR)
What was the title of the episode directed by John T. Kretchmer?
SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer"
CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)
Show the ids and names of all documents.
SELECT document_id, document_name FROM Documents
CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)
What player in the United States had a total of 286 and won in 2003?
SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"
CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
What signal quality does the KCAL-DT channel have?
SELECT signal_quality FROM table_name_96 WHERE station_call_letters = "kcal-dt"
CREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR)
I want the tyres for hans binder
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
What is the Hometown of Tim Williams?
SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams"
CREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
Name the total number of opponent in the final for 6–2, 6–1, 6–3
SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3"
CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
How many reg GP for nathan barrett in a round less than 8?
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8
CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
Which sign has a fall of Venus?
SELECT sign FROM table_name_5 WHERE fall = "venus"
CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)