conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_27756164_2 (score VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "What was the score of the game in which Danny Granger (30) did the high points?" }, { "from": "gpt", "value": "SELECT score FROM table_27756164_2 WHERE hi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756014_6 (high_points VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who scored the most points when the Bucks played against Houston?" }, { "from": "gpt", "value": "SELECT high_points FROM table_27756014_6 WHERE team = \"Ho...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756014_6 (date VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What date was game number 22 on?" }, { "from": "gpt", "value": "SELECT date FROM table_27756014_6 WHERE game = 22" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many people scored the most points during the game on December 10?" }, { "from": "gpt", "value": "SELECT COUNT(high_points) FROM table_27756014_6 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756164_8 (location_attendance VARCHAR, team VARCHAR)" }, { "from": "human", "value": "When the team is chicago what is the location attendence?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_27756164_8 WHERE tea...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756164_8 (score VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the score when the team is Orlando?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_27756164_8 WHERE team = \"Orlando\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score in the game on March 26?" }, { "from": "gpt", "value": "SELECT score FROM table_27756572_10 WHERE date = \"March 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756572_10 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What was the record when the Clippers played Philadelphia? " }, { "from": "gpt", "value": "SELECT record FROM table_27756572_10 WHERE team = \"Philadelphia\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What location and attendance were there for game 5?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_27756474_2 WHERE game = 5"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_2 (game VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "Which game did rudy gay (12) have the highest points?" }, { "from": "gpt", "value": "SELECT game FROM table_27756474_2 WHERE high_points = \"Rudy Gay (12)\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_2 (high_assists VARCHAR, team VARCHAR)" }, { "from": "human", "value": "How many high assists where there for the team of caja laboral?" }, { "from": "gpt", "value": "SELECT COUNT(high_assists) FROM table_27756474_2 WHERE team...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_2 (game VARCHAR, high_rebounds VARCHAR)" }, { "from": "human", "value": "Which game did marc gasol (10) have the high rebounds?" }, { "from": "gpt", "value": "SELECT game FROM table_27756474_2 WHERE high_rebounds = \"Marc Gaso...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_2 (high_assists VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who had the high assists on october 6?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_27756474_2 WHERE date = \"October 6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_6 (high_assists VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "Name the total number of high assists for fedexforum 11,283" }, { "from": "gpt", "value": "SELECT COUNT(high_assists) FROM table_27756474_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756474_6 (game INTEGER, location_attendance VARCHAR)" }, { "from": "human", "value": "Name the most game for us airways center 16,470" }, { "from": "gpt", "value": "SELECT MIN(game) FROM table_27756474_6 WHERE location_attendance = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27756572_6 (high_points VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who and what were the high points player for the game against Detroit?" }, { "from": "gpt", "value": "SELECT high_points FROM table_27756572_6 WHERE team =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "How many times did the Centurions play the Rhein Fire?" }, { "from": "gpt", "value": "SELECT COUNT(game_site) FROM table_27764201_2 WHERE opponent = \"Rh...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Where did the Centurions play the Hamburg Sea Devils?" }, { "from": "gpt", "value": "SELECT game_site FROM table_27764201_2 WHERE opponent = \"Hamburg Se...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27764201_2 (kickoff VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What time was the kickoff against the Frankfurt Galaxy?" }, { "from": "gpt", "value": "SELECT kickoff FROM table_27764201_2 WHERE opponent = \"Frankfurt Ga...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27770426_1 (catches VARCHAR, no VARCHAR)" }, { "from": "human", "value": "How many total catches did the player with no. 46 have?" }, { "from": "gpt", "value": "SELECT COUNT(catches) FROM table_27770426_1 WHERE no = 46" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27782699_3 (manner_of_departure VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "How did the manager who was replaced by Jakob Michelsen depart?" }, { "from": "gpt", "value": "SELECT manner_of_departure FROM table_2778269...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27782699_3 (position_in_table VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What was the AB team's position in table?" }, { "from": "gpt", "value": "SELECT position_in_table FROM table_27782699_3 WHERE team = \"AB\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27782699_3 (date_of_appointment VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "On what date did Kim Fogh replace the previous manager?" }, { "from": "gpt", "value": "SELECT date_of_appointment FROM table_27782699_3 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27782699_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)" }, { "from": "human", "value": "What was the vacancy date for Thomas Thomasberg?" }, { "from": "gpt", "value": "SELECT date_of_vacancy FROM table_27782699_3 WHERE outgoing...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27782699_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "Which manager was replaced by Thomas Thomasberg?" }, { "from": "gpt", "value": "SELECT outgoing_manager FROM table_27782699_3 WHERE replaced_by...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27771406_1 (total_dismissals INTEGER, club VARCHAR)" }, { "from": "human", "value": "How many total dismissals did the player for Guyana have?" }, { "from": "gpt", "value": "SELECT MAX(total_dismissals) FROM table_27771406_1 WHERE club...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27771406_1 (club VARCHAR, tests VARCHAR)" }, { "from": "human", "value": "The player for what club had 2 tests?" }, { "from": "gpt", "value": "SELECT club FROM table_27771406_1 WHERE tests = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27771406_1 (stumpings INTEGER)" }, { "from": "human", "value": "What is the most amount of stumpings any player had? " }, { "from": "gpt", "value": "SELECT MAX(stumpings) FROM table_27771406_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27771406_1 (club VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What club did Cyril Christiani play for? " }, { "from": "gpt", "value": "SELECT club FROM table_27771406_1 WHERE player = \"Cyril Christiani\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR)" }, { "from": "human", "value": "How many catches did Clifford McWatt have? " }, { "from": "gpt", "value": "SELECT MIN(catches) FROM table_27771406_1 WHERE player = \"Clifford McWatt\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR)" }, { "from": "human", "value": "Name the points for top tens being 24 and ownder david pearson" }, { "from": "gpt", "value": "SELECT points__margin_ FROM table_2778...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "Name the starts for bobby labonte" }, { "from": "gpt", "value": "SELECT starts FROM table_27786562_1 WHERE driver = \"Bobby Labonte\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27786562_1 (poles VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Name the poles for season 2006" }, { "from": "gpt", "value": "SELECT poles FROM table_27786562_1 WHERE season = 2006" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27776266_1 (production_code VARCHAR, no_in_series VARCHAR)" }, { "from": "human", "value": "What was the production code of the episode no. 55 in the series?" }, { "from": "gpt", "value": "SELECT production_code FROM table_27776266_1 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27776266_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "What was the production code of the episode with an audience of 14.79 million in the US?" }, { "from": "gpt", "value": "SELECT producti...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27776266_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "Who directed the episode with an audience of 14.11 million?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_27776266_1 WHERE u...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "What was the title of the episode with a production code of 3x6404?" }, { "from": "gpt", "value": "SELECT title FROM table_27776266_1 WHERE production...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "Which school players have a number of 255" }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 25...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "what educational institute does wes swinson attend" }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM table_2781227_10 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "which part on the team does rick schuhwerk play" }, { "from": "gpt", "value": "SELECT position FROM table_2781227_10 WHERE player = \"Rick Schuhwerk\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_4 (player VARCHAR, college_junior_club_team VARCHAR)" }, { "from": "human", "value": "For college/junior/club team is brandon wheat kings (whl) mention all the player name" }, { "from": "gpt", "value": "SELECT player FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_4 (pick INTEGER, player VARCHAR)" }, { "from": "human", "value": "For player is jamal mayers mention the minimum pick" }, { "from": "gpt", "value": "SELECT MIN(pick) FROM table_2781227_4 WHERE player = \"Jamal Mayers\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "For player is john jakopin mention the total number of position " }, { "from": "gpt", "value": "SELECT COUNT(position) FROM table_2781227_4 WHERE player = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)" }, { "from": "human", "value": "For nhl team is san jose sharks mention all the college/junior/club team " }, { "from": "gpt", "value": "SELECT college_junior_club_team FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "For player is adam wiesel mention all the college/junior/club team " }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_2 (pick VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many values are displayed under pick for Vlastimil Kroupa?" }, { "from": "gpt", "value": "SELECT COUNT(pick) FROM table_2781227_2 WHERE player = \"Vlastimil ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_2 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many positions does Janne Niinimaa play?" }, { "from": "gpt", "value": "SELECT COUNT(position) FROM table_2781227_2 WHERE player = \"Janne Niinimaa\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many teams does Lee Sorochan play for?" }, { "from": "gpt", "value": "SELECT COUNT(college_junior_club_team) FROM table_2781227_2 WHERE p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR)" }, { "from": "human", "value": "What player belongs to the Chicago Blackhawks?" }, { "from": "gpt", "value": "SELECT player FROM table_2781227_2 WHERE nhl_team = \"Chicago Blackhawks\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_2 (nhl_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many teams does Maxim Bets play for?" }, { "from": "gpt", "value": "SELECT COUNT(nhl_team) FROM table_2781227_2 WHERE player = \"Maxim Bets\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_11 (pick INTEGER, nhl_team VARCHAR)" }, { "from": "human", "value": "What was the minimum pick by the Florida Panthers?" }, { "from": "gpt", "value": "SELECT MIN(pick) FROM table_2781227_11 WHERE nhl_team = \"Florida Panthers\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What NHL team picked Ryan Meade for the draft?" }, { "from": "gpt", "value": "SELECT nhl_team FROM table_2781227_7 WHERE player = \"Ryan Meade\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What college team did Ryan Golden come from?" }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM table_2781227_7 WHERE player...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_7 (nationality VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "How many different nationalities is pick number 179?" }, { "from": "gpt", "value": "SELECT COUNT(nationality) FROM table_2781227_7 WHERE pick = 179" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)" }, { "from": "human", "value": "What college team did the pick for Pittsburgh Penguins come from?" }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What NHL team picked Tom White?" }, { "from": "gpt", "value": "SELECT nhl_team FROM table_2781227_7 WHERE player = \"Tom White\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR)" }, { "from": "human", "value": "How many weeks in the top 10 was spent by a song performed by Peter Kay?" }, { "from": "gpt", "value": "SELECT MAX(weeks_in_top_10) FROM table_278130...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER)" }, { "from": "human", "value": "How long has the longest song spent in the top 10?" }, { "from": "gpt", "value": "SELECT MAX(weeks_in_top_10) FROM table_27813010_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_9 (college_junior_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What college/junior/club team did dmitri gorenko play for?" }, { "from": "gpt", "value": "SELECT college_junior_club_team FROM table_2781227_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR)" }, { "from": "human", "value": "What position does krylja sovetov (russia) play?" }, { "from": "gpt", "value": "SELECT position FROM table_2781227_9 WHERE college_junior_c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What position(s) does barrie moore play?" }, { "from": "gpt", "value": "SELECT position FROM table_2781227_9 WHERE player = \"Barrie Moore\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (pac_12_sports VARCHAR, institution VARCHAR)" }, { "from": "human", "value": "How many pac-12 sports are shown for california polytechnic state university?" }, { "from": "gpt", "value": "SELECT COUNT(pac_12_sports) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (founded VARCHAR, location VARCHAR)" }, { "from": "human", "value": "When was the institution in boise, idaho founded?" }, { "from": "gpt", "value": "SELECT founded FROM table_27816698_2 WHERE location = \"Boise, Idaho\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR)" }, { "from": "human", "value": "Which conference did boise state university play at?" }, { "from": "gpt", "value": "SELECT current_conference FROM table_27816698_2 WHERE in...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (founded INTEGER, nickname VARCHAR)" }, { "from": "human", "value": "When was the Titans founded?" }, { "from": "gpt", "value": "SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = \"Titans\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (institution VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "Which institution was founded in 1932?" }, { "from": "gpt", "value": "SELECT institution FROM table_27816698_2 WHERE founded = 1932" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816698_2 (institution VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Which institution was located in bakersfield, california?" }, { "from": "gpt", "value": "SELECT institution FROM table_27816698_2 WHERE location = \"B...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27816332_2 (games_played INTEGER, total_points VARCHAR)" }, { "from": "human", "value": "Name the least games played for 6 points" }, { "from": "gpt", "value": "SELECT MIN(games_played) FROM table_27816332_2 WHERE total_points = 6" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR)" }, { "from": "human", "value": "who is the manufacturer is no.50?" }, { "from": "gpt", "value": "SELECT manufacturer FROM table_27821519_1 WHERE no = 50" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27823058_1 (title VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "Which episodes did Katie Palmer write? " }, { "from": "gpt", "value": "SELECT title FROM table_27823058_1 WHERE written_by = \"Katie Palmer\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27823058_1 (series__number INTEGER)" }, { "from": "human", "value": "What's the highest series number ? " }, { "from": "gpt", "value": "SELECT MAX(series__number) FROM table_27823058_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_278229_1 (commandery VARCHAR)" }, { "from": "human", "value": "when changsha 長沙 is the commandery what is the commandery capital?" }, { "from": "gpt", "value": "SELECT commandery AS capital FROM table_278229_1 WHERE commandery = \"Chan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_278229_1 (no_of_counties INTEGER, commandery VARCHAR)" }, { "from": "human", "value": "When yidu 宜都 is the commandery what is the lowest number of countries?" }, { "from": "gpt", "value": "SELECT MIN(no_of_counties) FROM table_278229_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_278229_1 (commandery VARCHAR)" }, { "from": "human", "value": "When nanhai 南海 is the commandery what is the commandery capital?" }, { "from": "gpt", "value": "SELECT commandery AS capital FROM table_278229_1 WHERE commandery = \"Nanhai...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_278229_1 (commandery VARCHAR)" }, { "from": "human", "value": "When gaoliang 高涼 is the commandery what is the commandery capital?" }, { "from": "gpt", "value": "SELECT commandery AS capital FROM table_278229_1 WHERE commandery = \"Gaol...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR)" }, { "from": "human", "value": "What is the title of episode number 9-10?" }, { "from": "gpt", "value": "SELECT title FROM table_27832075_2 WHERE episode__number = \"9-10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27832075_2 (us_viewers__millions_ VARCHAR, series__number VARCHAR)" }, { "from": "human", "value": "How many million U.S. viewers wtched episode 69 of the series?" }, { "from": "gpt", "value": "SELECT us_viewers__millions_ FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27832075_2 (directed_by VARCHAR, episode__number VARCHAR)" }, { "from": "human", "value": "Who directed episode number 23 in the season?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_27832075_2 WHERE episode__number = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR)" }, { "from": "human", "value": "What is the name of episode number 12 of the season?" }, { "from": "gpt", "value": "SELECT title FROM table_27832075_2 WHERE episode__number = \"12\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833186_1 (rider_names VARCHAR, best_conditioned_horse VARCHAR)" }, { "from": "human", "value": "What are all the Riders whose best-conditioned horse is Basia?" }, { "from": "gpt", "value": "SELECT rider_names FROM table_27833186_1 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, horse_name VARCHAR)" }, { "from": "human", "value": "What was the distance (in miles) of the championship were the winning horse was Koona?" }, { "from": "gpt", "value": "SELECT distance__miles_ FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833186_1 (rider_names VARCHAR, location VARCHAR, horse_name VARCHAR)" }, { "from": "human", "value": "Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833186_1 (rider_names VARCHAR, horse_name VARCHAR)" }, { "from": "human", "value": "How many different riders are there that won riding Omr Tsunami?" }, { "from": "gpt", "value": "SELECT COUNT(rider_names) FROM table_27833186_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, best_conditioned_horse VARCHAR)" }, { "from": "human", "value": "What was the total distance (in miles) of the championship where the best conditioned horse was Freedom?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833469_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many series numbers are there when there were 15.8 u.s. viewers (millions)?" }, { "from": "gpt", "value": "SELECT COUNT(series__num...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "What is the title of the episode number 11 of the season?" }, { "from": "gpt", "value": "SELECT title FROM table_27833469_1 WHERE season__number = \"11...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27833469_1 (series__number VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "What is the series number for the episode number 10 of the season?" }, { "from": "gpt", "value": "SELECT series__number FROM table_27833469_1 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)" }, { "from": "human", "value": "What are the the approximate translations when the Morphological Category is 1st. plur. perfect?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)" }, { "from": "human", "value": "What are the approximate translations when the morphological category is masc. sing. active participle?" }, { "from": "gpt", "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2784232_1 (hebrew_form VARCHAR, arabic_form VARCHAR)" }, { "from": "human", "value": "How many hebrew forms are there for the arabic form yuktibu يكتب?" }, { "from": "gpt", "value": "SELECT COUNT(hebrew_form) FROM table_2784232_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2784232_1 (arabic_form VARCHAR, morphological_category VARCHAR)" }, { "from": "human", "value": "How many Arabic forms are there for the 1st. plur. perfect category?" }, { "from": "gpt", "value": "SELECT COUNT(arabic_form) FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27847088_1 (viewers__millions_ VARCHAR, series_no VARCHAR)" }, { "from": "human", "value": "How many were the viewers (in millions) of the series no. 45?" }, { "from": "gpt", "value": "SELECT viewers__millions_ FROM table_27847088_1 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27862483_4 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "How many games did UCLA's baseball team win with a score 7-6 during May of 2010?" }, { "from": "gpt", "value": "SELECT COUNT(opponent) FROM table_27862483_4 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27864661_6 (total_wins VARCHAR, first_title VARCHAR)" }, { "from": "human", "value": "How many wins are listed when the first title is 2004?" }, { "from": "gpt", "value": "SELECT total_wins FROM table_27864661_6 WHERE first_title = 200...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27871460_2 (network VARCHAR, state_or_territory VARCHAR)" }, { "from": "human", "value": "Which network was located in Illinois?" }, { "from": "gpt", "value": "SELECT network FROM table_27871460_2 WHERE state_or_territory = \"Illinois\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27871460_2 (channel_number INTEGER)" }, { "from": "human", "value": "What is the highest channel number?" }, { "from": "gpt", "value": "SELECT MAX(channel_number) FROM table_27871460_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27871460_2 (state_or_territory VARCHAR, channel_number VARCHAR)" }, { "from": "human", "value": "Which state or territory had a channel number of exactly 7?" }, { "from": "gpt", "value": "SELECT state_or_territory FROM table_27871460_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27882867_4 (date VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "Name the date for omni coliseum 10,330" }, { "from": "gpt", "value": "SELECT date FROM table_27882867_4 WHERE location_attendance = \"Omni Coliseum...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27882867_4 (location_attendance VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Name the location attendance for 3 game" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_27882867_4 WHERE game = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the location attendance for l 93-105" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_27882867_4 WHERE score = \"L 93-105...
know_sql
chosen