answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT MIN(silver) FROM table_name_90 WHERE gold > 1 AND bronze > 6
What is the number of silver medals when there are more than 1 gold, and more than 6 bronze?
CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8"
Which controller has an interface of pcie 2.0 × 8?
CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR)
SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2"
What is the Region of the release with Catalog number 3 12046 2?
CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)
SELECT winningteam FROM table_name_76 WHERE losingteam = "newcastle breakers"
Which team beat the Newcastle Breakers?
CREATE TABLE table_name_76 (winningteam VARCHAR, losingteam VARCHAR)
SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder"
Who is the kitmaker for the team that Uwe Rapolder is the head coach of.
CREATE TABLE table_name_84 (kitmaker VARCHAR, head_coach VARCHAR)
SELECT MAX(rank) FROM table_name_90 WHERE location = "kinshasa, dr congo" AND current_seating_capacity < 80 OFFSET 000
What is the highest Rank, when Location is Kinshasa, DR Congo, and when Current Seating Capacity is less than 80,000?
CREATE TABLE table_name_90 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)
SELECT country FROM table_name_15 WHERE to_par = "+3" AND player = "ed sneed"
What is the country of player ed sneed with a to par of +3?
CREATE TABLE table_name_15 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT launched FROM table_13537940_1 WHERE name = "Driade"
Which launch date involved the Driade?
CREATE TABLE table_13537940_1 (launched VARCHAR, name VARCHAR)
SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)"
What is the 1st round with fc nantes (d1) as team 1?
CREATE TABLE table_name_25 (team_1 VARCHAR)
SELECT player FROM table_name_40 WHERE college = "arizona state"
Who is the player from Arizona State?
CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)
SELECT home_team FROM table_name_15 WHERE venue = "corio oval"
What was the home team that played at Corio Oval?
CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)
SELECT SUM(wins) FROM table_name_42 WHERE played < 5
What is the sum of Wins, when Played is less than 5?
CREATE TABLE table_name_42 (wins INTEGER, played INTEGER)
SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe"
What's the to par for Jim Thorpe in T5 Place?
CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT sodium FROM table_name_66 WHERE potassium = "lii (1.5)"
what is the properties of sodium when potassium is lii (1.5)?
CREATE TABLE table_name_66 (sodium VARCHAR, potassium VARCHAR)
SELECT series FROM table_25794532_1 WHERE points = "68"
Name the series for 68
CREATE TABLE table_25794532_1 (series VARCHAR, points VARCHAR)
SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_millions_ = "6.9"
Name the broadcast date of 6.9 million viewers
CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = "3x17"
Which Height Metres / feet has a Rank of 8, and Floors of 3x17?
CREATE TABLE table_name_18 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR)
SELECT frequency FROM table_name_82 WHERE destination = "bangalore"
What is the frequency of the train to Bangalore?
CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR)
SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 103
In which game did the opponent score more than 103 and the record was 1-3?
CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR)
SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston"
On how many different dates was a game against Houston played?
CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR)
SELECT open_cup FROM table_name_61 WHERE playoffs = "conference semifinal" AND year = 2012
In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference semifinal?
CREATE TABLE table_name_61 (open_cup VARCHAR, playoffs VARCHAR, year VARCHAR)
SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin
For franklin of class aa, which school years does this occur?
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR)
SELECT venue FROM table_name_47 WHERE against = 19
What venue has 19 against?
CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR)
SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc"
What is the frequency of Walterboro, SC?
CREATE TABLE table_name_74 (frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT report FROM table_name_28 WHERE winning_constructor = "maserati" AND name = "monza grand prix"
Name the Report with Winning constructor of maserati, and a Name of monza grand prix?
CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT director FROM table_name_6 WHERE original_title = "turks fruit"
Who directed Turks Fruit?
CREATE TABLE table_name_6 (director VARCHAR, original_title VARCHAR)
SELECT COUNT(location) FROM table_10082596_1 WHERE affiliation = "Private/Presbyterian"
How many of the schools are designated private/Presbyterian?
CREATE TABLE table_10082596_1 (location VARCHAR, affiliation VARCHAR)
SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151
WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?
CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT tournament FROM table_name_20 WHERE date = "july 13, 2008"
Which tournament was held on July 13, 2008?
CREATE TABLE table_name_20 (tournament VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_53 WHERE attendance = "568"
What home team played when there was an attendance of 568?
CREATE TABLE table_name_53 (home_team VARCHAR, attendance VARCHAR)
SELECT builder FROM table_name_67 WHERE ship = "arizona"
What is Builder, when Ship is "Arizona"?
CREATE TABLE table_name_67 (builder VARCHAR, ship VARCHAR)
SELECT winning_score FROM table_name_57 WHERE year = 1956
What is the Winning score in 1956?
CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR)
SELECT since FROM table_name_24 WHERE goals > 3 AND transfer_fee = "£400k"
What is the since year for the player with more than 3 goals and a transfer fee of £400k?
CREATE TABLE table_name_24 (since VARCHAR, goals VARCHAR, transfer_fee VARCHAR)
SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com"
What is the highest frequency from uncionfeypoder.com?
CREATE TABLE table_name_79 (frequency INTEGER, website VARCHAR)
SELECT location FROM table_15346009_1 WHERE tournament = "Outback Steakhouse Pro-Am"
Where was Outback Steakhouse Pro-AM held?
CREATE TABLE table_15346009_1 (location VARCHAR, tournament VARCHAR)
SELECT township FROM table_18600760_19 WHERE land___sqmi__ = "32.222"
what is the name of the townships with 32.222 land
CREATE TABLE table_18600760_19 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT score FROM table_name_32 WHERE venue = "seoul" AND result = "8-0"
What was the score in the venue of Seoul that resulted in 8-0?
CREATE TABLE table_name_32 (score VARCHAR, venue VARCHAR, result VARCHAR)
SELECT COUNT(career_and_other_notes) FROM table_1557974_1 WHERE birthplace = "Nara"
How many wrestlers were born in nara, and have a completed 'career and other notes' section?
CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, birthplace VARCHAR)
SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765"
Which FSB Speed has a Model Number of c7-m 765?
CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR)
SELECT COUNT(university_of_dublin) FROM table_name_45 WHERE labour_panel > 11
What is the total University of Dublin value with a labour panel greater than 11?
CREATE TABLE table_name_45 (university_of_dublin VARCHAR, labour_panel INTEGER)
SELECT manner_of_departure FROM table_name_25 WHERE outgoing_manager = "luis fernando tena"
What is Manner of Departure, when Outgoing Manager is "Luis Fernando Tena"?
CREATE TABLE table_name_25 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553
What is the title of the film with production number 1553, directed by Friz Freleng?
CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)"
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)
SELECT player FROM table_11734041_11 WHERE no_s_ = "3"
Who is the player who's number is 3?
CREATE TABLE table_11734041_11 (player VARCHAR, no_s_ VARCHAR)
SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999"
what is the venue when the competition is friendly on 26 may 1999?
CREATE TABLE table_name_37 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT transliteration FROM table_20354_7 WHERE malayalam_name = "ചിങ്ങം"
Name the transliteration for ചിങ്ങം
CREATE TABLE table_20354_7 (transliteration VARCHAR, malayalam_name VARCHAR)
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228"
When 228 is the lap and chip ganassi racing is the team what is the race time?
CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)
SELECT director FROM table_name_7 WHERE prod_code = "40811-005"
Who directed the episode with production code 40811-005?
CREATE TABLE table_name_7 (director VARCHAR, prod_code VARCHAR)
SELECT AVG(hexadecimal) FROM table_name_2 WHERE decimal > 57
What is the average hexadecimal with a decimal greater than 57?
CREATE TABLE table_name_2 (hexadecimal INTEGER, decimal INTEGER)
SELECT COUNT(longitude) FROM table_name_38 WHERE latitude = 48.930222 AND geo_id < 3806755660
What is the longitude with a latitude of 48.930222 with a Geo ID smaller than 3806755660?
CREATE TABLE table_name_38 (longitude VARCHAR, latitude VARCHAR, geo_id VARCHAR)
SELECT character FROM table_name_63 WHERE german_voice_actor = "dirk fenselau"
What character does German voice actor Dirk Fenselau play?
CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR)
SELECT award FROM table_name_43 WHERE category = "cabello maluco"
What is Award, when Category is Cabello Maluco?
CREATE TABLE table_name_43 (award VARCHAR, category VARCHAR)
SELECT manufacturer FROM table_27913160_3 WHERE driver = "Will Power" AND most_laps_led = "Scott Dixon"
Who manufactured the car driven by Will Power and Scott Dixon had the most laps?
CREATE TABLE table_27913160_3 (manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR)
SELECT AVG(total) FROM table_name_43 WHERE name = "kenwyne jones" AND premier_league > 10
What is the average total of kenwyne jones, who has more than 10 premier leagues?
CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR)
SELECT 2007 FROM table_name_16 WHERE tournament = "us open"
What is the 2007 value of the US Open?
CREATE TABLE table_name_16 (tournament VARCHAR)
SELECT result FROM table_name_46 WHERE director = "veljko bulajić category:articles with hcards" AND original_title = "sarajevski atentat"
What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat?
CREATE TABLE table_name_46 (result VARCHAR, director VARCHAR, original_title VARCHAR)
SELECT time FROM table_name_55 WHERE team = "348cc k4 honda" AND speed = "97.743mph"
What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph?
CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR)
SELECT player, number_of_matches, SOURCE FROM injury_accident WHERE injury <> 'Knee problem'
What are the player name, number of matches, and information source for players who do not suffer from injury of 'Knee problem'?
CREATE TABLE injury_accident (player VARCHAR, number_of_matches VARCHAR, SOURCE VARCHAR, injury VARCHAR)
SELECT number_ & _name FROM table_name_28 WHERE date > 1954
What's the number & name for the date after 1954?
CREATE TABLE table_name_28 (number_ VARCHAR, _name VARCHAR, date INTEGER)
SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performer = "Adebayo Bolaji"
Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester?
CREATE TABLE table_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR)
SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078"
What is the region for Catalog amlh 66078 in stereo lp format?
CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT surface FROM table_name_13 WHERE opponent = "gustavo kuerten"
WHich Surface has an Opponent of gustavo kuerten?
CREATE TABLE table_name_13 (surface VARCHAR, opponent VARCHAR)
SELECT party FROM table_1342256_5 WHERE incumbent = "Clyde T. Ellis"
What party does clyde t. ellis represent?
CREATE TABLE table_1342256_5 (party VARCHAR, incumbent VARCHAR)
SELECT SUM(round) FROM table_name_10 WHERE position = "ls" AND overall > 230
What was the sum of the rounds for the player who had a position of LS and an overall draft pick bigger than 230?
CREATE TABLE table_name_10 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT world_rank_by_arwu_, _2013 FROM table_27484208_1 WHERE members = "University of Tübingen"
What was the world rank by ARWU in 2013 of the University of Tübingen?
CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR)
SELECT nationality FROM table_name_69 WHERE player = "bill robinzine"
What nationality is Bill Robinzine?
CREATE TABLE table_name_69 (nationality VARCHAR, player VARCHAR)
SELECT score FROM table_name_24 WHERE tournament = "tampere , finland"
What is Score, when Tournament is "Tampere , Finland"?
CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR)
SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"
What is the score vs. all when the score vs. Terran is 159?
CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)
SELECT beer FROM table_name_67 WHERE recorded = 4.08
What beer has a record of 4.08?
CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR)
SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa"
What school is in Lagrange, with an IHSAA Class of aaa?
CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR)
SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"
What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari?
CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT title FROM table_2226817_12 WHERE original_air_date = "March 2, 1997"
what is the name of the episode whose premiere was in march 2, 1997?
CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR)
SELECT rank FROM table_name_95 WHERE director_s_ = "maximilian jezo-parovsky"
What Rank is the director of maximilian jezo-parovsky?
CREATE TABLE table_name_95 (rank VARCHAR, director_s_ VARCHAR)
SELECT rank FROM table_name_84 WHERE nationality = "japan"
What is the rank of Japan?
CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR)
SELECT points_for FROM table_13564637_4 WHERE points = "53"
How many points for when the points was 53?
CREATE TABLE table_13564637_4 (points_for VARCHAR, points VARCHAR)
SELECT record FROM table_11406866_2 WHERE result = "L 24-10"
what's the record where result is l 24-10
CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR)
SELECT head_coach FROM table_name_17 WHERE city = "estoril"
Who is the head coach for the club from Estoril?
CREATE TABLE table_name_17 (head_coach VARCHAR, city VARCHAR)
SELECT district FROM table_name_26 WHERE member_senator = "ulysses currie"
What district for ulysses currie?
CREATE TABLE table_name_26 (district VARCHAR, member_senator VARCHAR)
SELECT COUNT(played) FROM table_name_29 WHERE goal_difference > 0 AND club = "valencia cf"
Which Played number had a goal difference of more than 0 when the club was Valencia CF?
CREATE TABLE table_name_29 (played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT episode AS Summary FROM table_2140071_13 WHERE episode = 5
What is the episode summary for episode 5?
CREATE TABLE table_2140071_13 (episode VARCHAR)
SELECT record FROM table_17058226_10 WHERE date = "April 3"
What was the Timberwolves' record on April 3?
CREATE TABLE table_17058226_10 (record VARCHAR, date VARCHAR)
SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS"
What is the target market of the station with call sign KFXS?
CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)
SELECT AVG(labour_panel) FROM table_name_46 WHERE industrial_and_commercial_panel = 9 AND university_of_dublin < 3
Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3?
CREATE TABLE table_name_46 (labour_panel INTEGER, industrial_and_commercial_panel VARCHAR, university_of_dublin VARCHAR)
SELECT MAX(pick__number) FROM table_2508633_6 WHERE college = "Illinois"
Name the most pick number for illinois
CREATE TABLE table_2508633_6 (pick__number INTEGER, college VARCHAR)
SELECT date FROM table_name_18 WHERE home_team = "chester city"
What is Date, when Home Team is "Chester City"?
CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR)
SELECT time_retired FROM table_name_19 WHERE laps = 60 AND grid = 19
What is the time/retired with 60 laps and a grid 19?
CREATE TABLE table_name_19 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET 722
Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?
CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)
SELECT title FROM table_2950964_1 WHERE isbn = "isbn 1-84990-243-7"
What is the title of ISBN 1-84990-243-7?
CREATE TABLE table_2950964_1 (title VARCHAR, isbn VARCHAR)
SELECT SUM(purse___us_) AS $__ FROM table_name_58 WHERE country = "sweden"
What was sweden's purse in USD?
CREATE TABLE table_name_58 (purse___us_ INTEGER, country VARCHAR)
SELECT MAX(series__number) FROM table_25548213_1 WHERE us_viewers__million_ = "5.31"
What is the series number that had 5.31 million viewers?
CREATE TABLE table_25548213_1 (series__number INTEGER, us_viewers__million_ VARCHAR)
SELECT opponent FROM table_name_9 WHERE round = "qf(r)"
Who was the opponent at the qf(r) round?
CREATE TABLE table_name_9 (opponent VARCHAR, round VARCHAR)
SELECT MIN(rd) FROM table_1137718_2 WHERE date = "22 October"
Which rd. occurred on 22 October?
CREATE TABLE table_1137718_2 (rd INTEGER, date VARCHAR)
SELECT losing_bonus FROM table_name_82 WHERE tries_for = "0"
What is the losing bonus associated with 0 tries for?
CREATE TABLE table_name_82 (losing_bonus VARCHAR, tries_for VARCHAR)
SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow"
What is the Round with an Opponent that is torpedo moscow?
CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR)
SELECT home_team AS score FROM table_name_79 WHERE home_team = "collingwood"
What is the home team score when the home team is Collingwood?
CREATE TABLE table_name_79 (home_team VARCHAR)
SELECT date FROM table_name_34 WHERE status = "second test"
What is Date, when Status is Second Test?
CREATE TABLE table_name_34 (date VARCHAR, status VARCHAR)
SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne"
What was the attendance of the North Melbourne's home game?
CREATE TABLE table_name_6 (crowd VARCHAR, home_team VARCHAR)
SELECT coverage FROM table_23915973_1 WHERE power_kw = "25kW"
What is the coverage when power kw is 25kw?
CREATE TABLE table_23915973_1 (coverage VARCHAR, power_kw VARCHAR)
SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10
Name the explanation by rank is 10
CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR)
SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"
How many base pairs are there in the tohamai strain?
CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR)