conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_8 (type_of_record VARCHAR, date_year VARCHAR)"
},
{
"from": "human",
"value": "What record was set on Tue 11/02/75?"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_21436373_8 WHERE date_year = \"Tue 11/02/75\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "What record was set when the result/game was equal to 9 games (28,595 avg.)"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_2143... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "What record was set when the result/game was montreal 20 @ ottawa 10?"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_21436373_8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_8 (stadium VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "Which stadium had the result/game montreal 20 @ ottawa 10?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_21436373_8 WHERE result_games = \"M... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR)"
},
{
"from": "human",
"value": "For what year is the type of record 'total attendance-regular season?"
},
{
"from": "gpt",
"value": "SELECT date_year FROM table_21436373_5 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_5 (type_of_record VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "What type of record is the result of the game Montreal 31 @ Calgary 32?"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_21436373... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_5 (date_year VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "On what date/s has attendance been 45010?"
},
{
"from": "gpt",
"value": "SELECT date_year FROM table_21436373_5 WHERE attendance = 45010"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR)"
},
{
"from": "human",
"value": "What is the number of attendance with the pre-season game as the type of record?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "Which type of record has result/games of 9 games (57,144 avg.)"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_21436373_6 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR)"
},
{
"from": "human",
"value": "What is the result/games of Sun 11/28/10 as the date/year?"
},
{
"from": "gpt",
"value": "SELECT result_games FROM table_21436373_6 WHERE date_year =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR)"
},
{
"from": "human",
"value": "Which stadium has the date/year of Fri 06/25/82?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_21436373_6 WHERE date_year = \"Fri 06/25/82\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR)"
},
{
"from": "human",
"value": "Which type of record has result/games of b.c. 16 @ edmonton 22?"
},
{
"from": "gpt",
"value": "SELECT type_of_record FROM table_21436373_6 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144436_1 (population__2000_ INTEGER, barangay VARCHAR)"
},
{
"from": "human",
"value": "What was the populati in 2000 for Panlicsian? "
},
{
"from": "gpt",
"value": "SELECT MIN(population__2000_) FROM table_2144436_1 WHERE barangay = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144436_1 (population__2010_ INTEGER, barangay VARCHAR)"
},
{
"from": "human",
"value": "What was the population in 2010 for Minane"
},
{
"from": "gpt",
"value": "SELECT MAX(population__2010_) FROM table_2144436_1 WHERE barangay = \"Mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144436_1 (population__2007_ VARCHAR, barangay VARCHAR)"
},
{
"from": "human",
"value": "What is the 2007 population for Corazon de Jesus? "
},
{
"from": "gpt",
"value": "SELECT population__2007_ FROM table_2144436_1 WHERE barangay = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR)"
},
{
"from": "human",
"value": "What is the 2010 population when the 2000 population is 5720? "
},
{
"from": "gpt",
"value": "SELECT MAX(population__2010_) FROM table_21... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144389_8 (rōmaji VARCHAR, japanese_translation VARCHAR)"
},
{
"from": "human",
"value": "Name the romaji by your side ~hikari's theme~ (popup.version)"
},
{
"from": "gpt",
"value": "SELECT rōmaji FROM table_2144389_8 WHERE japanese_tr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144389_8 (vocalist VARCHAR, rōmaji VARCHAR)"
},
{
"from": "human",
"value": "Name the vocalist for kaze no messēji (pokapoka-version)"
},
{
"from": "gpt",
"value": "SELECT vocalist FROM table_2144389_8 WHERE rōmaji = \"Kaze no Messēji... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144389_8 (_number INTEGER, japanese_title VARCHAR)"
},
{
"from": "human",
"value": "Name the least number for 君のそばで~ヒカリのテーマ~(popup.version)"
},
{
"from": "gpt",
"value": "SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2144389_8 (vocalist VARCHAR, japanese_translation VARCHAR)"
},
{
"from": "human",
"value": "Name the number of vocalists for which one ~ is it?"
},
{
"from": "gpt",
"value": "SELECT COUNT(vocalist) FROM table_2144389_8 WHERE japanese_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21469545_2 (to_par VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the to par for 20 feb 2005"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_21469545_2 WHERE date = \"20 Feb 2005\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21469545_2 (no VARCHAR, margin_of_victory VARCHAR)"
},
{
"from": "human",
"value": "Name the number for margin of victory being 3 strokes"
},
{
"from": "gpt",
"value": "SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21469545_2 (winning_score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the winning score for 8 feb 2009"
},
{
"from": "gpt",
"value": "SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = \"8 Feb 2009\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21458142_1 (publisher VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "Who published the title in the pet-raising simulator genre?"
},
{
"from": "gpt",
"value": "SELECT publisher FROM table_21458142_1 WHERE genre = \"Pet-raisin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What's the sales breakdown for Nintendo's Mario Kart DS?"
},
{
"from": "gpt",
"value": "SELECT sales_breakdown FROM table_21458142_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "How many copies were sold of the game released on october 23, 2008?"
},
{
"from": "gpt",
"value": "SELECT total_copies_sold FROM table_214581... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR)"
},
{
"from": "human",
"value": "What's the sales breakdown of the Nintendo game released on May 15, 2006?"
},
{
"from": "gpt",
"value": "SELECT sales_breakd... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21457754_2 (races INTEGER)"
},
{
"from": "human",
"value": "Name the most races"
},
{
"from": "gpt",
"value": "SELECT MAX(races) FROM table_21457754_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21457754_2 (rr1_pts INTEGER)"
},
{
"from": "human",
"value": "Name the most rr 1 pts"
},
{
"from": "gpt",
"value": "SELECT MAX(rr1_pts) FROM table_21457754_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21457754_2 (total_pts VARCHAR, team_name VARCHAR)"
},
{
"from": "human",
"value": "Name the number of total pts for gbr challenge"
},
{
"from": "gpt",
"value": "SELECT COUNT(total_pts) FROM table_21457754_2 WHERE team_name = \"GBR Chal... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of second place finishes when the city & nation was Chicago, USA?"
},
{
"from": "gpt",
"value": "SELECT COUNT(se... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2146364_2 (third_place INTEGER, city_ VARCHAR, _nation VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of third place finishes when the city & nation was Vancouver, Canada?"
},
{
"from": "gpt",
"value": "SELECT MIN(t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2146364_2 (third_place INTEGER)"
},
{
"from": "human",
"value": "What is the smallest third place finish?"
},
{
"from": "gpt",
"value": "SELECT MIN(third_place) FROM table_2146364_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)"
},
{
"from": "human",
"value": "What change caused a change of staff in March 9, 1865?"
},
{
"from": "gpt",
"value": "SELECT reason_for_change FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR)"
},
{
"from": "human",
"value": "Who was the successor for the new seat?"
},
{
"from": "gpt",
"value": "SELECT successor FROM table_2147588_3 WHERE vacator = \"New seat\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)"
},
{
"from": "human",
"value": "What was the reason for change in staff in formal installations on March 15, 1865?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_4 (vacator VARCHAR, successor VARCHAR)"
},
{
"from": "human",
"value": "When nathaniel g. taylor (u) is the successor what is the vacator?"
},
{
"from": "gpt",
"value": "SELECT vacator FROM table_2147588_4 WHERE successor = \"N... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_4 (district VARCHAR, successor VARCHAR)"
},
{
"from": "human",
"value": "When william b. campbell (u) is the successor what is the district?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_2147588_4 WHERE successor = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR)"
},
{
"from": "human",
"value": "When james brooks (d) is the vacator what is the date the successor was seated?"
},
{
"from": "gpt",
"value": "SELECT date_successor_seated FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, successor VARCHAR)"
},
{
"from": "human",
"value": "When john w. leftwich (uu) is the successor what is the date the successor was seated?"
},
{
"from": "gpt",
"value": "SELECT date_successor_s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2147588_4 (successor VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "When new york 8th is teh district who is the successor?"
},
{
"from": "gpt",
"value": "SELECT successor FROM table_2147588_4 WHERE district = \"New York 8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21489362_2 (rr3_pts INTEGER, rr4_pts VARCHAR)"
},
{
"from": "human",
"value": "When 20 is the rr4 points what is the lowest rr3 points?"
},
{
"from": "gpt",
"value": "SELECT MIN(rr3_pts) FROM table_21489362_2 WHERE rr4_pts = \"20\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21489362_2 (rr4_pts VARCHAR, total_pts VARCHAR)"
},
{
"from": "human",
"value": "When 70 is the total points what is the rr4 points?"
},
{
"from": "gpt",
"value": "SELECT rr4_pts FROM table_21489362_2 WHERE total_pts = 70"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21489362_2 (won VARCHAR, rr1_pts VARCHAR)"
},
{
"from": "human",
"value": "When 3 is the rr1 points what is won score?"
},
{
"from": "gpt",
"value": "SELECT won FROM table_21489362_2 WHERE rr1_pts = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)"
},
{
"from": "human",
"value": "When spanish challenge is the team name what are the rr1 points?"
},
{
"from": "gpt",
"value": "SELECT rr1_pts FROM table_21489362_2 WHERE team_name = \"S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR)"
},
{
"from": "human",
"value": "Name the innings for 5088 runs scored"
},
{
"from": "gpt",
"value": "SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21486890_1 (matches INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "Name the matches for mark taylor category:articles with hcards"
},
{
"from": "gpt",
"value": "SELECT MAX(matches) FROM table_21486890_1 WHERE name = \"Mark Tay... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21486890_1 (runs_scored INTEGER)"
},
{
"from": "human",
"value": "Name the most runs scored"
},
{
"from": "gpt",
"value": "SELECT MAX(runs_scored) FROM table_21486890_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21486890_1 (matches INTEGER, not_out VARCHAR)"
},
{
"from": "human",
"value": "Name the least matches for not out being 44"
},
{
"from": "gpt",
"value": "SELECT MIN(matches) FROM table_21486890_1 WHERE not_out = 44"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR)"
},
{
"from": "human",
"value": "What nation was Pageos 1 from?"
},
{
"from": "gpt",
"value": "SELECT nation FROM table_2150068_1 WHERE satellite = \"PAGEOS 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)"
},
{
"from": "human",
"value": "What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (decay VARCHAR, mass_kg_ VARCHAR)"
},
{
"from": "human",
"value": "What was the decay for the sattelite that was 180 kg?"
},
{
"from": "gpt",
"value": "SELECT decay FROM table_2150068_1 WHERE mass_kg_ = \"180\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (nssdc_id VARCHAR, satellite VARCHAR)"
},
{
"from": "human",
"value": "What is the nssdc id for Echo 1?"
},
{
"from": "gpt",
"value": "SELECT nssdc_id FROM table_2150068_1 WHERE satellite = \"Echo 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, nssdc_id VARCHAR)"
},
{
"from": "human",
"value": "What is the launch date for the sattelite with a nssdc id of 1960-009a?"
},
{
"from": "gpt",
"value": "SELECT launch_date__utc_ FROM table_2150068... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150068_1 (decay VARCHAR, nssdc_id VARCHAR)"
},
{
"from": "human",
"value": "What is the decay for the sattelite with an id that is 1990-081c?"
},
{
"from": "gpt",
"value": "SELECT decay FROM table_2150068_1 WHERE nssdc_id = \"1990-081... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21500850_1 (song_title VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "How many song titles belong to the artist Ratt?"
},
{
"from": "gpt",
"value": "SELECT COUNT(song_title) FROM table_21500850_1 WHERE artist = \"Ratt\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21500850_1 (original_game VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "What is every original game for the artist Lynyrd Skynyrd?"
},
{
"from": "gpt",
"value": "SELECT original_game FROM table_21500850_1 WHERE artist = \"L... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21500850_1 (song_title VARCHAR, artist VARCHAR, genre VARCHAR, original_game VARCHAR)"
},
{
"from": "human",
"value": "What is every song title for the rock genre and Guitar Hero as original game and the artist is Queens of the Stone Age?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21500850_1 (song_title VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is every song title for 2007?"
},
{
"from": "gpt",
"value": "SELECT song_title FROM table_21500850_1 WHERE year = 2007"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501511_1 (song_choice VARCHAR, week__number VARCHAR)"
},
{
"from": "human",
"value": "What was Lambert's song choice in the top 13?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_21501511_1 WHERE week__number = \"Top 13... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501511_1 (order__number VARCHAR, week__number VARCHAR)"
},
{
"from": "human",
"value": "What order did Lambert perform in the top 11?"
},
{
"from": "gpt",
"value": "SELECT order__number FROM table_21501511_1 WHERE week__number = \"To... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "What week was themed disco?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM table_21501511_1 WHERE theme = \"Disco\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "What week #(s featured sara bareilles as the original artist?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM table_21501564_1 WHERE or... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501564_1 (week__number VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "What week # featured first solo as the theme?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM table_21501564_1 WHERE theme = \"First Solo\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501564_1 (theme VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "How many weeks featured duffy as the original artist?"
},
{
"from": "gpt",
"value": "SELECT COUNT(theme) FROM table_21501564_1 WHERE original_artist =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501564_1 (original_artist VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Who was the originally artist when Jasmine Murray was selected?"
},
{
"from": "gpt",
"value": "SELECT original_artist FROM table_21501564_1 WHERE res... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "With theme the Year They Were Born, what is the song of choice?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_21501565_1 WHERE theme = \"Ye... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501565_1 (original_artist VARCHAR, order__number VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "With order number 7 and the theme is Motown, who were the original artists?"
},
{
"from": "gpt",
"value": "SELECT original_arti... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501565_1 (order__number VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "With an original artist names Bette Midler, what is the order number?"
},
{
"from": "gpt",
"value": "SELECT COUNT(order__number) FROM table_21... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501565_1 (week__number VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "With original artist of Tina Turner, what is the week number?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM table_21501565_1 WHERE or... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21501565_1 (original_artist VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "Who is the original artist with a theme of N/A?"
},
{
"from": "gpt",
"value": "SELECT original_artist FROM table_21501565_1 WHERE theme = \"N/A\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150776_1 (team VARCHAR, date VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "Name the team for june 16 jeff gordon"
},
{
"from": "gpt",
"value": "SELECT team FROM table_2150776_1 WHERE date = \"June 16\" AND driver = \"Jeff ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150776_1 (driver VARCHAR, laps VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Name the driver for 200 laps 1997"
},
{
"from": "gpt",
"value": "SELECT driver FROM table_2150776_1 WHERE laps = \"200\" AND year = \"1997\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2150776_1 (team VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "Name the team for ricky rudd"
},
{
"from": "gpt",
"value": "SELECT team FROM table_2150776_1 WHERE driver = \"Ricky Rudd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21515673_2 (ranking VARCHAR, rr2_pts VARCHAR)"
},
{
"from": "human",
"value": "What is the rank when RR2 has 4 points?"
},
{
"from": "gpt",
"value": "SELECT ranking FROM table_21515673_2 WHERE rr2_pts = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21515673_2 (rr1_pts VARCHAR, team_name VARCHAR)"
},
{
"from": "human",
"value": "How many points does Swedish America's Cup Challenge have for rr1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rr1_pts) FROM table_21515673_2 WHERE team_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21531764_2 (senior_us_senator VARCHAR, governor VARCHAR)"
},
{
"from": "human",
"value": "Who was the senior US senator in the state whose governor was D. Patrick?"
},
{
"from": "gpt",
"value": "SELECT senior_us_senator FROM table_2153... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21531764_2 (lower_house_majority VARCHAR, senior_us_senator VARCHAR)"
},
{
"from": "human",
"value": "What's the lower house majority in the state whose Senior senator is J. Shaheen?"
},
{
"from": "gpt",
"value": "SELECT lower_house_ma... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)"
},
{
"from": "human",
"value": "Who is every name for time(cet) of 09:58?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_21536557_2 WHERE time__cet_ = \"09:58\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is every time(cet) for the name of Lillehammer 2?"
},
{
"from": "gpt",
"value": "SELECT time__cet_ FROM table_21536557_2 WHERE name = \"Lillehammer 2\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)"
},
{
"from": "human",
"value": "Who is every name for time(cet) of 09:03?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_21536557_2 WHERE time__cet_ = \"09:03\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21536557_2 (day VARCHAR, stage VARCHAR)"
},
{
"from": "human",
"value": "Which days have a stage of ss11?"
},
{
"from": "gpt",
"value": "SELECT day FROM table_21536557_2 WHERE stage = \"SS11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21536557_2 (time__cet_ VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is every time(cet) for a time of 5:04.8?"
},
{
"from": "gpt",
"value": "SELECT time__cet_ FROM table_21536557_2 WHERE time = \"5:04.8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "How many calibers require the type LB/RN?"
},
{
"from": "gpt",
"value": "SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = \"LB/RN\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21538523_1 (class VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "Type FJ/RN/SC is associated with what class?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_21538523_1 WHERE type = \"FJ/RN/SC\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21538523_1 (type VARCHAR, caliber VARCHAR)"
},
{
"from": "human",
"value": "What type of glazing will stop a .44 magnum?"
},
{
"from": "gpt",
"value": "SELECT type FROM table_21538523_1 WHERE caliber = \".44 Magnum\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21538523_1 (shots INTEGER)"
},
{
"from": "human",
"value": "What is the fewest shots a glazing can handle?"
},
{
"from": "gpt",
"value": "SELECT MIN(shots) FROM table_21538523_1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21538523_1 (range__m_ VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What range does type FJ/PB/SCP work at?"
},
{
"from": "gpt",
"value": "SELECT range__m_ FROM table_21538523_1 WHERE type = \"FJ/PB/SCP\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR)"
},
{
"from": "human",
"value": "Name the drivetrain for 2ur-fse"
},
{
"from": "gpt",
"value": "SELECT drivetrain FROM table_21530474_1 WHERE engine_code = \"2UR-FSE\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR)"
},
{
"from": "human",
"value": "Name the regions for usf45"
},
{
"from": "gpt",
"value": "SELECT region_s_ FROM table_21530474_1 WHERE chassis_code = \"USF45\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21530474_1 (model_no VARCHAR, chassis_code VARCHAR)"
},
{
"from": "human",
"value": "Name the model number for usf46"
},
{
"from": "gpt",
"value": "SELECT model_no FROM table_21530474_1 WHERE chassis_code = \"USF46\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR, chassis_code VARCHAR)"
},
{
"from": "human",
"value": "Name the drivetrain for 1ur-fse for usf41"
},
{
"from": "gpt",
"value": "SELECT drivetrain FROM table_21530474_1 WHERE engine_c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR)"
},
{
"from": "human",
"value": "For the area which was 9.1 in October 2010, what is the figure for October 2012?"
},
{
"from": "gpt",
"value": "SELECT october_2012 FROM table_215... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21531764_1 (employment_area VARCHAR, october_2010 VARCHAR)"
},
{
"from": "human",
"value": "Where is the rate 5.7 in October 2010?"
},
{
"from": "gpt",
"value": "SELECT employment_area FROM table_21531764_1 WHERE october_2010 = \"5.7\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21550870_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)"
},
{
"from": "human",
"value": "Name the original air date for 9.16 viewers"
},
{
"from": "gpt",
"value": "SELECT original_air_date FROM table_21550870_1 WHERE us_vi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_21550870_1 (production_code VARCHAR, written_by VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of production code for episode by steve cohen & andrew dettman"
},
{
"from": "gpt",
"value": "SELECT COUNT(production_code... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR)"
},
{
"from": "human",
"value": "What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)?"
},
{
"from": "gpt",
"value": "SELECT popu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR)"
},
{
"from": "human",
"value": "What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? "
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2155836_1 (hdi__2011_ VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the HDI for 2011 in Tunisia? "
},
{
"from": "gpt",
"value": "SELECT hdi__2011_ FROM table_2155836_1 WHERE country = \"Tunisia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2155836_1 (_per_capita_ VARCHAR, gdp__ppp___usd INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What is the GDP (PPP) (USD, per capita) for Algeria? "
},
{
"from": "gpt",
"value": "SELECT MIN(gdp__ppp___usd), _per_capita_ FR... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.