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_70 (manner_of_departure VARCHAR, team VARCHAR)
### Question:
What was the manner of departure for the team Anderlecht?
### Answer:
SELECT manner_of_departure FROM table_name_70 WHERE team = "anderlecht" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_west_südwest VARCHAR)
### Question:
what's the season with regionalliga west/südwest being arminia bielefeld
### Answer:
SELECT season FROM table_14242137_11 WHERE regionalliga_west_südwest = "Arminia Bielefeld" |
Below is an context that describes a sql 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 (minister VARCHAR, party VARCHAR, governments VARCHAR)
### Question:
Who was the minister of the labor party and had 26 goverments?
### Answer:
SELECT minister FROM table_name_82 WHERE party = "labor party" AND governments = "26" |
Below is an context that describes a sql 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 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)
### Question:
what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?
### Answer:
SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 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_78 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR)
### Question:
How many bronzes for nations ranked above 7, under 3 golds, and under 10 total medals?
### Answer:
SELECT COUNT(bronze) FROM table_name_78 WHERE rank < 7 AND gold < 3 AND total < 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (percent_yes INTEGER, jurisdiction VARCHAR, percent_no VARCHAR)
### Question:
What is the highest percent of yes Alberta, which had less than 60.2 vote no, has?
### Answer:
SELECT MAX(percent_yes) FROM table_name_29 WHERE jurisdiction = "alberta" AND percent_no < 60.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_77 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal?
### Answer:
SELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 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_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)
### Question:
what is the fa trophy when the leading scorer is lee gregory (8)?
### Answer:
SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR)
### Question:
Which inning were the Minnesota Twins in on 06-07-1961?
### Answer:
SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961" |
Below is an context that describes a sql 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 (loss VARCHAR, attendance VARCHAR)
### Question:
What was the loss of the game attended by 37,119?
### Answer:
SELECT loss FROM table_name_24 WHERE attendance = "37,119" |
Below is an context that describes a sql 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 (overall INTEGER, college VARCHAR)
### Question:
What is the average oveall pick for players from the college of Miami (FL)?
### Answer:
SELECT AVG(overall) FROM table_name_69 WHERE college = "miami (fl)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the result when incumbent Fred E. Busbey was elected?
### Answer:
SELECT result FROM table_1342013_12 WHERE incumbent = "Fred E. Busbey" |
Below is an context that describes a sql 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 (heat INTEGER, nation VARCHAR, rank VARCHAR)
### Question:
Which Heat has a Nation of australia, and a Rank larger than 7?
### Answer:
SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 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_32 (livery VARCHAR, description VARCHAR, date VARCHAR)
### Question:
Which Livery has a Description of 20t tanker, with a date later than 1941?
### Answer:
SELECT livery FROM table_name_32 WHERE description = "20t tanker" AND date > 1941 |
Below is an context that describes a sql 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 (serial_no VARCHAR, entered_service VARCHAR, owner VARCHAR)
### Question:
What is the Serial number of the Locomotive that Entered Service in November 1984 and has an Owner of Chicago Freight Car Leasing Australia?
### Answer:
SELECT serial_no FROM table_name_90 WHERE entered_service = "november 1984" AND owner = "chicago freight car leasing australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR)
### Question:
What is the enrollment for the institution that joined in 1987?
### Answer:
SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 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_24561550_1 (opponent VARCHAR, record VARCHAR)
### Question:
List all opponents from the 4-4 scoring game.
### Answer:
SELECT opponent FROM table_24561550_1 WHERE record = "4-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_1965650_7 (player VARCHAR, nhl_team VARCHAR)
### Question:
What player was drafted to the Detroit Red Wings?
### Answer:
SELECT player FROM table_1965650_7 WHERE nhl_team = "Detroit Red Wings" |
Below is an context that describes 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_name VARCHAR, document_id VARCHAR); CREATE TABLE Paragraphs (document_id VARCHAR)
### Question:
Show all document ids, names and the number of paragraphs in each document.
### Answer:
SELECT T1.document_id, T2.document_name, COUNT(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id |
Below is an context that describes a sql 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 (hanyu_pinyin VARCHAR, name VARCHAR)
### Question:
Which Hanyu Pinyin is labeled rural?
### Answer:
SELECT hanyu_pinyin FROM table_name_68 WHERE name = "rural" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_149330_1 (general_election VARCHAR, votes_swing VARCHAR)
### Question:
Which general election had a vote swing of 1.69?
### Answer:
SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.69" |
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR)
### Question:
What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)?
### Answer:
SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
What is Score, when Opponent is Natalia Rizhonkova?
### Answer:
SELECT score FROM table_name_62 WHERE opponent = "natalia rizhonkova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR)
### Question:
what's the stadium with record being 1–1
### Answer:
SELECT stadium FROM table_14102379_4 WHERE record = "1–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_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
### Question:
What rank had less than 200 laps with a finish of 26?
### Answer:
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26" |
Below is an context that describes a sql 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 (react VARCHAR, time VARCHAR, lane VARCHAR)
### Question:
What is the total react number with a time less than 20.05 and a lane less than 6?
### Answer:
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 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_5 (heat VARCHAR, country VARCHAR)
### Question:
What's the total number of Heat recorded for the british virgin islands?
### Answer:
SELECT COUNT(heat) FROM table_name_5 WHERE country = "british virgin islands" |
Below is an context that describes a sql 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 (result VARCHAR, goal VARCHAR)
### Question:
What is the Result for Goal 3?
### Answer:
SELECT result FROM table_name_30 WHERE goal = 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_20 (english_title__chinese_title_ VARCHAR, number_of_episodes VARCHAR, airing_date VARCHAR)
### Question:
Which title had 20 episodes and aired on 11 jun- 6 jul?
### Answer:
SELECT english_title__chinese_title_ FROM table_name_20 WHERE number_of_episodes = 20 AND airing_date = "11 jun- 6 jul" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who directed an episode with 1.19 million?
### Answer:
SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.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_12 (points INTEGER, second VARCHAR)
### Question:
What was the highest points when the second was 4?
### Answer:
SELECT MAX(points) FROM table_name_12 WHERE second = "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_90 (date VARCHAR, record VARCHAR)
### Question:
What is the date of the game with a 17-31 record?
### Answer:
SELECT date FROM table_name_90 WHERE record = "17-31" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
In what year 2000 tournment did Angeles Montolio have a career win-loss record of 2-4?
### Answer:
SELECT tournament FROM table_name_74 WHERE 2000 = "2-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_7 (time_retired VARCHAR, driver VARCHAR)
### Question:
What time or retired does Scott Dixon have?
### Answer:
SELECT time_retired FROM table_name_7 WHERE driver = "scott dixon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (venue VARCHAR, score_f_a VARCHAR, game VARCHAR)
### Question:
What is the Venue of Game 41 with a Score F–A of 1–2?
### Answer:
SELECT venue FROM table_name_91 WHERE score_f_a = "1–2" AND game = 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_71 (year INTEGER, points VARCHAR, rank VARCHAR)
### Question:
What's the average Year that has Points that's smaller than 9 with a Rank of 24th?
### Answer:
SELECT AVG(year) FROM table_name_71 WHERE points < 9 AND rank = "24th" |
Below is an context that describes a sql 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 (date VARCHAR, city_location VARCHAR)
### Question:
Which Date had a City/Location of vancouver, british columbia?
### Answer:
SELECT date FROM table_name_65 WHERE city_location = "vancouver, british columbia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)
### Question:
What type of cartridge is used by a Weatherby?
### Answer:
SELECT cartridge FROM table_16010376_1 WHERE source = "Weatherby" |
Below is an context that describes a sql 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 (summoned VARCHAR)
### Question:
What is 1st Member, when Summoned is "14 July 1302"?
### Answer:
SELECT 1 AS st_member FROM table_name_82 WHERE summoned = "14 july 1302" |
Below is an context that describes a sql 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 (player VARCHAR, team VARCHAR)
### Question:
What player was on the Los Angeles Dodgers?
### Answer:
SELECT player FROM table_name_70 WHERE team = "los angeles dodgers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30120556_1 (area__acres__ VARCHAR, townland VARCHAR)
### Question:
How many items appear in the area column when Glasvaunta is the townland?
### Answer:
SELECT COUNT(area__acres__) FROM table_30120556_1 WHERE townland = "Glasvaunta" |
Below is an context that describes a sql 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 (record VARCHAR, decision VARCHAR, attendance VARCHAR)
### Question:
What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance?
### Answer:
SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code VARCHAR)
### Question:
What are the name and typical buying and selling prices of the products that have color described as "yellow"?
### Answer:
SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = "yellow" |
Below is an context that describes a sql 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 (position INTEGER, lost VARCHAR, points VARCHAR, name VARCHAR)
### Question:
what is the lowest position when points is more than 11, name is ea schongau and lost is less than 3?
### Answer:
SELECT MIN(position) FROM table_name_47 WHERE points > 11 AND name = "ea schongau" AND lost < 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_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR)
### Question:
For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997?
### Answer:
SELECT motion_picture FROM table_name_42 WHERE award = "best supporting actor" AND actor = "samuel l. jackson" AND year < 1997 |
Below is an context that describes a sql 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 (time VARCHAR, score VARCHAR)
### Question:
What time was the match played with a score of 3-2?
### Answer:
SELECT time FROM table_name_35 WHERE score = "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_67 (builder VARCHAR, ship VARCHAR)
### Question:
What is Builder, when Ship is "Arizona"?
### Answer:
SELECT builder FROM table_name_67 WHERE ship = "arizona" |
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR)
### Question:
What was the crowd size when Essendon was the away team?
### Answer:
SELECT COUNT(crowd) FROM table_name_79 WHERE away_team = "essendon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR)
### Question:
How many managers for club in Turku where kitmaker is Puma?
### Answer:
SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku" |
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What is the country of player lee trevino, who has a to par of +2?
### Answer:
SELECT country FROM table_name_32 WHERE to_par = "+2" AND player = "lee trevino" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What did the away team score when playing against fitzroy?
### Answer:
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR)
### Question:
Name the last title for 2012
### Answer:
SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012 |
Below is an context that describes a sql 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 (party VARCHAR, first_elected VARCHAR)
### Question:
Which party was first elected in 1898?
### Answer:
SELECT party FROM table_name_19 WHERE first_elected = "1898" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (candidate VARCHAR, result VARCHAR)
### Question:
Who is the candidate that had 10 fired in week 2 (1-27-2005)?
### Answer:
SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-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_18943444_1 (samples_taken VARCHAR, product VARCHAR)
### Question:
How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?
### Answer:
SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = "嬰幼兒配方乳粉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_68 (december INTEGER, record VARCHAR, game VARCHAR)
### Question:
Record of 15-12-4, and a Game larger than 31 involves what highest December?
### Answer:
SELECT MAX(december) FROM table_name_68 WHERE record = "15-12-4" AND game > 31 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)
### Question:
Name the score for denver
### Answer:
SELECT score FROM table_27722734_11 WHERE team = "Denver" |
Below is an context that describes a sql 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 (pick INTEGER, school VARCHAR)
### Question:
What is the lowest pick when the School is Stanford University?
### Answer:
SELECT MIN(pick) FROM table_name_96 WHERE school = "stanford 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_28498999_5 (_number VARCHAR, score VARCHAR)
### Question:
What is the # listed when the score is 70-69-69-70=278?
### Answer:
SELECT _number FROM table_28498999_5 WHERE score = 70 - 69 - 69 - 70 = 278 |
Below is an context that describes a sql 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 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
### Question:
What is the highest number of Seats 2006 held by the Christian Democratic Union of Germany Party/Voter Community, with a %2006 higher than 24.6?
### Answer:
SELECT MAX(seats_2006) FROM table_name_79 WHERE parties_and_voter_communities = "christian democratic union of germany" AND _percentage_2006 > 24.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_30 (interview_subject VARCHAR, pictorials VARCHAR)
### Question:
Which Interview subject has a Pictorials of vida guerra?
### Answer:
SELECT interview_subject FROM table_name_30 WHERE pictorials = "vida guerra" |
Below is an context that describes a sql 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 (type VARCHAR, artist VARCHAR)
### Question:
What Type has the Artist of Hiroyuki Takami?
### Answer:
SELECT type FROM table_name_42 WHERE artist = "hiroyuki takami" |
Below is an context that describes a sql 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 (round VARCHAR, player VARCHAR)
### Question:
In what round was Kelsey Tessier drafted?
### Answer:
SELECT round FROM table_name_16 WHERE player = "kelsey tessier" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR)
### Question:
Who was the opponent at the game when the record was 54-58?
### Answer:
SELECT opponent FROM table_name_13 WHERE record = "54-58" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (appointed_by VARCHAR, presentation_of_credentials VARCHAR)
### Question:
Which Appointed has a Presentation of Credentials on November 22, 1990
### Answer:
SELECT appointed_by FROM table_name_45 WHERE presentation_of_credentials = "november 22, 1990" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR)
### Question:
WHAT COUNTRY HAS A SCORE OF 68-70=138?
### Answer:
SELECT country FROM table_name_58 WHERE score = 68 - 70 = 138 |
Below is an context that describes a sql 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 (category VARCHAR, result VARCHAR, award VARCHAR)
### Question:
Name the category for nominated at the british comedy awards
### Answer:
SELECT category FROM table_name_26 WHERE result = "nominated" AND award = "british comedy awards" |
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR)
### Question:
What was the record setting time in the 800m freestyle?
### Answer:
SELECT time FROM table_name_76 WHERE event = "800m freestyle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, family_name VARCHAR)
### Question:
How many different chromosomal locations are there in the family il-1f8?
### Answer:
SELECT COUNT(chromosomal_location) FROM table_29871617_1 WHERE family_name = "IL-1F8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR)
### Question:
period between 1985 - 1990 have minimum infant mortality rate of what.
### Answer:
SELECT MIN(infant_mortality_rate) FROM table_21258_1 WHERE period = "1985 - 1990" |
Below is an context that describes a sql 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 (round INTEGER, location VARCHAR)
### Question:
Which Round has a Location of bahia, brazil?
### Answer:
SELECT AVG(round) FROM table_name_52 WHERE location = "bahia, brazil" |
Below is an context that describes a sql 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 (away VARCHAR, club VARCHAR)
### Question:
Which away has apoel as the club?
### Answer:
SELECT away FROM table_name_41 WHERE club = "apoel" |
Below is an context that describes a sql 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 (gold INTEGER, nation VARCHAR)
### Question:
Luxembourg received how many gold medals?
### Answer:
SELECT AVG(gold) FROM table_name_9 WHERE nation = "luxembourg" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score on may 16?
### Answer:
SELECT score FROM table_name_60 WHERE date = "may 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_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)
### Question:
What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver?
### Answer:
SELECT COUNT(bronze) FROM table_name_90 WHERE gold < 1 AND nation = "sweden (swe)" AND silver < 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_74 (driver VARCHAR, entries VARCHAR)
### Question:
Which driver has 162 entries?
### Answer:
SELECT driver FROM table_name_74 WHERE entries = 162 |
Below is an context that describes a sql 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 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR)
### Question:
What is the area of the coed school with a state authority and a roll number of 122?
### Answer:
SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2850912_1 (nationality VARCHAR, nhl_team VARCHAR)
### Question:
What nationality is the draft pick player going to Minnesota North Stars?
### Answer:
SELECT nationality FROM table_2850912_1 WHERE nhl_team = "Minnesota North Stars" |
Below is an context that describes a sql 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 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What is Justin Leonard with a To par of –7's Score?
### Answer:
SELECT score FROM table_name_32 WHERE to_par = "–7" AND player = "justin leonard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286158_11 (series VARCHAR, game VARCHAR)
### Question:
What was the series where the game was 5?
### Answer:
SELECT series FROM table_23286158_11 WHERE game = 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_59 (home_team VARCHAR)
### Question:
What score did the home team of north melbourne get?
### Answer:
SELECT home_team AS score FROM table_name_59 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_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)
### Question:
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?
### Answer:
SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 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_14752049_5 (rank VARCHAR, country VARCHAR)
### Question:
Name the number of ranks for south korea
### Answer:
SELECT COUNT(rank) FROM table_14752049_5 WHERE country = "South Korea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14958620_1 (week INTEGER, attendance VARCHAR)
### Question:
On which week was the attendance 74303?
### Answer:
SELECT MAX(week) FROM table_14958620_1 WHERE attendance = 74303 |
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR)
### Question:
Name the loss when the record is 76-81
### Answer:
SELECT loss FROM table_name_1 WHERE record = "76-81" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR)
### Question:
Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?
### Answer:
SELECT name FROM table_name_45 WHERE assists = "lake (154) lake (5.1 apg)" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR)
### Question:
what is the date when the opponent is leeds united?
### Answer:
SELECT date FROM table_name_80 WHERE opponent = "leeds united" |
Below is an context that describes a sql 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 (round VARCHAR, college VARCHAR)
### Question:
In how many rounds did USC participate in?
### Answer:
SELECT COUNT(round) FROM table_name_72 WHERE college = "usc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
### Question:
Who was the vacator when the successor was formally installed on February 1, 1871?
### Answer:
SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
### Question:
What is the biggest clean and jerk number when snatch was less than 150 and the bodyweight was bigger than 93.13?
### Answer:
SELECT MAX(clean_) & _jerk FROM table_name_91 WHERE snatch < 150 AND bodyweight > 93.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_95 (location VARCHAR, rank_final VARCHAR, score_qualifying VARCHAR)
### Question:
What was the location of the competition with a Rank-Final of 1st and a Score-Qualifying under 28.975?
### Answer:
SELECT location FROM table_name_95 WHERE rank_final = "1st" AND score_qualifying < 28.975 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE AIRPORTS (AirportName VARCHAR, AirportCode VARCHAR)
### Question:
What is the airport name for airport 'AKO'?
### Answer:
SELECT AirportName FROM AIRPORTS WHERE AirportCode = "AKO" |
Below is an context that describes a sql 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 (no_s_ VARCHAR, school_club_team_country VARCHAR)
### Question:
What is the number of the player who came from Virginia?
### Answer:
SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
### Question:
What is the lowest amount of money a player from South Africa with a to par less than 8 has?
### Answer:
SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)
### Question:
What is the lowest apps for rank 3 and 0% wins?
### Answer:
SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 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_3 (fixtures INTEGER, clubs_involved VARCHAR)
### Question:
When 4 clubs are involved, what is the average number of fixtures?
### Answer:
SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 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_70 (release VARCHAR, title VARCHAR)
### Question:
When was Gala released?
### Answer:
SELECT release FROM table_name_70 WHERE title = "gala" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2005 figure when 2002 is A and 2010 is 3R?
### Answer:
SELECT 2005 FROM table_name_29 WHERE 2002 = "a" AND 2010 = "3r" |
Below is an context that describes a sql 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, away_team VARCHAR)
### Question:
What was the score when Arsenal was the away team?
### Answer:
SELECT score FROM table_name_49 WHERE away_team = "arsenal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR)
### Question:
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
### Answer:
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.