question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the record when the game was played at raymond james stadium?
CREATE TABLE table_name_46 (record VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_46 WHERE game_site = "raymond james stadium"
what is the years when the notes is laredo, limited, overland and the engine is 5.7l hemi v8?
CREATE TABLE table_name_51 (years VARCHAR, notes VARCHAR, engine VARCHAR)
SELECT years FROM table_name_51 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"
What is the average year that had a value less than 2,575 in Inglewood?
CREATE TABLE table_name_27 (year INTEGER, inglewood INTEGER)
SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575
What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?
CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR)
SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459
In the game with 31 points, how many goals were conceded?
CREATE TABLE table_18018214_4 (goals_conceded VARCHAR, points VARCHAR)
SELECT COUNT(goals_conceded) FROM table_18018214_4 WHERE points = 31
How did the match end when she played with caroline wozniacki?
CREATE TABLE table_25505246_8 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_25505246_8 WHERE partner = "Caroline Wozniacki"
What is the Time of the Great Britain players with Notes of SA/B?
CREATE TABLE table_name_66 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_66 WHERE notes = "sa/b" AND country = "great britain"
How many people in total have attended games where carlton played as away?
CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "carlton"
What location has kingsmen as the mascot?
CREATE TABLE table_name_48 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_48 WHERE mascot = "kingsmen"
Which team replaced their manager with Serhat Güller?
CREATE TABLE table_27091128_3 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_27091128_3 WHERE replaced_by = "Serhat Güller"
Which Score has a Tie no of 33?
CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_56 WHERE tie_no = "33"
What Venue held the Olympic games in 2012?
CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012
What was the location and attendance of the game against Dallas?
CREATE TABLE table_27723228_11 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_27723228_11 WHERE team = "Dallas"
Which team after 2008, with less than 2 podium finished and more than 0 FLAPS, had the lowest numberof races?
CREATE TABLE table_name_67 (races INTEGER, season VARCHAR, podiums VARCHAR, flaps VARCHAR)
SELECT MIN(races) FROM table_name_67 WHERE podiums < 2 AND flaps > 0 AND season > 2008
What is the Opponent in final with an All England Open Outcome?
CREATE TABLE table_name_58 (opponent_in_the_final VARCHAR, outcome VARCHAR)
SELECT opponent_in_the_final FROM table_name_58 WHERE outcome = "all england open"
What is the fewest lost with a difference of 9 and a less than 3 drawn?
CREATE TABLE table_name_69 (lost INTEGER, difference VARCHAR, drawn VARCHAR)
SELECT MIN(lost) FROM table_name_69 WHERE difference = "9" AND drawn < 3
What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins?
CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7
Who has less than 5 rank and notes of fb?
CREATE TABLE table_name_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT athlete FROM table_name_6 WHERE notes = "fb" AND rank < 5
What is the date of the label Dos or Die Recordings?
CREATE TABLE table_name_9 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_9 WHERE label = "dos or die recordings"
Which Date has a Location of davos, and a Time of 45.7?
CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR)
SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7"
Name the total number of date for 10
CREATE TABLE table_2446333_2 (date VARCHAR, round VARCHAR)
SELECT COUNT(date) FROM table_2446333_2 WHERE round = 10
What 2011 has 2r as 2010, and a 2008 of A?
CREATE TABLE table_name_72 (Id VARCHAR)
SELECT 2011 FROM table_name_72 WHERE 2010 = "2r" AND 2008 = "a"
Name the first elected for lost renomination democratic loss
CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)
SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"
Player of herbert s. graver has what position?
CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_24 WHERE player = "herbert s. graver"
What position did the player from the saskatchewan roughriders (via toronto) play?
CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_name_31 WHERE cfl_team = "saskatchewan roughriders (via toronto)"
What is the Finish on June 1, 2008?
CREATE TABLE table_name_61 (finish VARCHAR, date VARCHAR)
SELECT finish FROM table_name_61 WHERE date = "june 1, 2008"
If the French Open tournament had 2r in 2012, what was it in 2010?
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open"
How many museums were opened after 2013 or before 2008?
CREATE TABLE museum (open_year VARCHAR)
SELECT COUNT(*) FROM museum WHERE open_year > 2013 OR open_year < 2008
Partner Aurelija Misevičiūtė had an outcome of runner-up in what tournament?
CREATE TABLE table_name_82 (tournament VARCHAR, outcome VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND partner = "aurelija misevičiūtė"
What is the release date of part 80525py500512bx80525u500512bx80525u500512e?
CREATE TABLE table_16400024_1 (release_date VARCHAR, part_number_s_ VARCHAR)
SELECT release_date FROM table_16400024_1 WHERE part_number_s_ = "80525PY500512BX80525U500512BX80525U500512E"
What is the release date of a CD with the catalog number ALCA-9206?
CREATE TABLE table_name_87 (date VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_87 WHERE format = "cd" AND catalog = "alca-9206"
what is the episode title on original air date of September 30, 2007?
CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)
SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"
Which Designation has a Manufacturer of siemens, and a Quantity of 52?
CREATE TABLE table_name_56 (designation VARCHAR, manufacturer VARCHAR, quantity VARCHAR)
SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52
What is Place, when Score is less than 70?
CREATE TABLE table_name_44 (place VARCHAR, score INTEGER)
SELECT place FROM table_name_44 WHERE score < 70
What is the date of the Cubs game when the Cubs had a record of 1-0?
CREATE TABLE table_name_2 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_2 WHERE record = "1-0"
Name the number of developed by for solid edge
CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR)
SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = "Solid Edge"
What is the sum of the number of clubs in seasons before 1992 with more than 3 total wins?
CREATE TABLE table_name_30 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR)
SELECT SUM(number_of_clubs) FROM table_name_30 WHERE season < 1992 AND total_wins > 3
What is the score of player brian watts, who has a to par of 5?
CREATE TABLE table_name_5 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_5 WHERE to_par = 5 AND player = "brian watts"
Name the language for trotta
CREATE TABLE table_name_68 (language VARCHAR, original_title VARCHAR)
SELECT language FROM table_name_68 WHERE original_title = "trotta"
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire?
CREATE TABLE table_name_17 (rank VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR)
SELECT rank FROM table_name_17 WHERE cause_of_death = "gunfire" AND badge_serial_number = "11755"
Name the most attendance for october 11
CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_75 WHERE date = "october 11"
What is the country of Paavo Yrjölä?
CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR)
SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä"
what is the team when the high points is by charlie villanueva (24)?
CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)"
When did Minnesota Poll administer their poll?
CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR)
SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll"
What is the release date of Milk and Money?
CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_50 WHERE title = "milk and money"
Which Score has a To par of –1, and a Player of mick soli?
CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_7 WHERE to_par = "–1" AND player = "mick soli"
What 2009 has lq as the 2011?
CREATE TABLE table_name_58 (Id VARCHAR)
SELECT 2009 FROM table_name_58 WHERE 2011 = "lq"
Who is the player who won in 1993?
CREATE TABLE table_name_83 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_83 WHERE year_s__won = "1993"
What was the host for the semi final heat, when Terry Wogan was the National Final main host, and Gaby Roslin was the National Final co-host?
CREATE TABLE table_name_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR)
SELECT semi_final_heat_host FROM table_name_24 WHERE national_final_main_host = "terry wogan" AND national_final_co_host = "gaby roslin"
Name the sum of points for 1984
CREATE TABLE table_name_95 (points INTEGER, year INTEGER)
SELECT SUM(points) FROM table_name_95 WHERE year < 1984
What is the Tracks of the release in Catalog BA 222304 with a Length of 2:57?
CREATE TABLE table_name_20 (tracks VARCHAR, catalog VARCHAR, length VARCHAR)
SELECT tracks FROM table_name_20 WHERE catalog = "ba 222304" AND length = "2:57"
Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?
CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403"
What are the averages for games with 212 wickets taken?
CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR)
SELECT average FROM table_2482547_5 WHERE wickets_taken = 212
What is the most number of truck loads north?
CREATE TABLE table_12791809_1 (number_of_truck_loads_north INTEGER)
SELECT MAX(number_of_truck_loads_north) FROM table_12791809_1
What's the match number where Bill Hoffman plays for Team USA?
CREATE TABLE table_19072602_1 (match_no INTEGER, team_usa VARCHAR)
SELECT MIN(match_no) FROM table_19072602_1 WHERE team_usa = "Bill Hoffman"
Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged"
What is the total number of Raiders First Downs, when Date is "Nov. 2", and when Raiders Points is greater than 42?
CREATE TABLE table_name_21 (raiders_first_downs VARCHAR, date VARCHAR, raiders_points VARCHAR)
SELECT COUNT(raiders_first_downs) FROM table_name_21 WHERE date = "nov. 2" AND raiders_points > 42
If the just ratio is 11:8 and the cents size is 560, what is the interval name?
CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)
SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11:8"
How many lanes was Khadevis Robinson in for heats over 2?
CREATE TABLE table_name_21 (lane VARCHAR, heat VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_21 WHERE heat > 2 AND name = "khadevis robinson"
What grid has a Time/Retired of +5 laps?
CREATE TABLE table_name_34 (grid VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_34 WHERE time_retired = "+5 laps"
What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898?
CREATE TABLE table_name_58 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)
SELECT termination_of_mission FROM table_name_58 WHERE presentation_of_credentials = "july 4, 1898"
Who was the opponent when the fight had a time of 2:01?
CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_71 WHERE time = "2:01"
Which Away team has the Home team of Carlton?
CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_2 WHERE home_team = "carlton"
On January 5 who was the home team?
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "january 5"
how many kana spelling when english is mount fuji
CREATE TABLE table_26263954_1 (kana_spelling VARCHAR, english VARCHAR)
SELECT kana_spelling FROM table_26263954_1 WHERE english = "Mount Fuji"
when was the last performance of the first performance on 11/15/1909
CREATE TABLE table_19189856_1 (last_performance VARCHAR, first_performance VARCHAR)
SELECT last_performance FROM table_19189856_1 WHERE first_performance = "11/15/1909"
Name the tie that has 71 drawn
CREATE TABLE table_name_1 (tied VARCHAR, drawn VARCHAR)
SELECT tied FROM table_name_1 WHERE drawn = "71"
How many episodes in the series are from season 12?
CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12
where catalog number is 81258 , what are all the studio ?
CREATE TABLE table_11222744_2 (studio VARCHAR, catalog_number VARCHAR)
SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258"
What place was the player hailing from Zimbabwe in?
CREATE TABLE table_name_86 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_86 WHERE country = "zimbabwe"
What was the competition when there was no competition for mens doubles?
CREATE TABLE table_15001572_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition"
What score has october 16, 2000 as the date?
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_71 WHERE date = "october 16, 2000"
Which season has the Celtic club?
CREATE TABLE table_name_53 (season VARCHAR, club VARCHAR)
SELECT season FROM table_name_53 WHERE club = "celtic"
What is the appliance at the station in St Neots?
CREATE TABLE table_name_69 (appliances VARCHAR, location VARCHAR)
SELECT appliances FROM table_name_69 WHERE location = "st neots"
What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT 2011 FROM table_name_89 WHERE 2009 = "a" AND 2013 = "4r"
What is the position of the player with a round less than 8 and an overall of 48?
CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR)
SELECT position FROM table_name_81 WHERE round < 8 AND overall = 48
Who directed the TV broadcast s03e19?
CREATE TABLE table_15861776_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan?
CREATE TABLE table_name_95 (bronze INTEGER, nation VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan"
Who are the directors of the episode in series # 54?
CREATE TABLE table_26866233_1 (director VARCHAR, series__number VARCHAR)
SELECT director FROM table_26866233_1 WHERE series__number = 54
What was the result of the 2012 Waff Women's Futsal Championship game the team played against Iraq?
CREATE TABLE table_name_96 (result VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_96 WHERE tournament = "2012 waff women's futsal championship" AND opponent = "iraq"
What is the position when lost is less than 7?
CREATE TABLE table_name_60 (position INTEGER, lost INTEGER)
SELECT AVG(position) FROM table_name_60 WHERE lost < 7
In what Borough is the Anchorage museum of Natural History?
CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR)
SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history"
On June 29, who was the opponent?
CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_96 WHERE date = "june 29"
What is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws?
CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 0
What is the highest ranked nation with 15 silver medals and no more than 47 total?
CREATE TABLE table_name_53 (rank INTEGER, silver VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_53 WHERE silver = 15 AND total < 47
what is the posisiotn where the start is 3?
CREATE TABLE table_1708014_2 (position VARCHAR, starts VARCHAR)
SELECT position FROM table_1708014_2 WHERE starts = 3
Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30?
CREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR)
SELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30
What College/Junior/Club Team (League) has 6 as the Round?
CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 6
Name the high assists for houston
CREATE TABLE table_17288845_9 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_17288845_9 WHERE team = "Houston"
Return the apartment number with the largest number of bedrooms.
CREATE TABLE Apartments (apt_number VARCHAR, bedroom_count VARCHAR)
SELECT apt_number FROM Apartments ORDER BY bedroom_count DESC LIMIT 1
What is the original air date of the episode that was directed by Bruce Seth Green?
CREATE TABLE table_29584044_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_29584044_1 WHERE directed_by = "Bruce Seth Green"
When has a Winning score of –16 (70-65-65=200)?
CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)
What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR)
SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175
What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?
CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR)
SELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55
Show the case burden of counties in descending order of population.
CREATE TABLE county_public_safety (Case_burden VARCHAR, Population VARCHAR)
SELECT Case_burden FROM county_public_safety ORDER BY Population DESC
What was the attendance for the game that has a record of 1-1?
CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_53 WHERE record = "1-1"
Show all artist names and the number of exhibitions for each artist.
CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (artist_id VARCHAR)
SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id
When maker is the model what is the nupowr 167?
CREATE TABLE table_3002894_4 (nupowr_167 VARCHAR, model VARCHAR)
SELECT nupowr_167 FROM table_3002894_4 WHERE model = "Maker"
How much A-League has a Pre-Season larger than 0?
CREATE TABLE table_name_85 (a_league VARCHAR, pre_season INTEGER)
SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 0
What is the weight of the player from the Philadelphia 76ers?
CREATE TABLE table_name_53 (weight VARCHAR, team VARCHAR)
SELECT COUNT(weight) FROM table_name_53 WHERE team = "philadelphia 76ers"