question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What's the technology when there are no moving parts but yes to toxic materials?
CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)
SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no"
Which station has the frequency of 107.3?
CREATE TABLE table_19131921_1 (station VARCHAR, frequency VARCHAR)
SELECT station FROM table_19131921_1 WHERE frequency = "107.3"
Name the money for the to par of -6
CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR)
SELECT money___£__ FROM table_name_49 WHERE to_par = "-6"
Name the drivetrain for 2ur-fse
CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR)
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "2UR-FSE"
When oslo is 48, what is stavanger?
CREATE TABLE table_19439864_2 (stavanger INTEGER, oslo VARCHAR)
SELECT MIN(stavanger) FROM table_19439864_2 WHERE oslo = 48
When harvey laidman is the director what is the season number?
CREATE TABLE table_26804862_1 (season__number VARCHAR, directed_by VARCHAR)
SELECT season__number FROM table_26804862_1 WHERE directed_by = "Harvey Laidman"
Name the successor for not filled this congress
CREATE TABLE table_225200_4 (successor VARCHAR, date_successor_seated VARCHAR)
SELECT successor FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress"
Who was the opponent for game 30?
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_10 WHERE game = 30
Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?
CREATE TABLE table_name_68 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)
SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"
What is the birthplace and date of pick 4?
CREATE TABLE table_name_47 (birthplace VARCHAR, _date VARCHAR, pick VARCHAR)
SELECT birthplace, _date FROM table_name_47 WHERE pick = 4
In which location did the fight last just 0:31?
CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR)
SELECT location FROM table_name_96 WHERE time = "0:31"
Name the total number of games for w 112-94
CREATE TABLE table_27882867_4 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_27882867_4 WHERE score = "W 112-94"
what is the name of the episode directed by james bobin
CREATE TABLE table_29803475_3 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_29803475_3 WHERE directed_by = "James Bobin"
Name the vacator for resigned february 26, 1836 because of ill health
CREATE TABLE table_225200_4 (vacator VARCHAR, reason_for_change VARCHAR)
SELECT vacator FROM table_225200_4 WHERE reason_for_change = "Resigned February 26, 1836 because of ill health"
Which date had a score of 3-2?
CREATE TABLE table_name_52 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_52 WHERE score = "3-2"
Who is the host on the series aired on 18 January 2012?
CREATE TABLE table_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR)
SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012"
Which team had Christoph John as an outgoing manager?
CREATE TABLE table_name_45 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john"
What are the team colors from Tolono, Illinois?
CREATE TABLE table_29612224_1 (colors VARCHAR, location VARCHAR)
SELECT colors FROM table_29612224_1 WHERE location = "Tolono, Illinois"
what is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa?
CREATE TABLE table_name_5 (grid VARCHAR, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_5 WHERE laps > 0 AND time_retired = "engine" AND driver = "pedro de la rosa"
Who won the bronze medal in Hiroshima?
CREATE TABLE table_name_90 (bronze VARCHAR, location VARCHAR)
SELECT bronze FROM table_name_90 WHERE location = "hiroshima"
What is the pick # for the position de?
CREATE TABLE table_10812938_3 (pick__number VARCHAR, position VARCHAR)
SELECT pick__number FROM table_10812938_3 WHERE position = "DE"
what is the margin of victory for the tournament travelers championship?
CREATE TABLE table_name_30 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_30 WHERE tournament = "travelers championship"
What is the genre name of the film HUNGER ROOF?
CREATE TABLE film_category (category_id VARCHAR, film_id VARCHAR); CREATE TABLE film (film_id VARCHAR, title VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)
SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id = T2.category_id JOIN film AS T3 ON T2.film_id = T3.film_id WHERE T3.title = 'HUNGER ROOF'
What company is known as the producer at the kethanur location?
CREATE TABLE table_name_64 (producer VARCHAR, location VARCHAR)
SELECT producer FROM table_name_64 WHERE location = "kethanur"
How many events total is the Top-5 2, and 4 is the cuts made, and less than 0 wins?
CREATE TABLE table_name_58 (events VARCHAR, wins VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(events) FROM table_name_58 WHERE top_5 = 2 AND cuts_made = 4 AND wins < 0
What is the height of the player from Benetton Treviso, Italy?
CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy"
How many countries do not have an roller coaster longer than 3000?
CREATE TABLE country (country_id VARCHAR, LENGTH INTEGER); CREATE TABLE roller_coaster (country_id VARCHAR, LENGTH INTEGER)
SELECT COUNT(*) FROM country WHERE NOT country_id IN (SELECT country_id FROM roller_coaster WHERE LENGTH > 3000)
What is the location when the status is in service as coaching stock?
CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR)
SELECT location FROM table_1090916_2 WHERE status = "In service as coaching stock"
Which championship had an oppenent of mario ančić in the final?
CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR)
SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančić"
What is Date, when Away Team is "Brentford"?
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_62 WHERE away_team = "brentford"
What is the average crowd to watch Hawthorn as the away team?
CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn"
What shows for Try bonus when the points against are 451?
CREATE TABLE table_name_37 (try_bonus VARCHAR, points_against VARCHAR)
SELECT try_bonus FROM table_name_37 WHERE points_against = "451"
What was the featured in Engine through rounds 10-13?
CREATE TABLE table_name_85 (engine VARCHAR, rounds VARCHAR)
SELECT engine FROM table_name_85 WHERE rounds = "10-13"
How many losses when goals against are more than 17, goal difference is more than 2 and points are more than 5?
CREATE TABLE table_name_21 (losses INTEGER, points VARCHAR, goals_against VARCHAR, goal_difference VARCHAR)
SELECT AVG(losses) FROM table_name_21 WHERE goals_against > 17 AND goal_difference < 2 AND points > 5
Which finalist played in the week of October 21?
CREATE TABLE table_name_38 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_38 WHERE week = "october 21"
A plural abbreviation of pp. is used for what singular word?
CREATE TABLE table_name_82 (singular_word VARCHAR, plural_abbreviation VARCHAR)
SELECT singular_word FROM table_name_82 WHERE plural_abbreviation = "pp."
Which road team has a result of 117-114?
CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_61 WHERE result = "117-114"
Who was the shooter with a score of 686.4?
CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR)
SELECT shooter FROM table_name_59 WHERE score = "686.4"
where title is am/pm callanetics , what are all the copyright information?
CREATE TABLE table_11222744_2 (copyright_information VARCHAR, title VARCHAR)
SELECT copyright_information FROM table_11222744_2 WHERE title = "AM/PM Callanetics"
What is the English title of the film Directed by Jayme Monjardim?
CREATE TABLE table_name_21 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim"
Nme the most cuts made for wins being 0
CREATE TABLE table_1697190_1 (cuts_made INTEGER, wins VARCHAR)
SELECT MAX(cuts_made) FROM table_1697190_1 WHERE wins = 0
What crew chief has an owner name Jack Roush and driver Greg Biffle?
CREATE TABLE table_name_12 (crew_chief VARCHAR, owner_s_ VARCHAR, driver_s_ VARCHAR)
SELECT crew_chief FROM table_name_12 WHERE owner_s_ = "jack roush" AND driver_s_ = "greg biffle"
What was the attendance for july 18?
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_84 WHERE date = "july 18"
Who was the Japan open runner up?
CREATE TABLE table_name_21 (runner_up VARCHAR, tournament VARCHAR)
SELECT runner_up FROM table_name_21 WHERE tournament = "japan open"
What is the total number of grids for peter gethin?
CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR)
SELECT SUM(grid) FROM table_name_58 WHERE driver = "peter gethin"
what is the income class for area 75?
CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR)
SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75
what is the smallest number of laps imre toth has?
CREATE TABLE table_name_23 (laps INTEGER, rider VARCHAR)
SELECT MIN(laps) FROM table_name_23 WHERE rider = "imre toth"
Is there a Position for Notes 53.96?
CREATE TABLE table_name_82 (position VARCHAR, notes VARCHAR)
SELECT position FROM table_name_82 WHERE notes = "53.96"
How many directors were there for series # 431?
CREATE TABLE table_25800134_11 (director VARCHAR, series__number VARCHAR)
SELECT COUNT(director) FROM table_25800134_11 WHERE series__number = 431
Which Place has a Country of australia, and a Score of 70-70-72=212?
CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212
What Japanese show on NHK had average ratings of 9.2%?
CREATE TABLE table_name_26 (japanese_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
SELECT japanese_title FROM table_name_26 WHERE tv_station = "nhk" AND average_ratings = "9.2%"
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?
CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57
What is the original air date of the episode that was written by Rama Stagner?
CREATE TABLE table_27389024_2 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner"
Who has a time of 7:26.85 and notes of sc/d?
CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85"
What was the round when there were 16 winners from the previous round?
CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR)
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "16"
Who was the home team at the game that had a crowd of over 24,520?
CREATE TABLE table_name_80 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_80 WHERE crowd > 24 OFFSET 520
What team had high assists Rafer Alston (5)?
CREATE TABLE table_15872814_7 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_15872814_7 WHERE high_assists = "Rafer Alston (5)"
How long did the trans 1 take when 2:00:40.20 is the total time?
CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR)
SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20"
Which To par has $100 in money played by Vic Ghezzi?
CREATE TABLE table_name_88 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi"
What nationality has a year larger than 2009 with a position of power forward?
CREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward"
What is Drawn, when Points Against is "686"?
CREATE TABLE table_name_34 (drawn VARCHAR, points_against VARCHAR)
SELECT drawn FROM table_name_34 WHERE points_against = "686"
Which female artist has an album named elephant?
CREATE TABLE table_name_48 (female VARCHAR, album VARCHAR)
SELECT female FROM table_name_48 WHERE album = "elephant"
What is the Pick of the Player from Stamford, CT?
CREATE TABLE table_name_25 (pick INTEGER, hometown_school VARCHAR)
SELECT MAX(pick) FROM table_name_25 WHERE hometown_school = "stamford, ct"
what is the earliest year with the best finish t-65?
CREATE TABLE table_name_82 (year INTEGER, best_finish VARCHAR)
SELECT MIN(year) FROM table_name_82 WHERE best_finish = "t-65"
What is the date of the poll with Silbert at 18%?
CREATE TABLE table_name_53 (date VARCHAR, silbert VARCHAR)
SELECT date FROM table_name_53 WHERE silbert = "18%"
What's the rank if the time was 5:54.57 and FB in notes?
CREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR)
SELECT rank FROM table_name_30 WHERE notes = "fb" AND time = "5:54.57"
What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?
CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"
What player is number 6?
CREATE TABLE table_12962773_15 (player VARCHAR, no VARCHAR)
SELECT player FROM table_12962773_15 WHERE no = 6
Which representative was the Ambassador Extraordinary and Plenipotentiary and had a Termination of Mission date September 20, 1996?
CREATE TABLE table_name_83 (representative VARCHAR, title VARCHAR, termination_of_mission VARCHAR)
SELECT representative FROM table_name_83 WHERE title = "ambassador extraordinary and plenipotentiary" AND termination_of_mission = "september 20, 1996"
Find the description and credit for the course QM-261?
CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261'
How many vessels are named aqua jewel?
CREATE TABLE table_name_11 (vessels VARCHAR, ship_name VARCHAR)
SELECT COUNT(vessels) FROM table_name_11 WHERE ship_name = "aqua jewel"
What is the Liscumb when Gauthier is 34?
CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR)
SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34"
When was the general foods pga seniors' championship tournament?
CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"
What genre is Set Max's Hindi programming?
CREATE TABLE table_name_85 (genre VARCHAR, language VARCHAR, network VARCHAR)
SELECT genre FROM table_name_85 WHERE language = "hindi" AND network = "set max"
What nation has a total less than 2, silver of 1 and bronze less than 1?
CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_32 WHERE total < 2 AND bronze < 1 AND silver = 1
What is who-two when you two is ngipelngu?
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)
SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu"
What was the nationality for the player with 33 goals?
CREATE TABLE table_name_65 (nationality VARCHAR, goals VARCHAR)
SELECT nationality FROM table_name_65 WHERE goals = 33
Which stadium has Seongnam Ilhwa Chunma?
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"
What is the highest position for Nelson, with a played entry of more than 24?
CREATE TABLE table_name_10 (position INTEGER, team VARCHAR, played VARCHAR)
SELECT MAX(position) FROM table_name_10 WHERE team = "nelson" AND played > 24
Who's Fourth District has a Second District of bob springstead?
CREATE TABLE table_name_72 (fourth_district VARCHAR, second_district VARCHAR)
SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead"
What is the main color(s) for marlboro?
CREATE TABLE table_name_36 (main_colour_s_ VARCHAR, main_sponsor_s_ VARCHAR)
SELECT main_colour_s_ FROM table_name_36 WHERE main_sponsor_s_ = "marlboro"
Tell me the total number of attendance for week of 16
CREATE TABLE table_name_12 (attendance VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_12 WHERE week = 16
Who was the womens doubles when the mixed doubles is jacco arends selena piek?
CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)
SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek"
What is the average To Par, when Player is "Julius Boros"?
CREATE TABLE table_name_22 (to_par INTEGER, player VARCHAR)
SELECT AVG(to_par) FROM table_name_22 WHERE player = "julius boros"
What is the fa cup apps with 0 league cup goals, and a total of 43 apps?
CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR)
SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43"
In season is 2008–09, how many wins did they have?
CREATE TABLE table_20833768_4 (w__ot_so_ VARCHAR, season VARCHAR)
SELECT w__ot_so_ FROM table_20833768_4 WHERE season = "2008–09"
What is the tyres for the JBW type 2 chassis?
CREATE TABLE table_name_70 (tyres VARCHAR, chassis VARCHAR)
SELECT tyres FROM table_name_70 WHERE chassis = "jbw type 2"
Who played in group 12 when persikutim east kutai played in group 10?
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_10 VARCHAR)
SELECT group_12 FROM table_19523142_5 WHERE group_10 = "Persikutim East Kutai"
Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?
CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR)
SELECT MAX(land_area__km²_) FROM table_name_12 WHERE population_density__per_km²_ > 112.6 AND population__2006_ > 785 AND name = "pinehouse"
Who constructed the Syracuse circuit?
CREATE TABLE table_1140111_5 (constructor VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_1140111_5 WHERE circuit = "Syracuse"
Candidate John Mccain had how many delegates?
CREATE TABLE table_16186152_1 (delegates VARCHAR, candidate VARCHAR)
SELECT delegates FROM table_16186152_1 WHERE candidate = "John McCain"
Tell me the Hindu with Jewish of source: uk 2001 census
CREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)
SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census"
What assists has points of 10?
CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR)
SELECT assists FROM table_name_11 WHERE points = "10"
Which team scored less than 35 points?
CREATE TABLE table_name_78 (team VARCHAR, points INTEGER)
SELECT team FROM table_name_78 WHERE points < 35
Who are all of the candidates in the election featuring james r. domengeaux?
CREATE TABLE table_1342256_18 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342256_18 WHERE incumbent = "James R. Domengeaux"
What was the final score of the game with gerald wallace (14) as the High Rebound?
CREATE TABLE table_17001658_10 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_17001658_10 WHERE high_rebounds = "Gerald Wallace (14)"
What is the median household income in Valley County?
CREATE TABLE table_name_8 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_name_8 WHERE county = "valley"
Name the result for glenn thompson
CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson"
Who was the race 1 winner at the race held at Winton Motor Raceway?
CREATE TABLE table_22905641_2 (race_1_winner VARCHAR, circuit VARCHAR)
SELECT race_1_winner FROM table_22905641_2 WHERE circuit = "Winton Motor Raceway"
How many linkedin have Facebook as the site, with a myspace less than 64?
CREATE TABLE table_name_79 (linkedin VARCHAR, site VARCHAR, myspace VARCHAR)
SELECT COUNT(linkedin) FROM table_name_79 WHERE site = "facebook" AND myspace < 64