question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
who is the person that is part of the belgian vw club that works with frédéric miclotte
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR, co_driver VARCHAR)
SELECT driver FROM table_28046929_2 WHERE entrant = "Belgian VW Club" AND co_driver = "Frédéric Miclotte"
When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #?
CREATE TABLE table_name_82 (rd__number INTEGER, player VARCHAR, pl_gp VARCHAR)
SELECT AVG(rd__number) FROM table_name_82 WHERE player = "steve hazlett" AND pl_gp < 0
Which Country has a FIS Nordic World Ski Championships of 1948, 1950?
CREATE TABLE table_name_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = "1948, 1950"
When there are 3.39 million u.s viewers what is the production code?
CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39"
List all episode air dates where Luiza Possi was the guest fourth judge?
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = "Luiza Possi"
What is the latest after when the player is Steve Stricker?
CREATE TABLE table_24108789_4 (after INTEGER, player VARCHAR)
SELECT MAX(after) FROM table_24108789_4 WHERE player = "Steve Stricker"
Show each premise type and the number of premises in that type.
CREATE TABLE premises (premises_type VARCHAR)
SELECT premises_type, COUNT(*) FROM premises GROUP BY premises_type
Which Venue has an Opposing Team of manchester united, and a Round of 5th round replay?
CREATE TABLE table_name_79 (venue VARCHAR, opposing_team VARCHAR, round VARCHAR)
SELECT venue FROM table_name_79 WHERE opposing_team = "manchester united" AND round = "5th round replay"
Who was the man of the match when the Rockets won by 9 wickets?
CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)
SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets"
What date was the game played at princes park?
CREATE TABLE table_name_8 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_8 WHERE venue = "princes park"
How many introductory phrases were there on David Finkel's guest episode?
CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, guest VARCHAR)
SELECT COUNT(introductory_phrase) FROM table_25691838_8 WHERE guest = "David Finkel"
Where did Geelong play as the away team?
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE away_team = "geelong"
What was the position of the player with 57 goals?
CREATE TABLE table_29483890_1 (position VARCHAR, goals VARCHAR)
SELECT position FROM table_29483890_1 WHERE goals = 57
what was the score of the parallel bars with a floor exercise score more than 9.137, vault more than 9.5 and horizontal bar of 9.225?
CREATE TABLE table_name_87 (parallel_bars INTEGER, vault VARCHAR, floor_exercise VARCHAR, horizontal_bar VARCHAR)
SELECT SUM(parallel_bars) FROM table_name_87 WHERE floor_exercise > 9.137 AND horizontal_bar = 9.225 AND vault > 9.5
What are Tiger Woods' average earnings?
CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods"
What is the IATA code for the city with ICAO code of RCMQ?
CREATE TABLE table_name_98 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_98 WHERE icao = "rcmq"
How many positions did 1972 NHL Draft pick Rene Lambert play?
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"
For the player from Fiji, what was his finish?
CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_83 WHERE country = "fiji"
Which Attendance has an Opponent of perth glory, and a Round of 9?
CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR, round VARCHAR)
SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "perth glory" AND round = "9"
What date were the high assists rondo (5) and the high rebounds rondo (10)?
CREATE TABLE table_name_18 (date VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_18 WHERE high_assists = "rondo (5)" AND high_rebounds = "rondo (10)"
What is the current club with more than 368 apps and a debut year earlier than 1994?
CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)
SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994
What is Identifier, when City of License is Terrace Bay?
CREATE TABLE table_name_26 (identifier VARCHAR, city_of_license VARCHAR)
SELECT identifier FROM table_name_26 WHERE city_of_license = "terrace bay"
What is gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death?
CREATE TABLE table_name_47 (date_of_death VARCHAR, name VARCHAR, cause_of_death VARCHAR, tenure VARCHAR)
SELECT date_of_death FROM table_name_47 WHERE cause_of_death = "gunfire" AND tenure = "6 years" AND name = "maria cecilia rosa"
Who is the required actor when Robert Austin was the actor in the original production?
CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"
Name the venue for 2nd position of year before 2008
CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd"
How much money has Candidate Dennis Kucinich spent?
CREATE TABLE table_name_43 (money_spent VARCHAR, _3q VARCHAR, candidate VARCHAR)
SELECT money_spent, _3q FROM table_name_43 WHERE candidate = "dennis kucinich"
when was the death when the birth was 8 december 1542?
CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR)
SELECT death FROM table_name_45 WHERE birth = "8 december 1542"
What is the event when the class is time trial hc a?
CREATE TABLE table_name_95 (event VARCHAR, class VARCHAR)
SELECT event FROM table_name_95 WHERE class = "time trial hc a"
Which Game has a Series of bruins lead 3–1?
CREATE TABLE table_name_30 (game INTEGER, series VARCHAR)
SELECT SUM(game) FROM table_name_30 WHERE series = "bruins lead 3–1"
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?
CREATE TABLE table_name_52 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR)
SELECT sub_parish__sogn_ FROM table_name_52 WHERE parish__prestegjeld_ = "hafslo parish" AND location_of_the_church = "urnes"
What is the name where the delivered date is 1839/08?
CREATE TABLE table_name_22 (name VARCHAR, delivered VARCHAR)
SELECT name FROM table_name_22 WHERE delivered = "1839/08"
In what year did a Qual of 141.105 with a Start of 25 happen?
CREATE TABLE table_name_69 (year VARCHAR, start VARCHAR, qual VARCHAR)
SELECT year FROM table_name_69 WHERE start = "25" AND qual = "141.105"
What was the record setting time in the team pursuit (8 laps) event?
CREATE TABLE table_name_5 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_5 WHERE event = "team pursuit (8 laps)"
For what tournament was Blaž Kavčič the opponent in the final?
CREATE TABLE table_name_16 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_16 WHERE opponent_in_the_final = "blaž kavčič"
What is Team, when Tries Against is 8?
CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR)
SELECT team FROM table_name_40 WHERE tries_against = "8"
What district is Mac Collins an incumbent in?
CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins"
What is the airport name that has nos listed as the IATA?
CREATE TABLE table_name_78 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_78 WHERE iata = "nos"
Which Record has an Attendance of 24,597?
CREATE TABLE table_name_62 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_62 WHERE attendance = "24,597"
What is the least amount of field goals made by a player?
CREATE TABLE table_14342367_7 (field_goals INTEGER)
SELECT MIN(field_goals) FROM table_14342367_7
Which average Played has a Drawn smaller than 1, and Points larger than 4?
CREATE TABLE table_name_83 (played INTEGER, drawn VARCHAR, points VARCHAR)
SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 4
What is the Tamil Name of the Thaipusam holiday?
CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR)
SELECT tamil_name FROM table_name_96 WHERE english_name = "thaipusam"
What is the date of the game with 36,766 fans?
CREATE TABLE table_name_98 (date VARCHAR, crowd INTEGER)
SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766
Which Location has an Event of king of the cage: flash point?
CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point"
How many teams have been in Topperserien for 8 seasons?
CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR)
SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8
Can you tell me the Venue that has the Away team of south dragons?
CREATE TABLE table_name_98 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_98 WHERE away_team = "south dragons"
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62?
CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands"
How many overalls have E as the position, buddy payne as the name, and a pick less than 5?
CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR)
SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 5
What is the date the high points was by toney douglas (23)?
CREATE TABLE table_27713583_2 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_27713583_2 WHERE high_points = "Toney Douglas (23)"
What is the sum of the Bronze medals when the Gold medals are larger than 0, Silver medals are smaller than 1, and the total is smaller than 1?
CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_62 WHERE gold > 0 AND silver < 1 AND total < 1
What is the first year in the competition?
CREATE TABLE table_19047_2 (year INTEGER)
SELECT MIN(year) FROM table_19047_2
Who was the away team at junction oval?
CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_81 WHERE venue = "junction oval"
What was the airdate of 21 series number?
CREATE TABLE table_11630008_3 (original_air_date VARCHAR, series_no VARCHAR)
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 21
How many attended on mathches against atlanta thrashers
CREATE TABLE table_17360840_4 (attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_17360840_4 WHERE opponent = "Atlanta Thrashers"
How many poles did he have in 2006 with under 2 wins?
CREATE TABLE table_name_57 (poles VARCHAR, season VARCHAR, wins VARCHAR)
SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2
How many spectators attended the game on 11/09/1935?
CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_22 WHERE date = "11/09/1935"
What team has an against more than 8, lost of 7, and the position is 5?
CREATE TABLE table_name_13 (team VARCHAR, position VARCHAR, against VARCHAR, lost VARCHAR)
SELECT team FROM table_name_13 WHERE against > 8 AND lost = 7 AND position = 5
What is the 1991 when 1997 is 18?
CREATE TABLE table_name_26 (Id VARCHAR)
SELECT 1991 FROM table_name_26 WHERE 1997 = "18"
What was the Opponent in the game with a Result of L 24–14?
CREATE TABLE table_name_38 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_38 WHERE result = "l 24–14"
Which college has a nose tackle position?
CREATE TABLE table_name_30 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_30 WHERE position = "nose tackle"
What was their record when they played the stampeders?
CREATE TABLE table_21839208_4 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_21839208_4 WHERE opponent = "Stampeders"
How many letters were given to the organization with a founding date of 1997-12-12?
CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR)
SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12"
What Televote Points had a Final Points score of 2?
CREATE TABLE table_name_43 (televote_points VARCHAR, final_points VARCHAR)
SELECT televote_points FROM table_name_43 WHERE final_points = "2"
What winning team did Jonathan bomarito drive for when jonathan summerton had the fastest lap?
CREATE TABLE table_name_84 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT winning_team FROM table_name_84 WHERE winning_driver = "jonathan bomarito" AND fastest_lap = "jonathan summerton"
What is the result of the game that was played at Detroit Lions?
CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_32 WHERE opponent = "at detroit lions"
What is First Elected, when District is "Minnesota 2"?
CREATE TABLE table_name_16 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_name_16 WHERE district = "minnesota 2"
What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win?
CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, location VARCHAR, result VARCHAR)
SELECT method FROM table_name_33 WHERE location = "auckland, new zealand" AND result = "win" AND opponent = "darren berry"
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "11"
How many countries did Utah Bulwark's owner come from?
CREATE TABLE table_21676617_1 (country_of_owner VARCHAR, horse VARCHAR)
SELECT COUNT(country_of_owner) FROM table_21676617_1 WHERE horse = "Utah Bulwark"
Where was the California bowl played with 30,000 attending?
CREATE TABLE table_name_19 (location VARCHAR, bowl VARCHAR, attendance VARCHAR)
SELECT location FROM table_name_19 WHERE bowl = "california bowl" AND attendance = "30,000"
What are the regions that use English or Dutch?
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Region VARCHAR, Code VARCHAR)
SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" OR T2.Language = "Dutch"
how many party with candidates being charles edward bennett (d) unopposed
CREATE TABLE table_1342013_9 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_1342013_9 WHERE candidates = "Charles Edward Bennett (D) Unopposed"
Name the rank for 14.80 viewers
CREATE TABLE table_211714_2 (rank VARCHAR, viewers__in_millions_ VARCHAR)
SELECT rank FROM table_211714_2 WHERE viewers__in_millions_ = "14.80"
What is the name of the corporation that incorporated on october 15, 1955?
CREATE TABLE table_28367242_1 (corporate_name VARCHAR, incorporation_date__city_ VARCHAR)
SELECT corporate_name FROM table_28367242_1 WHERE incorporation_date__city_ = "October 15, 1955"
What was the date of the game when Atlanta was the home team?
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_81 WHERE home = "atlanta"
What is the result for the year 1999?
CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_56 WHERE year = 1999
What was the date that featured a game against Gold Coast Blaze?
CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_21 WHERE away_team = "gold coast blaze"
How many figures are there for density for Yucheng County?
CREATE TABLE table_2135222_2 (density VARCHAR, english_name VARCHAR)
SELECT COUNT(density) FROM table_2135222_2 WHERE english_name = "Yucheng County"
Which date is associated with the player Wilbert Robinson?
CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)
SELECT date FROM table_name_40 WHERE player = "wilbert robinson"
Who had all of the blocks in 2012?
CREATE TABLE table_13050003_2 (blocks VARCHAR, year VARCHAR)
SELECT blocks FROM table_13050003_2 WHERE year = 2012
How many channels are there in the Greater Tokyo area?
CREATE TABLE table_2638104_1 (channel VARCHAR, broadcast_area VARCHAR)
SELECT COUNT(channel) FROM table_2638104_1 WHERE broadcast_area = "Greater Tokyo"
What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?
CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)
SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery"
When there are 7.4 million viewers how many episodes are there?
CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT COUNT(episode) FROM table_2102945_1 WHERE viewers__in_millions_ = "7.4"
What is the minimum if 40 to 44?
CREATE TABLE table_16457934_5 (Id VARCHAR)
SELECT MIN(40 AS _to_44) FROM table_16457934_5
What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season?
CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10
What is the date of the ship with a tonnage greater than 8,017?
CREATE TABLE table_name_10 (date VARCHAR, tonnage INTEGER)
SELECT date FROM table_name_10 WHERE tonnage > 8 OFFSET 017
What was the crowd size at Junction Oval?
CREATE TABLE table_name_78 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_78 WHERE venue = "junction oval"
Name the high rebounds for td garden 18,624
CREATE TABLE table_22871239_9 (high_rebounds VARCHAR, arena_attendance VARCHAR)
SELECT high_rebounds FROM table_22871239_9 WHERE arena_attendance = "TD Garden 18,624"
what is the date when the format is cd (limited edition steel-box) from united kingdom?
CREATE TABLE table_name_16 (date VARCHAR, format VARCHAR, country VARCHAR)
SELECT date FROM table_name_16 WHERE format = "cd (limited edition steel-box)" AND country = "united kingdom"
What is the lowest number of floors for the number 2 ranked Joyus Housing?
CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR, rank VARCHAR)
SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus housing" AND rank < 2
What is the number of Games for the Maccabi Tel Aviv Team with less than 208 Rebounds?
CREATE TABLE table_name_47 (games INTEGER, team VARCHAR, rebounds VARCHAR)
SELECT AVG(games) FROM table_name_47 WHERE team = "maccabi tel aviv" AND rebounds < 208
What clubs are in the evgrapi shevardnadze stadium?
CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR)
SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium"
What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance?
CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568
Name the indianapolis concerts for paul baker
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, brighton_cast VARCHAR)
SELECT indianapolis_concerts FROM table_17085724_1 WHERE brighton_cast = "Paul Baker"
How many prizes were available when Jenny Shin became the champion?
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR)
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin"
English title of oxygenie of happiness has what release date?
CREATE TABLE table_name_41 (released VARCHAR, english_title VARCHAR)
SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness"
What source has delph as the name?
CREATE TABLE table_name_53 (source VARCHAR, name VARCHAR)
SELECT source FROM table_name_53 WHERE name = "delph"
What district is incumbent sid simpson from?
CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson"
What was the stage of team Once?
CREATE TABLE table_name_49 (stage VARCHAR, trofeo_fast_team VARCHAR)
SELECT stage FROM table_name_49 WHERE trofeo_fast_team = "once"
For the player finishing at +8, what is his nationality?
CREATE TABLE table_name_91 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_91 WHERE to_par = "+8"
What number is the player whose hometown is Tampa, FL?
CREATE TABLE table_29418619_1 (_number VARCHAR, hometown VARCHAR)
SELECT _number FROM table_29418619_1 WHERE hometown = "Tampa, FL"