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_15944_5 (effective_exhaust_velocity__m_s_ VARCHAR, scenario VARCHAR)
### Question:
What is the effective exhaust velocity in a Space Shuttle Vacuum?
### Answer:
SELECT COUNT(effective_exhaust_velocity__m_s_) FROM table_15944_5 WHERE scenario = "Space shuttle vacuum" |
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 (player VARCHAR, uefa_cup VARCHAR, total VARCHAR, ekstraklasa VARCHAR)
### Question:
Which Player has a Total of 3, and an Ekstraklasa smaller than 3, and a UEFA Cup of 2?
### Answer:
SELECT player FROM table_name_43 WHERE total = 3 AND ekstraklasa < 3 AND uefa_cup = 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_24 (attendance VARCHAR, week VARCHAR)
### Question:
What was the attendance of week 8?
### Answer:
SELECT attendance FROM table_name_24 WHERE week = 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_25580292_13 (young_rider_classification VARCHAR, winner VARCHAR)
### Question:
What was the young rider classification when manuel cardoso was the winner?
### Answer:
SELECT young_rider_classification FROM table_25580292_13 WHERE winner = "Manuel Cardoso" |
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_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)
### Question:
Which Position has a League from of western hockey league, and a Team from of everett silvertips?
### Answer:
SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silvertips" |
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_96 (score VARCHAR, record VARCHAR)
### Question:
Which score has a Record of 44-49?
### Answer:
SELECT score FROM table_name_96 WHERE record = "44-49" |
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 Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR)
### Question:
Find the last name and age of the student who has allergy to both milk and cat.
### Answer:
SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat") |
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 catalog_structure (catalog_level_name VARCHAR, catalog_level_number VARCHAR); CREATE TABLE catalog_contents (catalog_level_number VARCHAR, price_in_dollars VARCHAR)
### Question:
What is the level name of the cheapest catalog (in USD)?
### Answer:
SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars 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_76 (name VARCHAR, species_authority VARCHAR)
### Question:
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
### Answer:
SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825" |
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_14038363_1 (position VARCHAR, player VARCHAR)
### Question:
How many position does Teodor Salparov play on?
### Answer:
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov" |
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 (opponent VARCHAR, record VARCHAR)
### Question:
Can you tell me the Opponent that has the Record of 7-7-1?
### Answer:
SELECT opponent FROM table_name_8 WHERE record = "7-7-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_31 (player VARCHAR, to_par VARCHAR)
### Question:
Which player finished at +4?
### Answer:
SELECT player FROM table_name_31 WHERE to_par = "+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_59 (attendance INTEGER, score VARCHAR, away VARCHAR)
### Question:
What is the highest attendance of the match with a 2:0 score and vida as the away team?
### Answer:
SELECT MAX(attendance) FROM table_name_59 WHERE score = "2:0" AND away = "vida" |
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 (rank INTEGER, country VARCHAR)
### Question:
What is the smallest rank for new zealand?
### Answer:
SELECT MIN(rank) FROM table_name_23 WHERE country = "new zealand" |
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_66 (nationality VARCHAR, overall VARCHAR)
### Question:
Name the nationality of the player with an overall of 74
### Answer:
SELECT nationality FROM table_name_66 WHERE overall = 74 |
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 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home team when VFL played at Windy Hill?
### Answer:
SELECT home_team FROM table_name_16 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 table_173475_1 (release VARCHAR, title VARCHAR)
### Question:
What year(s) was axis & allies: d-day released?
### Answer:
SELECT release FROM table_173475_1 WHERE title = "Axis & Allies: D-Day" |
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 (lead VARCHAR, skip VARCHAR)
### Question:
Who was the lead when Jamie Meikle was the skip?
### Answer:
SELECT lead FROM table_name_11 WHERE skip = "jamie meikle" |
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_97 (video VARCHAR, aspect VARCHAR, channel VARCHAR)
### Question:
Which video is on channel 31.2 with a 4:3 aspect?
### Answer:
SELECT video FROM table_name_97 WHERE aspect = "4:3" AND channel = 31.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_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
### Question:
What was the last year that incumbent joseph t. deal was first elected?
### Answer:
SELECT MAX(first_elected) FROM table_1342379_45 WHERE incumbent = "Joseph T. Deal" |
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_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)
### Question:
Give swimsuit scores of participants 8.847 in preliminary
### Answer:
SELECT swimsuit FROM table_17088705_2 WHERE preliminary = "8.847" |
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_72 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR)
### Question:
Round 1 of 70, and a Money ($) larger than 500,000 has the highest year?
### Answer:
SELECT MAX(year) FROM table_name_72 WHERE round_1 = "70" AND money__$_ > 500 OFFSET 000 |
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_62 (nationality VARCHAR, years_in_new_jersey VARCHAR)
### Question:
What is the nationality of the play for New Jersey from 2007-2009?
### Answer:
SELECT nationality FROM table_name_62 WHERE years_in_new_jersey = "2007-2009" |
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 Documents (document_type_code VARCHAR)
### Question:
List document type codes and the number of documents in each code.
### Answer:
SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code |
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_97 (opponent VARCHAR, week VARCHAR, date VARCHAR)
### Question:
Who was the opponent of the game before week 11 on October 31, 1976?
### Answer:
SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976" |
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_61 (player VARCHAR, school VARCHAR)
### Question:
What is the player that went to st. benedict's prep?
### Answer:
SELECT player FROM table_name_61 WHERE school = "st. benedict's prep" |
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 (lost INTEGER, pool_round VARCHAR, played VARCHAR)
### Question:
Can you tell me the highest Lost that has the Pool/Round of pool 2, and the Played smaller than 6?
### Answer:
SELECT MAX(lost) FROM table_name_43 WHERE pool_round = "pool 2" AND played < 6 |
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_62 (opened INTEGER, city VARCHAR, stadium VARCHAR)
### Question:
What is the average opened year of Mini Estadi stadium in Barcelona, Spain?
### Answer:
SELECT AVG(opened) FROM table_name_62 WHERE city = "barcelona, spain" AND stadium = "mini estadi" |
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_64 (country VARCHAR, lane VARCHAR, name VARCHAR)
### Question:
Which country has Anselmo Da Silva in lane 2?
### Answer:
SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva" |
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 (entries VARCHAR, wins INTEGER)
### Question:
What is the number of entries associated with more than 11 wins?
### Answer:
SELECT entries FROM table_name_51 WHERE wins > 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_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)
### Question:
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
### Answer:
SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" |
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_1331313_1 (acronym VARCHAR, department VARCHAR)
### Question:
what's the acronym with department being department of finance kagawaran ng pananalapi
### Answer:
SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi" |
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 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
Which team 1 has team 2, Gomera?
### Answer:
SELECT team_1 FROM table_name_54 WHERE team_2 = "gomera" |
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 (co_champions VARCHAR, solo VARCHAR, mrc_championships VARCHAR)
### Question:
What was the co-champions value when solo was 3 and MRC Championships is greater than 3?
### Answer:
SELECT co_champions FROM table_name_49 WHERE solo = 3 AND mrc_championships > 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_2105721_1 (episode VARCHAR, run_time VARCHAR)
### Question:
Name the total episode for runtime of 24:11
### Answer:
SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24: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_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR)
### Question:
Who was the actor/actress with a first appearance is 3 june 2007?
### Answer:
SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007" |
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_256286_45 (type VARCHAR, description VARCHAR)
### Question:
What is the type of measure that voted on the Power Development Debt Limit Amendment?
### Answer:
SELECT type FROM table_256286_45 WHERE description = "Power Development Debt Limit Amendment" |
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_72 (license VARCHAR, creator VARCHAR)
### Question:
What is the name of the license created by IETF?
### Answer:
SELECT license FROM table_name_72 WHERE creator = "ietf" |
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 Addresses (State_County VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Marketing_Region_Code VARCHAR)
### Question:
What are the states or counties of the address of the stores with marketing region code "CA"?
### Answer:
SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Marketing_Region_Code = "CA" |
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_20750731_1 (others_number VARCHAR, mccain_number VARCHAR)
### Question:
Name the Others# when McCain# is 4730.
### Answer:
SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730 |
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 (type VARCHAR, title VARCHAR)
### Question:
What type of state did the ruler have a title?
### Answer:
SELECT type FROM table_name_54 WHERE title = "ruler" |
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 (recopa_1994 VARCHAR, supercopa_1994 VARCHAR, team VARCHAR)
### Question:
Which Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors?
### Answer:
SELECT recopa_1994 FROM table_name_54 WHERE supercopa_1994 = "1st round" AND team = "argentinos juniors" |
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 (colonized VARCHAR, school VARCHAR)
### Question:
When was shippensburg university Colonized?
### Answer:
SELECT colonized FROM table_name_56 WHERE school = "shippensburg university" |
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 (grid INTEGER, rider VARCHAR)
### Question:
What is the highest grid that tetsuya harada rode in?
### Answer:
SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada" |
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 (runner_s__up VARCHAR, tournament VARCHAR)
### Question:
Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament?
### Answer:
SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am" |
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_97 (score VARCHAR, team VARCHAR)
### Question:
What was the score for the game against San Antonio?
### Answer:
SELECT score FROM table_name_97 WHERE team = "san antonio" |
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_15088557_1 (stage INTEGER, winner VARCHAR)
### Question:
What is the minimum stage where Sergei Smetanine won?
### Answer:
SELECT MIN(stage) FROM table_15088557_1 WHERE winner = "Sergei Smetanine" |
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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
On April 22 when the Los Angeles Kings where visitors what was the record?
### Answer:
SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 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_49 (record VARCHAR, leading_scorer VARCHAR)
### Question:
What is the Record with a Leading scorer with andrew bogut (29)?
### Answer:
SELECT record FROM table_name_49 WHERE leading_scorer = "andrew bogut (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_42 (score VARCHAR, competition VARCHAR)
### Question:
What was the score during the competition of 1998 fifa world cup qualification?
### Answer:
SELECT score FROM table_name_42 WHERE competition = "1998 fifa world cup qualification" |
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_1341453_22 (candidates VARCHAR, party VARCHAR, district VARCHAR)
### Question:
List the candidates in district Maryland 1 where the republican party won.
### Answer:
SELECT candidates FROM table_1341453_22 WHERE party = "Republican" AND district = "Maryland 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_98 (team_2 VARCHAR)
### Question:
What is the 1st leg with Team 2 Lyon?
### Answer:
SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = "lyon" |
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 (score VARCHAR, home VARCHAR)
### Question:
What did st. louis score at home?
### Answer:
SELECT score FROM table_name_11 WHERE home = "st. louis" |
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 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR)
### Question:
What were the bowling figures for the competition at Pietermaritzburg?
### Answer:
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_19 WHERE venue = "pietermaritzburg" |
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 (attendance VARCHAR, week VARCHAR)
### Question:
What was the attendance during the week 1 match?
### Answer:
SELECT attendance FROM table_name_2 WHERE week = 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_19 (to_par VARCHAR, money___£__ INTEGER)
### Question:
What is the To par of the player with Money of 7,750 or more?
### Answer:
SELECT to_par FROM table_name_19 WHERE money___£__ > 7 OFFSET 750 |
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 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR)
### Question:
How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 off 0 men and a Wounded of 0 off 0 men?
### Answer:
SELECT missing FROM table_name_89 WHERE killed = "0 off 0 men" AND wounded = "0 off 0 men" AND unit = "royal waggon train" |
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 (laps VARCHAR, grid VARCHAR)
### Question:
How many laps were there for a grid of 13?
### Answer:
SELECT COUNT(laps) FROM table_name_35 WHERE grid = 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_92 (english VARCHAR, latin VARCHAR)
### Question:
What is the English word for the Latin word uxor?
### Answer:
SELECT english FROM table_name_92 WHERE latin = "uxor" |
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 (title VARCHAR, audience VARCHAR)
### Question:
Which title had an audience of 4.629.000?
### Answer:
SELECT title FROM table_name_68 WHERE audience = "4.629.000" |
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_27721131_6 (score VARCHAR, high_points VARCHAR)
### Question:
What was the score when andray blatche , al thornton (20) had the high points?
### Answer:
SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (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_17 (d_40 VARCHAR, d_44 VARCHAR)
### Question:
I want the D 40 with D 44 of d 15
### Answer:
SELECT d_40 FROM table_name_17 WHERE d_44 = "d 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 tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
### Question:
Find number of tracks in each genre?
### Answer:
SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name |
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 (crowd VARCHAR, away_team VARCHAR)
### Question:
How big was the crowd when collingwood visited?
### Answer:
SELECT COUNT(crowd) FROM table_name_46 WHERE away_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_name_95 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR)
### Question:
Who was the entrant for Louis Chiron with a Chassis of T26C?
### Answer:
SELECT entrant FROM table_name_95 WHERE driver = "louis chiron" AND chassis = "t26c" |
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 (ad_freq VARCHAR, show_name VARCHAR)
### Question:
How often are there ads during American Top 40?
### Answer:
SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40" |
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_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)
### Question:
what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson
### Answer:
SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson" |
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 (role VARCHAR, language VARCHAR, year VARCHAR)
### Question:
What role is spoken in hindi in 2011?
### Answer:
SELECT role FROM table_name_26 WHERE language = "hindi" AND year = 2011 |
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_29050051_3 (name VARCHAR, previous_school VARCHAR)
### Question:
Who previously attended south kent school / brentwood hs?
### Answer:
SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS" |
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_255829_1 (population__2007_ VARCHAR, municipality VARCHAR)
### Question:
What is the 2007 population of Gigmoto?
### Answer:
SELECT COUNT(population__2007_) FROM table_255829_1 WHERE municipality = "Gigmoto" |
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 (game INTEGER, team VARCHAR)
### Question:
Can you tell me the average Game that has the Team of @ boston?
### Answer:
SELECT AVG(game) FROM table_name_30 WHERE team = "@ boston" |
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 (upstream VARCHAR, internet_plan VARCHAR)
### Question:
What is the upstream for the internet 100 plans?
### Answer:
SELECT upstream FROM table_name_42 WHERE internet_plan = "internet 100" |
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_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR)
### Question:
Who directed the episode that had 6.04 million viewers?
### Answer:
SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = "6.04" |
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 (score VARCHAR, venue VARCHAR)
### Question:
What's the score at Olympic Stadium Tokyo, Japan?
### Answer:
SELECT score FROM table_name_49 WHERE venue = "olympic stadium tokyo, japan" |
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_97 (player VARCHAR, college VARCHAR)
### Question:
Which player is from the College of Alabama?
### Answer:
SELECT player FROM table_name_97 WHERE college = "alabama" |
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 (overs INTEGER, player VARCHAR)
### Question:
What did Xavier Doherty (Tasmania) set as his highest Overs?
### Answer:
SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)" |
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_79 (pts INTEGER, year VARCHAR, chassis VARCHAR)
### Question:
What is the highest pts after 1952 with connaught type a?
### Answer:
SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = "connaught type a" |
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 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR)
### Question:
What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale?
### Answer:
SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale" |
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 (rank INTEGER, react VARCHAR, lane VARCHAR, athlete VARCHAR)
### Question:
How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203?
### Answer:
SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203 |
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 (played INTEGER, position VARCHAR, drawn VARCHAR, team VARCHAR)
### Question:
Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6?
### Answer:
SELECT MAX(played) FROM table_name_95 WHERE drawn = 5 AND team = "palmeiras" AND position < 6 |
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 (competition VARCHAR, score VARCHAR)
### Question:
Which Competition has a Score of 2-0?
### Answer:
SELECT competition FROM table_name_7 WHERE score = "2-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_50 (pick INTEGER, position VARCHAR)
### Question:
What was the highest guard picked?
### Answer:
SELECT MAX(pick) FROM table_name_50 WHERE position = "guard" |
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 (office VARCHAR, republican_ticket VARCHAR)
### Question:
What is the Office when the Republican ticket shows seymour lowman?
### Answer:
SELECT office FROM table_name_63 WHERE republican_ticket = "seymour lowman" |
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_72 (visitor VARCHAR, home VARCHAR, date VARCHAR)
### Question:
Which Visitor has a Home of calgary, and a Date of april 17?
### Answer:
SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 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_31 (part_3 VARCHAR, part_2 VARCHAR)
### Question:
What is the part 3 with *hegait in part 2?
### Answer:
SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait" |
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 (details VARCHAR, label VARCHAR, year VARCHAR)
### Question:
Which details has the out of line label and the year of 2005?
### Answer:
SELECT details FROM table_name_9 WHERE label = "out of line" AND year = 2005 |
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 (score VARCHAR, february VARCHAR)
### Question:
what score was on february 21
### Answer:
SELECT score FROM table_name_18 WHERE february = 21 |
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 (name VARCHAR, year_completion_expected INTEGER)
### Question:
What are the names for projects that will be completed after 2016?
### Answer:
SELECT name FROM table_name_65 WHERE year_completion_expected > 2016 |
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_16388439_3 (date VARCHAR, ground VARCHAR)
### Question:
Name the date for bundaberg rum stadium
### Answer:
SELECT date FROM table_16388439_3 WHERE ground = "Bundaberg Rum 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_57 (location VARCHAR, res VARCHAR, event VARCHAR)
### Question:
In which location did he win the Superbrawl 16 event?
### Answer:
SELECT location FROM table_name_57 WHERE res = "win" AND event = "superbrawl 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_39 (total VARCHAR, years VARCHAR)
### Question:
What was the total for the year of 1925?
### Answer:
SELECT total FROM table_name_39 WHERE years = "1925" |
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 (year VARCHAR, engine VARCHAR)
### Question:
What year engine does a ferrari v6 have?
### Answer:
SELECT year FROM table_name_77 WHERE engine = "ferrari v6" |
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_24518475_1 (depth VARCHAR, time__utc_ VARCHAR)
### Question:
What is the depth of the aftershock at 18:00:22?
### Answer:
SELECT depth FROM table_24518475_1 WHERE time__utc_ = "18:00: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_88 (finish VARCHAR, league VARCHAR, year VARCHAR)
### Question:
In the Year 1939, what was the Finish when Al was the League?
### Answer:
SELECT finish FROM table_name_88 WHERE league = "al" AND year = 1939 |
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 (fastest_lap VARCHAR, winning_driver VARCHAR)
### Question:
When Michael Schumacher won the race, who had the fastest lap?
### Answer:
SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher" |
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 (pilot_s_ VARCHAR, location VARCHAR)
### Question:
Who was the pilot at lake dumbleyung?
### Answer:
SELECT pilot_s_ FROM table_name_43 WHERE location = "lake dumbleyung" |
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 (method VARCHAR, record VARCHAR)
### Question:
What is the method when the record was 3-2?
### Answer:
SELECT method FROM table_name_63 WHERE record = "3-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_65 (school VARCHAR, nickname_s_ VARCHAR)
### Question:
What is the school with the nickname Tornadoes Lady Tornadoes?
### Answer:
SELECT school FROM table_name_65 WHERE nickname_s_ = "tornadoes lady tornadoes" |
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_19001175_1 (wins INTEGER)
### Question:
Name the minimum wins
### Answer:
SELECT MIN(wins) FROM table_19001175_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_12 (date VARCHAR, score VARCHAR, record VARCHAR)
### Question:
Which Date has a Score of 24-7, and a Record of 4-10?
### Answer:
SELECT date FROM table_name_12 WHERE score = "24-7" AND record = "4-10" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.