question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What scores did the RSC Anderlecht club have?
CREATE TABLE table_name_68 (score VARCHAR, club VARCHAR)
SELECT score FROM table_name_68 WHERE club = "rsc anderlecht"
What's the mountains classification when the points classification is Alessandro Petacchi and the general classification is Danilo Di Luca?
CREATE TABLE table_name_26 (mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_name_26 WHERE points_classification = "alessandro petacchi" AND general_classification = "danilo di luca"
What is the attendance in texas stadium?
CREATE TABLE table_name_86 (attendance INTEGER, venue VARCHAR)
SELECT SUM(attendance) FROM table_name_86 WHERE venue = "texas stadium"
List the names of players that do not have coaches.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Player_name VARCHAR, Player_ID VARCHAR)
SELECT Player_name FROM player WHERE NOT Player_ID IN (SELECT Player_ID FROM player_coach)
Which Record has a Date of june 26?
CREATE TABLE table_name_81 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_81 WHERE date = "june 26"
What is the average Redline RPM of engines with engine code M57TUD30, made after 2002?
CREATE TABLE table_name_49 (redline__rpm_ INTEGER, engine_code VARCHAR, year VARCHAR)
SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = "m57tud30" AND year > 2002
Can you tell me the average Total that has the To par of 15?
CREATE TABLE table_name_36 (total INTEGER, to_par VARCHAR)
SELECT AVG(total) FROM table_name_36 WHERE to_par = 15
What type of settlement is футог?
CREATE TABLE table_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = "Футог"
What's the hometown of the player with a college of lsu?
CREATE TABLE table_name_51 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_name_51 WHERE college = "lsu"
What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002?
CREATE TABLE table_name_87 (current_club VARCHAR, height VARCHAR, position VARCHAR)
SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = "pg/sg"
Name the position for european competitions of eurocup regular season
CREATE TABLE table_name_41 (pos VARCHAR, european_competitions VARCHAR)
SELECT pos FROM table_name_41 WHERE european_competitions = "eurocup regular season"
What player was drafted number 10?
CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_75 WHERE pick = 10
How old is the person with the height of m (ft 3⁄4 in)?
CREATE TABLE table_24192031_2 (age VARCHAR, height VARCHAR)
SELECT age FROM table_24192031_2 WHERE height = "m (ft 3⁄4 in)"
What is the earliest year that a team event was included at Vilamoura, Portugal?
CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"
Tell me the sum of Grid for giancarlo fisichella
CREATE TABLE table_name_84 (grid INTEGER, driver VARCHAR)
SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella"
Which Round has a Player of anna chakvetadze?
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_23 WHERE player = "anna chakvetadze"
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)
SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph"
List the name for storms and the number of affected regions for each storm.
CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
SELECT T1.name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id
Where was game 41 held, and how many people attended?
CREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_22883210_7 WHERE game = 41
what was the score of bert yancey
CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_83 WHERE player = "bert yancey"
Who is at rank 13 with 23 total points?
CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)
SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"
What is the nomination title used for the original film, Zwartboek?
CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_title = "zwartboek"
How many launch dates are there for digital transmission?
CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)
SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = "Digital"
What is High Assists, when High Points is "Kobe Bryant (27)", and when High Rebounds is "Pau Gasol (11)"?
CREATE TABLE table_name_13 (high_assists VARCHAR, high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_name_13 WHERE high_points = "kobe bryant (27)" AND high_rebounds = "pau gasol (11)"
What are the names of perpetrators in country "China" or "Japan"?
CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = "China" OR T2.Country = "Japan"
Who scored highest rebounds high points is charlie villanueva (32)
CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (32)"
Name the hdtv for sky famiglia and dar 16:9 for mydeejay
CREATE TABLE table_15887683_10 (hdtv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)
SELECT hdtv FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND dar = "16:9" AND television_service = "myDeejay"
What's the sum of asts for boston college with a rebs over 63?
CREATE TABLE table_name_35 (asts INTEGER, school_country VARCHAR, rebs VARCHAR)
SELECT SUM(asts) FROM table_name_35 WHERE school_country = "boston college" AND rebs > 63
What was Week 14 when Week 13 was Nebraska (8-2)?
CREATE TABLE table_name_37 (week_14_nov_27 VARCHAR, week_13_nov_20 VARCHAR)
SELECT week_14_nov_27 FROM table_name_37 WHERE week_13_nov_20 = "nebraska (8-2)"
WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?
CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)
SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv"
What is the score of the home team aginst Essendon?
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"
What's the mutated of Auvil?
CREATE TABLE table_name_19 (mutated_from VARCHAR, assignee VARCHAR)
SELECT mutated_from FROM table_name_19 WHERE assignee = "auvil"
what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m"
Name the chassis of 147 points and engine of ford cosworth dfx
CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx"
What's the rank when the obese children and adolescent count is 14.2%?
CREATE TABLE table_name_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)
SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = "14.2%"
Which Purpose has a Name of oak?
CREATE TABLE table_name_49 (purpose VARCHAR, name VARCHAR)
SELECT purpose FROM table_name_49 WHERE name = "oak"
What rank for season 1?
CREATE TABLE table_name_28 (rank VARCHAR, season VARCHAR)
SELECT rank FROM table_name_28 WHERE season = 1
Which Score has a December smaller than 14, and a Game of 12?
CREATE TABLE table_name_93 (score VARCHAR, december VARCHAR, game VARCHAR)
SELECT score FROM table_name_93 WHERE december < 14 AND game = 12
What is the location of the church when the church name is Ortnevik Kyrkje?
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR)
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje"
Which country timed at 7:03.91?
CREATE TABLE table_name_55 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_55 WHERE time = "7:03.91"
Name the category for 2013
CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR)
SELECT category FROM table_name_15 WHERE year = "2013"
name the title of the episode that ed sherin directed.
CREATE TABLE table_2618142_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin"
What was the score during week 16?
CREATE TABLE table_name_12 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_12 WHERE week = 16
What's the name of the tournament that Gianni Ocleppo was the runner-up?
CREATE TABLE table_name_80 (tournament_name VARCHAR, runners_up VARCHAR)
SELECT tournament_name FROM table_name_80 WHERE runners_up = "gianni ocleppo"
What date was part number rk80533pz933256 released?
CREATE TABLE table_name_89 (release_date VARCHAR, part_number_s_ VARCHAR)
SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"
What playee has 24.21 as the average?
CREATE TABLE table_name_46 (player VARCHAR, average VARCHAR)
SELECT player FROM table_name_46 WHERE average = "24.21"
What is the record of the game with 18,084 in attendance?
CREATE TABLE table_name_1 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_1 WHERE attendance = "18,084"
Which club, had a home ground of n/a?
CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR)
SELECT club FROM table_name_95 WHERE home_ground = "n/a"
Name the normal with que of 24
CREATE TABLE table_name_62 (normal_total VARCHAR, que VARCHAR)
SELECT normal_total FROM table_name_62 WHERE que = "24"
What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)
SELECT COUNT(interview) FROM table_name_23 WHERE state = "iowa" AND evening_gown < 9.625
What is Distance, when Date is "2008-01-12"?
CREATE TABLE table_name_18 (distance VARCHAR, date VARCHAR)
SELECT distance FROM table_name_18 WHERE date = "2008-01-12"
Who is the shirt sponsor for the team with a head coach of andre schubert and a kitmaker of puma?
CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR)
SELECT shirt_sponsor FROM table_name_48 WHERE kitmaker = "puma" AND head_coach = "andre schubert"
How many different courses offered by Physics department?
CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)
SELECT COUNT(DISTINCT course_id) FROM course WHERE dept_name = 'Physics'
What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?
CREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR)
SELECT pilot FROM table_name_48 WHERE weapon = "35mm fire" AND date = "4 may 1982"
What is the name of the column points against?
CREATE TABLE table_13564637_4 (Id VARCHAR)
SELECT "points" AS _against FROM table_13564637_4 WHERE "points" = "points"
What is the geust with a 0:1 result?
CREATE TABLE table_name_65 (geust VARCHAR, result VARCHAR)
SELECT geust FROM table_name_65 WHERE result = "0:1"
Who were the candidates in the 1922 entry?
CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR)
SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922
What is the smallest bronze with a Silver smaller than 2, and a Gold of 1, and a Nation of western isles, and a Total larger than 6?
CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_37 WHERE silver < 2 AND gold = 1 AND nation = "western isles" AND total > 6
Which Game has a Record of 8–2–0, and Points larger than 16?
CREATE TABLE table_name_43 (game INTEGER, record VARCHAR, points VARCHAR)
SELECT SUM(game) FROM table_name_43 WHERE record = "8–2–0" AND points > 16
What is their record on April 2?
CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_59 WHERE date = "april 2"
Which Overall has a College of florida state, and a Round larger than 2?
CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2
How many games lost associated with under 14 played?
CREATE TABLE table_name_66 (lost VARCHAR, played INTEGER)
SELECT COUNT(lost) FROM table_name_66 WHERE played < 14
Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.
CREATE TABLE professor (prof_high_degree VARCHAR, emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)
SELECT DISTINCT T2.emp_fname, T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Computer Info. Systems'
Which Record has a Date of 23 february 1986?
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_20 WHERE date = "23 february 1986"
What tournament is in Arizona?
CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR)
SELECT tournament FROM table_name_70 WHERE location = "arizona"
What team does Kenny Smith play for?
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_25 WHERE player = "kenny smith"
Which School in Wabash has a Mascot of knights?
CREATE TABLE table_name_96 (school VARCHAR, location VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_96 WHERE location = "wabash" AND mascot = "knights"
What district is incument terry kilgore from?
CREATE TABLE table_13618584_2 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_13618584_2 WHERE incumbent = "Terry Kilgore"
What was the to par score for Mike Weir?
CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_14 WHERE player = "mike weir"
Name the least races for carlin
CREATE TABLE table_24587026_1 (races INTEGER, team VARCHAR)
SELECT MIN(races) FROM table_24587026_1 WHERE team = "Carlin"
What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites?
CREATE TABLE table_name_82 (floors INTEGER, name VARCHAR)
SELECT MIN(floors) FROM table_name_82 WHERE name = "dubai marriott harbour hotel & suites"
Find the states of the colleges that have students in the tryout who played in striker position.
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker'
What are the phones and emails of workshop groups in which services are performed?
CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)
SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
What Outcome happened on a Date that was 20 november 2011?
CREATE TABLE table_name_61 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_61 WHERE date = "20 november 2011"
How few km 2 does the area with Nay Pyi Taw as capital cover?
CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR)
SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"
Which Year has a Nominee of stephen sondheim, and a Category of the best original score?
CREATE TABLE table_name_90 (year VARCHAR, nominee VARCHAR, category VARCHAR)
SELECT year FROM table_name_90 WHERE nominee = "stephen sondheim" AND category = "best original score"
What is the Place of the Player with a To par of –1?
CREATE TABLE table_name_61 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_61 WHERE to_par = "–1"
What was the average for contestants with a swimsuit score of 8.266?
CREATE TABLE table_16390001_2 (average VARCHAR, swimsuit VARCHAR)
SELECT average FROM table_16390001_2 WHERE swimsuit = "8.266"
Name the high assists for yi jianlian , brook lopez (7)
CREATE TABLE table_17322817_6 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_17322817_6 WHERE high_rebounds = "Yi Jianlian , Brook Lopez (7)"
What is Matches, when Year is "2003"?
CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)
SELECT matches FROM table_name_72 WHERE year = "2003"
Which bronze has a Rank of 37?
CREATE TABLE table_name_66 (bronze VARCHAR, rank VARCHAR)
SELECT bronze FROM table_name_66 WHERE rank = "37"
What is the # for worthing high school?
CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR)
SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing"
What is every value for rushing yards per game if the season is 1984?
CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, season VARCHAR)
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE season = "1984"
What was the result of round 2r?
CREATE TABLE table_11326124_3 (outcome VARCHAR, round VARCHAR)
SELECT outcome FROM table_11326124_3 WHERE round = "2R"
What is the final win percentage of the Sault Ste. Marie Greyhounds?
CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR)
SELECT final_win__percentage FROM table_17751942_4 WHERE team = "Sault Ste. Marie Greyhounds"
What is the average number of conversions for the Cardiff Blues with less than 14 tries?
CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 14
What T9 Place Player had a Score of 73-67-74-71=285?
CREATE TABLE table_name_92 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_92 WHERE place = "t9" AND score = 73 - 67 - 74 - 71 = 285
What is the population density where area is 48.67?
CREATE TABLE table_255602_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(pop_density__per_km²_) FROM table_255602_1 WHERE area__km²_ = "48.67"
What is the lowest sex ratio in rural areas?
CREATE TABLE table_10710364_2 (sex_ratio__rural_ INTEGER)
SELECT MIN(sex_ratio__rural_) FROM table_10710364_2
What is the sum of the areas for populations of 542?
CREATE TABLE table_name_66 (area_km_2 INTEGER, population VARCHAR)
SELECT SUM(area_km_2) FROM table_name_66 WHERE population = 542
What is the Age of dorothy Peel as of 1 February 2014 ?
CREATE TABLE table_name_18 (age_as_of_1_february_2014 VARCHAR, name VARCHAR)
SELECT age_as_of_1_february_2014 FROM table_name_18 WHERE name = "dorothy peel"
What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008"
what is the score when the competition is 1995 southeast asian games?
CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games"
Which surface has a Score of 6–4, 6–2?
CREATE TABLE table_name_45 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_45 WHERE score = "6–4, 6–2"
What is the score of game 46
CREATE TABLE table_17058116_7 (score VARCHAR, game VARCHAR)
SELECT score FROM table_17058116_7 WHERE game = 46
Name the finish top 10 being 8
CREATE TABLE table_24119784_1 (finish INTEGER, top_10 VARCHAR)
SELECT MAX(finish) FROM table_24119784_1 WHERE top_10 = 8
How many wins did Canterbury Wizards have?
CREATE TABLE table_25368177_1 (won INTEGER, team VARCHAR)
SELECT MAX(won) FROM table_25368177_1 WHERE team = "Canterbury Wizards"
On songs that have a release date of 6/17/61, a track larger than 20, and a writer of Woody Harris, what is the chart peak?
CREATE TABLE table_name_46 (chart_peak VARCHAR, writer_s_ VARCHAR, release_date VARCHAR, track VARCHAR)
SELECT chart_peak FROM table_name_46 WHERE release_date = "6/17/61" AND track > 20 AND writer_s_ = "woody harris"
Show the prices of the products named "Dining" or "Trading Policy".
CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)
SELECT Product_Price FROM Products WHERE Product_Name = "Dining" OR Product_Name = "Trading Policy"
What is the record of the game with a score of 1 – 5?
CREATE TABLE table_name_39 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_39 WHERE score = "1 – 5"