conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "In which week was the attendance 47,218?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "How many Decembers have calgary flames as the opponent?"
},
{
"from": "gpt",
"value": "SELECT COUNT(december) FROM table_name_90 WHERE opponent = \"calgary f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What game has valiquette as the decision, with @ los angeles kings as the opponent?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR)"
},
{
"from": "human",
"value": "What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What venue had SF?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_4 WHERE round = \"sf\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (venue VARCHAR, attendance INTEGER)"
},
{
"from": "human",
"value": "What venue has more than 50,715 attending?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_45 WHERE attendance > 50 OFFSET 715"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (round VARCHAR, venue VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What round was at the A venue with a attendance more than 14,314?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_7 WHERE venue = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (callsign VARCHAR, branding VARCHAR)"
},
{
"from": "human",
"value": "What's the callsign of Mom's Radio 101.9 Zamboanga?"
},
{
"from": "gpt",
"value": "SELECT callsign FROM table_name_34 WHERE branding = \"mom's radio 101.9 za... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "What's the power when the frequency is 101.5mhz?"
},
{
"from": "gpt",
"value": "SELECT power__kw_ FROM table_name_26 WHERE frequency = \"101.5mhz\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (location VARCHAR, power__kw_ VARCHAR, branding VARCHAR)"
},
{
"from": "human",
"value": "What's the location of Mom's Radio 95.9 Naga having a power of 10kw?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_58 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (callsign VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What's the callsign in Tacloban?"
},
{
"from": "gpt",
"value": "SELECT callsign FROM table_name_22 WHERE location = \"tacloban\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (power__kw_ VARCHAR, branding VARCHAR)"
},
{
"from": "human",
"value": "What's the power of Mom's Radio 101.5 Tacloban?"
},
{
"from": "gpt",
"value": "SELECT power__kw_ FROM table_name_7 WHERE branding = \"mom's radio 101.5 tacl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (br_nos VARCHAR)"
},
{
"from": "human",
"value": "Which 1947 Nos has a BR Nos of 48730-9?"
},
{
"from": "gpt",
"value": "SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = \"48730-9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (losses INTEGER, win__percentage VARCHAR, no_result VARCHAR)"
},
{
"from": "human",
"value": "What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (wins VARCHAR, year VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of wins in 2010, when there were more than 14 matches?"
},
{
"from": "gpt",
"value": "SELECT COUNT(wins) FROM table_name_99... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (wins INTEGER, matches VARCHAR, no_result VARCHAR)"
},
{
"from": "human",
"value": "What is the number of wins when there are 14 matches, and the No Result was less than 0?"
},
{
"from": "gpt",
"value": "SELECT AVG(wins) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (losses INTEGER, matches VARCHAR, no_result VARCHAR)"
},
{
"from": "human",
"value": "What is the number of losses when there were 14 matches, and the No Result was larger than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(losse... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "What is the number of matches when the wins are less than 8, and losses of 7, in 2011?"
},
{
"from": "gpt",
"value": "SELECT SUM(mat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)"
},
{
"from": "human",
"value": "What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR)"
},
{
"from": "human",
"value": "What area has less than 0.97 mil in population and is on the east?"
},
{
"from": "gpt",
"value": "SELECT area__km²_ FROM table_name_95 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (area__km²_ VARCHAR, pop__km² VARCHAR)"
},
{
"from": "human",
"value": "What is the area for a population of 0.58 km?"
},
{
"from": "gpt",
"value": "SELECT area__km²_ FROM table_name_8 WHERE pop__km² = 0.58"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the method when the result is loss on january 19, 2008?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_30 WHERE result = \"lo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "when is the opponent lyoto machida?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_94 WHERE opponent = \"lyoto machida\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "who is the opponent when the method is tko (punches) at 4:26 of round 1?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_82 WHERE method = \"tko... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (tuf_competitor VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "who is the tuf competitor when the method id decision (unanimous)?"
},
{
"from": "gpt",
"value": "SELECT tuf_competitor FROM table_name_37 WHERE method =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (opponent VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_83 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the venue where the melbourne tigers play their home games?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_26 WHERE home_team = \"melbourn... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What team has theoir home games in the venue of gold coast convention centre?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_11 WHERE venue = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the box score type for the game that has a score of 103-101?"
},
{
"from": "gpt",
"value": "SELECT Box AS score FROM table_name_79 WHERE score = \"103-101\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (Box VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What was the box score for the game where the away team was the sydney spirit?"
},
{
"from": "gpt",
"value": "SELECT Box AS score FROM table_name_40 WHERE away_t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (res VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the resolution of the fight when tim hague had a record of 15-7?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_65 WHERE record = \"15-7\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (event VARCHAR, time VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What event did Tim hague have a fight that had a time of 5:00 and a record of 10-4?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_88 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What method of resolution was the fight that took place at hardcore championship fighting: destiny?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What event did tim Hague have a record of 3-0?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_54 WHERE record = \"3-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (poll_source VARCHAR, lead_margin VARCHAR)"
},
{
"from": "human",
"value": "Which organization administered the poll that showed a lead margin of 5.5?"
},
{
"from": "gpt",
"value": "SELECT poll_source FROM table_name_88 WHERE l... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (position VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Pick is 7?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_80 WHERE pick = \"7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What is Pick, when Round is greater than 1, and when School/Club Team is South Carolina?"
},
{
"from": "gpt",
"value": "SELECT pick FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (date VARCHAR, outcome VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the game with a Score of 4–6, 4–6?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_36 WHERE score = \"4–6, 4–6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the game against Christo Van Rensburg?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_5 WHERE opponent = \"christo van rensburg\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team for the game that has a Tie value of 3?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_36 WHERE tie_no = \"3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (attendance INTEGER, away_team VARCHAR)"
},
{
"from": "human",
"value": "How many in total were in attendance at games where Chelsea was the away team?"
},
{
"from": "gpt",
"value": "SELECT SUM(attendance) FROM table_name_23 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)"
},
{
"from": "human",
"value": "What is the 2004 population for 昌黎县?"
},
{
"from": "gpt",
"value": "SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = \"昌黎县\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (population__2004_est_ VARCHAR, hanzi VARCHAR)"
},
{
"from": "human",
"value": "What is the 2004 population for 山海关区?"
},
{
"from": "gpt",
"value": "SELECT population__2004_est_ FROM table_name_46 WHERE hanzi = \"山海关区\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (hanzi VARCHAR, population__2004_est_ VARCHAR)"
},
{
"from": "human",
"value": "Which Hanzi has a suburban population in 2004?"
},
{
"from": "gpt",
"value": "SELECT hanzi FROM table_name_95 WHERE population__2004_est_ = \"subur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR)"
},
{
"from": "human",
"value": "What is the density of 昌黎县?"
},
{
"from": "gpt",
"value": "SELECT density___km²_ FROM table_name_34 WHERE hanzi = \"昌黎县\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (hanyu_pinyin VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Hanyu Pinyin is labeled rural?"
},
{
"from": "gpt",
"value": "SELECT hanyu_pinyin FROM table_name_68 WHERE name = \"rural\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR)"
},
{
"from": "human",
"value": "What is the Pressure in hPa (mbar), when Vacuum Range is \"medium vacuum\"?"
},
{
"from": "gpt",
"value": "SELECT pressure_in_hpa__mbar_ FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR)"
},
{
"from": "human",
"value": "What is Mean Free Path, when Vacuum Range is \"medium vacuum\"?"
},
{
"from": "gpt",
"value": "SELECT mean_free_path FROM table_name_28 WHERE vacuu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR)"
},
{
"from": "human",
"value": "What is Mean Free Path, when Vacuum Range is \"medium vacuum\"?"
},
{
"from": "gpt",
"value": "SELECT mean_free_path FROM table_name_25 WHERE vacuu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (outcome VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the outcome when the date is 10 october 1994?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_40 WHERE date = \"10 october 1994\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the score on 22 february 1993?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_10 WHERE date = \"22 february 1993\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the outcome when the surface is grass on 23 june 1997?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_45 WHERE surface = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)"
},
{
"from": "human",
"value": "what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)"
},
{
"from": "human",
"value": "what is the title when the rank is less than 17 and the worldwide gross is $299,288,605?"
},
{
"from": "gpt",
"value": "SELECT title FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (rank INTEGER, director VARCHAR)"
},
{
"from": "human",
"value": "what is the highest rank for director john woo?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_47 WHERE director = \"john woo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (title VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "what is the title for director p.j. hogan?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_name_15 WHERE director = \"p.j. hogan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (date VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What date was the pyramid location?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_69 WHERE location = \"the pyramid\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What date was the opponent the Portland Trail Blazers?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_67 WHERE opponent = \"portland trail blazers\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (record VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the record for the opponent the Cleveland Cavaliers?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_26 WHERE opponent = \"cleveland caval... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (qual_2 VARCHAR, team VARCHAR, best VARCHAR)"
},
{
"from": "human",
"value": "What was the second qualification time for Dale Coyne Racing with a best of 1:03.757?"
},
{
"from": "gpt",
"value": "SELECT qual_2 FROM table_name_39... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (qual_2 VARCHAR, qual_1 VARCHAR)"
},
{
"from": "human",
"value": "What was the second qualification time with a first qualification time of 1:02.813?"
},
{
"from": "gpt",
"value": "SELECT qual_2 FROM table_name_29 WHERE qual_1 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR)"
},
{
"from": "human",
"value": "Which team has a second qualification time of 1:01.936?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_40 WHERE qual_2 = \"1:01.936\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (name VARCHAR, best VARCHAR)"
},
{
"from": "human",
"value": "Who had a best time of 1:00.870?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_24 WHERE best = \"1:00.870\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (name VARCHAR, qual_2 VARCHAR)"
},
{
"from": "human",
"value": "Who had a second qualification time of 1:01.777?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_9 WHERE qual_2 = \"1:01.777\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (genre VARCHAR, type VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What type of 3D game was released between 2008-2011?"
},
{
"from": "gpt",
"value": "SELECT genre FROM table_name_87 WHERE type = \"3d\" AND re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (release_date VARCHAR, developer_s_ VARCHAR, type VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "When did Riot Games release their 3D MOBA game?"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_name_2 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "When did Masthead Studios release their game?"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_name_98 WHERE developer_s_ = \"masthead s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What operating system was needed for 2D games?"
},
{
"from": "gpt",
"value": "SELECT required_os FROM table_name_91 WHERE type = \"2d\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (genre VARCHAR, type VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What type of 3D game did Valve Corporation release?"
},
{
"from": "gpt",
"value": "SELECT genre FROM table_name_4 WHERE type = \"3d\" AND devel... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What was the minimum operating system required by Stunlock Studios' game?"
},
{
"from": "gpt",
"value": "SELECT required_os FROM table_name_91 WHERE d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (round VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the total rounds Travis Hamonic played?"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_name_61 WHERE player = \"travis hamonic\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (name VARCHAR, fate VARCHAR, cargo VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the ship with pit props as Cargo sunk by u-48 *?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_44 WHERE fate = \"sunk... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of attack of the ship with iron ore sunk by u-101 *?"
},
{
"from": "gpt",
"value": "SELECT date_of_attack FROM table_name_3... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (points INTEGER, played VARCHAR, goal_difference VARCHAR, losses VARCHAR, goals_against VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest points for positions with under 12 losses, goals against under 50, goal difference over 11... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "What is the most wins for a position with more than 30 played and a goal difference of 11?"
},
{
"from": "gpt",
"value": "SELECT MAX(wins)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of played for the goals against over 44 and a goal difference of 11?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (time VARCHAR, round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is Time, when Round is less than 2, and when Opponent is \"Valentijn Overeem\"?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_22... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (location VARCHAR, round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is Location, when Round is \"1\", and when Opponent is \"Joe Slick\"?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_76 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is Event, when Opponent is \"Joe Pardo\"?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_41 WHERE opponent = \"joe pardo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (event VARCHAR, time VARCHAR, round VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is Event, when Round is \"1\", when Location is \"New Town, North Dakota , United States\" and when Time is \"4:12\"?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "On what Date was the Opponent the Tennessee Titans?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_47 WHERE opponent = \"tennessee titans\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (result VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the Result of the game with an Attendance of 64,104?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_25 WHERE attendance = \"64,104\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (week INTEGER, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Week number with a Result of W 30-28?"
},
{
"from": "gpt",
"value": "SELECT AVG(week) FROM table_name_85 WHERE result = \"w 30-28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game against Philadelphia Eagles?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_61 WHERE opponent = \"philadelphia eagles\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance of the game September 21, 2003?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_36 WHERE date = \"september 21, 2003\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (position VARCHAR, pick INTEGER)"
},
{
"from": "human",
"value": "What position has a pick less than 20?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_2 WHERE pick < 20"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (overall INTEGER, college VARCHAR)"
},
{
"from": "human",
"value": "What is the number that is the lowest overall for the College of Baylor?"
},
{
"from": "gpt",
"value": "SELECT MIN(overall) FROM table_name_44 WHERE college = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR)"
},
{
"from": "human",
"value": "What is the number that is the lowest overall for Round 6?"
},
{
"from": "gpt",
"value": "SELECT MIN(overall) FROM table_name_85 WHERE round = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Where was the result a win against Mike Large?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_44 WHERE res = \"win\" AND opponen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "In what round did opponent Joe Lauzon play?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_39 WHERE opponent = \"joe lauzon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in a week over 8 on December 4, 1960?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_54 WHERE week > 8 AND dat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in a week less than 8 on October 9, 1960?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_24 WHERE week < 8 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the result when 58,516 were in attendance?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_70 WHERE attendance = \"58,516\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in a week below 3 on September 23, 1960?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_28 WHERE week < 3 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the biggest number of females where the males are at 28.2 with a rank greater than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(females) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (player VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who was the player in 1976?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_9 WHERE year = 1976"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (pick VARCHAR, nationality VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "When was Elaine Powell (g) of the United states picked?"
},
{
"from": "gpt",
"value": "SELECT pick FROM table_name_17 WHERE nationality = \"un... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.