conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_18823880_10 (mult VARCHAR, sspec_number VARCHAR)"
},
{
"from": "human",
"value": "When slblw(b1) is the sspec number what is the mult.?"
},
{
"from": "gpt",
"value": "SELECT mult FROM table_18823880_10 WHERE sspec_number = \"SLBLW(B1)\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18823880_10 (release_price___usd__ VARCHAR, socket VARCHAR)"
},
{
"from": "human",
"value": "When socketg1 is the socket what is the release price in dollars?"
},
{
"from": "gpt",
"value": "SELECT release_price___usd__ FROM table_18823... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18847456_2 (opponents INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "How many points did the opposing team score on Dec. 19, 1982?"
},
{
"from": "gpt",
"value": "SELECT MAX(opponents) FROM table_18847456_2 WHERE date = \"Dec. ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18852984_2 (bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR)"
},
{
"from": "human",
"value": "How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?"
},
{
"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18852984_2 (all_bills_cosponsored VARCHAR, bills_originally_cosponsored VARCHAR)"
},
{
"from": "human",
"value": "How many bill cosponsored during those years where bills originally cosponsored is 113?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18852984_2 (all_bills_sponsored INTEGER)"
},
{
"from": "human",
"value": "What is the greatest number of bills sponsored in any year?"
},
{
"from": "gpt",
"value": "SELECT MAX(all_bills_sponsored) FROM table_18852984_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (cr_no INTEGER)"
},
{
"from": "human",
"value": "What is the lowest cr number?"
},
{
"from": "gpt",
"value": "SELECT MIN(cr_no) FROM table_1886270_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (built VARCHAR, withdrawn VARCHAR)"
},
{
"from": "human",
"value": "When 2/1939 is the withdrawn when was it built?"
},
{
"from": "gpt",
"value": "SELECT built FROM table_1886270_1 WHERE withdrawn = \"2/1939\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (hr_no VARCHAR, hr_name VARCHAR)"
},
{
"from": "human",
"value": "When river ness is the hr name what is the hr number?"
},
{
"from": "gpt",
"value": "SELECT hr_no FROM table_1886270_1 WHERE hr_name = \"River Ness\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR)"
},
{
"from": "human",
"value": "When (river garry) is the hr name how many builts are there?"
},
{
"from": "gpt",
"value": "SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = \"(River G... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (cr_no INTEGER)"
},
{
"from": "human",
"value": "What is the highest cr number?"
},
{
"from": "gpt",
"value": "SELECT MAX(cr_no) FROM table_1886270_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR)"
},
{
"from": "human",
"value": "When river ness is the hr name how many builts are there?"
},
{
"from": "gpt",
"value": "SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = \"River Ness\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "How many opponents are at Minnesota Vikings?"
},
{
"from": "gpt",
"value": "SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = \"at Minnesota V... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18847736_2 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the date when the opponent is the New England Patriots?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_18847736_2 WHERE opponent = \"New Englan... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18847736_2 (date VARCHAR, dolphins_points VARCHAR)"
},
{
"from": "human",
"value": "How many dates do the dolphins have 6 points?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_18847736_2 WHERE dolphins_points = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What country does robert allenby represent?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_18862490_2 WHERE player = \"Robert Allenby\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What score to par won in 1998?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_18862490_2 WHERE year = 1998"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What player(s) had the score of 64-70-67-69=270?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_18862490_2 WHERE score = 64 - 70 - 67 - 69 = 270"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What players had teh score of 64-71-67-67=269?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_18862490_2 WHERE score = 64 - 71 - 67 - 67 = 269"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18862490_2 (year INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What is the first yar that someone won with a score of 68-66-68-71=273?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_18862490_2 WHERE score = 68 - ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1886589_1 (socialist VARCHAR, lead VARCHAR)"
},
{
"from": "human",
"value": "How many socialist have a lead of 12.6%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(socialist) FROM table_1886589_1 WHERE lead = \"12.6%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1888157_1 (SOl INTEGER)"
},
{
"from": "human",
"value": "What is the lowest SOL?"
},
{
"from": "gpt",
"value": "SELECT MIN(SOl) FROM table_1888157_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1888157_1 (ga INTEGER, gf VARCHAR)"
},
{
"from": "human",
"value": "What is the highest GA when GF is 39?"
},
{
"from": "gpt",
"value": "SELECT MAX(ga) FROM table_1888157_1 WHERE gf = 39"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_5 (record VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How many different records were there in the games that ended in w 70-66?"
},
{
"from": "gpt",
"value": "SELECT COUNT(record) FROM table_18904831_5 WHERE score... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_5 (record VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "What was the record of the game in which Dydek (10) did the most high rebounds?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_18904831_5 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_5 (high_rebounds VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "Who did the most high rebounds in the game where Sales (17) did the high points?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_18... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR)"
},
{
"from": "human",
"value": "When a private individual is the source and 018 is the story number what is the total footage remaining from m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1889619_5 (country_territory VARCHAR, story_no VARCHAR, missing_episodes_with_recovered_footage VARCHAR)"
},
{
"from": "human",
"value": "When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the coun... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_5 (game INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "Name the least game for 8-3"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_18894744_5 WHERE record = \"8-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_5 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Name the opponent for record 10-4"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_18894744_5 WHERE record = \"10-4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_5 (high_rebounds VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Name the high rebounds for record 7-1"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_18894744_5 WHERE record = \"7-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_5 (game VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the game for june 16"
},
{
"from": "gpt",
"value": "SELECT game FROM table_18894744_5 WHERE date = \"June 16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_5 (game VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the game for june 7"
},
{
"from": "gpt",
"value": "SELECT game FROM table_18894744_5 WHERE date = \"June 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_6 (high_rebounds VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who did the high rebounds in the game with a 19-6 record?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_18894744_6 WHERE record = \"19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_6 (location_attendance VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Where was the game with a 13-5 record played, and in front of how many people?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_6 (high_rebounds VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "Who did the high rebounds in the game where Douglas (28) did the high points?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_18894... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_6 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the record on the game played on July 1?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_18894744_6 WHERE date = \"July 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18894744_6 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "How many opponents was a game with a record 17-6 played against?"
},
{
"from": "gpt",
"value": "SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18914438_1 (career VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What was the career duration of the bowler who played 60 matches?"
},
{
"from": "gpt",
"value": "SELECT career FROM table_18914438_1 WHERE matches = 60"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18914438_1 (best VARCHAR, maidens VARCHAR, overs VARCHAR)"
},
{
"from": "human",
"value": "What is the Best score if the Maidens is 547 and Overs is 2755.1?"
},
{
"from": "gpt",
"value": "SELECT best FROM table_18914438_1 WHERE maidens... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18914438_1 (overs VARCHAR, career VARCHAR)"
},
{
"from": "human",
"value": "What was the Overs score of the career played from 1993-2007?"
},
{
"from": "gpt",
"value": "SELECT overs FROM table_18914438_1 WHERE career = \"1993-2007\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18914438_1 (best VARCHAR, career VARCHAR)"
},
{
"from": "human",
"value": "What was the Best score during the game played from 1971-1984?"
},
{
"from": "gpt",
"value": "SELECT best FROM table_18914438_1 WHERE career = \"1971-1984\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_6 (date VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "When dydek (11) has the highest rebounds what is the date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_18904831_6 WHERE high_rebounds = \"Dydek... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_6 (date VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "When mcwilliams-franklin (8) has the highest rebounds what is the date?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_18904831_6 WHERE high_rebou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "When dydek (8) has the highest rebounds who has the highest amount of points?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_1890483... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_6 (location VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When w 73-70 is the score what is the location?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_18904831_6 WHERE score = \"W 73-70\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_7 (score VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the score in the game that had a record of 25-8?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_18904831_7 WHERE record = \"25-8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_7 (game INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What was # of the first game played on August 20?"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_18904831_7 WHERE date = \"August 20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_7 (high_points VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What were the high points for the game played at the MCI Center?"
},
{
"from": "gpt",
"value": "SELECT COUNT(high_points) FROM table_18904831_7 WHERE l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18904831_7 (location VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Where was the game played that had a record of 19-6?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_18904831_7 WHERE record = \"19-6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_2 (col__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "What is the col (m) of the Barurumea Ridge peak? "
},
{
"from": "gpt",
"value": "SELECT MAX(col__m_) FROM table_18946749_2 WHERE peak = \"Barurumea Ridge\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_2 (elevation__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "What is the elevation (m) of the Mount Wilhelm peak? "
},
{
"from": "gpt",
"value": "SELECT MAX(elevation__m_) FROM table_18946749_2 WHERE peak = \"Mount... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_2 (col__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "What is the col (m) of the Bewani Mountains High Point peak? "
},
{
"from": "gpt",
"value": "SELECT MIN(col__m_) FROM table_18946749_2 WHERE peak = \"Bewani Mo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)"
},
{
"from": "human",
"value": "When mount wondiwoi is the peak what is the island?"
},
{
"from": "gpt",
"value": "SELECT island FROM table_18946749_1 WHERE peak = \"Mount Wondiwoi\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)"
},
{
"from": "human",
"value": "When mount gauttier is the peak what is the island?"
},
{
"from": "gpt",
"value": "SELECT island FROM table_18946749_1 WHERE peak = \"Mount Gauttier\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_1 (elevation__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "When mount kobowre is the peak what is the highest elevation in meters?"
},
{
"from": "gpt",
"value": "SELECT MAX(elevation__m_) FROM table_18946749_1 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_1 (prominence__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "When mount gauttier is the peak what is the highest prominence in meters?"
},
{
"from": "gpt",
"value": "SELECT MAX(prominence__m_) FROM table_18946749_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_1 (country VARCHAR, col__m_ VARCHAR)"
},
{
"from": "human",
"value": "When 44 is the col in meters what is the country?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_18946749_1 WHERE col__m_ = 44"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (release_date VARCHAR, album_number VARCHAR)"
},
{
"from": "human",
"value": "Name the release date for album # 2nd"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_1893815_1 WHERE album_number = \"2nd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (label VARCHAR, english_title VARCHAR)"
},
{
"from": "human",
"value": "Name the label for grown up overnight"
},
{
"from": "gpt",
"value": "SELECT label FROM table_1893815_1 WHERE english_title = \"Grown Up Overnight\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (label VARCHAR, chinese__traditional_ VARCHAR)"
},
{
"from": "human",
"value": "Name the label for traditional chinese 情歌沒有告訴你"
},
{
"from": "gpt",
"value": "SELECT label FROM table_1893815_1 WHERE chinese__traditional_ = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR)"
},
{
"from": "human",
"value": "Name the number of traditional chinese for album number 6th"
},
{
"from": "gpt",
"value": "SELECT COUNT(chinese__traditional_) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, chinese__simplified_ VARCHAR)"
},
{
"from": "human",
"value": "Name the chinese traditional for 美丽人生"
},
{
"from": "gpt",
"value": "SELECT chinese__traditional_ FROM table_1893815_1 WHERE chine... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1893815_1 (english_title VARCHAR, album_number VARCHAR)"
},
{
"from": "human",
"value": "Name the english title for album # 2nd"
},
{
"from": "gpt",
"value": "SELECT english_title FROM table_1893815_1 WHERE album_number = \"2nd\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18943444_1 (samples_taken VARCHAR, product VARCHAR)"
},
{
"from": "human",
"value": "How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?"
},
{
"from": "gpt",
"value": "SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = \"嬰幼兒配方乳... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18943444_1 (producer VARCHAR, product VARCHAR)"
},
{
"from": "human",
"value": "What are the producers of 磊磊牌嬰幼兒配方乳粉 ?"
},
{
"from": "gpt",
"value": "SELECT producer FROM table_18943444_1 WHERE product = \"磊磊牌嬰幼兒配方乳粉\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18943444_1 (samples_taken INTEGER, product VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?"
},
{
"from": "gpt",
"value": "SELECT MIN(samples_taken) FROM table_18943444_1 WHERE produ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18943444_1 (producer VARCHAR, product VARCHAR)"
},
{
"from": "human",
"value": "Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?"
},
{
"from": "gpt",
"value": "SELECT producer FROM table_18943444_1 WHERE product = \"金必氏牌嬰幼兒配方乳粉\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR)"
},
{
"from": "human",
"value": "How many live births per year are there in the period where the life expectancy for females is 73.3?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, deaths_per_year VARCHAR)"
},
{
"from": "human",
"value": "How many births per year are there for the period with 998 000 deaths per year?"
},
{
"from": "gpt",
"value": "SELECT live_births_per_y... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_4 (col__m_ INTEGER, prominence__m_ VARCHAR)"
},
{
"from": "human",
"value": "What is the highest value for col(m) when prominence(m) is 3755?"
},
{
"from": "gpt",
"value": "SELECT MAX(col__m_) FROM table_18946749_4 WHERE promi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_4 (col__m_ INTEGER, island VARCHAR)"
},
{
"from": "human",
"value": "What is the highest value for col(m) at North Island?"
},
{
"from": "gpt",
"value": "SELECT MAX(col__m_) FROM table_18946749_4 WHERE island = \"North island\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_4 (elevation__m_ INTEGER, peak VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest elevation(m) for the peak Mount Taylor?"
},
{
"from": "gpt",
"value": "SELECT MIN(elevation__m_) FROM table_18946749_4 WHERE peak = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18946749_4 (prominence__m_ VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "How many values of prominence(m) occur at rank 5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(prominence__m_) FROM table_18946749_4 WHERE rank = 5"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18950570_4 (brazil_100_percentage__percent_of_the_population_ VARCHAR, age_group VARCHAR)"
},
{
"from": "human",
"value": "what ae all of the brazil 100% where the age group is 15-17?"
},
{
"from": "gpt",
"value": "SELECT brazil_100_pe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)"
},
{
"from": "human",
"value": "If the just ratio is 11:8 and the cents size is 560, what is the interval name?"
},
{
"from": "gpt",
"value": "SELECT interva... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18955077_1 (just_ratio VARCHAR, just__cents_ VARCHAR)"
},
{
"from": "human",
"value": "If the just cents is 84.46, what is the just ratio?"
},
{
"from": "gpt",
"value": "SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = \"84... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18955077_1 (interval_name VARCHAR, just__cents_ VARCHAR)"
},
{
"from": "human",
"value": "If the just cents is 701.96, what is the interval name?"
},
{
"from": "gpt",
"value": "SELECT interval_name FROM table_18955077_1 WHERE just__cen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18963843_1 (asian_american_population__2010_ INTEGER, combined_statistical_area VARCHAR)"
},
{
"from": "human",
"value": "Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18963843_1 (_percentage_indian_american VARCHAR, asian_american_population__2010_ VARCHAR)"
},
{
"from": "human",
"value": "Name the % indian american for asian population 126965"
},
{
"from": "gpt",
"value": "SELECT _percentage_indian... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)"
},
{
"from": "human",
"value": "Name the % asian american for 23526"
},
{
"from": "gpt",
"value": "SELECT _percentage_asian_american FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "When buffalo narrows is the name how many measurements of population density per kilometer squared are there?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)"
},
{
"from": "human",
"value": "When 1233 is the population of 2011 what is the land area in kilometers squared?"
},
{
"from": "gpt",
"value": "SELECT land_area__km²_ FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)"
},
{
"from": "human",
"value": "When 6.00 is the land area in kilometers squared what is the highest population of 2011?"
},
{
"from": "gpt",
"value": "SELECT MAX(populatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (population__2011_ INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "When beauval is the name what is the lowest population of 2011?"
},
{
"from": "gpt",
"value": "SELECT MIN(population__2011_) FROM table_189598_7 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR)"
},
{
"from": "human",
"value": "When 4.5 is the percentage of change how many population counts were made for 2011?"
},
{
"from": "gpt",
"value": "SELECT COUNT(populat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR)"
},
{
"from": "human",
"value": "When 14.85 kilometers squared is the land area what is the name?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_189598_7 WHERE land_area__km²_ = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)"
},
{
"from": "human",
"value": "What is every state and District of Columbia with 60.0% overweight or obese adults?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)"
},
{
"from": "human",
"value": "What are all percentages of overweight or obese adults for obesity rank of 21?"
},
{
"from": "gpt",
"value": "SELECT overweight_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)"
},
{
"from": "human",
"value": "What is the least obesity rank for the state of Utah?"
},
{
"from": "gpt",
"value": "SELECT MIN(obesity_rank) FROM table_1895864... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)"
},
{
"from": "human",
"value": "How many states or District of Columbia have 65.4% overweight or obese adults?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR)"
},
{
"from": "human",
"value": "What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Who directed the film Gomorra?"
},
{
"from": "gpt",
"value": "SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_no... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "What language was spoken in Everlasting Moments?"
},
{
"from": "gpt",
"value": "SELECT language_s_ FROM table_18994724_1 WHERE fil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR)"
},
{
"from": "human",
"value": "What is the original title of the film submitted by Greece?"
},
{
"from": "gpt",
"value": "SELECT original_title FROM table_18994724_1 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Who directed the film Nuits d'arabie?"
},
{
"from": "gpt",
"value": "SELECT director_s_ FROM table_18994724_1 WHERE film_title_use... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR)"
},
{
"from": "human",
"value": "What is every value for population (2006) with a Romanian mother tongue?"
},
{
"from": "gpt",
"value": "SELECT population__2006_ FROM table_18... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189893_1 (population__2011_ INTEGER)"
},
{
"from": "human",
"value": "What is the lowest population(2011)?"
},
{
"from": "gpt",
"value": "SELECT MIN(population__2011_) FROM table_189893_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest population(2006) when there is a 1.06% in 2011?"
},
{
"from": "gpt",
"value": "SELECT MIN(population__2006_) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR)"
},
{
"from": "human",
"value": "How many values for population(2011) correspond to a 1.40% in 2006?"
},
{
"from": "gpt",
"value": "SELECT COUNT(population__2011_) FROM ta... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.