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_26250199_1 (episode VARCHAR, order__number VARCHAR)
### Question:
In which episode is the order number 10?
### Answer:
SELECT episode FROM table_26250199_1 WHERE order__number = "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_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR)
### Question:
What is Partner, when Outcome is Winner, and when Date is 12 October 2003?
### Answer:
SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 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_15823956_1 (series VARCHAR)
### Question:
When was series premiere on the pilot episode
### Answer:
SELECT series AS premiere FROM table_15823956_1 WHERE series = "Pilot" |
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR)
### Question:
Who is the visitor of the game on March 7?
### Answer:
SELECT visitor FROM table_name_48 WHERE date = "march 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 institution (TYPE VARCHAR)
### Question:
Show the institution type with the largest number of institutions.
### Answer:
SELECT TYPE FROM institution GROUP BY TYPE 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_52 (result VARCHAR, week VARCHAR)
### Question:
What is the result of the game on week 11?
### Answer:
SELECT result FROM table_name_52 WHERE week = 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR)
### Question:
Name the number of against for portuguesa santista
### Answer:
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16295365_1 (conference VARCHAR, school VARCHAR)
### Question:
Which conference is Belmont in?
### Answer:
SELECT conference FROM table_16295365_1 WHERE school = "Belmont" |
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR)
### Question:
When the game is listed as 2, what is the score?
### Answer:
SELECT score FROM table_name_81 WHERE game = 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_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR)
### Question:
Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip?
### Answer:
SELECT body_tackle FROM table_name_56 WHERE diving_tackle = "yes" AND sliding_tackle = "classified as a trip" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR)
### Question:
How many players were drafted by the Edmonton Oilers?
### Answer:
SELECT COUNT(player) FROM table_2840500_2 WHERE nhl_team = "Edmonton Oilers" |
Below is an context that describes a sql 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 (date VARCHAR, opponents_in_the_final VARCHAR)
### Question:
What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois?
### Answer:
SELECT date FROM table_name_59 WHERE opponents_in_the_final = "maria-fernanda alves stéphanie dubois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25800134_3 (director VARCHAR, airdate VARCHAR)
### Question:
Who was the director for the episode on May 2, 1959?
### Answer:
SELECT director FROM table_25800134_3 WHERE airdate = "May 2, 1959" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27067379_1 (position VARCHAR, building VARCHAR)
### Question:
How many positions does building Costanera Center Torre 1 have?
### Answer:
SELECT COUNT(position) FROM table_27067379_1 WHERE building = "Costanera Center Torre 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_72 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17?
### Answer:
SELECT MIN(grid) FROM table_name_72 WHERE time_retired = "retirement" AND laps > 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
### Question:
Ken Hemenway is in which Round?
### Answer:
SELECT round FROM table_name_23 WHERE player = "ken hemenway" |
Below is an context that describes a sql 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 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR)
### Question:
What was the signed year for the Chinese name 蘇永康 who separated in 1987?
### Answer:
SELECT year_signed FROM table_name_82 WHERE year_separated = "1987" AND chinese_name = "蘇永康" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (colors VARCHAR, school VARCHAR)
### Question:
What Colors has a School of sesser high school?
### Answer:
SELECT colors FROM table_name_61 WHERE school = "sesser high school" |
Below is an context that describes a sql 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 (machine VARCHAR, rider VARCHAR)
### Question:
What machine did Keith T. Gawler ride?
### Answer:
SELECT machine FROM table_name_76 WHERE rider = "keith t. gawler" |
Below is an context that describes a sql 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 (years VARCHAR, roll VARCHAR)
### Question:
When is a Roll of 9?
### Answer:
SELECT years FROM table_name_86 WHERE roll = 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_23 (player VARCHAR, date VARCHAR)
### Question:
Who had a date of 19-02-2003?
### Answer:
SELECT player FROM table_name_23 WHERE date = "19-02-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_16388545_1 (ground VARCHAR, crowd VARCHAR)
### Question:
Which location had an attendance of 22537?
### Answer:
SELECT ground FROM table_16388545_1 WHERE crowd = 22537 |
Below is an context that describes a sql 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 (region VARCHAR, format VARCHAR, catalog VARCHAR)
### Question:
What is the region for Catalog amlh 66078 in stereo lp format?
### Answer:
SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078" |
Below is an context that describes a sql 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 (track_number VARCHAR, album_title VARCHAR, title VARCHAR)
### Question:
Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?
### Answer:
SELECT track_number FROM table_name_44 WHERE album_title = "文武双全升级版" AND 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_name_38 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
Which Rank is the lowest one that has a Nation of switzerland, and a Bronze smaller than 0?
### Answer:
SELECT MIN(rank) FROM table_name_38 WHERE nation = "switzerland" AND bronze < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (year VARCHAR, location VARCHAR)
### Question:
What is Year, when Location is Philadelphia Municipal Stadium?
### Answer:
SELECT year FROM table_name_89 WHERE location = "philadelphia municipal stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
### Question:
What is Date, when Time is "56.49"?
### Answer:
SELECT date FROM table_name_90 WHERE time = "56.49" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
What rank has 1 silver, more than 2 gold, and a total larger than 3?
### Answer:
SELECT COUNT(rank) FROM table_name_61 WHERE silver = 1 AND total > 3 AND gold > 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_10015132_21 (position VARCHAR, player VARCHAR)
### Question:
Which position does Loren Woods play?
### Answer:
SELECT position FROM table_10015132_21 WHERE player = "Loren Woods" |
Below is an context that describes a sql 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 (khmer INTEGER, ala_lc VARCHAR, value VARCHAR)
### Question:
What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
### Answer:
SELECT MIN(khmer) FROM table_name_9 WHERE ala_lc = "kau sip" AND value < 90 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (length VARCHAR, character_name VARCHAR)
### Question:
What is the length of the film with Burleigh Sullivan as the character?
### Answer:
SELECT length FROM table_name_30 WHERE character_name = "burleigh sullivan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR)
### Question:
What year is the player whose number is 31?
### Answer:
SELECT year FROM table_29418619_1 WHERE _number = 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_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)
### Question:
Name the london great britain for championship record
### Answer:
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR)
### Question:
What is the total number of seats of the Christian Democratic Union (CDU) party?
### Answer:
SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14345690_4 (celebrity VARCHAR, famous_for VARCHAR)
### Question:
Name the number of celebrity for athlete
### Answer:
SELECT COUNT(celebrity) FROM table_14345690_4 WHERE famous_for = "Athlete" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE musical (RESULT VARCHAR)
### Question:
List the most common result of the musicals.
### Answer:
SELECT RESULT FROM musical GROUP BY RESULT 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_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR)
### Question:
What's the zodiac sign for the month with Thai name มกราคม?
### Answer:
SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_3 (school VARCHAR, position VARCHAR, college VARCHAR)
### Question:
Running back Aaron Green went to Nebraska and what high school?
### Answer:
SELECT school FROM table_11677691_3 WHERE position = "Running back" AND college = "Nebraska" |
Below is an context that describes a sql 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 (status VARCHAR, opposing_teams VARCHAR)
### Question:
What is the status with the opposing team of Scotland?
### Answer:
SELECT status FROM table_name_9 WHERE opposing_teams = "scotland" |
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR, score VARCHAR)
### Question:
Which Venue has a Result of 5-1, and a Score of 3-0?
### Answer:
SELECT venue FROM table_name_53 WHERE result = "5-1" AND score = "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_25691838_8 (introductory_phrase VARCHAR, production_code VARCHAR)
### Question:
What was the introductory phrase on the episode production code 6101?
### Answer:
SELECT introductory_phrase FROM table_25691838_8 WHERE production_code = 6101 |
Below is an context that describes a sql 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 (capacity INTEGER, highest INTEGER)
### Question:
What is the greatest capacity when the largest number in attendance is 6,192?
### Answer:
SELECT MAX(capacity) FROM table_name_91 WHERE highest > 6 OFFSET 192 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14942535_1 (result VARCHAR, week VARCHAR)
### Question:
What was the team's result in week 4?
### Answer:
SELECT result FROM table_14942535_1 WHERE week = 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_35 (score VARCHAR, opponent VARCHAR)
### Question:
What is the score of the game that was played against Maria Kondratieva?
### Answer:
SELECT score FROM table_name_35 WHERE opponent = "maria kondratieva" |
Below is an context that describes a sql 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 (hometown VARCHAR, college VARCHAR)
### Question:
What is the hometown of the player who attended Ohio State?
### Answer:
SELECT hometown FROM table_name_35 WHERE college = "ohio state" |
Below is an context that describes a sql 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 (team VARCHAR, high_rebounds VARCHAR)
### Question:
What is Team, when High Rebounds is David Lee (15)?
### Answer:
SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (15)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (poll_source VARCHAR, pat_toomey VARCHAR)
### Question:
Which Poll source has Pat Toomey of 23%?
### Answer:
SELECT poll_source FROM table_name_5 WHERE pat_toomey = "23%" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who is the away team that played home team Perth Wildcats?
### Answer:
SELECT away_team FROM table_name_82 WHERE home_team = "perth wildcats" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On what date did they have a record of 12-17?
### Answer:
SELECT date FROM table_name_68 WHERE record = "12-17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (res VARCHAR, record VARCHAR)
### Question:
What is the result of the team with the 4-2 record?
### Answer:
SELECT res FROM table_name_67 WHERE record = "4-2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR)
### Question:
What is Dennis Kucinich, when Classification is "Democrat"?
### Answer:
SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
### Question:
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
### Answer:
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" |
Below is an context that describes a sql 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 (track INTEGER, song_title VARCHAR)
### Question:
What is the highest track for the song Rip it Up?
### Answer:
SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up" |
Below is an context that describes a sql 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 (minoru VARCHAR, block_a VARCHAR)
### Question:
Name the minoru for block A being koji kanemoto
### Answer:
SELECT minoru FROM table_name_38 WHERE block_a = "koji kanemoto" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11961582_4 (game INTEGER)
### Question:
What's the minimal game number in the season?
### Answer:
SELECT MIN(game) FROM table_11961582_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_15 (attendance VARCHAR, date VARCHAR)
### Question:
What is the Attendance with a Date that is october 31, 1965?
### Answer:
SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (year INTEGER, points VARCHAR, chassis VARCHAR)
### Question:
How many years was ensign n180b a Chassis with 4 points?
### Answer:
SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR)
### Question:
Who was game number 8 played against?
### Answer:
SELECT opponent FROM table_19778010_5 WHERE game = 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_92 (goals VARCHAR, assists VARCHAR)
### Question:
What are the goals of the assists of 5?
### Answer:
SELECT goals FROM table_name_92 WHERE assists = "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_176529_2 (official_name VARCHAR, area_km_2 VARCHAR)
### Question:
What is the name of the place with 582.20 square km area?
### Answer:
SELECT official_name FROM table_176529_2 WHERE area_km_2 = "582.20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (term_end VARCHAR, political_party VARCHAR, born_died VARCHAR)
### Question:
Which Term end has a Political Party of balli kombëtar, and a Born-Died of 1905–1972?
### Answer:
SELECT term_end FROM table_name_23 WHERE political_party = "balli kombëtar" AND born_died = "1905–1972" |
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR)
### Question:
What is the total for Bernhard Langer?
### Answer:
SELECT COUNT(total) FROM table_name_83 WHERE player = "bernhard langer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22713796_14 (stage INTEGER, winner VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
### Question:
Name the most stage for alejandro valverde and astana greg henderson
### Answer:
SELECT MAX(stage) FROM table_22713796_14 WHERE general_classification = "Alejandro Valverde" AND team_classification = "Astana" AND winner = "Greg Henderson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (home_team VARCHAR, date VARCHAR)
### Question:
What home team has june 22 as the date?
### Answer:
SELECT home_team FROM table_name_87 WHERE date = "june 22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (race VARCHAR, finish VARCHAR, track VARCHAR)
### Question:
Which race had a finish of 1st at Saratoga Race Course?
### Answer:
SELECT race FROM table_name_60 WHERE finish = "1st" AND track = "saratoga race course" |
Below is an context that describes a sql 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 (country VARCHAR, of_1 VARCHAR)
### Question:
What country has OF-1 Locotenent?
### Answer:
SELECT country FROM table_name_1 WHERE of_1 = "locotenent" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903081_1 (current_venue VARCHAR, tournament VARCHAR)
### Question:
What is the current venue for the Miami Masters tournament?
### Answer:
SELECT current_venue FROM table_14903081_1 WHERE tournament = "Miami Masters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (matches INTEGER, prize_money VARCHAR)
### Question:
What is the average for matches with a prize money amount of £3,000?
### Answer:
SELECT AVG(matches) FROM table_name_56 WHERE prize_money = "£3,000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (original_album VARCHAR, performer VARCHAR)
### Question:
On the title feature brad mehldau as the performer, what is the original album?
### Answer:
SELECT original_album FROM table_name_92 WHERE performer = "brad mehldau" |
Below is an context that describes a sql 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 (gold_medals VARCHAR, total_medals INTEGER)
### Question:
How many gold medals for the school with less than 1 total?
### Answer:
SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 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_16279520_1 (length VARCHAR, release VARCHAR)
### Question:
What was the length time of the 3.5 release?
### Answer:
SELECT length FROM table_16279520_1 WHERE release = "3.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_12 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
What tournament had a runner(s)-up of Scott Hoch & Kenny Perry?
### Answer:
SELECT tournament FROM table_name_12 WHERE runner_s__up = "scott hoch & kenny perry" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
### Question:
What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?
### Answer:
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.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_91 (grid INTEGER, driver VARCHAR, points VARCHAR)
### Question:
What's the highest grid of Ronnie Bremer, who had more than 18 points?
### Answer:
SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22481967_1 (date VARCHAR, number VARCHAR)
### Question:
List the date for number 1.
### Answer:
SELECT date FROM table_22481967_1 WHERE number = "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_5 (leading_scorer VARCHAR, date VARCHAR)
### Question:
What is the name of the leading scorer on 2006-11-22?
### Answer:
SELECT leading_scorer FROM table_name_5 WHERE date = "2006-11-22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)
### Question:
Which IHSAA Class has a Mascot of tigers?
### Answer:
SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (total INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
Rank of 5, and a Silver larger than 0 had what sum of total?
### Answer:
SELECT SUM(total) FROM table_name_8 WHERE rank = "5" AND silver > 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 HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER)
### Question:
Show the average price of hotels for different pet policy.
### Answer:
SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn |
Below is an context that describes a sql 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 (position VARCHAR, school_previous_club_team_country VARCHAR)
### Question:
What is Position, when School/Previous Club Team/Country is Kentucky?
### Answer:
SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "kentucky" |
Below is an context that describes a sql 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 (team VARCHAR, player VARCHAR)
### Question:
What team does Oliver Dobbins play for?
### Answer:
SELECT team FROM table_name_39 WHERE player = "oliver dobbins" |
Below is an context that describes a sql 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 (semi_finalists VARCHAR, week VARCHAR)
### Question:
Which Semi finalists had a Week of may 15?
### Answer:
SELECT semi_finalists FROM table_name_30 WHERE week = "may 15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
### Question:
Which cornerback has the lowest overall and a pick number smaller than 16?
### Answer:
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 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_10979230_5 (japanese_title VARCHAR, romaji_title VARCHAR)
### Question:
what is the title where romaji is titles da.i.su.ki
### Answer:
SELECT japanese_title FROM table_10979230_5 WHERE romaji_title = "Da.i.su.ki" |
Below is an context that describes a sql 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, date VARCHAR)
### Question:
Can you tell me the Record that has the Date of december 15?
### Answer:
SELECT record FROM table_name_42 WHERE date = "december 15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (winner VARCHAR, college VARCHAR)
### Question:
What is Winner, when College is "Kentucky"?
### Answer:
SELECT winner FROM table_name_16 WHERE college = "kentucky" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)
### Question:
how many records were made on the game that ended with score w 121–119 (ot)
### Answer:
SELECT COUNT(record) FROM table_17190012_7 WHERE score = "W 121–119 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21311525_1 (result VARCHAR, date VARCHAR)
### Question:
How many results were there on 19/06/2009?
### Answer:
SELECT COUNT(result) FROM table_21311525_1 WHERE date = "19/06/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_name_76 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### Question:
What is the highest gold a team with less than 3 silver and more than 5 bronze medals has?
### Answer:
SELECT MAX(gold) FROM table_name_76 WHERE silver < 3 AND bronze > 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_68 (score VARCHAR, loss VARCHAR)
### Question:
What was the Score when the Loss was ruthven (1-4)?
### Answer:
SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25008327_8 (polish VARCHAR, belarusian VARCHAR)
### Question:
What is every value for Polish when Balarusian is ноч?
### Answer:
SELECT polish FROM table_25008327_8 WHERE belarusian = "ноч" |
Below is an context that describes a sql 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 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)
### Question:
What date was the location attendance at&t center 18,797, and a game earlier than 57?
### Answer:
SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 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_90 (marriage VARCHAR, death VARCHAR)
### Question:
When was the marriage of the person who died on 17 December 1471?
### Answer:
SELECT marriage FROM table_name_90 WHERE death = "17 december 1471" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (bids VARCHAR, champions VARCHAR)
### Question:
What is Bids, when Champions is "1"?
### Answer:
SELECT bids FROM table_name_34 WHERE champions = "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_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)
### Question:
How many were in the Kargahar (vidhan sabha constituency)?
### Answer:
SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1889233_2 (period_in_office VARCHAR, constituency_contested VARCHAR)
### Question:
What period were conscituency contested is aljunied grc?
### Answer:
SELECT period_in_office FROM table_1889233_2 WHERE constituency_contested = "Aljunied GRC" |
Below is an context that describes a sql 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 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, name VARCHAR)
### Question:
Cowansville has less than 16 regions and is a Brome-Missisquoi Municipality, what is their population?
### Answer:
SELECT MIN(population) FROM table_name_38 WHERE regional_county_municipality = "brome-missisquoi" AND name = "cowansville" AND region < 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_7 (attendance INTEGER, opponents VARCHAR)
### Question:
How many people attended the game against the Kaizer Chiefs?
### Answer:
SELECT SUM(attendance) FROM table_name_7 WHERE opponents = "kaizer chiefs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29728787_1 (clairon VARCHAR, label VARCHAR)
### Question:
When deutsche grammophon is the label how many clairons are there?
### Answer:
SELECT COUNT(clairon) FROM table_29728787_1 WHERE label = "Deutsche Grammophon" |
Below is an context that describes a sql 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 (date VARCHAR, race_name VARCHAR)
### Question:
Which date was the x gran premio di napoli?
### Answer:
SELECT date FROM table_name_7 WHERE race_name = "x gran premio di napoli" |
Subsets and Splits