conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_38 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)" }, { "from": "human", "value": "What is average ratings for Japanese title of γƒ›γ‚Ώγƒ«γƒŽγƒ’γ‚«γƒͺ, with episodes larger than 9?" }, { "from": "gpt", "value": "SELECT aver...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (episodes INTEGER, average_ratings VARCHAR)" }, { "from": "human", "value": "Which episodes has the lowest average ratings of 8.7%?" }, { "from": "gpt", "value": "SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (romaji_title VARCHAR, japanese_title VARCHAR)" }, { "from": "human", "value": "Which romaji title, has Japanese title of θŠζ¬‘ιƒŽγ¨γ•γ 3?" }, { "from": "gpt", "value": "SELECT romaji_title FROM table_name_94 WHERE japanese_title = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR)" }, { "from": "human", "value": "Which TV station, has romaji title of tantei gakuen q and episodes larger than 10?" }, { "from": "gpt", "value": "SELECT tv_station F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)" }, { "from": "human", "value": "What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?" }, { "from": "gpt", "value": "SELECT almaty_, _ka...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)" }, { "from": "human", "value": "What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch?" }, { "from": "gpt", "value": "SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE \"s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)" }, { "from": "human", "value": "What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg?" }, { "from": "gpt", "value": "SELECT almaty_, _...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR)" }, { "from": "human", "value": "What year was the main role a character named Guan Yu (ι—œηΎ½)?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_name_89 WHERE role = \"main...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR)" }, { "from": "human", "value": "What is the English character for Lin Ming Kuan (ζž—ζ˜Žε―¬)?" }, { "from": "gpt", "value": "SELECT english FROM table_name_88 WHERE character = \"lin ming kuan (ζž—ζ˜Ž...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR)" }, { "from": "human", "value": "What character has a Year larger than 2010 with a lead role, and Chinese Title of ζˆ€ε€38℃?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (year INTEGER, character VARCHAR)" }, { "from": "human", "value": "What is the year that has a character named Wu Ji Wei (η„‘ζ₯΅ε¨)?" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_27 WHERE character = \"wu ji wei (η„‘...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "Which Round has an Opponent of aleksandr pitchkounov?" }, { "from": "gpt", "value": "SELECT MIN(round) FROM table_name_81 WHERE opponent = \"aleksandr pitchkoun...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR)" }, { "from": "human", "value": "Which Result has a Round of 5, and an Event of mt one?" }, { "from": "gpt", "value": "SELECT result FROM table_name_92 WHERE round = 5 AND event = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)" }, { "from": "human", "value": "Mortlake club has more than 924 against, less than 14 losses, and how many total draws?" }, { "from": "gpt", "value": "SELECT COUNT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (wins INTEGER, club VARCHAR, draws VARCHAR)" }, { "from": "human", "value": "What is the total number of wins for Cobden club when there are more than 2 draws?" }, { "from": "gpt", "value": "SELECT SUM(wins) FROM table_name_39 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (draws VARCHAR, against VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "When against is 797 and wins is more than 10, what is the sum of draws?" }, { "from": "gpt", "value": "SELECT COUNT(draws) FROM table_name_28 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR)" }, { "from": "human", "value": "Club warrnambool has less than 9 wins and what average of draws?" }, { "from": "gpt", "value": "SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the average number of draws for Mortlake club when they have less than 0 wins?" }, { "from": "gpt", "value": "SELECT AVG(draws) FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)" }, { "from": "human", "value": "Which Foreign population has a Population (2004) larger than 234733?" }, { "from": "gpt", "value": "SELECT AVG(foreign_population) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (population__2004_ INTEGER, moroccan_population INTEGER)" }, { "from": "human", "value": "Which Population (2004) has a Moroccan population larger than 234506?" }, { "from": "gpt", "value": "SELECT AVG(population__2004_) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What date was the opponent VFL Sindelfingen?" }, { "from": "gpt", "value": "SELECT date FROM table_name_98 WHERE opponent = \"vfl sindelfingen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What date was the attendance 1,804?" }, { "from": "gpt", "value": "SELECT date FROM table_name_44 WHERE attendance = \"1,804\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (opponent VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Who was the opponent with an attendance of 628?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_98 WHERE attendance = \"628\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?" }, { "from": "gpt", "value": "SELECT bike FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR)" }, { "from": "human", "value": "What is the highest grid that has gregorio lavilla as the rider?" }, { "from": "gpt", "value": "SELECT MAX(grid) FROM table_name_89 WHERE rider = \"gregorio lavilla...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR)" }, { "from": "human", "value": "What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?" }, { "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (overs INTEGER, runs VARCHAR, matches VARCHAR)" }, { "from": "human", "value": "How many overs when there are 5231 runs and fewer than 37 matches?" }, { "from": "gpt", "value": "SELECT SUM(overs) FROM table_name_33 WHERE runs =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)" }, { "from": "human", "value": "What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?" }, { "from": "gpt", "value": "SELECT MIN(wi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)" }, { "from": "human", "value": "What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?" }, { "from": "gpt", "value": "SELECT MAX(wickets)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR)" }, { "from": "human", "value": "Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02?" }, { "from": "gpt", "value": "SELECT name FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many people attended the Scottish Cup on 29.02.2000?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_60 WHERE competi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What was the score of the league cup in the 2007-08 season?" }, { "from": "gpt", "value": "SELECT score FROM table_name_90 WHERE competition ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (attendance INTEGER, season VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the attendance in the game in the 2010-11 season, when the score was 2–0?" }, { "from": "gpt", "value": "SELECT MIN(attendance) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (year INTEGER)" }, { "from": "human", "value": "What team was in 1st plate in a year later than 1956?" }, { "from": "gpt", "value": "SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR)" }, { "from": "human", "value": "Which base has a company of Theatro Technis Karolos Koun?" }, { "from": "gpt", "value": "SELECT base FROM table_name_59 WHERE company = \"theatro technis karolos ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (company VARCHAR, author VARCHAR, play VARCHAR)" }, { "from": "human", "value": "Which company has an author of Aristophanes and play of Plutus?" }, { "from": "gpt", "value": "SELECT company FROM table_name_74 WHERE author = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (author VARCHAR, company VARCHAR)" }, { "from": "human", "value": "Which author has a company of the Semeio Theatre?" }, { "from": "gpt", "value": "SELECT author FROM table_name_22 WHERE company = \"semeio theatre\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (play VARCHAR, company VARCHAR)" }, { "from": "human", "value": "Which play was done by the Radu Stanca National Theatre company?" }, { "from": "gpt", "value": "SELECT play FROM table_name_47 WHERE company = \"radu stanca natio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (play VARCHAR, base VARCHAR)" }, { "from": "human", "value": "Which play had a base of Aosta?" }, { "from": "gpt", "value": "SELECT play FROM table_name_96 WHERE base = \"aosta\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (country VARCHAR, base VARCHAR, company VARCHAR)" }, { "from": "human", "value": "What is the country of the play based in Athens at the Attis Theatre company?" }, { "from": "gpt", "value": "SELECT country FROM table_name_33 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (class VARCHAR, quantity INTEGER)" }, { "from": "human", "value": "Which Class has a Quantity larger than 96?" }, { "from": "gpt", "value": "SELECT class FROM table_name_14 WHERE quantity > 96" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR)" }, { "from": "human", "value": "How much Quantity has a Type of 1β€²c1β€² h2t?" }, { "from": "gpt", "value": "SELECT COUNT(quantity) FROM table_name_11 WHERE type = \"1β€²c1β€² h2t\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR)" }, { "from": "human", "value": "Which Class has a Type of 1β€²c n2t?" }, { "from": "gpt", "value": "SELECT class FROM table_name_85 WHERE type = \"1β€²c n2t\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)" }, { "from": "human", "value": "Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1β€²c1β€² h2t?" }, { "from": "gpt", "value": "SELECT year_s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR)" }, { "from": "human", "value": "Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t?" }, { "from": "gpt", "value": "SELECT year_s__of_manufactu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (place INTEGER, team VARCHAR, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "what is the highest place when lost is more than 4, points is less than 18 and team is Team of atlΓ©tico veragΓΌense?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR)" }, { "from": "human", "value": "what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)" }, { "from": "human", "value": "how many times is the team tauro and played less than 18?" }, { "from": "gpt", "value": "SELECT COUNT(place) FROM table_name_85 WHERE team = \"tauro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (played INTEGER, points VARCHAR, place VARCHAR)" }, { "from": "human", "value": "what is the least played when points is 36 and place is more than 2?" }, { "from": "gpt", "value": "SELECT MIN(played) FROM table_name_39 WHERE po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (points INTEGER, goals_conceded VARCHAR, goals_scored VARCHAR)" }, { "from": "human", "value": "what is the average points when goals conceded is 14 and goals scored is less than 32?" }, { "from": "gpt", "value": "SELECT AVG(po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (result VARCHAR, opponent VARCHAR, week VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game?" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "How many weeks in total has bye as the date?" }, { "from": "gpt", "value": "SELECT COUNT(week) FROM table_name_23 WHERE date = \"bye\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country does Tiger Woods come from?" }, { "from": "gpt", "value": "SELECT country FROM table_name_58 WHERE player = \"tiger woods\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (ri_song_hui___prk__ VARCHAR, world_record VARCHAR)" }, { "from": "human", "value": "What's the Ri Song-Hui when the olympic record is the world record and snatch was snatch?" }, { "from": "gpt", "value": "SELECT ri_song_hui___...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR)" }, { "from": "human", "value": "What's the 102kg when the Ri Song-Hui was 226kg?" }, { "from": "gpt", "value": "SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = \"226kg\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (world_record VARCHAR)" }, { "from": "human", "value": "What's the 102kg when the snatch was snatch and the olympic record was the world record?" }, { "from": "gpt", "value": "SELECT 102 AS kg FROM table_name_56 WHERE world_rec...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (pick INTEGER, team VARCHAR)" }, { "from": "human", "value": "What was the average pick made by the Texas Rangers?" }, { "from": "gpt", "value": "SELECT AVG(pick) FROM table_name_82 WHERE team = \"texas rangers\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (hometown_school VARCHAR, team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was the home town of Bob Geren, picked by the San Diego Padres?" }, { "from": "gpt", "value": "SELECT hometown_school FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was the position of Jon Perlman?" }, { "from": "gpt", "value": "SELECT position FROM table_name_94 WHERE player = \"jon perlman\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What college has a pick smaller than 87 for the position of tackle?" }, { "from": "gpt", "value": "SELECT college FROM table_name_73 WHERE posit...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (college VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What college had the pick of 85?" }, { "from": "gpt", "value": "SELECT college FROM table_name_51 WHERE pick = 85" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (losses INTEGER, club VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What are the least losses of Mortlake having less than 970 against?" }, { "from": "gpt", "value": "SELECT MIN(losses) FROM table_name_96 WHERE clu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER)" }, { "from": "human", "value": "What's the total against when the draws are more than 0?" }, { "from": "gpt", "value": "SELECT COUNT(against) FROM table_name_30 WHERE draws > 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (wins VARCHAR, draws INTEGER)" }, { "from": "human", "value": "What's the total wins when the draws are less than 0?" }, { "from": "gpt", "value": "SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (against INTEGER, club VARCHAR, draws VARCHAR)" }, { "from": "human", "value": "What's the least against number for Cobden with draws more than 0?" }, { "from": "gpt", "value": "SELECT MIN(against) FROM table_name_50 WHERE club...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (against INTEGER, draws INTEGER)" }, { "from": "human", "value": "What's the most against when the draws are more than 0?" }, { "from": "gpt", "value": "SELECT MAX(against) FROM table_name_43 WHERE draws > 0" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR)" }, { "from": "human", "value": "What are the total wins when there are 1261 against?" }, { "from": "gpt", "value": "SELECT SUM(wins) FROM table_name_46 WHERE against = 1261" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the notes entry for the row with a Time of 1:42.309?" }, { "from": "gpt", "value": "SELECT notes FROM table_name_33 WHERE time = \"1:42.309\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR)" }, { "from": "human", "value": "What is the rank for China?" }, { "from": "gpt", "value": "SELECT SUM(rank) FROM table_name_96 WHERE country = \"china\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (time VARCHAR, notes VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What is the time for Cuba, with a notes entry of QS?" }, { "from": "gpt", "value": "SELECT time FROM table_name_54 WHERE notes = \"qs\" AND country...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Week number on October 10, 1976?" }, { "from": "gpt", "value": "SELECT COUNT(week) FROM table_name_17 WHERE date = \"october 10, 1976\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is the Date of the game with a Result of L 33–14?" }, { "from": "gpt", "value": "SELECT date FROM table_name_89 WHERE result = \"l 33–14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (augmented_fifth VARCHAR, major_third VARCHAR)" }, { "from": "human", "value": "The Major third of D has what for the Augmented fifth?" }, { "from": "gpt", "value": "SELECT augmented_fifth FROM table_name_48 WHERE major_third =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (minor_seventh VARCHAR, major_third VARCHAR)" }, { "from": "human", "value": "A major third of C has what listed for the Minor seventh?" }, { "from": "gpt", "value": "SELECT minor_seventh FROM table_name_29 WHERE major_third = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (chord VARCHAR, minor_seventh VARCHAR)" }, { "from": "human", "value": "What is the listed chord for a Minor seventh of F?" }, { "from": "gpt", "value": "SELECT chord FROM table_name_23 WHERE minor_seventh = \"f\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (episode VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Episode has a Rank of 1?" }, { "from": "gpt", "value": "SELECT episode FROM table_name_71 WHERE rank = 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (rally_hq VARCHAR, rally_name VARCHAR)" }, { "from": "human", "value": "Where was adac rally deutschland's rally HQ?" }, { "from": "gpt", "value": "SELECT rally_hq FROM table_name_62 WHERE rally_name = \"adac rally deutschland\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (rally_hq VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Where was the Rally HQ for Round 1?" }, { "from": "gpt", "value": "SELECT rally_hq FROM table_name_9 WHERE round = 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (support_category VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Which Support Category had a Round score of 9?" }, { "from": "gpt", "value": "SELECT support_category FROM table_name_67 WHERE round = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (surface VARCHAR, rally_hq VARCHAR)" }, { "from": "human", "value": "What Surface had a Rally HQ of salou?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_58 WHERE rally_hq = \"salou\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the lowest lane in the Czech Republic and a time larger than 21.05?" }, { "from": "gpt", "value": "SELECT MIN(lane) FROM table_name_85 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is the highest lane with a rank larger than 2 in Guyana?" }, { "from": "gpt", "value": "SELECT MAX(lane) FROM table_name_31 WHERE rank > 2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (rank INTEGER, athlete VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the sum rank of Solomon Bayoh when his time was smaller than 22.16?" }, { "from": "gpt", "value": "SELECT SUM(rank) FROM table_name_61 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (artist VARCHAR, album VARCHAR)" }, { "from": "human", "value": "Who is the artist of the album Soul?" }, { "from": "gpt", "value": "SELECT artist FROM table_name_18 WHERE album = \"soul\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (athlete VARCHAR, time VARCHAR, country VARCHAR)" }, { "from": "human", "value": "who is the athlete when the time is less than 11.13 and the country is belgium?" }, { "from": "gpt", "value": "SELECT athlete FROM table_name_51 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR)" }, { "from": "human", "value": "who is the athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more than 2?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (heat INTEGER, athlete VARCHAR)" }, { "from": "human", "value": "what is the heat when the athlete is anita pistone?" }, { "from": "gpt", "value": "SELECT SUM(heat) FROM table_name_89 WHERE athlete = \"anita pistone\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (time VARCHAR, heat VARCHAR, rank VARCHAR, athlete VARCHAR)" }, { "from": "human", "value": "how many times is the rank more than 29, the athlete is barbara pierre and the heat less than 5?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (ihsaa_class VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Which IHSAA Class has a Location of linton?" }, { "from": "gpt", "value": "SELECT ihsaa_class FROM table_name_83 WHERE location = \"linton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (played INTEGER, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the sum of matches played for teams with more than 10 losses and under 5 points?" }, { "from": "gpt", "value": "SELECT SUM(played) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR)" }, { "from": "human", "value": "What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses?" }, { "from": "gpt", "value"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (drawn INTEGER, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the average number of losses for teams with under 4 losses and under 21 points?" }, { "from": "gpt", "value": "SELECT AVG(drawn) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (home_team VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What is the home team at the game with an Attendance of 2,029?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_85 WHERE attendance = \"2,0...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (away_team VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What is the away team at the game with an Attendance of 1,730?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_73 WHERE attendance = \"1,7...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (away_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "What is the away team at the game with a Tie no of 2?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_18 WHERE tie_no = \"2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR)" }, { "from": "human", "value": "What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins?" }, { "from": "gpt", "value": "SELECT f_laps FROM table_name_94 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR)" }, { "from": "human", "value": "What Series has a season that is older than 2003 with a Podiums entry of 1 and a Points entry that is n/a?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (podiums VARCHAR, series VARCHAR)" }, { "from": "human", "value": "What Podiums listing has a World Rally Championship series entry?" }, { "from": "gpt", "value": "SELECT podiums FROM table_name_74 WHERE series = \"world rally ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What races have n/a Points, 0 Wins, and 6th Position entries?" }, { "from": "gpt", "value": "SELECT races FROM table_name_15 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (season INTEGER, team VARCHAR, series VARCHAR)" }, { "from": "human", "value": "What is the most recent season for the Prema Powerteam with a Masters of Formula Three series?" }, { "from": "gpt", "value": "SELECT MAX(season) FR...
know_sql
chosen