text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1213511_3 (position VARCHAR, nhl_team VARCHAR)
### Question:
What is the position listed for the team the Philadelphia Flyers?
### Answer:
SELECT position FROM table_1213511_3 WHERE nhl_team = "Philadelphia Flyers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (high_rebounds VARCHAR, record VARCHAR)
### Question:
What is the highest number of rebounds of the game with a 6-14 record?
### Answer:
SELECT high_rebounds FROM table_name_53 WHERE record = "6-14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (investment_income VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR, self_employed VARCHAR)
### Question:
State pensions of 7%, and a Self employed of 7%, and a Other income sources of 2% has what investment income?
### Answer:
SELECT investment_income FROM table_name_67 WHERE state_pensions = "7%" AND self_employed = "7%" AND other_income_sources = "2%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23242968_1 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who wrote the episode that had a production code of 3ajn20?
### Answer:
SELECT written_by FROM table_23242968_1 WHERE production_code = "3AJN20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (year INTEGER, award VARCHAR, work VARCHAR)
### Question:
Where Award is best actress and Work is first kiss, what is the average Year?
### Answer:
SELECT AVG(year) FROM table_name_58 WHERE award = "best actress" AND work = "first kiss" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (against VARCHAR, opponents VARCHAR)
### Question:
Who was against the opponents, mădălina gojnea monica niculescu?
### Answer:
SELECT against FROM table_name_94 WHERE opponents = "mădălina gojnea monica niculescu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (fa_cup INTEGER, name VARCHAR, europe VARCHAR)
### Question:
What is the low FA cup goals for viduka with under 2 europe goals?
### Answer:
SELECT MIN(fa_cup) FROM table_name_58 WHERE name = "viduka" AND europe < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21321935_2 (fastest_lap VARCHAR, circuit VARCHAR)
### Question:
Who had the fasted lap in motorsport arena oschersleben?
### Answer:
SELECT fastest_lap FROM table_21321935_2 WHERE circuit = "Motorsport Arena Oschersleben" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE station (LOCATION VARCHAR)
### Question:
Show the location with most number of train stations.
### Answer:
SELECT LOCATION FROM station GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (first_elected VARCHAR, party VARCHAR, state VARCHAR)
### Question:
What is the year First Elected, when the Party is Alp, and when the State is qld?
### Answer:
SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (date VARCHAR, year VARCHAR, winner VARCHAR)
### Question:
What is the date where the winner was the Oakland Raiders in 1975?
### Answer:
SELECT date FROM table_name_95 WHERE year = 1975 AND winner = "oakland raiders" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR)
### Question:
Name the enrollment with cougars
### Answer:
SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20669355_2 (country VARCHAR, hometown VARCHAR)
### Question:
What country is the contestant from San Francisco de Yojoa from?
### Answer:
SELECT country FROM table_20669355_2 WHERE hometown = "San Francisco de Yojoa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22860_1 (maghreb VARCHAR, mediterranean_europe VARCHAR)
### Question:
How many values for Maghreb with Mediterranean Europe is Siciliense?
### Answer:
SELECT COUNT(maghreb) FROM table_22860_1 WHERE mediterranean_europe = "Siciliense" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (city__town VARCHAR, year_founded VARCHAR)
### Question:
In what City/town was their institution founded in 1860?
### Answer:
SELECT city__town FROM table_name_34 WHERE year_founded = 1860 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR)
### Question:
What was the attendance of the game that ended with L 31-0
### Answer:
SELECT attendance FROM table_name_67 WHERE result = "l 31-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)
### Question:
WHen joaqui mendoza is the name how long is the duration?
### Answer:
SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR)
### Question:
Cuttino Mobley is what nationality?
### Answer:
SELECT nationality FROM table_name_5 WHERE player = "cuttino mobley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14752049_6 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)
### Question:
When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ?
### Answer:
SELECT change__2010_to_2011_ FROM table_14752049_6 WHERE international_tourist_arrivals__2012_ = "24.1 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (nickname VARCHAR, location VARCHAR)
### Question:
What is the nickname of the school located in Manchester, New Hampshire?
### Answer:
SELECT nickname FROM table_name_54 WHERE location = "manchester, new hampshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals?
### Answer:
SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR)
### Question:
What type has a scratch of 750 GB?
### Answer:
SELECT type FROM table_name_2 WHERE scratch = "750 gb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (gp_gs VARCHAR, effic VARCHAR, avg_g VARCHAR)
### Question:
How many gp-gs have 121.70 as an effic and an avg/g less than 218.7?
### Answer:
SELECT COUNT(gp_gs) FROM table_name_41 WHERE effic = "121.70" AND avg_g < 218.7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_7 (hometown VARCHAR, school VARCHAR)
### Question:
What is the hometown of trinity high school?
### Answer:
SELECT hometown FROM table_11677691_7 WHERE school = "Trinity High school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR)
### Question:
Who produced Laura Tunstall?
### Answer:
SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (weight VARCHAR, player VARCHAR)
### Question:
How much does Jonathan Bender weigh?
### Answer:
SELECT weight FROM table_name_2 WHERE player = "jonathan bender" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (frequency VARCHAR, model_number VARCHAR)
### Question:
What is the Frequency for Model Number c3 850?
### Answer:
SELECT frequency FROM table_name_99 WHERE model_number = "c3 850" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_142159_1 (no VARCHAR, location VARCHAR)
### Question:
Which number has Engine Shed as the location
### Answer:
SELECT no FROM table_142159_1 WHERE location = "Engine shed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (event VARCHAR, time VARCHAR)
### Question:
Which event had a time of 2:34?
### Answer:
SELECT event FROM table_name_86 WHERE time = "2:34" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
### Question:
What number of voters did Queens have when Staten Island had 295 voters?
### Answer:
SELECT queens FROM table_1108394_34 WHERE richmond_[staten_is] = "295" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (points INTEGER, engine VARCHAR)
### Question:
What is the average points earned for entrants with ATS V8 engines?
### Answer:
SELECT AVG(points) FROM table_name_12 WHERE engine = "ats v8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR)
### Question:
what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15?
### Answer:
SELECT SUM(position) FROM table_name_88 WHERE lost < 14 AND goal_difference = "+1" AND drawn > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR, status VARCHAR, moving_to VARCHAR)
### Question:
Which country has the status of transferred, moving to of released, and Solano as the listed name?
### Answer:
SELECT country FROM table_name_85 WHERE status = "transferred" AND moving_to = "released" AND name = "solano" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)
### Question:
Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006?
### Answer:
SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR)
### Question:
What's the draw having the result of 10%?
### Answer:
SELECT AVG(draw) FROM table_name_29 WHERE result = "10%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (selection INTEGER, college VARCHAR)
### Question:
Which Selection has a College of texas a&m?
### Answer:
SELECT SUM(selection) FROM table_name_71 WHERE college = "texas a&m" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who faced Collingwood as an away team?
### Answer:
SELECT away_team FROM table_name_54 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15944_5 (specific_impulse__s_ INTEGER, effective_exhaust_velocity__m_s_ VARCHAR)
### Question:
What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?
### Answer:
SELECT MAX(specific_impulse__s_) FROM table_15944_5 WHERE effective_exhaust_velocity__m_s_ = 4423 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2869837_1 (last_final INTEGER, last_title VARCHAR)
### Question:
What is the latest year of last final for the club whose last title was in 1994?
### Answer:
SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (royal_house VARCHAR, name VARCHAR)
### Question:
Which Royal house has a name of ding?
### Answer:
SELECT royal_house FROM table_name_30 WHERE name = "ding" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (date_made VARCHAR, quantity_made VARCHAR)
### Question:
What is listed as the Date made with a Quantity made of 13?
### Answer:
SELECT date_made FROM table_name_5 WHERE quantity_made = 13 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR)
### Question:
What was Gary Player's highest total when his To par was over 15?
### Answer:
SELECT MAX(total) FROM table_name_41 WHERE player = "gary player" AND to_par > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27712702_11 (high_assists VARCHAR, team VARCHAR)
### Question:
Who had the high assists against detroit?
### Answer:
SELECT high_assists FROM table_27712702_11 WHERE team = "Detroit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23248420_1 (county VARCHAR, region_province VARCHAR, rank VARCHAR)
### Question:
When 20 is the rank and north west is the region/province what is the county?
### Answer:
SELECT county FROM table_23248420_1 WHERE region_province = "North West" AND rank = 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (erp_w INTEGER, frequency_mhz VARCHAR)
### Question:
What is the least ERP W when the freguency MHz is 89.3 fm?
### Answer:
SELECT MIN(erp_w) FROM table_name_27 WHERE frequency_mhz = "89.3 fm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (attendance INTEGER, score VARCHAR)
### Question:
What was the lowest attendance for a score of 5 - 0?
### Answer:
SELECT MIN(attendance) FROM table_name_40 WHERE score = "5 - 0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR)
### Question:
When has an Opponent of at Seattle mariners?
### Answer:
SELECT date FROM table_name_75 WHERE opponent = "at seattle mariners" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27764201_2 (kickoff VARCHAR, opponent VARCHAR)
### Question:
What time was the kickoff against the Frankfurt Galaxy?
### Answer:
SELECT kickoff FROM table_27764201_2 WHERE opponent = "Frankfurt Galaxy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR)
### Question:
Which Result has a Venue of home, and a Date of 3 october 1987?
### Answer:
SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1405704_1 (team VARCHAR, chassis VARCHAR, engine VARCHAR)
### Question:
What team has a vehicle with an Offenhauser engine and a McLaren chassis?
### Answer:
SELECT team FROM table_1405704_1 WHERE chassis = "McLaren" AND engine = "Offenhauser" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19131921_1 (station VARCHAR, frequency VARCHAR)
### Question:
Which station has the frequency of 107.3?
### Answer:
SELECT station FROM table_19131921_1 WHERE frequency = "107.3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (october INTEGER, game INTEGER)
### Question:
Name the most october for game less than 1
### Answer:
SELECT MAX(october) FROM table_name_19 WHERE game < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)
### Question:
Which player had a total of 152?
### Answer:
SELECT player FROM table_name_60 WHERE total = "152" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (player VARCHAR, caps VARCHAR)
### Question:
What player has 12 caps?
### Answer:
SELECT player FROM table_name_36 WHERE caps = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
What is the gold when silver is less than 1, rank is 12, and total is less than 3?
### Answer:
SELECT MAX(gold) FROM table_name_68 WHERE silver < 1 AND rank = 12 AND total < 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (population INTEGER, country_region VARCHAR, rank VARCHAR)
### Question:
Can you tell me the sun of Population that has the Country/Region of hong kong, and the Rank smaller than 2?
### Answer:
SELECT SUM(population) FROM table_name_45 WHERE country_region = "hong kong" AND rank < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)
### Question:
What are the titles for the November 9 Super Bantamweight division?
### Answer:
SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (status VARCHAR, area_km_2 INTEGER)
### Question:
What is Status, when Area km 2 is greater than 303.73?
### Answer:
SELECT status FROM table_name_93 WHERE area_km_2 > 303.73 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (to_par VARCHAR, country VARCHAR)
### Question:
What is South Africa's to par?
### Answer:
SELECT to_par FROM table_name_35 WHERE country = "south africa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR)
### Question:
What is the average number of laps associated with a Time/Retired of +1:14.801?
### Answer:
SELECT AVG(laps) FROM table_name_78 WHERE time_retired = "+1:14.801" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR)
### Question:
What was the score when the record was 21-31-13?
### Answer:
SELECT score FROM table_17360840_9 WHERE record = "21-31-13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR)
### Question:
Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494?
### Answer:
SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR)
### Question:
After 1983, what was the Position in Seoul, South Korea?
### Answer:
SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE book (Writer VARCHAR)
### Question:
List the writers who have written more than one book.
### Answer:
SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (date VARCHAR, year VARCHAR)
### Question:
Tell me the date for 2004
### Answer:
SELECT date FROM table_name_35 WHERE year = "2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR)
### Question:
What is the lowest points when the ranking is 1st?
### Answer:
SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR)
### Question:
Which Xenon has a Helium of 5.1?
### Answer:
SELECT xenon FROM table_name_29 WHERE helium = "5.1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals?
### Answer:
SELECT COUNT(bronze) FROM table_name_67 WHERE silver > 8 AND total = 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (name VARCHAR, novelty VARCHAR)
### Question:
What name has gen et sp nov as the novelty?
### Answer:
SELECT name FROM table_name_56 WHERE novelty = "gen et sp nov" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
### Question:
What was the score on June 12?
### Answer:
SELECT score FROM table_name_76 WHERE date = "june 12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (name VARCHAR, games VARCHAR, assists VARCHAR)
### Question:
Who played over 37 games and had 202 assists?
### Answer:
SELECT name FROM table_name_20 WHERE games > 37 AND assists = 202 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR)
### Question:
What is the sum of Played when the drawn is less than 2 and against is more than 29?
### Answer:
SELECT SUM(played) FROM table_name_35 WHERE drawn < 2 AND against > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (year INTEGER, actress VARCHAR)
### Question:
When did Quvenzhané Wallis first win?
### Answer:
SELECT MIN(year) FROM table_name_76 WHERE actress = "quvenzhané wallis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_262476_1 (location VARCHAR, institution VARCHAR)
### Question:
Name the number of locations for geneva college
### Answer:
SELECT COUNT(location) FROM table_262476_1 WHERE institution = "Geneva College" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (rank INTEGER, name VARCHAR)
### Question:
What is richard virenque's lowest rank?
### Answer:
SELECT MIN(rank) FROM table_name_33 WHERE name = "richard virenque" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1397655_1 (year_acquired VARCHAR, station VARCHAR)
### Question:
how any were gained as the chan
### Answer:
SELECT COUNT(year_acquired) FROM table_1397655_1 WHERE station = "CHAN" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR)
### Question:
How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year?
### Answer:
SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What record has pittsburgh as the visitor, and November 23 as the date?
### Answer:
SELECT record FROM table_name_45 WHERE visitor = "pittsburgh" AND date = "november 23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (class VARCHAR, number_in_class INTEGER)
### Question:
Which class has more than 15 people in the class?
### Answer:
SELECT class FROM table_name_83 WHERE number_in_class > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE cars_data (mpg INTEGER, cylinders VARCHAR, year VARCHAR)
### Question:
What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ?
### Answer:
SELECT MAX(mpg) FROM cars_data WHERE cylinders = 8 OR year < 1980 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (pick VARCHAR, pba_team VARCHAR, player VARCHAR)
### Question:
What is the total number of picks for PBA team san miguel beermen who picked rommel daep?
### Answer:
SELECT COUNT(pick) FROM table_name_26 WHERE pba_team = "san miguel beermen" AND player = "rommel daep" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR)
### Question:
Show all locations which don't have a train station with at least 15 platforms.
### Answer:
SELECT LOCATION FROM station EXCEPT SELECT LOCATION FROM station WHERE number_of_platforms >= 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (leading_scorer_1 VARCHAR, season VARCHAR)
### Question:
Which Leading scorer 1 has a Season of 2010–11?
### Answer:
SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR)
### Question:
Tell me the 3rd component for bp azeo of 62.1
### Answer:
SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2544694_3 (indonesia_super_series_2008 VARCHAR)
### Question:
Which series occurred when the 7800 was 5040.00?
### Answer:
SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE 780000 = "5040.00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR, points VARCHAR)
### Question:
How many average laps for Alex Tagliani with more than 17 points?
### Answer:
SELECT AVG(laps) FROM table_name_54 WHERE driver = "alex tagliani" AND points > 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)
### Question:
What socialist workers ticket has malcolm wilson as the Republican ticket?
### Answer:
SELECT socialist_workers_ticket FROM table_name_71 WHERE republican_ticket = "malcolm wilson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24638867_6 (surface VARCHAR, partner VARCHAR)
### Question:
Name the surface for nathalie tauziat
### Answer:
SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)
### Question:
Which player was at position left tackle?
### Answer:
SELECT player FROM table_25711913_8 WHERE position = "Left tackle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (score VARCHAR, club VARCHAR)
### Question:
What's the final score of the competition that features the club of fk Austria wien?
### Answer:
SELECT score FROM table_name_58 WHERE club = "fk austria wien" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (sound VARCHAR, publisher VARCHAR, language VARCHAR, classifaction VARCHAR)
### Question:
What sound has cantonese as the language, N/A as the classification, and spectrum dvd as the publisher?
### Answer:
SELECT sound FROM table_name_77 WHERE language = "cantonese" AND classifaction = "n/a" AND publisher = "spectrum dvd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12588029_3 (release_date VARCHAR, year VARCHAR)
### Question:
What are the release dates for songs in 2003?
### Answer:
SELECT release_date FROM table_12588029_3 WHERE year = 2003 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR)
### Question:
When has a surface of road and an event of half marathon?
### Answer:
SELECT date FROM table_name_63 WHERE surface = "road" AND event = "half marathon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (origin VARCHAR, versions VARCHAR)
### Question:
Tell me the origin for mi-2
### Answer:
SELECT origin FROM table_name_57 WHERE versions = "mi-2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### Question:
How many members of club "Bootup Baltimore" are younger than 18?
### Answer:
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age < 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21821014_1 (inactive VARCHAR, institution VARCHAR)
### Question:
What does the inactive state for University of Texas, El Paso?
### Answer:
SELECT inactive FROM table_21821014_1 WHERE institution = "University of Texas, El Paso" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (date VARCHAR, label VARCHAR, region VARCHAR)
### Question:
What's the Date for the Label of Bertelsmann Music group and has a Region of Europe?
### Answer:
SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (date VARCHAR, venue VARCHAR)
### Question:
What dates were the matches at windy hill?
### Answer:
SELECT date FROM table_name_1 WHERE venue = "windy hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE genres (name VARCHAR)
### Question:
List all different genre types.
### Answer:
SELECT DISTINCT name FROM genres |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (runner_up VARCHAR, season INTEGER)
### Question:
Who was the runner up before 2007?
### Answer:
SELECT runner_up FROM table_name_93 WHERE season < 2007 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.