conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_5 (title VARCHAR, riaa_sales_certification VARCHAR)" }, { "from": "human", "value": "Which Title was awarded the gold RIAA Sales Certification?" }, { "from": "gpt", "value": "SELECT title FROM table_name_5 WHERE riaa_sales_certifi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR)" }, { "from": "human", "value": "For how many years did the song \"Lost Without Your Love\" win the gold RIAA Sales Certification, and have a Billb...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Before the Year 1972, what RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak less than 18?" }, {...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR)" }, { "from": "human", "value": "What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21?" }, { "from": "gpt", "value": "SELECT ria...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (billboard_200_peak INTEGER, year INTEGER)" }, { "from": "human", "value": "What is the sum of the Billboard 200 Peak scores after the Year 1971?" }, { "from": "gpt", "value": "SELECT SUM(billboard_200_peak) FROM table_name_38 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (billboard_200_peak INTEGER, title VARCHAR)" }, { "from": "human", "value": "What is the sum of the Billboard 200 Peak scores given to the song with the Title Bread?" }, { "from": "gpt", "value": "SELECT SUM(billboard_200_peak)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria?" }, { "from": "gpt", "value": "SELECT COUNT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (nation VARCHAR, bronze VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What nation has 2 bronze and a rank of 9?" }, { "from": "gpt", "value": "SELECT nation FROM table_name_54 WHERE bronze = 2 AND rank = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the highest gold when bronze is 1, and rank is 5?" }, { "from": "gpt", "value": "SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND ran...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (rank INTEGER, total VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What is the sum of rank when total is 3 and the nation is Australia?" }, { "from": "gpt", "value": "SELECT SUM(rank) FROM table_name_12 WHERE total ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (rank VARCHAR, goals INTEGER)" }, { "from": "human", "value": "What is the Rank with a Goal number smaller than 66?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_29 WHERE goals < 66" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (spoofed_title VARCHAR, issue VARCHAR, actual_title VARCHAR)" }, { "from": "human", "value": "What is the spoofed title for Parks and Recreation with an issue larger than 509?" }, { "from": "gpt", "value": "SELECT spoofed_title...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (actual_title VARCHAR, writer VARCHAR, artist VARCHAR, issue VARCHAR)" }, { "from": "human", "value": "What was the actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (issue INTEGER, spoofed_title VARCHAR)" }, { "from": "human", "value": "What issue was the spoofed title Ho-Hum land?" }, { "from": "gpt", "value": "SELECT SUM(issue) FROM table_name_75 WHERE spoofed_title = \"ho-hum land\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (artist VARCHAR, actual_title VARCHAR)" }, { "from": "human", "value": "Game of Thrones was done by which artist?" }, { "from": "gpt", "value": "SELECT artist FROM table_name_82 WHERE actual_title = \"game of thrones\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (surface VARCHAR, outcome VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997?" }, { "from": "gpt", "value": "SELECT surface FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996?" }, { "from": "gpt", "value": "SELECT opponent FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (surface VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Surface when the score was 4–6, 6–3, 6–7 (5–7)?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_75 WHERE score = \"4–6, 6–3, 6–7 (5–7)\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (score VARCHAR, surface VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "What is the Score when there was a hard surface and the Championship is new haven , usa?" }, { "from": "gpt", "value": "SELECT score FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (position VARCHAR, birthdate VARCHAR)" }, { "from": "human", "value": "Which Position player was born June 30, 1981?" }, { "from": "gpt", "value": "SELECT position FROM table_name_90 WHERE birthdate = \"june 30, 1981\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (name VARCHAR)" }, { "from": "human", "value": "What is the 2005-2006 team for player Phil Kessel?" }, { "from": "gpt", "value": "SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = \"phil kessel\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (goals_for INTEGER, drawn INTEGER)" }, { "from": "human", "value": "What is the total sum of the goals at competitions with more than 10 draws?" }, { "from": "gpt", "value": "SELECT SUM(goals_for) FROM table_name_84 WHERE drawn...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER)" }, { "from": "human", "value": "For the teams that had more than 2 Byes, what was the highest number of Wins?" }, { "from": "gpt", "value": "SELECT MAX(wins) FROM table_name_14 WHERE byes > 2" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (draws VARCHAR, losses VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "For the teams that had fewer than 4 Losses, and less than 16 Wins, what was the total number of Draws?" }, { "from": "gpt", "value": "SELECT COUNT(d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (wins INTEGER, losses INTEGER)" }, { "from": "human", "value": "For the teams that had less than 1 loss, what was the average number of Wins?" }, { "from": "gpt", "value": "SELECT AVG(wins) FROM table_name_51 WHERE losses < 1" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (draws INTEGER, byes INTEGER)" }, { "from": "human", "value": "For the teams that had fewer than 1 Byes, what was the lowest number of Draws?" }, { "from": "gpt", "value": "SELECT MIN(draws) FROM table_name_38 WHERE byes < 1" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802?" }, { "from": "gpt", "value": "SELE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (season VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Season when the Opponent was zenit st. petersburg?" }, { "from": "gpt", "value": "SELECT season FROM table_name_68 WHERE opponent = \"zenit st. pet...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What is the Opponent with a Round of q2, in the 2005–06 season?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_75 WHERE round = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg?" }, { "from": "gpt", "value": "SELECT competition F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (round VARCHAR, series VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What is the Round when the series shows 5th place, and a Season of 2006–07?" }, { "from": "gpt", "value": "SELECT round FROM table_name_86 WHERE s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (series VARCHAR, opponent VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (flag VARCHAR, ship VARCHAR)" }, { "from": "human", "value": "Which Flag did the Ship Aidavita have?" }, { "from": "gpt", "value": "SELECT flag FROM table_name_66 WHERE ship = \"aidavita\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (set_5 VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What shows for Set 5 when the Total was 77 - 65?" }, { "from": "gpt", "value": "SELECT set_5 FROM table_name_85 WHERE total = \"77 - 65\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (set_3 VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the Set 3 when the Total was 98 - 92?" }, { "from": "gpt", "value": "SELECT set_3 FROM table_name_27 WHERE total = \"98 - 92\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (total VARCHAR, set_3 VARCHAR)" }, { "from": "human", "value": "What is the Total when the Set 3 was 25-15?" }, { "from": "gpt", "value": "SELECT total FROM table_name_68 WHERE set_3 = \"25-15\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (set_3 VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the Set 3 when the Total was 62 - 75?" }, { "from": "gpt", "value": "SELECT set_3 FROM table_name_72 WHERE total = \"62 - 75\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (score VARCHAR, set_2 VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?" }, { "from": "gpt", "value": "SELECT score FROM table_name_27 WHERE set_2 = \"25-...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (ethernet_ports VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the ethernet ports of the m1500 appliance?" }, { "from": "gpt", "value": "SELECT ethernet_ports FROM table_name_5 WHERE name = \"m1500\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (ethernet_ports VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the ethernet ports of the u150 appliance?" }, { "from": "gpt", "value": "SELECT ethernet_ports FROM table_name_86 WHERE name = \"u150\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (dimensions VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the dimensions of the u50 appliance?" }, { "from": "gpt", "value": "SELECT dimensions FROM table_name_27 WHERE name = \"u50\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (ethernet_ports VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the ethernet ports of the u10 appliance?" }, { "from": "gpt", "value": "SELECT ethernet_ports FROM table_name_51 WHERE name = \"u10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER)" }, { "from": "human", "value": "What is the total number of Silver medals for the Nation with less than 1 Bronze?" }, { "from": "gpt", "value": "SELECT COUNT(silver) FROM table_name_84 WHERE br...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (gold VARCHAR, bronze VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals?" }, { "from": "gpt", "value": "SELECT CO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (gold VARCHAR, bronze INTEGER)" }, { "from": "human", "value": "What is the total number of Gold medals for the Nation with more than 3 Bronze?" }, { "from": "gpt", "value": "SELECT COUNT(gold) FROM table_name_15 WHERE bronze >...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (gold INTEGER, nation VARCHAR, total VARCHAR)" }, { "from": "human", "value": "How many Gold medals did Great Britain with a Total of more than 2 medals receive?" }, { "from": "gpt", "value": "SELECT MIN(gold) FROM table_name_8...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (silver INTEGER, rank INTEGER)" }, { "from": "human", "value": "How many Silver medals did the Nation with a Rank of less than 1 receive?" }, { "from": "gpt", "value": "SELECT AVG(silver) FROM table_name_37 WHERE rank < 1" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)" }, { "from": "human", "value": "What is the average total with 1 FA cup and more than 0 FA trophies?" }, { "from": "gpt", "value": "SELECT AVG(total) FROM table_name_61 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (club VARCHAR, fa_trophy VARCHAR, fa_cup VARCHAR)" }, { "from": "human", "value": "Which club had more than 2 FA trophies and more than 2 FA cups?" }, { "from": "gpt", "value": "SELECT club FROM table_name_34 WHERE fa_trophy > ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who was the opponent when the Maroons record was 11–4–1?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_37 WHERE record = \"11–4–1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the result of the game on January 5, 1926?" }, { "from": "gpt", "value": "SELECT result FROM table_name_79 WHERE date = \"january 5, 1926\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (date VARCHAR, margin_of_victory VARCHAR)" }, { "from": "human", "value": "What date had a margin victory of 2 strokes?" }, { "from": "gpt", "value": "SELECT date FROM table_name_91 WHERE margin_of_victory = \"2 strokes\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (margin_of_victory VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What is the margin of victory in a semgroup championship?" }, { "from": "gpt", "value": "SELECT margin_of_victory FROM table_name_39 WHERE tournam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR)" }, { "from": "human", "value": "What was the winning score with a margin victory of 2 strokes?" }, { "from": "gpt", "value": "SELECT winning_score FROM table_name_81 WHERE mar...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (pct__percentage INTEGER, goals_against INTEGER)" }, { "from": "human", "value": "What is the highest Pct %, when Goals Against is less than 229?" }, { "from": "gpt", "value": "SELECT MAX(pct__percentage) FROM table_name_60 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR)" }, { "from": "human", "value": "What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?" }, { "from": "gpt", "value": "SELECT AVG(goals_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (goals_against INTEGER, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?" }, { "from": "gpt", "value": "SELECT SUM(goals_again...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (lost INTEGER, pct__percentage VARCHAR, games VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506?" }, { "fr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (class VARCHAR, livery VARCHAR)" }, { "from": "human", "value": "What is the Class when Wessex Trains Pink is the Livery?" }, { "from": "gpt", "value": "SELECT class FROM table_name_90 WHERE livery = \"wessex trains pink\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (livery VARCHAR, number VARCHAR)" }, { "from": "human", "value": "What is the Livery when the Number is 31468?" }, { "from": "gpt", "value": "SELECT livery FROM table_name_57 WHERE number = 31468" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (skip VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What was the Skip for Germany?" }, { "from": "gpt", "value": "SELECT skip FROM table_name_6 WHERE nation = \"germany\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (club VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What was the club for Great Britain?" }, { "from": "gpt", "value": "SELECT club FROM table_name_58 WHERE nation = \"great britain\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (alternate VARCHAR, second VARCHAR)" }, { "from": "human", "value": "Who is the alternate for Magnus Swartling as Second?" }, { "from": "gpt", "value": "SELECT alternate FROM table_name_38 WHERE second = \"magnus swartling\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (club VARCHAR, lead VARCHAR)" }, { "from": "human", "value": "Which club has Jamie Korab as Lead?" }, { "from": "gpt", "value": "SELECT club FROM table_name_69 WHERE lead = \"jamie korab\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (lead VARCHAR, third VARCHAR)" }, { "from": "human", "value": "Which Lead has Hans Frauenlob as a Third?" }, { "from": "gpt", "value": "SELECT lead FROM table_name_62 WHERE third = \"hans frauenlob\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (home_captain VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Who was the Home captain when the Result was Aus by 218 runs?" }, { "from": "gpt", "value": "SELECT home_captain FROM table_name_22 WHERE result = \"aus by...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (film_title_used_in_nomination VARCHAR, serbian_title VARCHAR)" }, { "from": "human", "value": "What is the Film title used in nomination of the Film with a Serbian title of Π±Π΅Π»ΠΎ ΠΎΠ΄Π΅Π»ΠΎ?" }, { "from": "gpt", "value": "SELECT fil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)" }, { "from": "human", "value": "In what Year was Labyrinth nominated?" }, { "from": "gpt", "value": "SELECT year__ceremony_ FROM table_name_46 WHERE film_title_u...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the High assists for march 25?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_name_69 WHERE date = \"march 25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (score VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "What is the Score when Donyell Marshall (26) had the high points?" }, { "from": "gpt", "value": "SELECT score FROM table_name_20 WHERE high_points = \"donyel...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (game INTEGER, high_assists VARCHAR)" }, { "from": "human", "value": "What is the highest Game when Morris Peterson (8) had the high assists?" }, { "from": "gpt", "value": "SELECT MAX(game) FROM table_name_81 WHERE high_assists...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "What is the High assists when jalen rose (22) had the high points?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_name_35 WHERE high_po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is the High assists when the record was 28–40?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_name_64 WHERE record = \"28–40\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who were the Brazil scorers who scored 3-3?" }, { "from": "gpt", "value": "SELECT brazil_scorers FROM table_name_11 WHERE score = \"3-3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (brazil_scorers VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who is the Brazil scorer who scored 6-0?" }, { "from": "gpt", "value": "SELECT brazil_scorers FROM table_name_41 WHERE score = \"6-0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (result VARCHAR, score VARCHAR)" }, { "from": "human", "value": "With a score of 2-2, what was the Result?" }, { "from": "gpt", "value": "SELECT result FROM table_name_30 WHERE score = \"2-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (original_team VARCHAR, hometown VARCHAR, background VARCHAR)" }, { "from": "human", "value": "Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?" }, { "from": "gpt", "value": "SELECT origi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (background VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What is the Background of the contestant with a Hometown listed as Los Angeles, California?" }, { "from": "gpt", "value": "SELECT background FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (background VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?" }, { "from": "gpt", "value": "SELECT background FROM table_name_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (original_team VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What is the Original Team of the contestant from Wrightsville, Georgia ?" }, { "from": "gpt", "value": "SELECT original_team FROM table_name_13 WHERE ho...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Which Attendance has an Opponent of carolina panthers?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_27 WHERE opponent = \"carolina pant...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (date VARCHAR, week VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Which Date has a Week smaller than 11, and a Attendance of 54,094?" }, { "from": "gpt", "value": "SELECT date FROM table_name_17 WHERE week < 11 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (episode_number INTEGER, title VARCHAR)" }, { "from": "human", "value": "What is the number of the episode titled 'Sugar Daddy'?" }, { "from": "gpt", "value": "SELECT AVG(episode_number) FROM table_name_40 WHERE title = \"sugar...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "Which nations have more than 1 gold medal and 4 silver medals?" }, { "from": "gpt", "value": "SELECT nation FROM table_name_87 WHERE gold > 1 AND s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (attendance INTEGER, week VARCHAR)" }, { "from": "human", "value": "In Week 7, what is the highest attendance number?" }, { "from": "gpt", "value": "SELECT MAX(attendance) FROM table_name_77 WHERE week = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)" }, { "from": "human", "value": "In Week 13, who was the opponent?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_98 WHERE week = 13" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What date did Week 9 begin?" }, { "from": "gpt", "value": "SELECT date FROM table_name_27 WHERE week = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (award VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which award was given in 2012?" }, { "from": "gpt", "value": "SELECT award FROM table_name_16 WHERE year = \"2012\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (award VARCHAR, role VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which award was given for the role of Elphaba in 2009?" }, { "from": "gpt", "value": "SELECT award FROM table_name_92 WHERE role = \"elphaba\" AND yea...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (result VARCHAR, role VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the result for the role of Ellie Greenwich in 2005?" }, { "from": "gpt", "value": "SELECT result FROM table_name_73 WHERE role = \"ellie gre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (award VARCHAR, result VARCHAR, production VARCHAR)" }, { "from": "human", "value": "Which award was An Officer and a Gentleman nominated for?" }, { "from": "gpt", "value": "SELECT award FROM table_name_81 WHERE result = \"nomi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (year VARCHAR, production VARCHAR, award VARCHAR)" }, { "from": "human", "value": "During what year was Wicked associated with the Green Room Awards?" }, { "from": "gpt", "value": "SELECT year FROM table_name_44 WHERE productio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (manufacturer VARCHAR, locomotive_number VARCHAR)" }, { "from": "human", "value": "What manufacturer makes locomotive number CTN 46?" }, { "from": "gpt", "value": "SELECT manufacturer FROM table_name_73 WHERE locomotive_number ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR)" }, { "from": "human", "value": "What type is locomotive number CTN 46?" }, { "from": "gpt", "value": "SELECT type FROM table_name_26 WHERE locomotive_number = \"ctn 46\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)" }, { "from": "human", "value": "What type is locomotive CTN 1364?" }, { "from": "gpt", "value": "SELECT type FROM table_name_29 WHERE locomotive_number = \"ctn 1364\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR)" }, { "from": "human", "value": "What cuts made has a wins less than 3 and 23 for the events?" }, { "from": "gpt", "value": "SELECT cuts_made FROM table_name_43 WHERE wins < 3 A...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR)" }, { "from": "human", "value": "What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?" }, { "from": "gpt", "value": "SELECT MIN(events) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (cuts_made INTEGER, events INTEGER)" }, { "from": "human", "value": "What are the lowest cuts made that have events less than 4?" }, { "from": "gpt", "value": "SELECT MIN(cuts_made) FROM table_name_84 WHERE events < 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)" }, { "from": "human", "value": "What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?" }, { "from": "gpt", "value": "SELECT MAX(t...
know_sql
chosen