conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_16083989_1 (citrate VARCHAR, species VARCHAR)"
},
{
"from": "human",
"value": "What is the result for salmonella spp. if you use citrate?"
},
{
"from": "gpt",
"value": "SELECT COUNT(citrate) FROM table_16083989_1 WHERE species = \"Salm... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)"
},
{
"from": "human",
"value": "Which species show a negative result with both voges-proskauer and indole?"
},
{
"from": "gpt",
"value": "SELECT species FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR)"
},
{
"from": "human",
"value": "What are the results for testing the species with voges-proskauer when citrate yields a positive result?"
},
{
"from": "gpt",
"value": "SELECT voges... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16083989_1 (indole VARCHAR, species VARCHAR)"
},
{
"from": "human",
"value": "What is the result of proteus mirabilis tested with indole?"
},
{
"from": "gpt",
"value": "SELECT indole FROM table_16083989_1 WHERE species = \"Proteus mira... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)"
},
{
"from": "human",
"value": "When was the show originally aired that had a TV broadcast of S07E04?"
},
{
"from": "gpt",
"value": "SELECT originalairdate FROM table_16090262... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16090262_1 (title VARCHAR, no_in_season VARCHAR)"
},
{
"from": "human",
"value": "Which title was No. 4 in season?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_16090262_1 WHERE no_in_season = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16090262_1 (directed_by VARCHAR, tv_broadcast VARCHAR)"
},
{
"from": "human",
"value": "Who directed the show that had a TV broadcast of S07E04?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_16090262_1 WHERE tv_broadcast... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, alaska___juneau__ VARCHAR, california__san_francisco_ VARCHAR)"
},
{
"from": "human",
"value": "What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, midwest__des_moines_ VARCHAR)"
},
{
"from": "human",
"value": "What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)"
},
{
"from": "human",
"value": "What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, vehicle VARCHAR)"
},
{
"from": "human",
"value": "How many Ford Focus electric vehicle emission test scores were recorded in California?"
},
{
"from": "gpt",
"value": "SELECT COUNT(califo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)"
},
{
"from": "human",
"value": "What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16119656_1 (attendance INTEGER)"
},
{
"from": "human",
"value": "What was the lowest no. of attendance on record?"
},
{
"from": "gpt",
"value": "SELECT MIN(attendance) FROM table_16119656_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16119656_1 (date VARCHAR, attendance INTEGER)"
},
{
"from": "human",
"value": "When was the game played if the attendance is less than 6427.0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_16119656_1 WHERE attendance < 6427.0"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16119656_1 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many were in attendance during the game on January 9, 1988?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_16119656_1 WHERE date = \"Januar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610301_1 (headquarters VARCHAR, code VARCHAR)"
},
{
"from": "human",
"value": "Where is the headquarters of the place whose abbreviation is hy?"
},
{
"from": "gpt",
"value": "SELECT headquarters FROM table_1610301_1 WHERE code = \"HY\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR)"
},
{
"from": "human",
"value": "Where is the headquarters of the place whose population in 2011 was 3811738?"
},
{
"from": "gpt",
"value": "SELECT headquarters FROM table_161... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610301_1 (population__2011_ INTEGER, district VARCHAR)"
},
{
"from": "human",
"value": "What was the minimum population in 2011 of the district of Prakasam?"
},
{
"from": "gpt",
"value": "SELECT MIN(population__2011_) FROM table_16103... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610301_1 (code VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What is the abbreviation of the district of Mahbubnagar?"
},
{
"from": "gpt",
"value": "SELECT code FROM table_1610301_1 WHERE district = \"Mahbubnagar\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610301_1 (population__2011_ VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What is the 2011 population of the district of East Godavari?"
},
{
"from": "gpt",
"value": "SELECT population__2011_ FROM table_1610301_1 WHERE d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)"
},
{
"from": "human",
"value": "What is the adjusted GDP when the nominal GDP per capita is 2874?"
},
{
"from": "gpt",
"value": "SELECT gdp_adjusted__$_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the adjusted GDP per capita when the population is 37.376 million?"
},
{
"from": "gpt",
"value": "SELECT gdp_per_ca... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the nominal GDP per capita when the population is 63.056 million?"
},
{
"from": "gpt",
"value": "SELECT MIN(gdp_per_ca... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the adjusted GDP when the population is 5.141 million?"
},
{
"from": "gpt",
"value": "SELECT gdp_adjusted__$_billions... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the population in millions when the adjusted GDP is 492 billion?"
},
{
"from": "gpt",
"value": "SELECT population__mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?"
},
{
"from": "gpt",
"value": "SELECT gdp_adjusted__$... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR)"
},
{
"from": "human",
"value": "What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?"
},
{
"from": "gpt",
"value": "SELECT operating_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR)"
},
{
"from": "human",
"value": "What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?"
},
{
"from": "gpt",
"value": "SELECT expenditure_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR)"
},
{
"from": "human",
"value": "How many years was the operating profit (s$m) 717.1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(profit_before_taxation__s) A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)"
},
{
"from": "human",
"value": "Name the simplified characters for wade giles is ch'ing-yüan … i-ma"
},
{
"from": "gpt",
"value": "SELECT simplified_characters FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR)"
},
{
"from": "human",
"value": "Name the pinyin for 657 date"
},
{
"from": "gpt",
"value": "SELECT pinyin FROM table_16162581_1 WHERE date__ce_ = \"657\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (text VARCHAR, simplified_characters VARCHAR)"
},
{
"from": "human",
"value": "Name the text for 心猿意马"
},
{
"from": "gpt",
"value": "SELECT text FROM table_16162581_1 WHERE simplified_characters = \"心猿意马\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)"
},
{
"from": "human",
"value": "Name the simplified charaacters being hsin-yüan … i-ma"
},
{
"from": "gpt",
"value": "SELECT simplified_characters FROM table_16162581_1 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of pinyin for hsin-yüan-i-ma"
},
{
"from": "gpt",
"value": "SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = \"hsin-yüa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16162581_1 (date__ce_ VARCHAR, pinyin VARCHAR)"
},
{
"from": "human",
"value": "Name the date for qíngyuán … yìmǎ"
},
{
"from": "gpt",
"value": "SELECT date__ce_ FROM table_16162581_1 WHERE pinyin = \"qíngyuán … yìmǎ\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)"
},
{
"from": "human",
"value": "Which line offers Fast to Norwood Junction?"
},
{
"from": "gpt",
"value": "SELECT line FROM table_1612760_1 WHERE service_pattern = \"Fast to Norwood Ju... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)"
},
{
"from": "human",
"value": "Who is the operator to Highbury & Islington?"
},
{
"from": "gpt",
"value": "SELECT operator FROM table_1612760_1 WHERE destination = \"Highbury & Isling... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)"
},
{
"from": "human",
"value": "How many frequency figures are given for next station service pattern?"
},
{
"from": "gpt",
"value": "SELECT COUNT(frequency__per_hour_)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)"
},
{
"from": "human",
"value": "Who is the operator to destination Dalston Junction?"
},
{
"from": "gpt",
"value": "SELECT operator FROM table_1612760_1 WHERE destination = \"Dalston J... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "How many tournament wins were at Volvo Masters Andalucia?"
},
{
"from": "gpt",
"value": "SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = \"Volvo Maste... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Who was the runner up at the Volvo Masters Andalucia?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_1615980_4 WHERE tournament = \"Vo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "In what tournament was the winning score 68-67-65-66=266?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_1615980_4 WHERE winning_score ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)"
},
{
"from": "human",
"value": "Name the joined for blue hose"
},
{
"from": "gpt",
"value": "SELECT joined FROM table_16168849_1 WHERE nickname = \"Blue Hose\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)"
},
{
"from": "human",
"value": "Name the maximum founded for blue hose"
},
{
"from": "gpt",
"value": "SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = \"Blue Hose\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16168849_1 (enrollment INTEGER, institution VARCHAR)"
},
{
"from": "human",
"value": "Name the maximum enrollment for st. andrews university"
},
{
"from": "gpt",
"value": "SELECT MAX(enrollment) FROM table_16168849_1 WHERE institution ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)"
},
{
"from": "human",
"value": "Name the current conference for 1974, 1989"
},
{
"from": "gpt",
"value": "SELECT current_conference FROM table_16168849_1 WHERE left = \"1974, 1989\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175064_3 (series__number VARCHAR, writer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of episodes where alexa wyatt is the writer?"
},
{
"from": "gpt",
"value": "SELECT COUNT(series__number) FROM table_161750... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175064_3 (director_s_ VARCHAR, writer_s_ VARCHAR)"
},
{
"from": "human",
"value": "Who is the director when Chris Hawkshaw is the writer?"
},
{
"from": "gpt",
"value": "SELECT director_s_ FROM table_16175064_3 WHERE writer_s_ = \"Chr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)"
},
{
"from": "human",
"value": "What is the season number of the episode directed by Donald Crombie and the series number is 40?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)"
},
{
"from": "human",
"value": "What is the released date for Super Mario 64 DS?"
},
{
"from": "gpt",
"value": "SELECT released_date FROM table_1616608_2 WHERE western_title = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR)"
},
{
"from": "human",
"value": "What are the game modes for the game released in 2007?"
},
{
"from": "gpt",
"value": "SELECT game_modes FROM table_1616608_2 WHERE released_date = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1616608_2 (western_title VARCHAR, chinese_title VARCHAR)"
},
{
"from": "human",
"value": "How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?"
},
{
"from": "gpt",
"value": "SELECT COUNT(western_title) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)"
},
{
"from": "human",
"value": "What was the released date of Polarium?"
},
{
"from": "gpt",
"value": "SELECT released_date FROM table_1616608_2 WHERE western_title = \"Polarium... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1616608_2 (game_modes VARCHAR, pinyin VARCHAR)"
},
{
"from": "human",
"value": "What game modes are there when the pinyin is zhígǎn yī bǐ ?"
},
{
"from": "gpt",
"value": "SELECT game_modes FROM table_1616608_2 WHERE pinyin = \"Zhígǎn Y... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)"
},
{
"from": "human",
"value": "What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR)"
},
{
"from": "human",
"value": "What are donor payments in the country where there are 12 children to 6 families (2 per family)?"
},
{
"from": "gpt",
"value": "SELECT dono... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the donor payment in Belgium?"
},
{
"from": "gpt",
"value": "SELECT donor_payment FROM table_16175217_1 WHERE country = \"Belgium\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)"
},
{
"from": "human",
"value": "What is the country where there are 8 children per donor and no data for donor payments?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)"
},
{
"from": "human",
"value": "What are the children per donor in the country where the allowed recipients are married or in cohabitation?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)"
},
{
"from": "human",
"value": "List the possible children per donor levels for countries where the allowed recipients is no data."
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR)"
},
{
"from": "human",
"value": "Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?"
},
{
"from": "gpt",
"value": "SELECT missouri_vs FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)"
},
{
"from": "human",
"value": "Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How"
},
{
"from": "gpt",
"value": "SELECT mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)"
},
{
"from": "human",
"value": "How many times did the team achieve an overrall record of mu, 21-19?"
},
{
"from": "gpt",
"value": "SELECT COUNT(last_5_meetings) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_4 (at_neutral_site VARCHAR, overall_record VARCHAR)"
},
{
"from": "human",
"value": "What is the record at the neutral site for when the overall record is ui, 27-16?"
},
{
"from": "gpt",
"value": "SELECT at_neutral_site FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)"
},
{
"from": "human",
"value": "What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)"
},
{
"from": "human",
"value": "What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, standard_stamp_duty VARCHAR)"
},
{
"from": "human",
"value": "When the standard stamp duty is 367 what is the percentage over gdp?"
},
{
"from": "gpt",
"value": "SELECT over_gdp__in__percen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR)"
},
{
"from": "human",
"value": "When the stamp duty reserve tax is 3,669 what is the percentage over gdp?"
},
{
"from": "gpt",
"value": "SELECT over_gdp__in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)"
},
{
"from": "human",
"value": "During what years are the percentage over total tax revenue is 0.65?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_16183... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_3 (at_opponents_venue VARCHAR, missouri_vs VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of opponets venue for oklahoma"
},
{
"from": "gpt",
"value": "SELECT COUNT(at_opponents_venue) FROM table_16201038_3 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_3 (last_5_meetings VARCHAR, missouri_vs VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of last 5 meetings for texas tech"
},
{
"from": "gpt",
"value": "SELECT COUNT(last_5_meetings) FROM table_16201038_3 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of series sorted for when released is april 2010"
},
{
"from": "gpt",
"value": "SELECT COUNT(series_sorted) FROM table_1620397_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR)"
},
{
"from": "human",
"value": "Name the author for 6y/ae"
},
{
"from": "gpt",
"value": "SELECT author FROM table_1620397_2 WHERE series_sorted = \"6Y/AE\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR)"
},
{
"from": "human",
"value": "Name the author for peri and april 2010"
},
{
"from": "gpt",
"value": "SELECT author FROM table_1620397_2 WHERE featuring = \"Peri\" AND r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR)"
},
{
"from": "human",
"value": "Name the released for pat mills"
},
{
"from": "gpt",
"value": "SELECT released FROM table_1620397_2 WHERE author = \"Pat Mills\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)"
},
{
"from": "human",
"value": "Name the featuring for pat mills"
},
{
"from": "gpt",
"value": "SELECT featuring FROM table_1620397_2 WHERE author = \"Pat Mills\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_5 (last_5_meetings VARCHAR, overall_record VARCHAR)"
},
{
"from": "human",
"value": "What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?"
},
{
"from": "gpt",
"value": "SELECT last_5_meetings FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR)"
},
{
"from": "human",
"value": "What is the record of wins/losses that were played at opponents venue (uf, 1-0)"
},
{
"from": "gpt",
"value": "SELECT overall_record FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_5 (missouri_vs VARCHAR, overall_record VARCHAR)"
},
{
"from": "human",
"value": "Who are the opponents of Missouri that have an overall record of MU, 3-1?"
},
{
"from": "gpt",
"value": "SELECT missouri_vs FROM table_16201038_5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)"
},
{
"from": "human",
"value": "What is the record at Columbia for the team overall record of MU, 3-1?"
},
{
"from": "gpt",
"value": "SELECT at_columbia FROM table_16201038_5 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)"
},
{
"from": "human",
"value": "How many feet in length are there when the length is 106.1 meters? "
},
{
"from": "gpt",
"value": "SELECT COUNT(length_feet) FROM table_16226584_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (length_feet INTEGER, km_from_kingston VARCHAR)"
},
{
"from": "human",
"value": "When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? "
},
{
"from": "gpt",
"value": "SELECT MIN(length_feet... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (parish VARCHAR, length_meters VARCHAR)"
},
{
"from": "human",
"value": "Which parishes have a railroad length of 51.8 meters? "
},
{
"from": "gpt",
"value": "SELECT parish FROM table_16226584_1 WHERE length_meters = \"51.8\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (mi_from_kingston VARCHAR, length_feet VARCHAR)"
},
{
"from": "human",
"value": "When the railroad length is 362 feet how many miles is it from kingston? "
},
{
"from": "gpt",
"value": "SELECT mi_from_kingston FROM table_162... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which parishes have the highworth railroad?"
},
{
"from": "gpt",
"value": "SELECT parish FROM table_16226584_1 WHERE name = \"Highworth\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16226584_1 (name VARCHAR, km_from_kingston VARCHAR)"
},
{
"from": "human",
"value": "Which railroad is 112.6 kilometers from kingston? "
},
{
"from": "gpt",
"value": "SELECT name FROM table_16226584_1 WHERE km_from_kingston = \"112.6\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16227492_1 (_number INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "Name the most number for new england blazers"
},
{
"from": "gpt",
"value": "SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = \"New England Blazer... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16227492_1 (attendance INTEGER)"
},
{
"from": "human",
"value": "Name the most attendance"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM table_16227492_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16227492_1 (attendance INTEGER, _number VARCHAR)"
},
{
"from": "human",
"value": "Name the most attendance for number 4"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM table_16227492_1 WHERE _number = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (preliminary_average VARCHAR, semifinal_average VARCHAR)"
},
{
"from": "human",
"value": "What is the preliminary average when the semifinal average is 8.834 (3) ?"
},
{
"from": "gpt",
"value": "SELECT preliminary_average FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (interview VARCHAR, preliminary_average VARCHAR)"
},
{
"from": "human",
"value": "What is the interview when preliminary average is 8.662 (3) ?"
},
{
"from": "gpt",
"value": "SELECT interview FROM table_16268026_3 WHERE prel... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (state VARCHAR, semifinal_average VARCHAR)"
},
{
"from": "human",
"value": "What state has a semifinal average of 8.538 (8) ?"
},
{
"from": "gpt",
"value": "SELECT state FROM table_16268026_3 WHERE semifinal_average = \"8.53... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (state VARCHAR, interview VARCHAR)"
},
{
"from": "human",
"value": "What state has an interview of 8.313 (8) ?"
},
{
"from": "gpt",
"value": "SELECT state FROM table_16268026_3 WHERE interview = \"8.313 (8)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (semifinal_average VARCHAR, preliminary_average VARCHAR)"
},
{
"from": "human",
"value": "What is the semifinal average where the preliminary average is 9.084 (1) ?"
},
{
"from": "gpt",
"value": "SELECT semifinal_average FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16268026_3 (swimsuit VARCHAR, evening_gown VARCHAR)"
},
{
"from": "human",
"value": "What is the swimsuit when evening gown is 8.774 (6) ?"
},
{
"from": "gpt",
"value": "SELECT swimsuit FROM table_16268026_3 WHERE evening_gown = \"8.77... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278602_1 (pop_density__per_km²_ VARCHAR, english_name VARCHAR)"
},
{
"from": "human",
"value": "What is the population density of the Capital Region of Denmark?"
},
{
"from": "gpt",
"value": "SELECT pop_density__per_km²_ FROM table_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278602_1 (seat_of_administration VARCHAR, largest_city VARCHAR)"
},
{
"from": "human",
"value": "In the region where Roskilde is the largest city, what is the seat of administration?"
},
{
"from": "gpt",
"value": "SELECT seat_of_admi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR)"
},
{
"from": "human",
"value": "What is the minimum population of the region in which Roskilde is the largest city?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16254861_1 (language_s_ VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "How many languages for the 2001 (74th) awards?"
},
{
"from": "gpt",
"value": "SELECT COUNT(language_s_) FROM table_16254861_1 WHERE year__ceremo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_16254861_1 (result VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "What was the result for the 2009 (82nd) awards?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_16254861_1 WHERE year__ceremony_ = \"2009 (82... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.