question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?
CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)
SELECT us_national_average_electric_mix FROM table_16105186_2 WHERE midwest__des_moines_ = "280 g/mi (174 g/km)"
What was the result on october 8, 1961?
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_49 WHERE date = "october 8, 1961"
Which venue had more than 9 goals and a final result of 4-1?
CREATE TABLE table_name_82 (venue VARCHAR, goal VARCHAR, result VARCHAR)
SELECT venue FROM table_name_82 WHERE goal > 9 AND result = "4-1"
Which Bullet diameter has a Name of 11.4mm werndl m/73?
CREATE TABLE table_name_22 (bullet_diameter VARCHAR, name VARCHAR)
SELECT bullet_diameter FROM table_name_22 WHERE name = "11.4mm werndl m/73"
What is the highest standard order for the Transcription based on Pinyin, She Jiang?
CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
SELECT MAX(standard_order) FROM table_name_93 WHERE transcription__based_on_pinyin_ = "she jiang"
Who is the visitor team of the game with Andrew Bogut (21) as the leading scorer?
CREATE TABLE table_name_97 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_97 WHERE leading_scorer = "andrew bogut (21)"
What is the Date with a Venue that is oval?
CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_36 WHERE venue = "oval"
Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53?
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT MIN(1965) FROM table_name_38 WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53
How many picks involved the player Joe Germanese?
CREATE TABLE table_name_59 (pick__number INTEGER, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_59 WHERE player = "joe germanese"
How many networks run on virtual channel 23.4?
CREATE TABLE table_2857352_3 (network VARCHAR, virtual_channel VARCHAR)
SELECT COUNT(network) FROM table_2857352_3 WHERE virtual_channel = "23.4"
Show the average share count of transactions for different investors.
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER)
SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id
Name the score for 7 may 2000
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_18 WHERE date = "7 may 2000"
Who faced Collingwood as an away team?
CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_54 WHERE home_team = "collingwood"
What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?
CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR)
SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard"
Name the score with record of 17-27
CREATE TABLE table_name_6 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_6 WHERE record = "17-27"
What was the score on January 26?
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE date = "january 26"
What is the tyre for the circuit of Prince George, which had Jim Clark as the fastest lap?
CREATE TABLE table_name_82 (tyre VARCHAR, fastest_lap VARCHAR, circuit VARCHAR)
SELECT tyre FROM table_name_82 WHERE fastest_lap = "jim clark" AND circuit = "prince george"
2007 of 1r is involved in what 2001?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 2001 FROM table_name_31 WHERE 2007 = "1r"
Name the score for 26 may 1997
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_4 WHERE date = "26 may 1997"
What is the Original Airdate for the YouTube Hero greg pattillo?
CREATE TABLE table_name_26 (original_airdate VARCHAR, youtube_hero VARCHAR)
SELECT original_airdate FROM table_name_26 WHERE youtube_hero = "greg pattillo"
What is the safari value with a 28.0% internet explorer?
CREATE TABLE table_name_70 (safari VARCHAR, internet_explorer VARCHAR)
SELECT safari FROM table_name_70 WHERE internet_explorer = "28.0%"
What was the venue on October 16, 1996?
CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_13 WHERE date = "october 16, 1996"
What is Cynthia Mobumba's height?
CREATE TABLE table_name_83 (height__ft_ VARCHAR, contestant VARCHAR)
SELECT height__ft_ FROM table_name_83 WHERE contestant = "cynthia mobumba"
Who was the contestant eliminated on episode 8 of RW: Key West season?
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)
SELECT player FROM table_18974269_1 WHERE original_season = "RW: Key West" AND eliminated = "Episode 8"
How many no votes from Alaska in 1998?
CREATE TABLE table_name_31 (no_vote VARCHAR, date VARCHAR, state VARCHAR)
SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska"
What is every value for points if rebounds is 6 and blocks is 0?
CREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 0
How many deaths did eseta cause?
CREATE TABLE table_name_34 (deaths VARCHAR, name VARCHAR)
SELECT deaths FROM table_name_34 WHERE name = "eseta"
Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.
CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000
What is Scotland's winner?
CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR)
SELECT winner FROM table_name_37 WHERE country = "scotland"
How many times is the tournament the masters tournament and the top-10 is less than 2?
CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)
SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2
What is the scientific pitch when the Helmholtz pitch is D?
CREATE TABLE table_name_33 (scientific_pitch VARCHAR, helmholtz_pitch VARCHAR)
SELECT scientific_pitch FROM table_name_33 WHERE helmholtz_pitch = "d"
What is the score of the game that had a visiting team of Edmonton?
CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_93 WHERE visitor = "edmonton"
Which teams were in the 2006-07 season?
CREATE TABLE table_name_41 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_41 WHERE season = "2006-07"
What was the Opponent at Arrowhead Stadium?
CREATE TABLE table_name_97 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_97 WHERE game_site = "arrowhead stadium"
What was the Royal House for the state of Song?
CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR)
SELECT royal_house FROM table_name_54 WHERE state = "song"
When was the Balayan, Batangas campus founded?
CREATE TABLE table_name_41 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_name_41 WHERE location = "balayan, batangas"
When did the Club of western new york flash begin to play?
CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR)
SELECT began_play FROM table_name_50 WHERE club = "western new york flash"
What was the largest crowd when Melbourne was the away team?
CREATE TABLE table_name_37 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_37 WHERE away_team = "melbourne"
How many artists do we have?
CREATE TABLE artist (Id VARCHAR)
SELECT COUNT(*) FROM artist
What is friday day six when monday day two is isnin?
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, monday_day_two VARCHAR)
SELECT friday_day_six FROM table_1277350_7 WHERE monday_day_two = "Isnin"
Which type had an unknown manufacturer?
CREATE TABLE table_name_57 (type VARCHAR, manufacturer VARCHAR)
SELECT type FROM table_name_57 WHERE manufacturer = "unknown"
What is the highest amount of yards when the average is 9.5?
CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)
SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5
what is the typhoid fever number for the year 1934
CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR)
SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1934"
What positions were drafted from Las Vegas, NV?
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV"
What was the cargo value in 2005 for all product carriers?
CREATE TABLE table_name_46 (cargo VARCHAR)
SELECT 2005 FROM table_name_46 WHERE cargo = "all product carriers"
What was the attendance when the VFL played Glenferrie Oval?
CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval"
What is the sum of drawn that has a played more than 12?
CREATE TABLE table_name_9 (drawn VARCHAR, played INTEGER)
SELECT COUNT(drawn) FROM table_name_9 WHERE played > 12
Who was the runner up at the Volvo Masters Andalucia?
CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
Show the most common type code across products.
CREATE TABLE Products (Product_Type_Code VARCHAR)
SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
How many steals for the player who had 121 rebounds?
CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR)
SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121
Which Class has a Facility ID greater than 85076 and a Call Sign of K289au?
CREATE TABLE table_name_19 (class VARCHAR, facility_id VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_19 WHERE facility_id > 85076 AND call_sign = "k289au"
What is the title of the episode with production code 406?
CREATE TABLE table_2453243_5 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2453243_5 WHERE production_code = "406"
What school or club team did the player chosen for the Sacramento Monarchs play for?
CREATE TABLE table_name_94 (school_club_team VARCHAR, wnba_team VARCHAR)
SELECT school_club_team FROM table_name_94 WHERE wnba_team = "sacramento monarchs"
When valora roucek is the contestant how many heights in centimeters are there?
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR)
SELECT COUNT(height__cm_) FROM table_18626383_2 WHERE contestant = "Valora Roucek"
How many games were recorded with Goals for number of 215?
CREATE TABLE table_name_34 (games VARCHAR, goals_for VARCHAR)
SELECT COUNT(games) FROM table_name_34 WHERE goals_for = 215
What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)
SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4
What is every score at the location of Verizon Center and points of 68?
CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68
What is the away team score when the away team is Essendon?
CREATE TABLE table_name_16 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_16 WHERE away_team = "essendon"
What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]?
CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
SELECT two_mora_word FROM table_name_53 WHERE NOT accented_mora = "low tone" AND gloss = "/˩kusuꜜri/ [kɯ̀sɯ́ɽì]"
Who had the high assists on october 6?
CREATE TABLE table_27756474_2 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27756474_2 WHERE date = "October 6"
What was the result of the Award of Drama desk award nominee Tom Hewitt.
CREATE TABLE table_name_37 (result VARCHAR, award VARCHAR, nominee VARCHAR)
SELECT result FROM table_name_37 WHERE award = "drama desk award" AND nominee = "tom hewitt"
How many position does Jim Farmer play in?
CREATE TABLE table_11545282_6 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_11545282_6 WHERE player = "Jim Farmer"
Who wrote the film Jehovah's Witness?
CREATE TABLE table_name_5 (writer_s_ VARCHAR, film VARCHAR)
SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness"
What is the sum of silver values that have bronze values under 4, golds over 2, and a rank of 3?
CREATE TABLE table_name_52 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT SUM(silver) FROM table_name_52 WHERE bronze < 4 AND rank = "3" AND gold > 2
Which class has a power output larger than 700 and a class of 48?
CREATE TABLE table_name_75 (class VARCHAR, power_output__kw_ VARCHAR, number_in_class VARCHAR)
SELECT class FROM table_name_75 WHERE power_output__kw_ > 700 AND number_in_class = 48
What are the cities/towns located in the municipality of Horten?
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR)
SELECT city_town FROM table_157826_1 WHERE municipality = "Horten"
Date for less than 122 countries and a 47% rank?
CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR)
SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47"
Where did St KIlda play their away game?
CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_46 WHERE away_team = "st kilda"
How many times did episode 79 originally air?
CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR)
SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79
Where did the team finish in the season when the playoff result was divisional finals.
CREATE TABLE table_1427998_1 (regular_season VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_1427998_1 WHERE playoffs = "divisional Finals"
What is the Quantity of the engine Model PG-2901?
CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR)
SELECT quantity FROM table_name_65 WHERE model = "pg-2901"
Which venue's home team is geelong?
CREATE TABLE table_name_33 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_33 WHERE home_team = "geelong"
What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter?
CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)
SELECT launch_date__utc_ FROM table_2150068_1 WHERE usage = "ado" AND mass_kg_ = "4" AND diameter_m_ = "3"
What is the Attendance for Opponent Boston Patriots and Week is greater than 14?
CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_1 WHERE opponent = "boston patriots" AND week > 14
Who was the loser against the New York Giants in 2001?
CREATE TABLE table_name_43 (loser VARCHAR, year VARCHAR, winner VARCHAR)
SELECT loser FROM table_name_43 WHERE year = 2001 AND winner = "new york giants"
What year was the comp 33?
CREATE TABLE table_name_99 (year VARCHAR, comp VARCHAR)
SELECT year FROM table_name_99 WHERE comp = "33"
What was the attendance when North Melbourne was the away team?
CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_77 WHERE away_team = "north melbourne"
What's the total number of episodes with the production code 2395113A?
CREATE TABLE table_10953197_4 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_10953197_4 WHERE production_code = "2395113A"
Who was the away team when Brighton & Hove Albion was home?
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
Find the addresses of the course authors who teach the course with name "operating system" or "data structure".
CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR)
SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "operating system" OR T2.course_name = "data structure"
Which team had 1 position?
CREATE TABLE table_name_65 (team VARCHAR, position VARCHAR)
SELECT team FROM table_name_65 WHERE position = 1
What Willingshain is Kirchheim 1,126?
CREATE TABLE table_name_71 (willingshain VARCHAR, kirchheim VARCHAR)
SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126"
What is every date with game 23?
CREATE TABLE table_27902171_5 (date VARCHAR, game VARCHAR)
SELECT date FROM table_27902171_5 WHERE game = 23
Who were the away team in tie number 20?
CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_55 WHERE tie_no = "20"
Name the F. Goals with tries of 0 0 and games of 05 5
CREATE TABLE table_name_18 (tries VARCHAR, games VARCHAR)
SELECT F.goals FROM table_name_18 WHERE tries = "0 0" AND games = "05 5"
What is the highest attendance for the opponents Club Brugge in Venue A?
CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)
SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a"
How many capacities are possible for the 1.6 Duratec model/engine?
CREATE TABLE table_1212189_1 (capacity VARCHAR, model_engine VARCHAR)
SELECT COUNT(capacity) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec"
Find the top 3 wineries with the greatest number of wines made of white color grapes.
CREATE TABLE GRAPES (GRAPE VARCHAR, Color VARCHAR); CREATE TABLE WINE (Winery VARCHAR, GRAPE VARCHAR)
SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE = T2.GRAPE WHERE T1.Color = "White" GROUP BY T2.Winery ORDER BY COUNT(*) DESC LIMIT 3
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 14
What is the Result of the game with 72,949 in attendance?
CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_41 WHERE attendance = "72,949"
Tell me the name for longitude more than 103.8 and latitude of -11.4
CREATE TABLE table_name_80 (name VARCHAR, longitude VARCHAR, latitude VARCHAR)
SELECT name FROM table_name_80 WHERE longitude > 103.8 AND latitude = -11.4
When did the Score of 195 (-21) happen?
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_4 WHERE score = "195 (-21)"
Name the date for attendance 9372
CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_20745759_1 WHERE attendance = 9372
Name the date for 2006
CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR)
SELECT date FROM table_2267857_1 WHERE year = 2006
Which Mascot has a Previous conference of independents, and a Location of akron?
CREATE TABLE table_name_38 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_38 WHERE previous_conference = "independents" AND location = "akron"
Find all the catalog publishers whose name contains "Murray"
CREATE TABLE catalogs (catalog_publisher VARCHAR)
SELECT DISTINCT (catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE "%Murray%"
what are all the u16 2nd viii with u15 3rd iv being bbc
CREATE TABLE table_11318462_5 (u16_2nd_viii VARCHAR, u15_3rd_iv VARCHAR)
SELECT u16_2nd_viii FROM table_11318462_5 WHERE u15_3rd_iv = "BBC"
What is the original name of the song performed in Swedish?
CREATE TABLE table_name_70 (original_name VARCHAR, language VARCHAR)
SELECT original_name FROM table_name_70 WHERE language = "swedish"
What number picked were players from arizona state picked?
CREATE TABLE table_14650373_1 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_14650373_1 WHERE college = "Arizona State"
Total points for a bs automotive entrant?
CREATE TABLE table_name_7 (points VARCHAR, entrant VARCHAR)
SELECT COUNT(points) FROM table_name_7 WHERE entrant = "bs automotive"