answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT publisher FROM table_21458142_1 WHERE genre = "Pet-raising simulator" | Who published the title in the pet-raising simulator genre? | CREATE TABLE table_21458142_1 (publisher VARCHAR, genre VARCHAR) |
SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986" | What countries have had eruptions of growth episodes in 1986? | CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR) |
SELECT player FROM table_name_74 WHERE round = 7 | Tell me the player for 7 round | CREATE TABLE table_name_74 (player VARCHAR, round VARCHAR) |
SELECT location___state FROM table_name_67 WHERE winner = "craig lowndes" AND date = "29–31 may" | Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may? | CREATE TABLE table_name_67 (location___state VARCHAR, winner VARCHAR, date VARCHAR) |
SELECT SUM(played) FROM table_name_14 WHERE wins > 19 | Name the sum of played with wins more than 19 | CREATE TABLE table_name_14 (played INTEGER, wins INTEGER) |
SELECT model FROM table_name_50 WHERE make = "de vaux continental" | What model has de vaux continental as the make? | CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR) |
SELECT result FROM table_16710971_2 WHERE record = "1-2" | What was the result of the 1978 Atlanta Falcons season when the record was 1-2? | CREATE TABLE table_16710971_2 (result VARCHAR, record VARCHAR) |
SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing" | What round was the gto winning team #48 greenwood racing? | CREATE TABLE table_13657883_2 (rnd VARCHAR, gto_winning_team VARCHAR) |
SELECT notes FROM table_242785_1 WHERE main_legionary_base = "Svishtov , Bulgaria" | What are the notes for svishtov , bulgaria? | CREATE TABLE table_242785_1 (notes VARCHAR, main_legionary_base VARCHAR) |
SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18 | Name the average goal difference for draw of 7 and played more than 18 | CREATE TABLE table_name_2 (goal_difference INTEGER, draw VARCHAR, played VARCHAR) |
SELECT venue FROM table_name_19 WHERE away_team = "fitzroy" | At what venue was the away team Fitzroy? | CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) |
SELECT COUNT(year) FROM table_name_70 WHERE wins < 0 | What is the total number of Year, when Wins is less than 0? | CREATE TABLE table_name_70 (year VARCHAR, wins INTEGER) |
SELECT MAX(joined_acc) FROM table_28744929_1 WHERE institution = "North Carolina" | what year did north carolina institution join the acc? | CREATE TABLE table_28744929_1 (joined_acc INTEGER, institution VARCHAR) |
SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719 | What municipality has 719 people and is larger than 108.46 km2? | CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR) |
SELECT date FROM table_name_79 WHERE home_team = "collingwood" | What day is collingwood the home side? | CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR) |
SELECT week_2 FROM table_name_40 WHERE week_3 = "lara leverence" | What was the week 2 before Lara Leverence was week 3? | CREATE TABLE table_name_40 (week_2 VARCHAR, week_3 VARCHAR) |
SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" | What year is United States school/club team from Arkansas play in Toronto | CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR) |
SELECT depth FROM table_25675509_1 WHERE longitude = "158.091° E" | If the longitude is 158.091° e, what is the depth? | CREATE TABLE table_25675509_1 (depth VARCHAR, longitude VARCHAR) |
SELECT MIN(reported_isn) FROM table_name_28 WHERE citizenship = "russia" | Name the lowest reported isn for russia | CREATE TABLE table_name_28 (reported_isn INTEGER, citizenship VARCHAR) |
SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc" | which position did pierre bajoc play? | CREATE TABLE table_24565004_3 (position VARCHAR, name VARCHAR) |
SELECT AVG(crowd) FROM table_name_77 WHERE home_team = "gold coast blaze" | What was the average crowd size for the game when the Gold Coast Blaze was the home team? | CREATE TABLE table_name_77 (crowd INTEGER, home_team VARCHAR) |
SELECT COUNT(top_25) FROM table_name_93 WHERE events < 2 | What is the total number of top-25 a tournament with less than 2 events has? | CREATE TABLE table_name_93 (top_25 VARCHAR, events INTEGER) |
SELECT laps FROM table_name_51 WHERE time_retired = "+23.080" | How many laps have a time/retired of +23.080? | CREATE TABLE table_name_51 (laps VARCHAR, time_retired VARCHAR) |
SELECT played FROM table_12828723_5 WHERE club = "Tumble RFC" | What was the played with club tumble rfc? | CREATE TABLE table_12828723_5 (played VARCHAR, club VARCHAR) |
SELECT score FROM table_name_10 WHERE date = "22 february 1993" | what is the score on 22 february 1993? | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) |
SELECT date FROM table_14875671_1 WHERE attendance = 63995 | What was the date when the attendance was 63995 | CREATE TABLE table_14875671_1 (date VARCHAR, attendance VARCHAR) |
SELECT MIN(crowd) FROM table_name_21 WHERE away_team = "collingwood" | WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? | CREATE TABLE table_name_21 (crowd INTEGER, away_team VARCHAR) |
SELECT away_team AS score FROM table_name_43 WHERE venue = "punt road oval" | What is the away team that plays at Punt Road Oval? | CREATE TABLE table_name_43 (away_team VARCHAR, venue VARCHAR) |
SELECT opponent FROM table_name_79 WHERE season = "2011/12" | What opponent has 2011/12 as the season? | CREATE TABLE table_name_79 (opponent VARCHAR, season VARCHAR) |
SELECT opponent FROM table_name_32 WHERE date = "may 12" | Who was the opponent that played on may 12? | CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) |
SELECT iso FROM table_160510_5 WHERE rr_romaja = "Chungcheongnam" | Name the iso for chungcheongnam | CREATE TABLE table_160510_5 (iso VARCHAR, rr_romaja VARCHAR) |
SELECT position FROM table_2679061_12 WHERE nhl_team = "Boston Bruins" | List the position for the boston bruins. | CREATE TABLE table_2679061_12 (position VARCHAR, nhl_team VARCHAR) |
SELECT attendance FROM table_name_97 WHERE final = "quarter (1)" | What was the attendance for the final quarter (1)? | CREATE TABLE table_name_97 (attendance VARCHAR, final VARCHAR) |
SELECT district FROM table_1341865_34 WHERE incumbent = "Seymour Halpern" | which section did seymour halpern run in | CREATE TABLE table_1341865_34 (district VARCHAR, incumbent VARCHAR) |
SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller" | Who ran in the election where Claude Fuller was the incumbent? | CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR) |
SELECT partnering FROM table_name_29 WHERE opponents_in_final = "marcelo melo andré sá" | Who is the partnering that had the opponents of Marcelo Melo André Sá? | CREATE TABLE table_name_29 (partnering VARCHAR, opponents_in_final VARCHAR) |
SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea" | What is the 1st leg when team 1 is Chelsea? | CREATE TABLE table_name_58 (team_1 VARCHAR) |
SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670" | what's the swimsuit where average is 8.670 | CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR) |
SELECT year_left FROM table_name_68 WHERE team_name = "hornets" | What year did the Hornets leave the conference? | CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) |
SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 1 | What is the average silver with a Rank smaller than 2 and more than 1 gold? | CREATE TABLE table_name_61 (silver INTEGER, rank VARCHAR, gold VARCHAR) |
SELECT population FROM table_101196_1 WHERE irish_name = "Leitir Mealláin" | What is the population for the Irish Name Leitir mealláin? | CREATE TABLE table_101196_1 (population VARCHAR, irish_name VARCHAR) |
SELECT contract_length FROM table_name_55 WHERE status = "rejected" | What is the contract length when rejected is the status? | CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR) |
SELECT mountain_range FROM table_name_59 WHERE rank = 5 | What is the ranked 5 mountain range? | CREATE TABLE table_name_59 (mountain_range VARCHAR, rank VARCHAR) |
SELECT series FROM table_name_95 WHERE opponent = "edmonton oilers" AND game = 3 | Opponent of edmonton oilers, and a Game of 3 is what series? | CREATE TABLE table_name_95 (series VARCHAR, opponent VARCHAR, game VARCHAR) |
SELECT games FROM table_name_15 WHERE name = "derartu tulu category:articles with hcards" | What is the game named derartu tulu category:articles with hcards? | CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR) |
SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40" | What is the average quantity for coaches manufactured in 1921/23, and had 40 seats? | CREATE TABLE table_name_87 (quantity INTEGER, year_s__of_manufacture VARCHAR, seats VARCHAR) |
SELECT AVG(total) FROM table_name_5 WHERE rank = "33" AND bronze > 1 | What is the Total medals for the Nation ranking 33 with more than 1 Bronze? | CREATE TABLE table_name_5 (total INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT date FROM table_name_76 WHERE record = "3-5" | Which Date has a record of 3-5? | CREATE TABLE table_name_76 (date VARCHAR, record VARCHAR) |
SELECT date FROM table_name_67 WHERE home_team = "grimsby town" | What is the date when Grimsby Town is the home team? | CREATE TABLE table_name_67 (date VARCHAR, home_team VARCHAR) |
SELECT year FROM table_name_48 WHERE team = "simon" AND start = "3" | When was there a team of Simon and the start was 3? | CREATE TABLE table_name_48 (year VARCHAR, team VARCHAR, start VARCHAR) |
SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett" | what is the least money ($) when the country is united states and the player is kirk triplett? | CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR) |
SELECT country FROM table_name_97 WHERE event = "half marathon" | What is the Country of the Half Marathon Event? | CREATE TABLE table_name_97 (country VARCHAR, event VARCHAR) |
SELECT result FROM table_name_99 WHERE home_team = "rochester" AND game = "game 5" | Which Result has a Home Team of rochester, and a Game of game 5? | CREATE TABLE table_name_99 (result VARCHAR, home_team VARCHAR, game VARCHAR) |
SELECT away_team AS score FROM table_name_79 WHERE home_team = "south melbourne" | What was the score of the away team when the home team was south melbourne? | CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) |
SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher" | Where's the school that Mark Fletcher is the principal of? | CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR) |
SELECT AVG(week) FROM table_name_7 WHERE record = "6-6" | Which week did the Seattle Seahawks have a record of 6-6? | CREATE TABLE table_name_7 (week INTEGER, record VARCHAR) |
SELECT city_of_license FROM table_name_45 WHERE erp_kw > 4.5 AND station = "w23dr-d" | What is the City of license that has a ERP kW more than 4.5 and w23dr-d? | CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR) |
SELECT home_team FROM table_name_34 WHERE venue = "win entertainment centre" | What is the home team which plays at a venue called Win Entertainment Centre? | CREATE TABLE table_name_34 (home_team VARCHAR, venue VARCHAR) |
SELECT points FROM table_name_25 WHERE points_for = "562" | What is Points, when Points For is "562"? | CREATE TABLE table_name_25 (points VARCHAR, points_for VARCHAR) |
SELECT year FROM table_name_65 WHERE finish = "12" | What year had the Finish of 12? | CREATE TABLE table_name_65 (year VARCHAR, finish VARCHAR) |
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11" | Who were the writers when there were 27.11 million viewers? | CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT active_service FROM table_name_72 WHERE reason_for_termination = "death" AND senior_status = "1972–2005" | Which active services years ended in death and had senior status in 1972–2005? | CREATE TABLE table_name_72 (active_service VARCHAR, reason_for_termination VARCHAR, senior_status VARCHAR) |
SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011" | Which opponent has an Outcome of winner, and a Date of 5 november 2011? | CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) |
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023" | Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) |
SELECT record FROM table_name_88 WHERE week = 14 | What is the Record for week 14? | CREATE TABLE table_name_88 (record VARCHAR, week VARCHAR) |
SELECT MIN(silver) FROM table_name_56 WHERE bronze > 4 AND gold > 21 | What is the fewest number of silvers for teams with more than 21 gold and more than 4 bronze? | CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) |
SELECT SUM(total) FROM table_name_68 WHERE silver = "1" AND nation = "spain" | How many medals for spain with 1 silver? | CREATE TABLE table_name_68 (total INTEGER, silver VARCHAR, nation VARCHAR) |
SELECT order__number FROM table_22736523_1 WHERE song_choice = "Coba" | If Coba is the song choice, what is the order number? | CREATE TABLE table_22736523_1 (order__number VARCHAR, song_choice VARCHAR) |
SELECT location FROM table_11622840_1 WHERE score = "208 (-8)" | What is the state that hosted a tournament with the score of 208 (-8)? | CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) |
SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519" | In season 5 what episode number was production 06-03-519? | CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) |
SELECT team FROM table_name_6 WHERE grid = 15 | What team has a grid of 15? | CREATE TABLE table_name_6 (team VARCHAR, grid VARCHAR) |
SELECT winning_team FROM table_10548224_1 WHERE losing_team = "New York Yankees" | Which winning team beat the New York Yankees? | CREATE TABLE table_10548224_1 (winning_team VARCHAR, losing_team VARCHAR) |
SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico" | What's the pick number of the player from New Mexico? | CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR) |
SELECT building_short_name FROM Apartment_Buildings WHERE building_manager = "Emma" | Show the short names of the buildings managed by "Emma". | CREATE TABLE Apartment_Buildings (building_short_name VARCHAR, building_manager VARCHAR) |
SELECT status FROM table_name_54 WHERE year < 2014 AND floors = 33 | What is the status of the building for 2014 with 33 floors? | CREATE TABLE table_name_54 (status VARCHAR, year VARCHAR, floors VARCHAR) |
SELECT SUM(revenue) FROM manufacturers WHERE Headquarter = 'Tokyo' OR Headquarter = 'Taiwan' | What is the total revenue of all companies whose main office is at Tokyo or Taiwan? | CREATE TABLE manufacturers (revenue INTEGER, Headquarter VARCHAR) |
SELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = "57.5" | How man teams had a total weight of 57.5? | CREATE TABLE table_2581397_3 (group VARCHAR, weight__kg_ VARCHAR) |
SELECT venue FROM table_name_74 WHERE home_team = "geelong" | Where did Geelong play a home game? | CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR) |
SELECT opponent FROM table_name_10 WHERE game = 33 | Which Opponent has a Game of 33? | CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) |
SELECT player FROM table_11677691_12 WHERE school = "Armwood High school" | who are all the players for armwood high school | CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR) |
SELECT attendance FROM table_name_39 WHERE week < 16 AND opponent = "washington redskins" | Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents? | CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT production_code FROM table_28348757_3 WHERE _number = 8 | Name the production code for number 8 | CREATE TABLE table_28348757_3 (production_code VARCHAR, _number VARCHAR) |
SELECT COUnT AS name FROM table_22810095_8 WHERE country = "CIV" | How many names have a country of civ? | CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR) |
SELECT result FROM table_name_98 WHERE category = "best musical revival" | What was the result for the best musical revival category? | CREATE TABLE table_name_98 (result VARCHAR, category VARCHAR) |
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel" | What is the status of the character keel (keele) zeibel? | CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR) |
SELECT MAX(top_division_titles) FROM table_name_56 WHERE club = "tammeka" | What is the largest amount of top division titles featuring the tammeka club? | CREATE TABLE table_name_56 (top_division_titles INTEGER, club VARCHAR) |
SELECT away_team FROM table_name_6 WHERE tie_no = "2" | What is the away team with a 2 tie no.? | CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR) |
SELECT country FROM table_name_20 WHERE place = "t9" AND player = "stephen ames" | What country is Stephen Ames from with a place value of t9? | CREATE TABLE table_name_20 (country VARCHAR, place VARCHAR, player VARCHAR) |
SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-7" | What is the total number of Game, when Record is "11-17-7"? | CREATE TABLE table_name_34 (game VARCHAR, record VARCHAR) |
SELECT greek FROM table_name_99 WHERE german = "ebbe" | What Greek word means the same thing as the German word ebbe? | CREATE TABLE table_name_99 (greek VARCHAR, german VARCHAR) |
SELECT country FROM table_name_76 WHERE airport = "weerawila airport" | Which country has Weerawila Airport? | CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) |
SELECT rebuilt FROM table_name_64 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan" | Which Rebuilt has a Builder of derby, and a Name as rebuilt of ben madigan? | CREATE TABLE table_name_64 (rebuilt VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR) |
SELECT COUNT(high_assists) FROM table_27756474_6 WHERE location_attendance = "FedExForum 11,283" | Name the total number of high assists for fedexforum 11,283 | CREATE TABLE table_27756474_6 (high_assists VARCHAR, location_attendance VARCHAR) |
SELECT MAX(wins) FROM table_name_80 WHERE against > 165 | How many wins has more than 165 against? | CREATE TABLE table_name_80 (wins INTEGER, against INTEGER) |
SELECT format FROM table_name_84 WHERE branding = "cbc radio 2" | What format is CBC Radio 2? | CREATE TABLE table_name_84 (format VARCHAR, branding VARCHAR) |
SELECT attendance FROM table_17778417_1 WHERE week = 8 | How many people attended the Week 8 game when Denver played Buffalo? | CREATE TABLE table_17778417_1 (attendance VARCHAR, week VARCHAR) |
SELECT MIN(w) FROM table_29704430_1 | What is the least w? | CREATE TABLE table_29704430_1 (w INTEGER) |
SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala" | What Team 1 has union douala as Team 2? | CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR) |
SELECT team FROM table_28884858_2 WHERE capacity_percentage = "102.3%" | What team had a capacity of 102.3%? | CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR) |
SELECT school FROM table_name_72 WHERE date = "june 4, 2011" | What is the School of the Player with a Date of June 4, 2011? | CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.