question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What date was the Singapore Gross 1999?
CREATE TABLE table_name_18 (date VARCHAR, singapore_gross VARCHAR)
SELECT date FROM table_name_18 WHERE singapore_gross = "1999"
What was the placing of the nation of East Germany?
CREATE TABLE table_name_92 (placings VARCHAR, nation VARCHAR)
SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany"
What is the rank of rider gary johnson, who had a speed of 120.979 mph?
CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR)
SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson"
When south Melbourne was the home team, what was the away team?
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_53 WHERE home_team = "south melbourne"
What are the dimensions of the coin worth ₩200?
CREATE TABLE table_298883_5 (dimensions VARCHAR, value VARCHAR)
SELECT dimensions FROM table_298883_5 WHERE value = "₩200"
What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?
CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)
SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39
What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?
CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0
If Wed Aug 25 is —— no time, what is Sat aug 21?
CREATE TABLE table_26986076_1 (sat_21_aug VARCHAR, wed_25_aug VARCHAR)
SELECT sat_21_aug FROM table_26986076_1 WHERE wed_25_aug = "—— No Time"
What is the 2nd leg of team 2 Far rabat?
CREATE TABLE table_name_92 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "far rabat"
What is the rank of the arch with a length in meters of 75/55?
CREATE TABLE table_name_29 (rank VARCHAR, length___m__ VARCHAR)
SELECT rank FROM table_name_29 WHERE length___m__ = "75/55"
When was the date of appointment for the manager replacing Wim Jansen?
CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen"
What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3?
CREATE TABLE table_name_53 (sensor VARCHAR, sensor_resolution VARCHAR, camera VARCHAR)
SELECT sensor FROM table_name_53 WHERE sensor_resolution = "355x288" AND camera = "naturalpoint trackir 3"
What is the Date for a week higher than 7 with a record of 9–1?
CREATE TABLE table_name_68 (date VARCHAR, week VARCHAR, record VARCHAR)
SELECT date FROM table_name_68 WHERE week > 7 AND record = "9–1"
Name the date for 2004 afc asian cup qualifier
CREATE TABLE table_name_23 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier"
What is the least amount of silver medals a team with less than 0 gold medals has?
CREATE TABLE table_name_68 (silver INTEGER, gold INTEGER)
SELECT MIN(silver) FROM table_name_68 WHERE gold < 0
What was the lowest rank after 2009 with an accolade of 125 best albums of the past 25 years?
CREATE TABLE table_name_79 (rank INTEGER, year VARCHAR, accolade VARCHAR)
SELECT MIN(rank) FROM table_name_79 WHERE year > 2009 AND accolade = "125 best albums of the past 25 years"
What player from the United States had a total of 297?
CREATE TABLE table_name_33 (player VARCHAR, country VARCHAR, total VARCHAR)
SELECT player FROM table_name_33 WHERE country = "united states" AND total = 297
What is the minimum die size for an SM count of exactly 2?
CREATE TABLE table_26040604_1 (die_size__mm_2__ INTEGER, sm_count VARCHAR)
SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2
What was the category of the project name Mighty No. 9?
CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)
SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 9"
What is the candidate for south carolina 3?
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 3"
What were the home team scores when carlton was the home team?
CREATE TABLE table_16388478_2 (home_team VARCHAR)
SELECT home_team AS score FROM table_16388478_2 WHERE home_team = "Carlton"
In the 2010 season what club has 0 goals and more than 0 Apps?
CREATE TABLE table_name_43 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"
What is the methyl red reading for the species that tests positive for indole?
CREATE TABLE table_name_98 (methyl_red VARCHAR, indole VARCHAR)
SELECT methyl_red FROM table_name_98 WHERE indole = "positive"
What is the Voltage for Model Number c3 866?
CREATE TABLE table_name_21 (voltage VARCHAR, model_number VARCHAR)
SELECT voltage FROM table_name_21 WHERE model_number = "c3 866"
Who playes the sport of athletics?
CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR)
SELECT sportsperson FROM table_name_36 WHERE sport = "athletics"
Does daystar television network provide HDTV?
CREATE TABLE table_name_50 (hdtv VARCHAR, television_service VARCHAR)
SELECT hdtv FROM table_name_50 WHERE television_service = "daystar television network"
Tell me the games for total less than 4 for swimming 1968
CREATE TABLE table_name_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR)
SELECT games FROM table_name_87 WHERE total < 4 AND sport = "swimming" AND years = "1968"
Who are the batting partners for the 1997 season?
CREATE TABLE table_1670921_1 (batting_partners VARCHAR, season VARCHAR)
SELECT batting_partners FROM table_1670921_1 WHERE season = "1997"
If the representative is Dave Hall, when was the term limited?
CREATE TABLE table_26131768_4 (term_limited VARCHAR, representative VARCHAR)
SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall"
What is the English name of the country that has Ramallah as its capital?
CREATE TABLE table_name_59 (english_country_name VARCHAR, english_capital_name VARCHAR)
SELECT english_country_name FROM table_name_59 WHERE english_capital_name = "ramallah"
What is the lowest Extras for Chamara Kapugedera, with an E.R. less than 4.59?
CREATE TABLE table_name_50 (extras INTEGER, name VARCHAR, er VARCHAR)
SELECT MIN(extras) FROM table_name_50 WHERE name = "chamara kapugedera" AND er < 4.59
Which fire has dry metal?
CREATE TABLE table_name_24 (fire VARCHAR, metal VARCHAR)
SELECT fire FROM table_name_24 WHERE metal = "dry"
What is the Name listed for the Nickname of Storm?
CREATE TABLE table_name_74 (name VARCHAR, nickname VARCHAR)
SELECT name FROM table_name_74 WHERE nickname = "storm"
Which Series has a Final Placing of 9th, and Podiums of 2?
CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR)
SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "2"
Which song choice was originally performed by Bonnie Tyler?
CREATE TABLE table_name_23 (song_choice VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_name_23 WHERE original_artist = "bonnie tyler"
What is the result/games of Sun 11/28/10 as the date/year?
CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR)
SELECT result_games FROM table_21436373_6 WHERE date_year = "Sun 11/28/10"
Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?
CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)
SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"
How many points did the Cosworth v8 engine get in 1972?
CREATE TABLE table_name_42 (points VARCHAR, year VARCHAR, engine VARCHAR)
SELECT points FROM table_name_42 WHERE year = 1972 AND engine = "cosworth v8"
which is the former pageant in the country where the new pageant is miss bahamas?
CREATE TABLE table_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR)
SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas"
What is the outcome of the match with Roger Federer as the opponent?
CREATE TABLE table_name_89 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_89 WHERE opponent = "roger federer"
What is the Continent that also has the United States listed as a country?
CREATE TABLE table_name_30 (continent VARCHAR, country VARCHAR)
SELECT continent FROM table_name_30 WHERE country = "united states"
Which pilot has a position above 5 and a speed of 118.8km/h?
CREATE TABLE table_name_98 (pilot VARCHAR, position VARCHAR, speed VARCHAR)
SELECT pilot FROM table_name_98 WHERE position > 5 AND speed = "118.8km/h"
Which Points has a Performer of rob burke band and a Draw larger than 1?
CREATE TABLE table_name_32 (points INTEGER, performer VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_32 WHERE performer = "rob burke band" AND draw > 1
What is the time for when cornelio velasquez was the jockey?
CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)
SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez"
How many positions did the player from Spring High School play?
CREATE TABLE table_11677100_4 (position VARCHAR, school VARCHAR)
SELECT COUNT(position) FROM table_11677100_4 WHERE school = "Spring High school"
What country has an ICAO of ENZV?
CREATE TABLE table_name_85 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_85 WHERE icao = "enzv"
Does the s35 model have bluetooth?
CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR)
SELECT bluetooth FROM table_name_31 WHERE model = "s35"
Name the number of time for uab
CREATE TABLE table_26842217_18 (time VARCHAR, visiting_team VARCHAR)
SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team = "UAB"
On what date did Jesse Levine play on a hard surface?
CREATE TABLE table_name_78 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_78 WHERE surface = "hard" AND opponent = "jesse levine"
If the parallel bars is 14.025, what is the total number of gymnasts?
CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = "14.025"
what is 2013 when 2001 is qf and 2011 is 4r?
CREATE TABLE table_name_11 (Id VARCHAR)
SELECT 2013 FROM table_name_11 WHERE 2001 = "qf" AND 2011 = "4r"
Which Type has a Capacity of 10 tons, and a Number of 24-27?
CREATE TABLE table_name_22 (type VARCHAR, capacity VARCHAR, number VARCHAR)
SELECT type FROM table_name_22 WHERE capacity = "10 tons" AND number = "24-27"
WHAT WAS THE RESULT FOR NOVEMBER 29, 2001?
CREATE TABLE table_name_30 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_30 WHERE date = "november 29, 2001"
What is the maximum number of AFC championships?
CREATE TABLE table_1952057_5 (afc_championships INTEGER)
SELECT MAX(afc_championships) FROM table_1952057_5
Which chassis has marlboro brm as the team?
CREATE TABLE table_name_89 (chassis VARCHAR, team VARCHAR)
SELECT chassis FROM table_name_89 WHERE team = "marlboro brm"
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?
CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes"
What is the transfer window with a status of transfer from the country of Wal?
CREATE TABLE table_name_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR)
SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal"
On what day was the attendance that had a Tie value of 40?
CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_84 WHERE tie_no = "40"
What's the fewest number of pages for the title al-jiniral fi matahatihi?
CREATE TABLE table_name_39 (pages INTEGER, title VARCHAR)
SELECT MIN(pages) FROM table_name_39 WHERE title = "al-jiniral fi matahatihi"
Who is the directed by when the production code is 67425?
CREATE TABLE table_2618072_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_2618072_1 WHERE production_code = 67425
How many elected catagories are there for the district with Saxby Chambliss as the incumbent?
CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss"
What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga?
CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR)
SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga"
What is the format for the catalogue number GAD 2014 CD on July 6, 1998?
CREATE TABLE table_name_40 (format VARCHAR, catalogue__number VARCHAR, date VARCHAR)
SELECT format FROM table_name_40 WHERE catalogue__number = "gad 2014 cd" AND date = "july 6, 1998"
How many points for were scored by the team that won exactly 22?
CREATE TABLE table_27293285_6 (points_for VARCHAR, won VARCHAR)
SELECT points_for FROM table_27293285_6 WHERE won = "22"
What is the Title of Elector Giovanni Boccamazza?
CREATE TABLE table_name_16 (title VARCHAR, elector VARCHAR)
SELECT title FROM table_name_16 WHERE elector = "giovanni boccamazza"
What was the film that vadim ilyenko directed?
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR)
SELECT film_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko"
Find the name of the teacher who teaches the largest number of students.
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR)
SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname, T2.lastname ORDER BY COUNT(*) DESC LIMIT 1
What is City of License, when Frequency MHz is less than 102.5?
CREATE TABLE table_name_8 (city_of_license VARCHAR, frequency_mhz INTEGER)
SELECT city_of_license FROM table_name_8 WHERE frequency_mhz < 102.5
What year did they get 4 points with Suzuki?
CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 4
Which Case type has a Cartridge length of 64.77 (2.550)?
CREATE TABLE table_name_57 (case_type VARCHAR, cartridge_length VARCHAR)
SELECT case_type FROM table_name_57 WHERE cartridge_length = "64.77 (2.550)"
Where is the school with state authority that has a roll of more than 157 students?
CREATE TABLE table_name_11 (area VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT area FROM table_name_11 WHERE authority = "state" AND roll > 157
What is the total number of Year, when Result is "Nominated", when Category is "Outstanding Actor in a Musical", and when Award is "Drama Desk Award"?
CREATE TABLE table_name_68 (year VARCHAR, award VARCHAR, result VARCHAR, category VARCHAR)
SELECT COUNT(year) FROM table_name_68 WHERE result = "nominated" AND category = "outstanding actor in a musical" AND award = "drama desk award"
How many civilians died in the conflict that left 178, excluding foreigners, dead?
CREATE TABLE table_name_19 (civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR)
SELECT civilian_deaths FROM table_name_19 WHERE total_deaths__not_including_foreigners_ = "178"
How many colleges did Jon Gott attend?
CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR)
SELECT COUNT(college) FROM table_16575609_5 WHERE player = "Jon Gott"
Name the number for fiji
CREATE TABLE table_18888159_1 (_number VARCHAR, country VARCHAR)
SELECT _number FROM table_18888159_1 WHERE country = "Fiji"
What is Date and Time, when Competition is "Serie A", and when Result is "0-3"?
CREATE TABLE table_name_2 (date_and_time VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date_and_time FROM table_name_2 WHERE competition = "serie a" AND result = "0-3"
What Event used submission (rear naked choke) with 9-4?
CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR)
SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4"
What was the release date for Production Number 8181?
CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
What is the highest pick from Washington?
CREATE TABLE table_name_18 (pick INTEGER, school VARCHAR)
SELECT MAX(pick) FROM table_name_18 WHERE school = "washington"
How many countries are there in total?
CREATE TABLE country (Id VARCHAR)
SELECT COUNT(*) FROM country
Why did the change happened in Massachusetts (2)?
CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)
SELECT reason_for_change FROM table_18563954_3 WHERE state__class_ = "Massachusetts (2)"
Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?
CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT location FROM table_29285076_2 WHERE fastest_lap = "Luke Ellery" AND winning_driver = "Wayne Boyd"
Which original artist had 5 as their order #?
CREATE TABLE table_name_89 (original_artist VARCHAR, order__number VARCHAR)
SELECT original_artist FROM table_name_89 WHERE order__number = 5
Name the callsign for davao mindanao region
CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR)
SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region"
What is the area for a population of 0.58 km?
CREATE TABLE table_name_8 (area__km²_ VARCHAR, pop__km² VARCHAR)
SELECT area__km²_ FROM table_name_8 WHERE pop__km² = 0.58
When finland is the country how many hometowns are there?
CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR)
SELECT COUNT(hometown) FROM table_18626383_2 WHERE country = "Finland"
How much Elevation (m) has a Prominence (m) larger than 2,876?
CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER)
SELECT COUNT(elevation__m_) FROM table_name_18 WHERE prominence__m_ > 2 OFFSET 876
Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11
CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_90 WHERE top_10 < 11 AND top_5 > 2 AND top_25 < 6
What country is Istanbul in?
CREATE TABLE table_name_11 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_11 WHERE city = "istanbul"
Who is the club that has 30 points?
CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR)
SELECT club FROM table_13564637_5 WHERE points = "30"
How many golds for the nation ranked below 5 and over 1 bronze medals?
CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1
What year was the League of malaysian super league, and the Position was 10/14?
CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR, position VARCHAR)
SELECT year FROM table_name_38 WHERE league = "malaysian super league" AND position = "10/14"
What is the production code of the episode written by Cathryn Humphris?
CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_24938621_3 WHERE written_by = "Cathryn Humphris"
What was the survivor count for the episode directed by Gwyneth Horder-Payton?
CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)
SELECT survivor_count FROM table_21304131_2 WHERE directed_by = "Gwyneth Horder-Payton"
Which money has a Country of united states, and a Place of t6?
CREATE TABLE table_name_23 (money___ INTEGER, country VARCHAR, place VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = "united states" AND place = "t6"
What score has grays athletic as the home team?
CREATE TABLE table_name_27 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_27 WHERE home_team = "grays athletic"
What was the original name of the ship 'Ajax'?
CREATE TABLE table_name_58 (renamed VARCHAR, ship VARCHAR)
SELECT renamed FROM table_name_58 WHERE ship = "ajax"
When the Border Conference was held, who was the tournament winner?
CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, conference VARCHAR)
SELECT tournament_winner FROM table_22733636_1 WHERE conference = "Border conference"
What is the average position for tb2l teams promoted champion?
CREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)
SELECT AVG(pos) FROM table_name_79 WHERE league = "tb2l" AND postseason = "promoted champion"
How many laps have a +0.4865 time/retired?
CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865"