answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT year FROM table_name_92 WHERE player = "coenraad breytenbach"
What year did Coenraad Breytenbach have their Int'l Debut?
CREATE TABLE table_name_92 (year VARCHAR, player VARCHAR)
SELECT SUM(issue_price) FROM table_name_29 WHERE year = 2008
What was the issue price in the year 2008?
CREATE TABLE table_name_29 (issue_price INTEGER, year VARCHAR)
SELECT COUNT(rider) FROM table_29218221_2 WHERE tues_31_may = "18' 55.91 124.236mph"
What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph?
CREATE TABLE table_29218221_2 (rider VARCHAR, tues_31_may VARCHAR)
SELECT location FROM table_name_97 WHERE method = "decision" AND opponent = "nikos tsoukalas"
Which location has a method of decision and Nikos Tsoukalas for an opponent?
CREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn"
Which venue has a Away team of hawthorn?
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
SELECT pole_position FROM table_name_87 WHERE race = "belgian grand prix"
What was the pole position for the belgian grand prix?
CREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444"
What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
SELECT attendance FROM table_name_38 WHERE record = "47–63"
How many people attended when the record was broken with 47–63?
CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)
SELECT party FROM table_2668378_18 WHERE incumbent = "Matthew Clay"
What party represents the district with incumbent matthew clay?
CREATE TABLE table_2668378_18 (party VARCHAR, incumbent VARCHAR)
SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger"
Which civil parish is for the townland clooncugger?
CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id
What are the details of the lots which are not used in any transactions?
CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)
SELECT inf_stem FROM table_name_10 WHERE subj_pres = "ou"
What is the infinitive stem that has a subjunctive present of ou?
CREATE TABLE table_name_10 (inf_stem VARCHAR, subj_pres VARCHAR)
SELECT score FROM table_name_6 WHERE competition = "2010 fifa world cup qualification" AND result = "win"
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
CREATE TABLE table_name_6 (score VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date_of_vacancy FROM table_17275810_7 WHERE replaced_by = "Fabio Brini"
Name the date of vacancy for fabio brini
CREATE TABLE table_17275810_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
SELECT player FROM table_name_9 WHERE country = "japan"
Who is the player from Japan?
CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR)
SELECT location_attendance FROM table_27700530_13 WHERE date = "March 9"
What was the location and attendance on March 9?
CREATE TABLE table_27700530_13 (location_attendance VARCHAR, date VARCHAR)
SELECT team FROM table_name_20 WHERE player = "joe deane"
What team does Joe Deane play for?
CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Jose State University" AND t2.year = 2000
How many degrees were conferred in "San Jose State University" in 2000?
CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)
SELECT round_of_32 FROM table_name_31 WHERE _number_of_bids < 2
What Round 32 had a # of bids smaller than 2?
CREATE TABLE table_name_31 (round_of_32 VARCHAR, _number_of_bids INTEGER)
SELECT placement_in_miss_universe FROM table_name_72 WHERE delegate = "janine mari raymundo tugonon"
Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?
CREATE TABLE table_name_72 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
SELECT MIN(pick__number) FROM table_15353123_1
Who was the highest pick
CREATE TABLE table_15353123_1 (pick__number INTEGER)
SELECT COUNT(number_of_issues) FROM table_name_60 WHERE end_month = "oct-80"
What is the total number of Issues has a End month of oct-80?
CREATE TABLE table_name_60 (number_of_issues VARCHAR, end_month VARCHAR)
SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_Senator_VOTE
Find the distinct first names of the students who have class senator votes.
CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_Senator_VOTE VARCHAR)
SELECT license FROM table_19495707_1 WHERE latest_release_date_and_version = "2009-05-25 v 7.61"
Name the license for 2009-05-25 v 7.61
CREATE TABLE table_19495707_1 (license VARCHAR, latest_release_date_and_version VARCHAR)
SELECT AVG(wins) FROM table_name_5 WHERE top_10 < 0
Name the average Wins which has a Top 10 smaller than 0?
CREATE TABLE table_name_5 (wins INTEGER, top_10 INTEGER)
SELECT date FROM table_name_70 WHERE away_team = "west ham united"
On what date was the away team West Ham United?
CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)
SELECT vehicle FROM table_20090682_4 WHERE best_time_of_day = "1:17.17"
which vehicles got best time of day 1:17.17
CREATE TABLE table_20090682_4 (vehicle VARCHAR, best_time_of_day VARCHAR)
SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
What is the grid total when there are 37 laps?
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)
SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56"
Name who wrote the episode that had 7.56 million viewers
CREATE TABLE table_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"
What is Expected End Date, when Trial Start Date is Nov 2007?
CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)
SELECT Room FROM FACULTY WHERE Rank = "Professor" AND Building = "NEB"
Find the rooms of faculties with rank professor who live in building NEB.
CREATE TABLE FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR)
SELECT date FROM table_name_34 WHERE game = 66
What is the date of game 66?
CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR)
SELECT result FROM table_19744915_16 WHERE couple = "Zoe and Matt"
What is Zoe and Matt's result?
CREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)
SELECT play_by_play FROM table_name_15 WHERE year < 1992 AND ice_level_reporters = "mike emrick"
Who did the play-by-play before 1992 with the Ice level reporter Mike Emrick?
CREATE TABLE table_name_15 (play_by_play VARCHAR, year VARCHAR, ice_level_reporters VARCHAR)
SELECT player FROM table_2679061_4 WHERE nhl_team = "Minnesota North Stars"
Which player was drafted by the Minnesota North Stars?
CREATE TABLE table_2679061_4 (player VARCHAR, nhl_team VARCHAR)
SELECT moto2_winner FROM table_26781017_1 WHERE grand_prix = "Shell Advance Malaysian grand_prix"
Who are all the Moto2 winners when the grand prix was Shell Advance Malaysian Grand Prix?
CREATE TABLE table_26781017_1 (moto2_winner VARCHAR, grand_prix VARCHAR)
SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed > 60 INTERSECT SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed < 55
What are the country names, area and population which has both roller coasters with speed higher
CREATE TABLE country (name VARCHAR, area VARCHAR, population VARCHAR, Country_ID VARCHAR); CREATE TABLE roller_coaster (Country_ID VARCHAR, speed INTEGER)
SELECT event FROM table_name_60 WHERE games = "1976 innsbruck"
What were the events in the 1976 Innsbruck Games?
CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR)
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"
What is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"?
CREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)
SELECT season FROM table_name_70 WHERE competition = "champions league"
In which season was there a competition in the Champions League?
CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)
SELECT MIN(year_opened) FROM table_name_52 WHERE main_span_feet = "1,640" AND country = "south korea"
What is the oldest year with a main span feet of 1,640 in South Korea?
CREATE TABLE table_name_52 (year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR)
SELECT mountain_peak FROM table_name_2 WHERE rank = 62
Name the Mountain Peak which has a Rank of 62?
CREATE TABLE table_name_2 (mountain_peak VARCHAR, rank VARCHAR)
SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date = "April 21"
Name the number of high rebounds for april 21
CREATE TABLE table_17621978_11 (high_rebounds VARCHAR, date VARCHAR)
SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984"
How many different production codes does the episode originally aired on October 18, 1984 have?
CREATE TABLE table_2818164_2 (production_code VARCHAR, original_air_date VARCHAR)
SELECT game FROM table_23453931_5 WHERE record = "13–17–9"
Name the game for 13–17–9
CREATE TABLE table_23453931_5 (game VARCHAR, record VARCHAR)
SELECT leading_scorer FROM table_name_51 WHERE home = "clippers"
Who is the leading scorer when they were at home of the Clippers?
CREATE TABLE table_name_51 (leading_scorer VARCHAR, home VARCHAR)
SELECT voice_actor FROM table_26615633_1 WHERE species = "Hedgehog"
who was the voice actor when the species is hedgehog?
CREATE TABLE table_26615633_1 (voice_actor VARCHAR, species VARCHAR)
SELECT MIN(overall) FROM table_name_11 WHERE college = "washington"
What is the lowest overall pick for a player from Washington?
CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)
SELECT score FROM table_name_95 WHERE home = "blazers"
What was the score in the game where the Blazers were the home team?
CREATE TABLE table_name_95 (score VARCHAR, home VARCHAR)
SELECT college_junior_club_team FROM table_2679061_1 WHERE player = "Alfie Turcotte"
what is the college/junior/club team for the player alfie turcotte?
CREATE TABLE table_2679061_1 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT CLASS, COUNT(*) FROM race GROUP BY CLASS
Show the race class and number of races in each class.
CREATE TABLE race (CLASS VARCHAR)
SELECT COUNT(avg) FROM table_name_25 WHERE long = 10
What is the total average for long 10?
CREATE TABLE table_name_25 (avg VARCHAR, long VARCHAR)
SELECT COUNT(company_name) FROM table_1756264_2 WHERE parent__holding__company = "POSTERMOBILE LIMITED"
How many companies have Postermobile Limited as a parent company?
CREATE TABLE table_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR)
SELECT nationality FROM table_name_52 WHERE rank > 6 AND time = "2:14.95"
What shows for nationality when there is a rank larger than 6, and a Time of 2:14.95?
CREATE TABLE table_name_52 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
SELECT Name FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo)
Find the name of scientists who are not assigned to any project.
CREATE TABLE scientists (Name VARCHAR, ssn VARCHAR, scientist VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, ssn VARCHAR, scientist VARCHAR)
SELECT position FROM table_2850912_12 WHERE player = "Allister Brown"
What position does allister brown play.
CREATE TABLE table_2850912_12 (position VARCHAR, player VARCHAR)
SELECT player FROM table_name_26 WHERE original_team = "los angeles kings"
What player originally played for the Los Angeles Kings?
CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR)
SELECT MAX(played) FROM table_name_4 WHERE position < 17 AND goals_for = 63
What is the highest played that has a position less than 17, and 63 as the goals for?
CREATE TABLE table_name_4 (played INTEGER, position VARCHAR, goals_for VARCHAR)
SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko"
What is the overall length with a designation of s-8ko?
CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR)
SELECT circuit FROM table_name_78 WHERE class = "gts"
Name the circuit with class of gts
CREATE TABLE table_name_78 (circuit VARCHAR, class VARCHAR)
SELECT surface FROM table_name_75 WHERE score = "4–6, 6–3, 6–7 (5–7)"
What is the Surface when the score was 4–6, 6–3, 6–7 (5–7)?
CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR)
SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators"
What channel number is Gladiators on
CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR)
SELECT opponents_in_the_final FROM table_name_54 WHERE score_in_the_final = "6–1, 1–6, 4–6"
Who were the opponents in the final in which the score was 6–1, 1–6, 4–6?
CREATE TABLE table_name_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT airdate FROM table_name_30 WHERE adapted_by = "stanley miller" AND title = "“thirteen to centaurus”"
What is the Airdate for the episode titled “thirteen to centaurus” Adapted by stanley miller?
CREATE TABLE table_name_30 (airdate VARCHAR, adapted_by VARCHAR, title VARCHAR)
SELECT written_by FROM table_11411026_2 WHERE us_viewers__millions_ = "19.01"
Who wrote an episode watched by 19.01 million US viewers?
CREATE TABLE table_11411026_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair"
What is the best finish record for Sean O'hair?
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
SELECT live_births_per_year FROM table_18950570_2 WHERE deaths_per_year = "998 000"
How many births per year are there for the period with 998 000 deaths per year?
CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, deaths_per_year VARCHAR)
SELECT MIN(points) FROM table_name_26 WHERE score = "1–4" AND january < 18
Which Points is the lowest one that has a Score of 1–4, and a January smaller than 18?
CREATE TABLE table_name_26 (points INTEGER, score VARCHAR, january VARCHAR)
SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10"
How many sitting Representatives are there in the New York 10 polling area?
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)
SELECT opponent FROM table_name_52 WHERE date = "12/21/1973"
Who did the Hawks play on 12/21/1973?
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(raiders_first_downs) FROM table_name_21 WHERE date = "nov. 2" AND raiders_points > 42
What is the total number of Raiders First Downs, when Date is "Nov. 2", and when Raiders Points is greater than 42?
CREATE TABLE table_name_21 (raiders_first_downs VARCHAR, date VARCHAR, raiders_points VARCHAR)
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia"
What year was taxidermia nominated?
CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)
SELECT att_cmp FROM table_name_21 WHERE gp_gs = "7-1"
Which Att-Cmp has a GP-GS of 7-1?
CREATE TABLE table_name_21 (att_cmp VARCHAR, gp_gs VARCHAR)
SELECT average FROM table_27922491_11 WHERE runs = 313
What is the average for the player with 313 runs?
CREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR)
SELECT SUM(cultural_and_educational_panel) FROM table_name_87 WHERE administrative_panel = 0 AND agricultural_panel < 0
What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0?
CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)
SELECT COUNT(total) FROM table_name_8 WHERE to_par = 4
What is the Total of the Player with a To par of 4?
CREATE TABLE table_name_8 (total VARCHAR, to_par VARCHAR)
SELECT year FROM table_name_88 WHERE score = "5–7, 4–6, 6–3, 1–6"
Which Year has a Score of 5–7, 4–6, 6–3, 1–6?
CREATE TABLE table_name_88 (year VARCHAR, score VARCHAR)
SELECT classroom, COUNT(*) FROM list GROUP BY classroom
Report the number of students in each classroom.
CREATE TABLE list (classroom VARCHAR)
SELECT event FROM table_name_8 WHERE method = "technical decision (split)"
In what event was the technical decision (split) method used?
CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR)
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT season__number FROM table_12419515_5 WHERE directed_by = "Patrick Norris"
Name the season number for the direction of patrick norris
CREATE TABLE table_12419515_5 (season__number VARCHAR, directed_by VARCHAR)
SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24
WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR)
SELECT round_of_16 FROM table_17417383_6 WHERE quarterfinals = "Did not advance" AND event = "Light flyweight"
Name the round 16 for did not advance and light flyweight
CREATE TABLE table_17417383_6 (round_of_16 VARCHAR, quarterfinals VARCHAR, event VARCHAR)
SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE"
What schools are accredited by COE?
CREATE TABLE table_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR)
SELECT torque FROM table_name_60 WHERE power = "ps (kw; hp)@4000" AND model = "xdrive20d"
What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000?
CREATE TABLE table_name_60 (torque VARCHAR, power VARCHAR, model VARCHAR)
SELECT serials_issued FROM table_name_60 WHERE serial_format = "abc-123" AND issued = "1982"
What is the serials issued in 1982 with a format of ABC-123?
CREATE TABLE table_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR)
SELECT pole_position FROM table_name_69 WHERE race = "french grand prix"
Who had Pole position for the French Grand Prix?
CREATE TABLE table_name_69 (pole_position VARCHAR, race VARCHAR)
SELECT arena FROM table_name_84 WHERE points = "65"
What is the Arena when there were 65 points?
CREATE TABLE table_name_84 (arena VARCHAR, points VARCHAR)
SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea"
What is home team Chelsea's Tie no?
CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)
SELECT Player FROM match_season WHERE College = "UCLA"
Show the players from college UCLA.
CREATE TABLE match_season (Player VARCHAR, College VARCHAR)
SELECT record FROM table_name_30 WHERE date = "oct 19"
What is Record, when Date is Oct 19?
CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR)
SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin"
Which player was drafted higher than 374 and went to the school Stephen F. Austin?
CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR)
SELECT fastest_lap FROM table_29690363_3 WHERE pole_position = "Stefan Wilson"
Who had the fastest lap(s) when stefan wilson had the pole?
CREATE TABLE table_29690363_3 (fastest_lap VARCHAR, pole_position VARCHAR)
SELECT judges FROM table_26375386_23 WHERE result = "Eliminated"
How many judges were there for the eliminated couple?
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR)
SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"
How many candidates won the election of john n. sandlin?
CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)
SELECT extra FROM table_name_80 WHERE year = 2002 AND result = "8th"
What event (Extra) in 2002 did the competitor compete in and place 8th?
CREATE TABLE table_name_80 (extra VARCHAR, year VARCHAR, result VARCHAR)
SELECT MIN(rank) FROM table_name_82 WHERE 2011 < 80.7 AND 2012 < 73.1
The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what?
CREATE TABLE table_name_82 (rank INTEGER)
SELECT viewers FROM table_24399615_10 WHERE cable_rank = "5"
List the number of viewers when the cable rank for Russell Howard's Good New was 5.
CREATE TABLE table_24399615_10 (viewers VARCHAR, cable_rank VARCHAR)
SELECT pole_position FROM table_1140078_2 WHERE race = "Belgian Grand Prix"
What is the pole position of the belgian grand prix?
CREATE TABLE table_1140078_2 (pole_position VARCHAR, race VARCHAR)
SELECT class FROM table_name_76 WHERE frequency_mhz = 107.5
Which Class has a Frequency MHz of 107.5?
CREATE TABLE table_name_76 (class VARCHAR, frequency_mhz VARCHAR)