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_name_94 (games VARCHAR, event VARCHAR)
### Question:
Which games saw a record set in the long jump event?
### Answer:
SELECT games FROM table_name_94 WHERE event = "long jump" |
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_2361788_1 (year INTEGER, playoffs VARCHAR)
### Question:
Name the most year for conference finals
### Answer:
SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = "Conference Finals" |
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_84 (loses INTEGER, position VARCHAR, points VARCHAR, goals_scored VARCHAR)
### Question:
How many loses have points greater than 30, goals scored greater than 59, with a position greater than 5?
### Answer:
SELECT SUM(loses) FROM table_name_84 WHERE points > 30 AND goals_scored > 59 AND position > 5 |
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 (region VARCHAR, year VARCHAR, name VARCHAR)
### Question:
Name the region before 2008 when name of best 1200
### Answer:
SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200" |
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_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, ticker_symbol VARCHAR)
### Question:
Name the index weighting % for 17 januaary 2013 for rno
### Answer:
SELECT index_weighting___percentage__at_17_january_2013 FROM table_168274_1 WHERE ticker_symbol = "RNO" |
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_47 (date VARCHAR, venue VARCHAR)
### Question:
what is the date when the venue is junction oval?
### Answer:
SELECT date FROM table_name_47 WHERE venue = "junction oval" |
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_14418812_1 (date VARCHAR, game_site VARCHAR)
### Question:
Name the number of date for shea stadium
### Answer:
SELECT COUNT(date) FROM table_14418812_1 WHERE game_site = "Shea Stadium" |
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 (country VARCHAR, score VARCHAR)
### Question:
What country has a 76-71=147 score?
### Answer:
SELECT country FROM table_name_8 WHERE score = 76 - 71 = 147 |
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_22753439_1 (margin VARCHAR, winner VARCHAR)
### Question:
How many margins have a winner of S. Singaravadivel?
### Answer:
SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel" |
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_98 (open_cup VARCHAR, playoffs VARCHAR)
### Question:
What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs?
### Answer:
SELECT open_cup FROM table_name_98 WHERE playoffs = "2nd round" |
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_73 (recipients_and_nominees VARCHAR, year VARCHAR)
### Question:
Who are the recipients in 1994?
### Answer:
SELECT recipients_and_nominees FROM table_name_73 WHERE year = 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_41 (discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR)
### Question:
Who was the discoverer of the object with an Aphelion above 97 in 2004?
### Answer:
SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 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_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR)
### Question:
What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile?
### Answer:
SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = "4:2:2 or 4:2:0" AND name = "4:2:2 profile" |
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_89 (rank INTEGER, player VARCHAR, wins VARCHAR)
### Question:
What is the rank of Lee Trevino, who had less than 27 wins?
### Answer:
SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27 |
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_11 (team VARCHAR, year VARCHAR, versus VARCHAR)
### Question:
what team played against zimbabwe in 1999?
### Answer:
SELECT team FROM table_name_11 WHERE year = 1999 AND versus = "zimbabwe" |
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 (type VARCHAR, location VARCHAR)
### Question:
What type of bridge is in Cooperstown?
### Answer:
SELECT type FROM table_name_8 WHERE location = "cooperstown" |
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_19744915_14 (number_of_dances VARCHAR, total_points VARCHAR)
### Question:
If the total points is 50.5, what is the total number of dances?
### Answer:
SELECT COUNT(number_of_dances) FROM table_19744915_14 WHERE total_points = "50.5" |
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 (nationality VARCHAR, player VARCHAR)
### Question:
What nationality has steve kerr as the player?
### Answer:
SELECT nationality FROM table_name_95 WHERE player = "steve kerr" |
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_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)
### Question:
Name the most FA cup for championship of 18 and total of 19
### Answer:
SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19 |
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_21 (stadium VARCHAR, attendance VARCHAR)
### Question:
Which stadium held the game that 65,677 people attended?
### Answer:
SELECT stadium FROM table_name_21 WHERE attendance = "65,677" |
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_26669939_1 (host_country VARCHAR, host_city VARCHAR)
### Question:
Who was the host country when Bar was the host city?
### Answer:
SELECT host_country FROM table_26669939_1 WHERE host_city = "Bar" |
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_38 (term_start VARCHAR, name VARCHAR)
### Question:
What is Term Start, when Name is Prime Ministers 1939 - 1943?
### Answer:
SELECT term_start FROM table_name_38 WHERE name = "prime ministers 1939 - 1943" |
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 teaches (name VARCHAR, id VARCHAR, semester VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR, semester VARCHAR)
### Question:
Find the names of instructors who didn't each any courses in any Spring semester.
### Answer:
SELECT name FROM instructor WHERE NOT id IN (SELECT id FROM teaches WHERE semester = 'Spring') |
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_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR)
### Question:
Which country had an interview score of 9.40 and average of 9.44?
### Answer:
SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44" |
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_18600760_12 (geo_id INTEGER, land___sqmi__ VARCHAR)
### Question:
What is the geo id of the land at 35.999?
### Answer:
SELECT MAX(geo_id) FROM table_18600760_12 WHERE land___sqmi__ = "35.999" |
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_43 (college VARCHAR, player VARCHAR)
### Question:
What college has Jojo Manalo?
### Answer:
SELECT college FROM table_name_43 WHERE player = "jojo manalo" |
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_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### Question:
What is the low grid for gerhard berger for laps over 56?
### Answer:
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56 |
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_25 (round INTEGER, college VARCHAR, overall VARCHAR)
### Question:
Which Round is the highest one that has a College of arizona, and an Overall larger than 120?
### Answer:
SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120 |
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_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR)
### Question:
With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹?
### Answer:
SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 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_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR)
### Question:
In what division was there a population density in km2 of 4,491.8 in 2011?
### Answer:
SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "4,491.8" |
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_82 (week INTEGER, result VARCHAR)
### Question:
How many Weeks have a Result of w 17–13?
### Answer:
SELECT AVG(week) FROM table_name_82 WHERE result = "w 17–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_4 (team_2 VARCHAR)
### Question:
What was the 2nd leg where the team 2 was budoni (sardinia)?
### Answer:
SELECT 2 AS nd_leg FROM table_name_4 WHERE team_2 = "budoni (sardinia)" |
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 (mother_tongue VARCHAR, population__2006_ VARCHAR)
### Question:
What is the mother tongue language shared by 300 people in 2006?
### Answer:
SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300 |
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_16 (driver VARCHAR, races INTEGER)
### Question:
Name the Driver that has Races greater than 16?
### Answer:
SELECT driver FROM table_name_16 WHERE races > 16 |
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_4 (venue VARCHAR, home_team VARCHAR)
### Question:
Where did Geelong play as the home team?
### Answer:
SELECT venue FROM table_name_4 WHERE home_team = "geelong" |
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_24649082_1 (_number INTEGER, written_by VARCHAR)
### Question:
What is the most recent episode number written by Matthew Pitts?
### Answer:
SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts" |
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_21256068_3 (round VARCHAR, attendance VARCHAR)
### Question:
state the round that had a game attended attended by 9359 people
### Answer:
SELECT round FROM table_21256068_3 WHERE attendance = 9359 |
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_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR)
### Question:
What is the L3 cache of the processor with a release price of $440?
### Answer:
SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440" |
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_70 (venue VARCHAR, notes VARCHAR, year VARCHAR, position VARCHAR)
### Question:
What is the Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th?
### Answer:
SELECT venue FROM table_name_70 WHERE year > 2006 AND position = "7th" AND notes = "heptathlon" |
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_12962773_14 (no INTEGER, player VARCHAR)
### Question:
What number does aleksandar ćapin wear?
### Answer:
SELECT MAX(no) FROM table_12962773_14 WHERE player = "Aleksandar Ćapin" |
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 (order VARCHAR, red_list VARCHAR, family VARCHAR)
### Question:
What is the order for a red list of 7 in the didelphidae family?
### Answer:
SELECT order FROM table_name_91 WHERE red_list = 7 AND family = "didelphidae" |
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 (score VARCHAR, result VARCHAR)
### Question:
What was the final score when the result was 4-0?
### Answer:
SELECT score FROM table_name_1 WHERE result = "4-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_2668243_8 (district VARCHAR, incumbent VARCHAR)
### Question:
What district is Joseph Lecompte in office in?
### Answer:
SELECT district FROM table_2668243_8 WHERE incumbent = "Joseph Lecompte" |
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_73 (round VARCHAR, draft VARCHAR, pick VARCHAR, nationality VARCHAR, position VARCHAR)
### Question:
In which round was Position G from the United States drafted as Pick 13 in 1971-1 1971?
### Answer:
SELECT round FROM table_name_73 WHERE nationality = "united states" AND position = "g" AND pick = "13" AND draft = "1971-1 1971" |
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 (rank INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
what is the highest rank for italy when gold is more than 1?
### Answer:
SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 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_28298589_4 (broadcast VARCHAR, home_team VARCHAR)
### Question:
How many Connecticut home games were broadcast?
### Answer:
SELECT COUNT(broadcast) FROM table_28298589_4 WHERE home_team = "Connecticut" |
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 Person (name VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, age INTEGER)
### Question:
Who is the oldest person?
### Answer:
SELECT name FROM Person WHERE age = (SELECT MAX(age) FROM person) |
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_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
### Question:
How many times did Viorel Moldovan replaced a manager?
### Answer:
SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan" |
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 (against INTEGER, status VARCHAR, date VARCHAR)
### Question:
Can you tell me the highest Against that has the Status of six nations, and the Date of 02/03/2002?
### Answer:
SELECT MAX(against) FROM table_name_35 WHERE status = "six nations" AND date = "02/03/2002" |
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_20540006_6 (attendance INTEGER, challenge_leader VARCHAR)
### Question:
What was the attendance for the game when the challenge leader was at Big East (4-2)?
### Answer:
SELECT MAX(attendance) FROM table_20540006_6 WHERE challenge_leader = "Big East (4-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_name_91 (state VARCHAR, host VARCHAR)
### Question:
What state is the University of Tennessee located in?
### Answer:
SELECT state FROM table_name_91 WHERE host = "university of tennessee" |
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_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)
### Question:
What capital has an S.Number under 7, and a Name of janapada of Punia?
### Answer:
SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = "punia" |
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_42 (away VARCHAR, home VARCHAR)
### Question:
What is the away team whose home is Victoria?
### Answer:
SELECT away FROM table_name_42 WHERE home = "victoria" |
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_51 (pick VARCHAR, college VARCHAR, overall VARCHAR)
### Question:
How many Picks have a College of hawaii, and an Overall smaller than 122?
### Answer:
SELECT COUNT(pick) FROM table_name_51 WHERE college = "hawaii" AND overall < 122 |
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_73 (year VARCHAR, award VARCHAR, title VARCHAR)
### Question:
How many years have an Award of venice film festival, and a Title of lust, caution?
### Answer:
SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution" |
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 (venue VARCHAR, away_team VARCHAR)
### Question:
What was the venue that featured the Melbourne Tigers as the away team?
### Answer:
SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers" |
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 institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)
### Question:
How many proteins are associated with an institution in a building with at least 20 floors?
### Answer:
SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 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_65 (diameter__km_ VARCHAR, longitude VARCHAR)
### Question:
How long is the diameter that has a longitude of 8.0e?
### Answer:
SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e" |
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 (pick INTEGER, round VARCHAR, college VARCHAR)
### Question:
What is the highest Pick, when Round is greater than 15, and when College is "Tennessee"?
### Answer:
SELECT MAX(pick) FROM table_name_19 WHERE round > 15 AND college = "tennessee" |
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 (date VARCHAR, home_team VARCHAR)
### Question:
What wa the date of the North Melbourne home game?
### Answer:
SELECT date FROM table_name_76 WHERE home_team = "north melbourne" |
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_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)
### Question:
What is the hd designation for arrival date of February 2070?
### Answer:
SELECT COUNT(hd_designation) FROM table_1820752_1 WHERE arrival_date = "February 2070" |
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 actor (Character VARCHAR, age VARCHAR)
### Question:
What are the characters of actors in descending order of age?
### Answer:
SELECT Character FROM actor ORDER BY age DESC |
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_14 (round INTEGER, opponent VARCHAR)
### Question:
What round did Takayo Hashi face Yoko Hattori?
### Answer:
SELECT SUM(round) FROM table_name_14 WHERE opponent = "yoko hattori" |
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 (drawn VARCHAR, points_difference VARCHAR)
### Question:
What is the number of draws for the team with a points difference of -210?
### Answer:
SELECT drawn FROM table_name_12 WHERE points_difference = "-210" |
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 (party VARCHAR, electorate VARCHAR)
### Question:
What party is the member that has an electorate of Lindsay?
### Answer:
SELECT party FROM table_name_34 WHERE electorate = "lindsay" |
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_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR)
### Question:
What is the unemployment rate in those places in Alexander county whose status is transitional?
### Answer:
SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander" |
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_38 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
What tournament was Kirk Triplett a runner-up in?
### Answer:
SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett" |
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 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
### Question:
What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻?
### Answer:
SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = "wong fei hung - master of kung fu 我師傅係黃飛鴻" |
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_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)
### Question:
Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?
### Answer:
SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad" |
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_10 (nationality VARCHAR, college VARCHAR)
### Question:
What's the nationality of Louisiana Tech?
### Answer:
SELECT nationality FROM table_name_10 WHERE college = "louisiana tech" |
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 WINE (Name VARCHAR, score INTEGER)
### Question:
List the names of all distinct wines that have scores higher than 90.
### Answer:
SELECT Name FROM WINE WHERE score > 90 |
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 concert (YEAR VARCHAR)
### Question:
Which year has most number of concerts?
### Answer:
SELECT YEAR FROM concert GROUP BY YEAR 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_41 (decision VARCHAR, visitor VARCHAR)
### Question:
Who recorded the decision when philadelphia was away?
### Answer:
SELECT decision FROM table_name_41 WHERE visitor = "philadelphia" |
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_7 (spacecraft VARCHAR, launcher VARCHAR)
### Question:
Which spacecraft were launched by the Titan II?
### Answer:
SELECT spacecraft FROM table_name_7 WHERE launcher = "titan ii" |
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 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR)
### Question:
What is the eccentricity when the semimajor axis is 20 au?
### Answer:
SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au" |
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 (channels VARCHAR, clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)
### Question:
Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels?
### Answer:
SELECT channels FROM table_name_93 WHERE clock_rate__mhz_ < 400 AND bandwidth__mb_s_ = 1420 |
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_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)
### Question:
How many head coaches did Kent state golden flashes have?
### Answer:
SELECT COUNT(opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = "Kent State Golden Flashes" |
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_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who wrote the episode that received 1.83 million U.S. viewers?
### Answer:
SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83" |
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 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
### Question:
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?
### Answer:
SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_from_wellington = "175.67km" |
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_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR)
### Question:
When james brooks (d) is the vacator what is the date the successor was seated?
### Answer:
SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = "James Brooks (D)" |
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_2886617_2 (player VARCHAR, nhl_team VARCHAR)
### Question:
What player was picked by the New York Rangers?
### Answer:
SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers" |
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_19787093_1 (till_aligarh INTEGER, vehicle_category VARCHAR)
### Question:
If the vehicle category is multi-axle vehicle, what is the till aligarh?
### Answer:
SELECT MIN(till_aligarh) FROM table_19787093_1 WHERE vehicle_category = "Multi-axle Vehicle" |
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_21 (tie_no VARCHAR, away_team VARCHAR)
### Question:
When Lincoln City was the away team what is the tie number?
### Answer:
SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city" |
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_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
### Question:
Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver?
### Answer:
SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 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_37 (points VARCHAR, entrant VARCHAR, year VARCHAR)
### Question:
How many points did Bob Gerard Racing have in 1965?
### Answer:
SELECT points FROM table_name_37 WHERE entrant = "bob gerard racing" AND year = 1965 |
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 (record VARCHAR, score VARCHAR, visitor VARCHAR)
### Question:
What is the Record with a Score with 80–87, and a Visitor with bucks?
### Answer:
SELECT record FROM table_name_12 WHERE score = "80–87" AND visitor = "bucks" |
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 (surface VARCHAR, partner VARCHAR)
### Question:
What was the surface for the game that was played with partner Tiya Rolle?
### Answer:
SELECT surface FROM table_name_35 WHERE partner = "tiya rolle" |
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_1733457_1 (kerry_number INTEGER, bush_percentage VARCHAR)
### Question:
Name the minimum kerry # for bush % for 50.9%
### Answer:
SELECT MIN(kerry_number) FROM table_1733457_1 WHERE bush_percentage = "50.9%" |
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 (distance__km_ INTEGER, station VARCHAR)
### Question:
What is the distance of Kawage station?
### Answer:
SELECT SUM(distance__km_) FROM table_name_19 WHERE station = "kawage" |
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_9 (home_team VARCHAR)
### Question:
What was South Melbourne's score when they played as the home team?
### Answer:
SELECT home_team AS score FROM table_name_9 WHERE home_team = "south melbourne" |
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_87 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team for the Princes Park venue?
### Answer:
SELECT home_team FROM table_name_87 WHERE venue = "princes park" |
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_15211468_1 (episode_title VARCHAR, episode_no VARCHAR)
### Question:
What is the episode title for the episode numbered #1.4?
### Answer:
SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.4" |
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_39 (college VARCHAR, pick__number VARCHAR)
### Question:
What college did the #22 overall draft pick attend?
### Answer:
SELECT college FROM table_name_39 WHERE pick__number = 22 |
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 (surface VARCHAR, score VARCHAR)
### Question:
Which has a Score of 6–1, 3–0 ret.?
### Answer:
SELECT surface FROM table_name_45 WHERE score = "6–1, 3–0 ret." |
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_13464416_6 (game VARCHAR, location_attendance VARCHAR)
### Question:
how many times was the participation at omni coliseum 7,194?
### Answer:
SELECT game FROM table_13464416_6 WHERE location_attendance = "Omni Coliseum 7,194" |
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_46 (gold VARCHAR, total INTEGER)
### Question:
Name the gold with total larger than 33
### Answer:
SELECT gold FROM table_name_46 WHERE total > 33 |
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 (second VARCHAR, alternate VARCHAR)
### Question:
Who is the second for the team with alternate Margarita Fomina?
### Answer:
SELECT second FROM table_name_12 WHERE alternate = "margarita fomina" |
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_22 (position VARCHAR, round VARCHAR, player VARCHAR)
### Question:
What is the position Bill Campbell played before round 6?
### Answer:
SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell" |
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_59 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, player VARCHAR)
### Question:
What is Career with the franchise [b ], when Player is "Willie Anderson Category:Articles with hCards"?
### Answer:
SELECT career_with_the_franchise_[b_] FROM table_name_59 WHERE player = "willie anderson category:articles with hcards" |
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_59 (name VARCHAR, rank VARCHAR, nationality VARCHAR)
### Question:
What's the name of spain rank greater than 2?
### Answer:
SELECT name FROM table_name_59 WHERE rank > 2 AND nationality = "spain" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.