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_15187735_18 (segment_b VARCHAR, episode VARCHAR)
### Question:
Name the segment b for 226 episode
### Answer:
SELECT segment_b FROM table_15187735_18 WHERE episode = 226 |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What is the result on 20 July 2008?
### Answer:
SELECT result FROM table_name_52 WHERE date = "20 july 2008" |
Below is an context that describes a sql 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 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
### Question:
Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
### Answer:
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26375386_23 (judges VARCHAR, result VARCHAR)
### Question:
How many judges were there for the eliminated couple?
### Answer:
SELECT judges FROM table_26375386_23 WHERE result = "Eliminated" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR)
### Question:
How many regions have a capital of matanzas and a 2005 population under 670427?
### Answer:
SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427 |
Below is an context that describes 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_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
### Question:
Find the first and last name of students who are living in the dorms that have amenity TV Lounge.
### Answer:
SELECT T1.fname, T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is 1984, when 1979 is "1R"?
### Answer:
SELECT 1984 FROM table_name_94 WHERE 1979 = "1r" |
Below is an context that describes a sql 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 (host_s_ VARCHAR, market VARCHAR)
### Question:
What is the Host of the Show with a Market of New York?
### Answer:
SELECT host_s_ FROM table_name_78 WHERE market = "new york" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score on 20/6/97?
### Answer:
SELECT score FROM table_name_9 WHERE date = "20/6/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_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR)
### Question:
What's the loss of the game with the opponent of the Nationals with a score of 7-1?
### Answer:
SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "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_178242_1 (name VARCHAR, channel VARCHAR, premiere___aired VARCHAR)
### Question:
What is the title that aired from 17 may 2008 – 21 june 2008 on Nederland 3?
### Answer:
SELECT name FROM table_178242_1 WHERE channel = "Nederland 3" AND premiere___aired = "17 May 2008 – 21 June 2008" |
Below is an context that describes a sql 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 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)
### Question:
What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?
### Answer:
SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 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_81 (description VARCHAR, livery VARCHAR)
### Question:
What is the description for the livery Br Grey?
### Answer:
SELECT description FROM table_name_81 WHERE livery = "br grey" |
Below is an context that describes a sql 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 (date VARCHAR, opponents VARCHAR)
### Question:
What date was georgie stoop emily webley-smith the opponent?
### Answer:
SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith" |
Below is an context that describes 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_contents (catalog_entry_name VARCHAR, height VARCHAR)
### Question:
What is the product with the highest height? Give me the catalog entry name.
### Answer:
SELECT catalog_entry_name FROM catalog_contents ORDER BY height 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_26387382_1 (power__mw·hr_yr_ VARCHAR, location__county_ VARCHAR)
### Question:
What locations are considered centre?
### Answer:
SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre" |
Below is an context that describes a sql 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 (year INTEGER, date VARCHAR)
### Question:
What is the sum of the year for 5 february?
### Answer:
SELECT SUM(year) FROM table_name_1 WHERE date = "5 february" |
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR)
### Question:
What is the Week of the game with a Result of L 24-0?
### Answer:
SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-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_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)
### Question:
What is the HDI 2011 of the country with a DI 2011 of 7.63?
### Answer:
SELECT hdi_2011 FROM table_name_54 WHERE di_2011 = "7.63" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR)
### Question:
What was the average crowd attendance for the Junction Oval venue?
### Answer:
SELECT AVG(crowd) FROM table_name_36 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_name_62 (location VARCHAR, enrollment INTEGER)
### Question:
Which Location has an Enrollment larger than 543?
### Answer:
SELECT location FROM table_name_62 WHERE enrollment > 543 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20016339_1 (fastest_laps VARCHAR, team VARCHAR)
### Question:
How many fastest laps did I.C. Team have?
### Answer:
SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team" |
Below is an context that describes a sql 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 (attendance VARCHAR, round VARCHAR)
### Question:
How many people attended round f?
### Answer:
SELECT COUNT(attendance) FROM table_name_72 WHERE round = "f" |
Below is an context that describes a sql 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 (date VARCHAR, decision VARCHAR, attendance VARCHAR)
### Question:
What was the date of the game with a decision of Lehtonen and attended by more than 17,731 people?
### Answer:
SELECT date FROM table_name_70 WHERE decision = "lehtonen" AND attendance > 17 OFFSET 731 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22962745_35 (scorecard VARCHAR, batsmen VARCHAR)
### Question:
What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
### Answer:
SELECT scorecard FROM table_22962745_35 WHERE batsmen = "Robin Uthappa Mark Boucher Jacques Kallis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR)
### Question:
How scored the most points where the record is 3-0 for the season?
### Answer:
SELECT high_points FROM table_23285849_5 WHERE record = "3-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_21 (high_assists VARCHAR, team VARCHAR)
### Question:
Who had the highest assists on the l.a. lakers?
### Answer:
SELECT high_assists FROM table_name_21 WHERE team = "l.a. lakers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13258851_2 (result VARCHAR, date VARCHAR)
### Question:
What was the result of the game played on September 16, 1984?
### Answer:
SELECT result FROM table_13258851_2 WHERE date = "September 16, 1984" |
Below is an context that describes a sql 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 (year INTEGER, work VARCHAR, award VARCHAR)
### Question:
Which Year is the highest one that has a Work of the clone, and an Award of contigo award?
### Answer:
SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award" |
Below is an context that describes a sql 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 (points INTEGER, laps VARCHAR, team VARCHAR)
### Question:
What is the highest number of points scored by minardi team usa in more than 13 laps?
### Answer:
SELECT MAX(points) FROM table_name_2 WHERE laps > 13 AND team = "minardi team usa" |
Below is an context that describes a sql 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 (burnley INTEGER, fylde VARCHAR, rossendale VARCHAR)
### Question:
How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0?
### Answer:
SELECT SUM(burnley) FROM table_name_97 WHERE fylde < 1 AND rossendale > 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_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)
### Question:
If the rating is 9.1, what was the total viewers?
### Answer:
SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "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_28195898_1 (title VARCHAR, № VARCHAR)
### Question:
What is the title of episode No. 65?
### Answer:
SELECT title FROM table_28195898_1 WHERE № = 65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2869837_1 (runners_up VARCHAR, school VARCHAR)
### Question:
What are the number of runners up for Royal School Dungannon?
### Answer:
SELECT runners_up FROM table_2869837_1 WHERE school = "Royal school Dungannon" |
Below is an context that describes a sql 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 (latin_motto VARCHAR, translation VARCHAR)
### Question:
What is the Latin motto of the sign that translates to spouse?
### Answer:
SELECT latin_motto FROM table_name_94 WHERE translation = "spouse" |
Below is an context that describes a sql 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 (years VARCHAR, model VARCHAR)
### Question:
What year was the SL 350 Model?
### Answer:
SELECT years FROM table_name_74 WHERE model = "sl 350" |
Below is an context that describes a sql 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 (number INTEGER, name VARCHAR)
### Question:
What is Tim Andree's greatest number?
### Answer:
SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree" |
Below is an context that describes a sql 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 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR)
### Question:
what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)?
### Answer:
SELECT year FROM table_name_81 WHERE position = "1/22 promoted" AND leading_scorer = "james dean (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_62 (goals_for VARCHAR, pct__percentage VARCHAR, points VARCHAR)
### Question:
How many Goals for were recorded when there was a percentage smaller than 0.519 and points greater than 65?
### Answer:
SELECT COUNT(goals_for) FROM table_name_62 WHERE pct__percentage < 0.519 AND points > 65 |
Below is an context that describes a sql 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 (shot_pct VARCHAR, stolen_ends VARCHAR)
### Question:
What is Shot Pct., when Stolen Ends is 2?
### Answer:
SELECT shot_pct FROM table_name_67 WHERE stolen_ends = 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_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)
### Question:
how many teams had an appointment date of 11 april 2011
### Answer:
SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 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_20592988_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR)
### Question:
What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected?
### Answer:
SELECT platelet_count FROM table_20592988_1 WHERE prothrombin_time = "Unaffected" AND partial_thromboplastin_time = "Unaffected" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 1989 result of the tournament in which Katerina finished nh in 1986?
### Answer:
SELECT 1989 FROM table_name_94 WHERE 1986 = "nh" |
Below is an context that describes a sql 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 (nationality VARCHAR, years_for_jazz VARCHAR)
### Question:
What is the nationality of all Utah Jazz Players, that played 1987-88?
### Answer:
SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (rank INTEGER, team VARCHAR, speed VARCHAR)
### Question:
What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Honda?
### Answer:
SELECT AVG(rank) FROM table_name_36 WHERE team = "250cc honda" AND speed = "111.072mph" |
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR)
### Question:
What is the total number of weeks that the buffalo bills played against the San Diego Chargers?
### Answer:
SELECT SUM(week) FROM table_name_49 WHERE opponent = "san diego chargers" |
Below is an context that describes a sql 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 (lane VARCHAR, nationality VARCHAR)
### Question:
what lane was new zealand in?
### Answer:
SELECT lane FROM table_name_86 WHERE nationality = "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_81 (english_translation VARCHAR, season_in_sanskrit VARCHAR)
### Question:
What is the english translation of the sanskrit word varsha?
### Answer:
SELECT english_translation FROM table_name_81 WHERE season_in_sanskrit = "varsha" |
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR, chassis VARCHAR)
### Question:
What is the most points earlier than 1953 with a Ferrari 375/50 chassis?
### Answer:
SELECT MAX(points) FROM table_name_22 WHERE year < 1953 AND chassis = "ferrari 375/50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14015965_1 (town VARCHAR, arena__capacity_ VARCHAR)
### Question:
What town is Volleyball Sportiv Complex (3 500) located in?
### Answer:
SELECT town FROM table_14015965_1 WHERE arena__capacity_ = "Volleyball Sportiv Complex (3 500)" |
Below is an context that describes a sql 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 (top_10 INTEGER, wins INTEGER)
### Question:
What is the average Top-10, when Wins is less than 0?
### Answer:
SELECT AVG(top_10) FROM table_name_37 WHERE wins < 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_24 (lost VARCHAR, points_difference VARCHAR)
### Question:
What is the number of losses for the team with a points difference of -25?
### Answer:
SELECT lost FROM table_name_24 WHERE points_difference = "-25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_273617_6 (status VARCHAR)
### Question:
what is the 2001 % for the status widowed or surviving partner?
### Answer:
SELECT 2001 AS __percentage FROM table_273617_6 WHERE status = "Widowed or surviving partner" |
Below is an context that describes a sql 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 (rank INTEGER, country VARCHAR)
### Question:
What was the lowest ranking rower from Great Britain?
### Answer:
SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain" |
Below is an context that describes a sql 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:
How many silvers have 2 as gold, and a bronze less than 2?
### Answer:
SELECT SUM(silver) FROM table_name_69 WHERE gold = 2 AND bronze < 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 (opponent VARCHAR, save VARCHAR)
### Question:
Which opponent has a save of smith (22)?
### Answer:
SELECT opponent FROM table_name_65 WHERE save = "smith (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_14981555_3 (jockey VARCHAR, race VARCHAR)
### Question:
How many jockeys are listed running at the Sir Rupert Clarke Stakes?
### Answer:
SELECT COUNT(jockey) FROM table_14981555_3 WHERE race = "Sir Rupert Clarke Stakes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1507423_4 (team_s_ VARCHAR, year VARCHAR)
### Question:
What teams won in 2007?
### Answer:
SELECT team_s_ FROM table_1507423_4 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_9 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
### Question:
In the 2005 season with a score of 0-4 what is the team 1?
### Answer:
SELECT team_1 FROM table_name_9 WHERE season = "2005" AND score = "0-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_9 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
### Question:
Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?
### Answer:
SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport 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_21486890_1 (runs_scored INTEGER)
### Question:
Name the most runs scored
### Answer:
SELECT MAX(runs_scored) FROM table_21486890_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_94 (bronze INTEGER, total VARCHAR)
### Question:
what is the most bronze when the total is 9?
### Answer:
SELECT MAX(bronze) FROM table_name_94 WHERE total = 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_2268216_1 (team VARCHAR, race_time VARCHAR)
### Question:
What team had a race time of 2:53:57?
### Answer:
SELECT team FROM table_2268216_1 WHERE race_time = "2:53:57" |
Below is an context that describes a sql 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 (year VARCHAR, score VARCHAR)
### Question:
What year has 385 runs as the score?
### Answer:
SELECT year FROM table_name_38 WHERE score = "385 runs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
### Question:
Who performed the song named "Le Pop"?
### Answer:
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Le Pop" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)
### Question:
What is the name of the yacht where 12 is the overall place?
### Answer:
SELECT yacht_name FROM table_name_28 WHERE overall_place = "12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (ethnic_group VARCHAR, buddhist VARCHAR)
### Question:
Name the ethnic group with a buddhist of 0.19%
### Answer:
SELECT ethnic_group FROM table_name_94 WHERE buddhist = "0.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_33 (record VARCHAR, year VARCHAR, finish VARCHAR)
### Question:
Which Record has a Year larger than 1974, and a Finish of 3rd?
### Answer:
SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR)
### Question:
How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859?
### Answer:
SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)
### Question:
What is south africa's margin of victory?
### Answer:
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (placing VARCHAR, team VARCHAR)
### Question:
What place did russia finish in?
### Answer:
SELECT COUNT(placing) FROM table_name_26 WHERE team = "russia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR)
### Question:
When north melbourne was the home team who was the Away team?
### Answer:
SELECT away_team FROM table_name_32 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_name_48 (player VARCHAR, school_club_team_country VARCHAR)
### Question:
Who is the player for St. Mary's team?
### Answer:
SELECT player FROM table_name_48 WHERE school_club_team_country = "st. mary's" |
Below is an context that describes a sql 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 (individual VARCHAR, event VARCHAR)
### Question:
Who was the individual in the event of 1998 Pokljuka?
### Answer:
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka" |
Below is an context that describes a sql 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 (platform VARCHAR, departure VARCHAR)
### Question:
At what Platform is the Departure 18:00?
### Answer:
SELECT platform FROM table_name_26 WHERE departure = "18:00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (boxscore VARCHAR, attendance VARCHAR)
### Question:
Which box score has an Attendance of 54,773?
### Answer:
SELECT boxscore FROM table_name_32 WHERE attendance = "54,773" |
Below is an context that describes a sql 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 (opponent VARCHAR, time VARCHAR, score VARCHAR)
### Question:
What team was the opponent when the time was 2:57, and a Score of 7–5?
### Answer:
SELECT opponent FROM table_name_59 WHERE time = "2:57" AND score = "7–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_30 (score VARCHAR, home_team VARCHAR)
### Question:
What is the Score of the Halifax Town Home game?
### Answer:
SELECT score FROM table_name_30 WHERE home_team = "halifax town" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR)
### Question:
What venue has euro 2004 q. as the competition?
### Answer:
SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1013168_3 (vacator VARCHAR, district VARCHAR)
### Question:
What is the name of the vacator for district Louisiana 1st?
### Answer:
SELECT vacator FROM table_1013168_3 WHERE district = "Louisiana 1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE submission (College VARCHAR, Scores INTEGER)
### Question:
Show the colleges that have both authors with submission score larger than 90 and authors with submission score smaller than 80.
### Answer:
SELECT College FROM submission WHERE Scores > 90 INTERSECT SELECT College FROM submission WHERE Scores < 80 |
Below is an context that describes a sql 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 (tournament VARCHAR, moves VARCHAR, result VARCHAR)
### Question:
What is Tournament, when Moves is "37", and when Result is "½–½"?
### Answer:
SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR)
### Question:
How many games were played against Tulane?
### Answer:
SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane" |
Below is an context that describes a sql 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 (place VARCHAR, date VARCHAR)
### Question:
What is the Place of the Event on August 25, 2007?
### Answer:
SELECT place FROM table_name_18 WHERE date = "august 25, 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_87 (prime_mover VARCHAR, build_date VARCHAR)
### Question:
What is the prime mover for a build date in 1975?
### Answer:
SELECT prime_mover FROM table_name_87 WHERE build_date = "1975" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26952212_1 (title VARCHAR, no_in_total VARCHAR)
### Question:
What is the title for episode number 30?
### Answer:
SELECT title FROM table_26952212_1 WHERE no_in_total = "30" |
Below is an context that describes a sql 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_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR)
### Question:
How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?
### Answer:
SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details" |
Below is an context that describes a sql 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 (drawn VARCHAR, percentage VARCHAR, played VARCHAR)
### Question:
how many draws are there when percentage is 100.00% and played is 7?
### Answer:
SELECT drawn FROM table_name_54 WHERE percentage = "100.00%" AND played = 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_18893428_1 (driver VARCHAR, constructor VARCHAR)
### Question:
What is the total number of drivers who have cars constructed by Mercedes-Benz?
### Answer:
SELECT COUNT(driver) FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" |
Below is an context that describes a sql 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 (date VARCHAR, plant_patent_number VARCHAR)
### Question:
What date had the patent number US plant patent 12098?
### Answer:
SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 12098" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14966537_1 (result VARCHAR, date VARCHAR)
### Question:
What was the final score of the game on October 4, 1970?
### Answer:
SELECT result FROM table_14966537_1 WHERE date = "October 4, 1970" |
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR, overall VARCHAR)
### Question:
Which player was drafted after round 9 and number 464 overall?
### Answer:
SELECT player FROM table_name_83 WHERE round > 9 AND overall = 464 |
Below is an context that describes a sql 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 (year INTEGER, location VARCHAR)
### Question:
What was the earliest year that had a location of Brookline, Massachusetts?
### Answer:
SELECT MIN(year) FROM table_name_78 WHERE location = "brookline, massachusetts" |
Below is an context that describes a sql 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 (played INTEGER, position INTEGER)
### Question:
What is the number played by the team in place greater than 16?
### Answer:
SELECT AVG(played) FROM table_name_43 WHERE position > 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 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR)
### Question:
Which Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009?
### Answer:
SELECT MIN(inhabitants) FROM table_name_4 WHERE mayor = "matteo renzi" AND election > 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 table_1341423_20 (candidates VARCHAR, incumbent VARCHAR)
### Question:
How many candidates ran in the election where Wayne Gilchrest was the incumbent?
### Answer:
SELECT COUNT(candidates) FROM table_1341423_20 WHERE incumbent = "Wayne Gilchrest" |
Below is an context that describes a sql 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 (average VARCHAR, team VARCHAR, matches VARCHAR)
### Question:
Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57?
### Answer:
SELECT SUM(100 AS s) FROM table_name_41 WHERE team = "deccan chargers" AND matches = 8 AND average > 35.57 |
Below is an context that describes a sql 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 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)
### Question:
What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5?
### Answer:
SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 = 3 AND top_10 < 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_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR)
### Question:
what is the league when the fa cup is qr4 and the fa trophy is qf?
### Answer:
SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
### Question:
What is the name of the player from Maylands, Western Australia?
### Answer:
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia" |