question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was Melbourne's score as the away team?
CREATE TABLE table_name_17 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_17 WHERE away_team = "melbourne"
What was their record when the attendance at the game was 14489?
CREATE TABLE table_17765264_1 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_17765264_1 WHERE attendance = 14489
Who had the highest rebounds of the game with A. Johnson (6) as the highest assist?
CREATE TABLE table_name_35 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_35 WHERE high_assists = "a. johnson (6)"
What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506?
CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR)
SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = — AND term_[c_] = "1987–1988" AND win_percentage < 0.506
What is the total number for Seve Ballesteros?
CREATE TABLE table_name_24 (total VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_24 WHERE player = "seve ballesteros"
What was the source of an ENG transfer that paid a £1.5m transfer fee?
CREATE TABLE table_name_88 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR)
SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m"
Name who was famous for finished in 9th
CREATE TABLE table_14345690_4 (famous_for VARCHAR, finished VARCHAR)
SELECT famous_for FROM table_14345690_4 WHERE finished = "9th"
Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines?
CREATE TABLE table_name_27 (year INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines"
What is the pick number of the defensive back?
CREATE TABLE table_12165135_1 (overall_pick__number VARCHAR, position VARCHAR)
SELECT COUNT(overall_pick__number) FROM table_12165135_1 WHERE position = "Defensive Back"
What's the title of the episode with production number 103?
CREATE TABLE table_23958944_2 (title VARCHAR, production_number VARCHAR)
SELECT title FROM table_23958944_2 WHERE production_number = 103
Name the number of total votes for # of seats won being 30
CREATE TABLE table_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)
SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 30
Which average time has eithan urbach as a name with a lane bigger than 2?
CREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR)
SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 2
Which classroom has the most students?
CREATE TABLE list (classroom VARCHAR)
SELECT classroom FROM list GROUP BY classroom ORDER BY COUNT(*) DESC LIMIT 1
What are all of the order # where authentic artist is maroon 5
CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR)
SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5"
Name the average grade for şımarık tarkan
CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)
SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan"
What is the Record on July 12?
CREATE TABLE table_name_10 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_10 WHERE date = "july 12"
What is the total number of Wickets with a 26.13 average?
CREATE TABLE table_name_8 (wickets VARCHAR, average VARCHAR)
SELECT COUNT(wickets) FROM table_name_8 WHERE average = 26.13
What was the attendance when Fitzroy played as home team?
CREATE TABLE table_name_2 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy"
What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?
CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)
SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335
At which venue did the game on 28 october 2013 take place?
CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_5 WHERE date = "28 october 2013"
When the home team was geelong, what did the away team score?
CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_98 WHERE home_team = "geelong"
What College/junior/club had a player of United States nationality drafted by the Toronto Maple Leafs?
CREATE TABLE table_name_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team FROM table_name_12 WHERE nhl_team = "toronto maple leafs" AND nationality = "united states"
What is the description of the club named "Tennis Club"?
CREATE TABLE club (clubdesc VARCHAR, clubname VARCHAR)
SELECT clubdesc FROM club WHERE clubname = "Tennis Club"
Which Song has a Year smaller than 1979, and a US Hot 100 of 8?
CREATE TABLE table_name_1 (song VARCHAR, year VARCHAR, us_hot_100 VARCHAR)
SELECT song FROM table_name_1 WHERE year < 1979 AND us_hot_100 = "8"
What are the maximum and minimum age of students with major 600?
CREATE TABLE STUDENT (Age INTEGER, Major VARCHAR)
SELECT MAX(Age), MIN(Age) FROM STUDENT WHERE Major = 600
What was the score on September 1, 1996?
CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_50 WHERE date = "september 1, 1996"
How many gold medals on average were earned by Italy when they held the rank of 4?
CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4
What country has OF-1 Locotenent?
CREATE TABLE table_name_1 (country VARCHAR, of_1 VARCHAR)
SELECT country FROM table_name_1 WHERE of_1 = "locotenent"
What was the high rebounds from the date of April 14?
CREATE TABLE table_name_29 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_29 WHERE date = "april 14"
Who are the players that have attended Stanford?
CREATE TABLE table_16494599_10 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_16494599_10 WHERE school_club_team = "Stanford"
What is the number of floors that have years under 2008 and were named Guinness Tower?
CREATE TABLE table_name_58 (floors VARCHAR, year VARCHAR, name VARCHAR)
SELECT COUNT(floors) FROM table_name_58 WHERE year < 2008 AND name = "guinness tower"
What's the name of the barangay whose area is 3.6787 km² ?
CREATE TABLE table_2004733_2 (barangay VARCHAR, area__in_km_2__ VARCHAR)
SELECT barangay FROM table_2004733_2 WHERE area__in_km_2__ = "3.6787"
What was the record on july 24?
CREATE TABLE table_name_95 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_95 WHERE date = "july 24"
Name the males for language of persons that didn't name their native language
CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR)
SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language"
Which Year has a Finish of 22, and a Team of swan?
CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"
What visitor has Ottawa as a home and a date of April 26?
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26"
hat is the Result F– A when they played against Leeds United?
CREATE TABLE table_name_98 (result_f___a VARCHAR, opponents VARCHAR)
SELECT result_f___a FROM table_name_98 WHERE opponents = "leeds united"
What is the average sales of the journals that have an editor whose work type is 'Photo'?
CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)
SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'
How many games had a score of l 91–95 (ot)?
CREATE TABLE table_name_24 (game VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_name_24 WHERE score = "l 91–95 (ot)"
How many games were played by the player with 127 assists?
CREATE TABLE table_name_61 (games VARCHAR, assists VARCHAR)
SELECT games FROM table_name_61 WHERE assists = "127"
Who was responsible and what was the number for the high rebounds on December 22?
CREATE TABLE table_13812785_5 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_13812785_5 WHERE date = "December 22"
Who was the opponent in London, England in a round less than 2?
CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_62 WHERE location = "london, england" AND round < 2
What is Built, when Works Number is "717"?
CREATE TABLE table_name_42 (built VARCHAR, works_number VARCHAR)
SELECT built FROM table_name_42 WHERE works_number = "717"
What is the score when the date is December 14, 1985?
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_98 WHERE date = "december 14, 1985"
When was the ship launched when the commissioned or completed(*) is 6 june 1864?
CREATE TABLE table_12592074_1 (launched VARCHAR, commissioned_or_completed_ VARCHAR, _ VARCHAR)
SELECT launched FROM table_12592074_1 WHERE commissioned_or_completed_ * _ = "6 June 1864"
Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg?
CREATE TABLE table_name_60 (percent_of_slovenes_1951 VARCHAR, number_of_people_1991 VARCHAR, village__german_ VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_60 WHERE number_of_people_1991 > 8 AND village__german_ = "plöschenberg"
When 15 is the number in season what is the highest number in series?
CREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR)
SELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15
Name the most ceiling temperature for very extra high
CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR)
SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High"
What's the to par of the United States with the score of 71-71=142?
CREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_1 WHERE country = "united states" AND score = 71 - 71 = 142
What is the Postion, when the Name is Rod Paavola?
CREATE TABLE table_name_27 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_27 WHERE name = "rod paavola"
which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )?
CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR)
SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"
What is Jonathan Kaye's money list ranking?
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE player = "Jonathan Kaye"
In how many networks the local name of the franchise was "in sickness and in health"?
CREATE TABLE table_12438767_1 (network VARCHAR, local_name VARCHAR)
SELECT COUNT(network) FROM table_12438767_1 WHERE local_name = "In Sickness and in Health"
Of all the claims, what was the earliest date when any claim was made?
CREATE TABLE Claims (Date_Claim_Made VARCHAR)
SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made LIMIT 1
What was the Zakspeed 1500/4 1.5 l4 t chassis?
CREATE TABLE table_name_42 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_42 WHERE engine = "zakspeed 1500/4 1.5 l4 t"
Name the most pick number for illinois
CREATE TABLE table_2508633_6 (pick__number INTEGER, college VARCHAR)
SELECT MAX(pick__number) FROM table_2508633_6 WHERE college = "Illinois"
What is the Round with a Prize of money that is £120,000?
CREATE TABLE table_name_59 (round VARCHAR, prize_money VARCHAR)
SELECT round FROM table_name_59 WHERE prize_money = "£120,000"
What is the Place of Player with To par of +6 and Score of 78-70-74=222?
CREATE TABLE table_name_79 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_79 WHERE to_par = "+6" AND score = 78 - 70 - 74 = 222
Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25?
CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)
SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25"
How many times did the sounddock series II aux in?
CREATE TABLE table_24384861_1 (aux_in VARCHAR, version VARCHAR)
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE version = "SoundDock series II"
What are the results in the county with Peter Deutsch as a candidate?
CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1341453_11 WHERE incumbent = "Peter Deutsch"
What is the percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%?
CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR)
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE high_hill_zone = "25%"
Which Streak has a Game larger than 49?
CREATE TABLE table_name_56 (streak VARCHAR, game INTEGER)
SELECT streak FROM table_name_56 WHERE game > 49
Who is the position from the school/club Far Eastern?
CREATE TABLE table_name_73 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_73 WHERE school_club_team = "far eastern"
Who received gold when the event is time trial details and silver is simon richardson great britain (gbr)?
CREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)
SELECT gold FROM table_name_2 WHERE event = "time trial details" AND silver = "simon richardson great britain (gbr)"
What Country Scored 66-69=135?
CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135
What is the Rank of the Maccabi Tel Aviv Player with 25 Games?
CREATE TABLE table_name_82 (rank VARCHAR, games VARCHAR, team VARCHAR)
SELECT COUNT(rank) FROM table_name_82 WHERE games = 25 AND team = "maccabi tel aviv"
What was the final score for the match held on April 11, 2007?
CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_68 WHERE date = "april 11, 2007"
What rider is on an aprilia that went under 18 laps with a grid total of 17?
CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)
SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17
For the team with 7 points, how many points were scored against this season?
CREATE TABLE table_21991074_1 (pts_agst VARCHAR, points VARCHAR)
SELECT COUNT(pts_agst) FROM table_21991074_1 WHERE points = 7
What episode took place in Belfast Waterfront Hall?
CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR)
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"
Pick # of 25, and an Overall of 207 has what name?
CREATE TABLE table_name_61 (name VARCHAR, pick__number VARCHAR, overall VARCHAR)
SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207
How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012?
CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR)
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 2
Name the least goals scored with place more than 8 and lost less than 8
CREATE TABLE table_name_36 (goals_scored INTEGER, place VARCHAR, lost VARCHAR)
SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 8
what is the year for player is derrick favors?
CREATE TABLE table_11677760_1 (year VARCHAR, player VARCHAR)
SELECT year FROM table_11677760_1 WHERE player = "Derrick Favors"
Which person whose friends have the oldest average age?
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (age INTEGER, name VARCHAR)
SELECT T2.name, AVG(T1.age) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend GROUP BY T2.name ORDER BY AVG(T1.age) DESC LIMIT 1
What is the rank of Manuel Cortina Martínez?
CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR)
SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez"
What is the number of games for Shlomi Avrahami?
CREATE TABLE table_name_75 (games VARCHAR, name VARCHAR)
SELECT COUNT(games) FROM table_name_75 WHERE name = "shlomi avrahami"
Which Player has a To par of e, and a Country of united states?
CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states"
What was part 2 when part 4 was *blōtanaz?
CREATE TABLE table_name_67 (part_2 VARCHAR, part_4 VARCHAR)
SELECT part_2 FROM table_name_67 WHERE part_4 = "*blōtanaz"
Which Position has a Played larger than 9?
CREATE TABLE table_name_32 (position INTEGER, played INTEGER)
SELECT SUM(position) FROM table_name_32 WHERE played > 9
Tom Lagarde Category:Articles with hCards used what Jersey Number(s)?
CREATE TABLE table_name_22 (jersey_number_s_ VARCHAR, player VARCHAR)
SELECT jersey_number_s_ FROM table_name_22 WHERE player = "tom lagarde category:articles with hcards"
What was Andrew Neill's rank?
CREATE TABLE table_name_57 (rank INTEGER, rider VARCHAR)
SELECT SUM(rank) FROM table_name_57 WHERE rider = "andrew neill"
What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses?
CREATE TABLE table_name_97 (goals_for INTEGER, lost VARCHAR, goals_against VARCHAR, points_1 VARCHAR)
SELECT MAX(goals_for) FROM table_name_97 WHERE goals_against < 63 AND points_1 > 65 AND lost > 10
Name the constituted for labor and scullin ministry
CREATE TABLE table_name_86 (constituted VARCHAR, party VARCHAR, name VARCHAR)
SELECT constituted FROM table_name_86 WHERE party = "labor" AND name = "scullin ministry"
What is the total number of cuts made for events played more than 3 times and under 2 top-25s?
CREATE TABLE table_name_44 (cuts_made VARCHAR, events VARCHAR, top_25 VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_44 WHERE events > 3 AND top_25 < 2
Who is the guest 3 in the show where guest 4 is Jill Douglas?
CREATE TABLE table_20466963_4 (guest_3 VARCHAR, guest_4 VARCHAR)
SELECT guest_3 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"
What's the smallest amount of laps that suzuki ran with a grid value of 8?
CREATE TABLE table_name_26 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_26 WHERE manufacturer = "suzuki" AND grid = 8
The school nicknamed the wildcats has what sum of enrollment?
CREATE TABLE table_name_5 (enrollment INTEGER, team_nickname VARCHAR)
SELECT SUM(enrollment) FROM table_name_5 WHERE team_nickname = "wildcats"
How many Poles have a Bike of honda rc212v, and Podiums smaller than 0?
CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR)
SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 0
What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?
CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)
SELECT region_1__can_ FROM table_240936_2 WHERE region_1__us_ = "January 16, 2007"
What city was the Dick Weber Open in?
CREATE TABLE table_name_22 (city VARCHAR, event VARCHAR)
SELECT city FROM table_name_22 WHERE event = "dick weber open"
Who was replaced as manager on June 20?
CREATE TABLE table_29414946_3 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)
SELECT outgoing_manager FROM table_29414946_3 WHERE date_of_appointment = "June 20"
what are all the people where the entries is peugeot sport polska
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska"
What is the most members Europe had when Australia had 94615?
CREATE TABLE table_1914090_2 (europe INTEGER, australia VARCHAR)
SELECT MAX(europe) FROM table_1914090_2 WHERE australia = 94615
What is the upstream speed that you get for 89 tl?
CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)
SELECT upstream FROM table_17304621_14 WHERE price_tl = "89 TL"
Name the title for number 16
CREATE TABLE table_23289934_1 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_23289934_1 WHERE no_in_season = 16
What is the percentage of this constellation abbreviated as 'nor'?
CREATE TABLE table_177766_1 (per­cent­age VARCHAR, abbre­viation VARCHAR)
SELECT per­cent­age FROM table_177766_1 WHERE abbre­viation = "Nor"
What is the Number of the Koppenberg course with less than 195 Kilometers?
CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR, kilometer VARCHAR)
SELECT COUNT(number) FROM table_name_28 WHERE name = "koppenberg" AND kilometer < 195
what is the date when the away team is crystal palace?
CREATE TABLE table_name_94 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_94 WHERE away_team = "crystal palace"