question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the Series with Production Number of 95, br 1254?
CREATE TABLE table_name_2 (series VARCHAR, production_number VARCHAR)
SELECT series FROM table_name_2 WHERE production_number = "95, br 1254"
What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?
CREATE TABLE table_name_87 (bush_number INTEGER, bush_percentage VARCHAR, total VARCHAR)
SELECT MAX(bush_number) FROM table_name_87 WHERE bush_percentage = "32.40%" AND total < 5 OFFSET 126
What's the name of the title for the Maserati A6GCS?
CREATE TABLE table_name_81 (race_title VARCHAR, vehicle VARCHAR)
SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs"
How many losses did the team with 0 wins and more than 72 runs allowed have?
CREATE TABLE table_name_1 (losses INTEGER, wins VARCHAR, runs_allowed VARCHAR)
SELECT SUM(losses) FROM table_name_1 WHERE wins = 0 AND runs_allowed > 72
Which Season has an Agg of 4–1, and an Opponent of rapid wien?
CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien"
How many weeks had an attendance of 60038?
CREATE TABLE table_16729071_1 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_16729071_1 WHERE attendance = 60038
What is the Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed?
CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)
SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = "australian silky terrier"
Who won the womens doubles in 2002?
CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, season VARCHAR)
SELECT womens_doubles FROM table_12194021_1 WHERE season = 2002
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8
when was the ship completed when laid down is 21 august 1925?
CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR)
SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925"
What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?
CREATE TABLE table_name_25 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
SELECT title FROM table_name_25 WHERE rank > 11 AND worldwide_gross = "$131,002,597"
When John Senden was the runner-up, what was the To Par?
CREATE TABLE table_name_76 (to_par VARCHAR, runner_s__up VARCHAR)
SELECT to_par FROM table_name_76 WHERE runner_s__up = "john senden"
what is the minimum rank
CREATE TABLE table_11174272_1 (rank INTEGER)
SELECT MIN(rank) FROM table_11174272_1
What is the total number of heat for Chinyere Pigot?
CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot"
What label is in download format in the United States?
CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR)
SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download"
What is the time of the match with a win result, more than 2 rounds, and Makoto Ishikawa as the opponent?
CREATE TABLE table_name_74 (time VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)
SELECT time FROM table_name_74 WHERE res = "win" AND round > 2 AND opponent = "makoto ishikawa"
What is the Call sign of the Frequency 106.9 the X?
CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR)
SELECT call_sign FROM table_name_19 WHERE branding = "106.9 the x"
Name the awardees for best special effects
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects"
Which To par has a Place in t9 and a Country of Spain?
CREATE TABLE table_name_55 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain"
Find the names of the swimmers who have both "win" and "loss" results in the record.
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'
What's year was the genre Adventure?
CREATE TABLE table_name_57 (year VARCHAR, genre VARCHAR)
SELECT year FROM table_name_57 WHERE genre = "adventure"
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17?
CREATE TABLE table_name_8 (squad_no INTEGER, name VARCHAR, league_goals VARCHAR)
SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17
Which position has a Nationality of united states, and a Player of roger powell?
CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
Name the date for chicago
CREATE TABLE table_17355408_4 (date VARCHAR, team VARCHAR)
SELECT date FROM table_17355408_4 WHERE team = "Chicago"
What tie no has Watford as the date?
CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR)
SELECT tie_no FROM table_name_92 WHERE date = "watford"
What is the premiere rating associated with an average of 35 ranked above 1?
CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
Name the number of year for mark martin
CREATE TABLE table_23015396_1 (year VARCHAR, driver VARCHAR)
SELECT COUNT(year) FROM table_23015396_1 WHERE driver = "Mark Martin"
What was the score in the final in 1988?
CREATE TABLE table_2362606_1 (score_in_final VARCHAR, year VARCHAR)
SELECT score_in_final FROM table_2362606_1 WHERE year = 1988
How many ends lost when skip is Kevin Koe and stolen ends are more than 6?
CREATE TABLE table_name_62 (ends_lost VARCHAR, skip VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(ends_lost) FROM table_name_62 WHERE skip = "kevin koe" AND stolen_ends > 6
Which label had a catalog of 54513 in 1988?
CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513"
List the all the scores where the high assis is b. shaw (5)
CREATE TABLE table_17344582_11 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_17344582_11 WHERE high_assists = "B. Shaw (5)"
What is the match report from the game played on 25 april 2009?
CREATE TABLE table_name_4 (match_report VARCHAR, date VARCHAR)
SELECT match_report FROM table_name_4 WHERE date = "25 april 2009"
What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?
CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR)
SELECT MAX(pick) FROM table_name_40 WHERE college = "syracuse" AND overall < 18
On what type of surface did they play on 13 February 1994?
CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_80 WHERE date = "13 february 1994"
Name the gene name for accession number bx897700.1
CREATE TABLE table_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)
SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.1"
Which Finish has a To par of –1, and a Year(s) won of 1955?
CREATE TABLE table_name_61 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_61 WHERE to_par = "–1" AND year_s__won = "1955"
What is the winning span with the rank of 5?
CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE rank = "5"
What is the quantity made of the e-22 class, which has a quantity preserved of 0?
CREATE TABLE table_name_36 (quantity_made VARCHAR, quantity_preserved VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_36 WHERE quantity_preserved = "0" AND class = "e-22"
Who were the Visitor of the Toronto Maple Leafs Home game on December 22?
CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22"
Which class Pos has a Team of jml team panoz?
CREATE TABLE table_name_71 (class VARCHAR, team VARCHAR)
SELECT class AS pos FROM table_name_71 WHERE team = "jml team panoz"
How many club teams had more than 14 people?
CREATE TABLE table_name_52 (club_team_s_ VARCHAR, team_number INTEGER)
SELECT club_team_s_ FROM table_name_52 WHERE team_number > 14
What is the score having a runner-up of Magdalena Maleeva?
CREATE TABLE table_name_45 (score VARCHAR, runner_up VARCHAR)
SELECT score FROM table_name_45 WHERE runner_up = "magdalena maleeva"
Station Ownership of eicb tv, and a Call sign of ktcj-ld is what virtual network?
CREATE TABLE table_name_25 (virtual_channel VARCHAR, station_ownership VARCHAR, call_sign VARCHAR)
SELECT virtual_channel FROM table_name_25 WHERE station_ownership = "eicb tv" AND call_sign = "ktcj-ld"
How many laps have a grid under 14 and a time/retired of out of fuel?
CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"
Which country's city is Sendai?
CREATE TABLE table_name_5 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_5 WHERE city = "sendai"
What is the time/retired for grid 8?
CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_95 WHERE grid = 8
Which tournament has a winning score at –7 (66-72-69-74=281)?
CREATE TABLE table_name_32 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_32 WHERE winning_score = –7(66 - 72 - 69 - 74 = 281)
What Social Democratic has the Democratic and Social Centre of 4.4% 4 seats?
CREATE TABLE table_name_86 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)
SELECT social_democratic FROM table_name_86 WHERE democratic_and_social_centre = "4.4% 4 seats"
What was the score when philadelphia visited?
CREATE TABLE table_name_38 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_38 WHERE visitor = "philadelphia"
What higher harmonics have an NOAA of 8?
CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR)
SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8"
What date was the score 6–7(9), 6–2, (10–7)?
CREATE TABLE table_name_29 (date VARCHAR, score_in_final VARCHAR)
SELECT date FROM table_name_29 WHERE score_in_final = "6–7(9), 6–2, (10–7)"
Name the joined for the wolfpack women's nickname
CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR)
SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack"
What is the combined of Crowd when richmond played at home?
CREATE TABLE table_name_91 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"
Which round was the Spanish Grand Prix?
CREATE TABLE table_1137703_2 (round VARCHAR, grand_prix VARCHAR)
SELECT round FROM table_1137703_2 WHERE grand_prix = "Spanish grand_prix"
What is the lowest number of caps of the fullback player born on 13 April 1983?
CREATE TABLE table_name_56 (caps INTEGER, position VARCHAR, date_of_birth__age_ VARCHAR)
SELECT MIN(caps) FROM table_name_56 WHERE position = "fullback" AND date_of_birth__age_ = "13 april 1983"
What was the margin of victory over Justin Leonard, phillip price?
CREATE TABLE table_11570261_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT COUNT(margin_of_victory) FROM table_11570261_2 WHERE runner_s__up = "Justin Leonard, Phillip Price"
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?
CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"
Which Score has a High assists of whalen (5)?
CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"
When was the record 3-14-6?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE record = "3-14-6"
How many gold when silver is less than 32, bronze is 25, and overall is less than 67?
CREATE TABLE table_name_17 (gold INTEGER, overall VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_17 WHERE silver < 32 AND bronze = 25 AND overall < 67
What is the crowd for away team of north melbourne?
CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne"
What is the Score when the winner was sanyo wild knights, and a Runner-up of suntory sungoliath?
CREATE TABLE table_name_39 (score VARCHAR, winner VARCHAR, runner_up VARCHAR)
SELECT score FROM table_name_39 WHERE winner = "sanyo wild knights" AND runner_up = "suntory sungoliath"
Who is the developer for Windows live messenger?
CREATE TABLE table_18138132_2 (developer VARCHAR, title VARCHAR)
SELECT developer FROM table_18138132_2 WHERE title = "Windows Live Messenger"
Where was the combat of 2009-09-16?
CREATE TABLE table_name_80 (location VARCHAR, circumstances VARCHAR, date VARCHAR)
SELECT location FROM table_name_80 WHERE circumstances = "combat" AND date = "2009-09-16"
What are Scott Zygulski's pick numbers?
CREATE TABLE table_2897457_7 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski"
Which series had a title of Boyhood Daze?
CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_78 WHERE title = "boyhood daze"
Which incumbent's democratic candidate was mike carroll?
CREATE TABLE table_name_21 (incumbent VARCHAR, democratic VARCHAR)
SELECT incumbent FROM table_name_21 WHERE democratic = "mike carroll"
What team has a home city of Velika?
CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR)
SELECT team FROM table_name_74 WHERE home_city = "velika"
What is the average losses for 22 goals?
CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)
SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
What is the grid total for bruce mclaren with over 73 laps?
CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren"
Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?
CREATE TABLE table_100518_1 (direction VARCHAR, mantra VARCHAR)
SELECT direction FROM table_100518_1 WHERE mantra = "Oṃ Yaṃ Vāyuve Namaḥ"
What is the average played for entries with fewer than 65 goals against, points 1 of 19 2, and a position higher than 15?
CREATE TABLE table_name_89 (played INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)
SELECT AVG(played) FROM table_name_89 WHERE position < 15 AND points_1 = "19 2" AND goals_against < 65
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (°c)?
CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR)
SELECT COUNT(t_c__) AS °c_ FROM table_2282444_1 WHERE magnet = "Nd 2 Fe 14 B (bonded)"
How many extra points did Stanfield Wells make?
CREATE TABLE table_25730209_2 (extra_points VARCHAR, player VARCHAR)
SELECT COUNT(extra_points) FROM table_25730209_2 WHERE player = "Stanfield Wells"
What was the lowest pick for the kicker after round 12?
CREATE TABLE table_name_23 (pick INTEGER, round VARCHAR, position VARCHAR)
SELECT MIN(pick) FROM table_name_23 WHERE round > 12 AND position = "kicker"
How many games were played on october 16?
CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_27756014_1 WHERE date = "October 16"
Who won the mens singles in 2009?
CREATE TABLE table_12204717_1 (mens_singles VARCHAR, year VARCHAR)
SELECT mens_singles FROM table_12204717_1 WHERE year = 2009
Which city's ICAO is WADD?
CREATE TABLE table_name_92 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_92 WHERE icao = "wadd"
Which passenger has a position of 21 and less than 49 points?
CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR)
SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49
What is the average number of field goals for players with more than 60 points?
CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER)
SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60
Which Player has a To par of –5, and a Country of england?
CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_5 WHERE to_par = "–5" AND country = "england"
What ethnic group is 65,104 in 1931?
CREATE TABLE table_name_43 (malay_ethnic_group VARCHAR)
SELECT malay_ethnic_group FROM table_name_43 WHERE 1931 = "65,104"
What is the On-air ID of FM broadcaster 4nsa?
CREATE TABLE table_name_54 (on_air_id VARCHAR, band VARCHAR, callsign VARCHAR)
SELECT on_air_id FROM table_name_54 WHERE band = "fm" AND callsign = "4nsa"
What package/option has sky arte hd as the television service?
CREATE TABLE table_name_51 (package_option VARCHAR, television_service VARCHAR)
SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd"
Which Record is on november 16?
CREATE TABLE table_name_51 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_51 WHERE date = "november 16"
Which destination has least number of flights?
CREATE TABLE Flight (destination VARCHAR)
SELECT destination FROM Flight GROUP BY destination ORDER BY COUNT(*) LIMIT 1
What location and it's attendance was the game against the cavaliers?
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_23248910_6 WHERE team = "Cavaliers"
What is the D44 when D43 is R 14?
CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR)
SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14"
What character was the version 5.1 and had a Greek capital letter Archaic Sampi?
CREATE TABLE table_name_21 (character VARCHAR, version VARCHAR, name VARCHAR)
SELECT character FROM table_name_21 WHERE version = 5.1 AND name = "greek capital letter archaic sampi"
What was the original air date for episode number 6?
CREATE TABLE table_1481865_1 (original_air_date VARCHAR, number_of_episode VARCHAR)
SELECT original_air_date FROM table_1481865_1 WHERE number_of_episode = 6
What party has the South Carolina 2 district?
CREATE TABLE table_name_91 (party VARCHAR, district VARCHAR)
SELECT party FROM table_name_91 WHERE district = "south carolina 2"
What was the 2nd leg score of the aggregate score of 4-9?
CREATE TABLE table_name_46 (agg VARCHAR)
SELECT 2 AS nd_leg FROM table_name_46 WHERE agg = "4-9"
What is the decile sum with a roll smaller than 25, and franz josef area?
CREATE TABLE table_name_37 (decile INTEGER, roll VARCHAR, area VARCHAR)
SELECT SUM(decile) FROM table_name_37 WHERE roll < 25 AND area = "franz josef"
Please show the most common age of editors.
CREATE TABLE editor (Age VARCHAR)
SELECT Age FROM editor GROUP BY Age ORDER BY COUNT(*) DESC LIMIT 1
What is the number in the season of the episode with a production code of 2-05?
CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)
SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05"
What is the alternate of the nation with Erkki Lill as the skip?
CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR)
SELECT alternate FROM table_name_55 WHERE skip = "erkki lill"
How many points did William Wasmund have?
CREATE TABLE table_25730326_2 (points VARCHAR, player VARCHAR)
SELECT points FROM table_25730326_2 WHERE player = "William Wasmund"
Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen?
CREATE TABLE table_name_58 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = "mika häkkinen"
What was the result of the game that was attended by 41,650 people?
CREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_56 WHERE attendance = "41,650"
What was the W-L record when HIgh Points was andre miller (30)?
CREATE TABLE table_17323042_11 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_17323042_11 WHERE high_points = "Andre Miller (30)"