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_90 (capacity INTEGER, average VARCHAR, highest VARCHAR)
### Question:
What is the high capacity that has an average under 489 and a highest over 778?
### Answer:
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778 |
Below is an context that describes a 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_44 (part_2 VARCHAR, part_4 VARCHAR)
### Question:
When is Part 2, when Part 4 is on December 9, 2007?
### Answer:
SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 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_11803648_22 (round INTEGER, club_team VARCHAR)
### Question:
What is the last round with club team Guelph Storm (ohl)?
### Answer:
SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)" |
Below is an context that describes a 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 (pop_density__per_km_2__ VARCHAR, municipality VARCHAR)
### Question:
What is the population density of Caramoran?
### Answer:
SELECT pop_density__per_km_2__ FROM table_255829_1 WHERE municipality = "Caramoran" |
Below is an context that describes a 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 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR)
### Question:
What is the home in mellon arena at 7:30 pm with a record o 2-5-2?
### Answer:
SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-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_81 (team VARCHAR, rank VARCHAR, rider VARCHAR)
### Question:
What's Matts Nilsson's team that's ranked better than 7?
### Answer:
SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "matts nilsson" |
Below is an context that describes a 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 (surface VARCHAR, date VARCHAR)
### Question:
What is the Surface of the Tournament on June 11, 2006?
### Answer:
SELECT surface FROM table_name_67 WHERE date = "june 11, 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_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
### Question:
What were the years active where Asian Cup played as a captain is Iran 1976?
### Answer:
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 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_21761882_4 (date VARCHAR, week VARCHAR)
### Question:
What was the date of the game in week 3?
### Answer:
SELECT date FROM table_21761882_4 WHERE week = 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_65 (loss VARCHAR, attendance VARCHAR)
### Question:
What was the loss details for the team with an attendance of 15,298?
### Answer:
SELECT loss FROM table_name_65 WHERE attendance = "15,298" |
Below is an context that describes a 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 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR)
### Question:
Which co drivers are 3rd in Joest racing?
### Answer:
SELECT co_drivers FROM table_name_23 WHERE pos = "3rd" AND team = "joest racing" |
Below is an context that describes a 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 (competition VARCHAR, round VARCHAR, score VARCHAR)
### Question:
Which Competition has a 2nd round score of 1:0, 0:1 (4:3 a.p.)?
### Answer:
SELECT competition FROM table_name_71 WHERE round = "2nd round" AND score = "1:0, 0:1 (4:3 a.p.)" |
Below is an context that describes a 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 (year INTEGER, game VARCHAR)
### Question:
Which Year has a Game of resident evil 4?
### Answer:
SELECT AVG(year) FROM table_name_35 WHERE game = "resident evil 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_10566855_1 (runner_up VARCHAR, premier VARCHAR)
### Question:
who are all the runner-up for premier in richmond
### Answer:
SELECT runner_up FROM table_10566855_1 WHERE premier = "Richmond" |
Below is an context that describes a 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 (away_team VARCHAR)
### Question:
What was the score for Footscray when they were the away team?
### Answer:
SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray" |
Below is an context that describes a 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_48 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is the time of the driver on grid 7?
### Answer:
SELECT time_retired FROM table_name_48 WHERE grid = 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_15 (week INTEGER, result VARCHAR)
### Question:
Tell me the sum of week for result of l 24–21
### Answer:
SELECT SUM(week) FROM table_name_15 WHERE result = "l 24–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_44 (athlete VARCHAR, country VARCHAR)
### Question:
Which athlete is from Norway?
### Answer:
SELECT athlete FROM table_name_44 WHERE country = "norway" |
Below is an context that describes a 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 (position VARCHAR, name VARCHAR, overall VARCHAR, round VARCHAR)
### Question:
What position did eric norri play who was the overall pick less than 322 on a round larger than 3?
### Answer:
SELECT position FROM table_name_33 WHERE overall < 322 AND round > 3 AND name = "eric norri" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28283535_4 (rating VARCHAR, episode VARCHAR)
### Question:
What is the rating of episode 1.04?
### Answer:
SELECT rating FROM table_28283535_4 WHERE episode = "1.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_3 (country VARCHAR, director VARCHAR)
### Question:
What is the Country of origin for the film directed by George Miller?
### Answer:
SELECT country FROM table_name_3 WHERE director = "george miller" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1506950_4 (player VARCHAR, finish VARCHAR)
### Question:
What players finished 2nd?
### Answer:
SELECT player FROM table_1506950_4 WHERE finish = "2nd" |
Below is an context that describes a 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 (deleted VARCHAR, listed VARCHAR, name VARCHAR)
### Question:
On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?
### Answer:
SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285805_8 (date VARCHAR, location_attendance VARCHAR)
### Question:
On which datebis arco arena 17361 the location attendance?
### Answer:
SELECT date FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR)
### Question:
what is the number of the wc matches if the matches were 79
### Answer:
SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)
### Question:
How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?
### Answer:
SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "No. 42 Strakka Racing" |
Below is an context that describes a 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 (railway_number_s_ VARCHAR, class VARCHAR)
### Question:
What is the railway number of t 4 ii class?
### Answer:
SELECT railway_number_s_ FROM table_name_68 WHERE class = "t 4 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 Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)
### Question:
How many documents were shipped by USPS?
### Answer:
SELECT COUNT(*) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS" |
Below is an context that describes a 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_80 (c_span_2009 VARCHAR, times_2008 VARCHAR)
### Question:
what is c-span 2009 when times 2008** is 08?
### Answer:
SELECT c_span_2009 FROM table_name_80 WHERE times_2008 * * = "08" |
Below is an context that describes a 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 (attendance VARCHAR, score VARCHAR)
### Question:
What is the Attendance of the game with a Score of 0 – 0?
### Answer:
SELECT attendance FROM table_name_94 WHERE score = "0 – 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_83 (label VARCHAR, region VARCHAR, catalog VARCHAR)
### Question:
What label has the netherlands as the region, and magik muzik 802-1 as the catalog?
### Answer:
SELECT label FROM table_name_83 WHERE region = "netherlands" AND catalog = "magik muzik 802-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_18 (result___category VARCHAR, year INTEGER)
### Question:
Which result is older than 2007?
### Answer:
SELECT result___category FROM table_name_18 WHERE year < 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_name_72 (score VARCHAR, result VARCHAR, date VARCHAR)
### Question:
On 9/3/97, what was the score that resulted in a w?
### Answer:
SELECT score FROM table_name_72 WHERE result = "w" AND date = "9/3/97" |
Below is an context that describes a 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 (pick VARCHAR, position VARCHAR, nationality VARCHAR, college_high_school_club VARCHAR)
### Question:
What was the pick number for the person from the United States who as drafted to the SF position from North Carolina?
### Answer:
SELECT pick FROM table_name_78 WHERE nationality = "united states" AND college_high_school_club = "north carolina" AND position = "sf" |
Below is an context that describes a 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 (margin_of_victory VARCHAR, winning_score VARCHAR)
### Question:
What was the margin of victory when the winning score was −14 (63-67-73-67=270)?
### Answer:
SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270) |
Below is an context that describes a 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 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
### Question:
What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283?
### Answer:
SELECT MAX(money___) AS $__ FROM table_name_67 WHERE to_par = "+3" AND score = 76 - 69 - 69 - 69 = 283 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27303975_2 (studio VARCHAR, title VARCHAR)
### Question:
Name the studio for super callanetics
### Answer:
SELECT studio FROM table_27303975_2 WHERE title = "Super Callanetics" |
Below is an context that describes a 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 (result VARCHAR, year INTEGER)
### Question:
What result has a year after 2002?
### Answer:
SELECT result FROM table_name_35 WHERE year > 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_name_10 (country VARCHAR, city VARCHAR, rank VARCHAR, capacity VARCHAR)
### Question:
Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,000?
### Answer:
SELECT country FROM table_name_10 WHERE rank > 68 AND capacity = "32,000" AND city = "santa fe" |
Below is an context that describes a 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the Away team at Hawthorn?
### Answer:
SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
### Question:
How many season premieres had 15.27 million viewers?
### Answer:
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.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_2182573_2 (poles INTEGER, year VARCHAR)
### Question:
How many poles were there in 1996?
### Answer:
SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996 |
Below is an context that describes a 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 (total VARCHAR, year_s__won VARCHAR)
### Question:
What was the total for the golfer who had a year won of 1987?
### Answer:
SELECT total FROM table_name_20 WHERE year_s__won = "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_name_63 (best VARCHAR, name VARCHAR)
### Question:
What was Dan Selznick best time?
### Answer:
SELECT best FROM table_name_63 WHERE name = "dan selznick" |
Below is an context that describes a 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 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What is the Score of the Round with Player Aaron Baddeley having a To par of +2?
### Answer:
SELECT score FROM table_name_61 WHERE to_par = "+2" AND player = "aaron baddeley" |
Below is an context that describes a 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 (races INTEGER, pole VARCHAR, season VARCHAR, flaps VARCHAR, podiums VARCHAR)
### Question:
WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1?
### Answer:
SELECT SUM(races) FROM table_name_93 WHERE flaps = 0 AND podiums > 0 AND season = "2008" AND pole < 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_52 (week_8 VARCHAR, week_1 VARCHAR)
### Question:
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?
### Answer:
SELECT week_8 FROM table_name_52 WHERE week_1 = "carol roopali" |
Below is an context that describes a 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 (spouse VARCHAR, birth VARCHAR)
### Question:
Who is the spouse of the person born on 29 September 1766?
### Answer:
SELECT spouse FROM table_name_82 WHERE birth = "29 september 1766" |
Below is an context that describes a 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 (game VARCHAR, opponent VARCHAR)
### Question:
Can you tell me the Game that has the Opponent of miami heat?
### Answer:
SELECT game FROM table_name_19 WHERE opponent = "miami heat" |
Below is an context that describes a 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 (result VARCHAR, round VARCHAR)
### Question:
What is Result, when Round is SF?
### Answer:
SELECT result FROM table_name_57 WHERE round = "sf" |
Below is an context that describes a 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 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR)
### Question:
What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao?
### Answer:
SELECT AVG(number_of_clubs) FROM table_name_66 WHERE fourth_placed = "shenzhen jianlibao" AND season < 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_1342270_3 (district VARCHAR, incumbent VARCHAR)
### Question:
what are all the district with incumbent being sam hobbs
### Answer:
SELECT district FROM table_1342270_3 WHERE incumbent = "Sam Hobbs" |
Below is an context that describes a 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_52 (venue VARCHAR, date VARCHAR)
### Question:
Which Venue is listed under the Date of 21st?
### Answer:
SELECT venue FROM table_name_52 WHERE date = "21st" |
Below is an context that describes a 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 (median_family_income VARCHAR, median_household_income VARCHAR)
### Question:
Which Median family income has a Median household income of $43,125?
### Answer:
SELECT median_family_income FROM table_name_12 WHERE median_household_income = "$43,125" |
Below is an context that describes a 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 (laps VARCHAR, driver VARCHAR)
### Question:
How many laps did Fernando Alonso do?
### Answer:
SELECT laps FROM table_name_3 WHERE driver = "fernando alonso" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Payments (Payment_ID VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR, Payment_Method_Code VARCHAR)
### Question:
Which Payments were processed with Visa? List the payment Id, the date and the amount.
### Answer:
SELECT Payment_ID, Date_Payment_Made, Amount_Payment FROM Payments WHERE Payment_Method_Code = 'Visa' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1644857_2 (skip VARCHAR, pf VARCHAR)
### Question:
Who was skip for the country whose points for (PF) was 73?
### Answer:
SELECT skip FROM table_1644857_2 WHERE pf = 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_24 (language VARCHAR, points VARCHAR, place VARCHAR)
### Question:
what is the language when the points is more than 119 and the place is higher than 5?
### Answer:
SELECT language FROM table_name_24 WHERE points > 119 AND place > 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_27756314_8 (high_points VARCHAR, team VARCHAR)
### Question:
Who had the high points when the team was charlotte?
### Answer:
SELECT high_points FROM table_27756314_8 WHERE team = "Charlotte" |
Below is an context that describes a 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 (label VARCHAR, format VARCHAR)
### Question:
What is the label with the LP format?
### Answer:
SELECT label FROM table_name_86 WHERE format = "lp" |
Below is an context that describes a 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 (november VARCHAR, september VARCHAR, february VARCHAR, march VARCHAR)
### Question:
What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?
### Answer:
SELECT COUNT(november) FROM table_name_50 WHERE february > 8.53 AND march = 20.21 AND september < 7.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_22 (pick__number INTEGER, overall VARCHAR)
### Question:
What is the Pick # with an Overall of 19?
### Answer:
SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 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_2897457_8 (player VARCHAR, nhl_team VARCHAR)
### Question:
Who was drafted to the Vancouver Canucks?
### Answer:
SELECT player FROM table_2897457_8 WHERE nhl_team = "Vancouver Canucks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE happy_hour (MONTH VARCHAR)
### Question:
Which month has the most happy hours?
### Answer:
SELECT MONTH FROM happy_hour GROUP BY MONTH 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_82 (champion VARCHAR, score VARCHAR)
### Question:
What Champion had a Score of 9–1?
### Answer:
SELECT champion FROM table_name_82 WHERE score = "9–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_68 (score VARCHAR, player VARCHAR)
### Question:
What is Score, when Player is "Brad Faxon"?
### Answer:
SELECT score FROM table_name_68 WHERE player = "brad faxon" |
Below is an context that describes a 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 (local_authority VARCHAR, services VARCHAR)
### Question:
Which Local authority has Services of greater anglia?
### Answer:
SELECT local_authority FROM table_name_33 WHERE services = "greater anglia" |
Below is an context that describes a 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 (distance VARCHAR, event VARCHAR, location VARCHAR)
### Question:
Which Distance has an Event of breaststroke, and a Location of beijing, chn?
### Answer:
SELECT distance FROM table_name_16 WHERE event = "breaststroke" AND location = "beijing, chn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR)
### Question:
What location with it's corresponding attendance was the game against Utah Jazz?
### Answer:
SELECT location_attendance FROM table_27902171_6 WHERE team = "Utah Jazz" |
Below is an context that describes a 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 (school VARCHAR, player VARCHAR)
### Question:
Which School did Player Tyrone Johnson attend?
### Answer:
SELECT school FROM table_name_42 WHERE player = "tyrone johnson" |
Below is an context that describes a 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_81 (challenge_loser VARCHAR, challenge_winner VARCHAR)
### Question:
Which challenge loser has a Challenge Winner of roseny?
### Answer:
SELECT challenge_loser FROM table_name_81 WHERE challenge_winner = "roseny" |
Below is an context that describes a 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 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
### Question:
How many episodes when the tv station is ntv and the japanese title is たったひとつの恋?
### Answer:
SELECT episodes FROM table_name_47 WHERE tv_station = "ntv" AND japanese_title = "たったひとつの恋" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29273243_1 (title VARCHAR, production_code VARCHAR)
### Question:
How many episodes have the production code ip04004?
### Answer:
SELECT COUNT(title) FROM table_29273243_1 WHERE production_code = "IP04004" |
Below is an context that describes a 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team's score for the match played at Victoria Park?
### Answer:
SELECT away_team AS score FROM table_name_89 WHERE venue = "victoria 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_27988408_1 (production_code INTEGER, written_by VARCHAR)
### Question:
Name the least production code for bryan moore & chris peterson
### Answer:
SELECT MIN(production_code) FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson" |
Below is an context that describes a 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 (record_label VARCHAR, album VARCHAR)
### Question:
Which Record label has an Album of rambo?
### Answer:
SELECT record_label FROM table_name_63 WHERE album = "rambo" |
Below is an context that describes a 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 (lane INTEGER, nationality VARCHAR, heat VARCHAR)
### Question:
What's Great Britain's lane with a heat less than 3?
### Answer:
SELECT AVG(lane) FROM table_name_40 WHERE nationality = "great britain" AND heat < 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_27 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
### Question:
What is the highest Total Medals that has 0 Gold Medal and a Ensemble of east 80 indoor percussion?
### Answer:
SELECT MAX(total_medals) FROM table_name_27 WHERE gold_medals = 0 AND ensemble = "east 80 indoor percussion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR)
### Question:
Name the position for michael warner
### Answer:
SELECT position FROM table_25017530_6 WHERE player = "Michael Warner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE votes (state VARCHAR, created VARCHAR)
### Question:
What are the distinct states and create time of all votes?
### Answer:
SELECT DISTINCT state, created FROM votes |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)
### Question:
Name the number of awardees for best cinematography
### Answer:
SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE name_of_award = "Best Cinematography" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22133191_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR)
### Question:
What is the date of vacancy for the person that left because of end of caretaker contract?
### Answer:
SELECT date_of_vacancy FROM table_22133191_3 WHERE manner_of_departure = "End of caretaker contract" |
Below is an context that describes a 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 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR)
### Question:
What is the current status for GM Advanced Design with more than 41 seats?
### Answer:
SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41 |
Below is an context that describes a 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 (valency_change VARCHAR, type VARCHAR)
### Question:
WHat is the Valency change of associative type?
### Answer:
SELECT valency_change FROM table_name_1 WHERE type = "associative" |
Below is an context that describes a 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 (to_par VARCHAR, player VARCHAR)
### Question:
What is the to par that has jimmy hines as the player?
### Answer:
SELECT to_par FROM table_name_46 WHERE player = "jimmy hines" |
Below is an context that describes a 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 (opponent VARCHAR, week VARCHAR)
### Question:
Who were the opponents during week 14?
### Answer:
SELECT opponent FROM table_name_53 WHERE week = 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_41 (winner VARCHAR, year VARCHAR, owner VARCHAR)
### Question:
Who was the winner after 1989 when Stronach Stable was the owner?
### Answer:
SELECT winner FROM table_name_41 WHERE year > 1989 AND owner = "stronach stable" |
Below is an context that describes a 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 (player VARCHAR, country VARCHAR)
### Question:
What Player has a Country of west germany?
### Answer:
SELECT player FROM table_name_86 WHERE country = "west germany" |
Below is an context that describes a 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 (facility_id INTEGER, call_sign VARCHAR)
### Question:
WHich Facility ID has a Call sign of wnpr?
### Answer:
SELECT AVG(facility_id) FROM table_name_64 WHERE call_sign = "wnpr" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR)
### Question:
What is the minimum rnd at Laguna Seca?
### Answer:
SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = "Laguna Seca" |
Below is an context that describes a 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 (date VARCHAR, beat_by VARCHAR, location VARCHAR)
### Question:
What was the date in which Chic won at CHS?
### Answer:
SELECT date FROM table_name_50 WHERE beat_by = "won" AND location = "chs" |
Below is an context that describes a 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 (notes VARCHAR, position VARCHAR)
### Question:
What notes have the 8th position?
### Answer:
SELECT notes FROM table_name_39 WHERE position = "8th" |
Below is an context that describes a 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 (city VARCHAR, building VARCHAR)
### Question:
What city is the bucharest tower center (btc) located in?
### Answer:
SELECT city FROM table_name_47 WHERE building = "bucharest tower center (btc)" |
Below is an context that describes a 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_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
### Question:
How tall is the player from Mississippi
### Answer:
SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25518547_4 (player VARCHAR, affiliation VARCHAR)
### Question:
How many players are affiliated with indiana university?
### Answer:
SELECT COUNT(player) FROM table_25518547_4 WHERE affiliation = "Indiana 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_50 (model VARCHAR, make VARCHAR)
### Question:
What model has de vaux continental as the make?
### Answer:
SELECT model FROM table_name_50 WHERE make = "de vaux continental" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2182654_6 (title VARCHAR, directed_by VARCHAR)
### Question:
What was the name of the episode that was directed by Mary Harron?
### Answer:
SELECT title FROM table_2182654_6 WHERE directed_by = "Mary Harron" |
Below is an context that describes a 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_55 (against VARCHAR, venue VARCHAR, date VARCHAR)
### Question:
What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
### Answer:
SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000" |
Below is an context that describes a 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 (type VARCHAR, length_overall VARCHAR)
### Question:
What type has an overall length of 1.605 m?
### Answer:
SELECT type FROM table_name_92 WHERE length_overall = "1.605 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_2 (weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR)
### Question:
How much did the girl, nicknamed Chidi, weigh at birth?
### Answer:
SELECT weight_at_birth FROM table_name_2 WHERE gender = "girl" AND nickname = "chidi" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.