conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_61 (average INTEGER, lowest VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Lowest larger than 288, and a Team of east stirlingshire has what lowest average?" }, { "from": "gpt", "value": "SELECT MIN(average) FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR)" }, { "from": "human", "value": "what is the owner of the c501" }, { "from": "gpt", "value": "SELECT owner FROM table_name_2 WHERE locomotive = \"c501\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, december VARCHAR)" }, { "from": "human", "value": "Which Record has a Game larger than 32, and a December smaller than 21?" }, { "from": "gpt", "value": "SELECT record FROM table_name_34 WHERE gam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21?" }, { "from": "gpt", "value": "SELECT sco...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (december INTEGER, points VARCHAR)" }, { "from": "human", "value": "Which December is the lowest one that has Points of 52?" }, { "from": "gpt", "value": "SELECT MIN(december) FROM table_name_96 WHERE points = 52" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (december INTEGER, points VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Which December has Points of 48, and a Game larger than 33?" }, { "from": "gpt", "value": "SELECT SUM(december) FROM table_name_77 WHERE points =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (regular_season_champion_s_ VARCHAR, year VARCHAR)" }, { "from": "human", "value": "WHich Regular Season Champions has a Year of 1943–44?" }, { "from": "gpt", "value": "SELECT regular_season_champion_s_ FROM table_name_70 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)" }, { "from": "human", "value": "WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1?" }, { "from": "gpt", "value": "SELECT tourn...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR)" }, { "from": "human", "value": "When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (year VARCHAR, record VARCHAR, tournament_champion VARCHAR)" }, { "from": "human", "value": "When has a Record of 9–1, and a Tournament Champion of duke?" }, { "from": "gpt", "value": "SELECT year FROM table_name_50 WHERE recor...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (regular_season_champion_s_ VARCHAR, tournament_champion VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which Regular Season Champion(s) has a Tournament Champion of west virginia in 1955–56?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR)" }, { "from": "human", "value": "Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (round INTEGER, college_junior_club_team__league_ VARCHAR)" }, { "from": "human", "value": "What is the lowest round for a player selected from a college of New Hampshire?" }, { "from": "gpt", "value": "SELECT MIN(round) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (nationality VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What nationality is Rod Langway?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_79 WHERE player = \"rod langway\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (position VARCHAR, round INTEGER)" }, { "from": "human", "value": "What position is the player selected that has a round value over 3?" }, { "from": "gpt", "value": "SELECT position FROM table_name_81 WHERE round > 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (college_junior_club_team__league_ VARCHAR, round INTEGER)" }, { "from": "human", "value": "What college did the player selected in rounds over 3 play for?" }, { "from": "gpt", "value": "SELECT college_junior_club_team__league_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (round INTEGER, college_junior_club_team__league_ VARCHAR)" }, { "from": "human", "value": "What is the highest round that has a player selected from Clarkson University?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)" }, { "from": "human", "value": "What is the lowest rank of Deutsche Telekom with a market value over 209,628?" }, { "from": "gpt", "value": "SELECT MIN(rank) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR)" }, { "from": "human", "value": "What is the total market value of all corporations headquartered in Germany?" }, { "from": "gpt", "value": "SELECT COUNT(market_value_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (earnings___ INTEGER, player VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the lowest earnings of Vijay Singh who had more than 24 wins?" }, { "from": "gpt", "value": "SELECT MIN(earnings___) AS $__ FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)" }, { "from": "human", "value": "Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?" }, { "from...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Centre has a Rank of 42?" }, { "from": "gpt", "value": "SELECT centre FROM table_name_34 WHERE rank = 42" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (rating INTEGER, centre VARCHAR)" }, { "from": "human", "value": "Which Rating has a Centre of helsinki?" }, { "from": "gpt", "value": "SELECT SUM(rating) FROM table_name_88 WHERE centre = \"helsinki\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (change INTEGER, centre VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46?" }, { "from": "gpt", "value": "SELECT AVG(change) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)" }, { "from": "human", "value": "Operation of find-min has what Fibonacci?" }, { "from": "gpt", "value": "SELECT fibonacci FROM table_name_18 WHERE operation = \"find-min\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (pairing VARCHAR, binomial VARCHAR)" }, { "from": "human", "value": "Binomial of θ(1) has what pairing?" }, { "from": "gpt", "value": "SELECT pairing FROM table_name_68 WHERE binomial = \"θ(1)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR)" }, { "from": "human", "value": "Pairing of θ(1), and a Binomial of θ(1) is what binary?" }, { "from": "gpt", "value": "SELECT binary FROM table_name_82 WHERE pairing = \"θ(1)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (binary VARCHAR, operation VARCHAR)" }, { "from": "human", "value": "Operation of find-min has what binary?" }, { "from": "gpt", "value": "SELECT binary FROM table_name_98 WHERE operation = \"find-min\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)" }, { "from": "human", "value": "Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?" }, { "from": "gpt", "value": "SELECT binomial FROM table_name_7 WHERE binary ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR)" }, { "from": "human", "value": "Which of the titles have a duration time of 4:57?" }, { "from": "gpt", "value": "SELECT title FROM table_name_81 WHERE duration = \"4:57\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (composer VARCHAR, duration VARCHAR)" }, { "from": "human", "value": "What composer has a duration time of 3:31?" }, { "from": "gpt", "value": "SELECT composer FROM table_name_8 WHERE duration = \"3:31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (duration VARCHAR, translation VARCHAR)" }, { "from": "human", "value": "Which one of the duration has a translation of 1000 lies?" }, { "from": "gpt", "value": "SELECT duration FROM table_name_73 WHERE translation = \"1000 lie...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (title VARCHAR, translation VARCHAR)" }, { "from": "human", "value": "Which title has a translation of I know in it?" }, { "from": "gpt", "value": "SELECT title FROM table_name_76 WHERE translation = \"i know\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (title VARCHAR, translation VARCHAR)" }, { "from": "human", "value": "Which title has a translation in it of 1000 lies?" }, { "from": "gpt", "value": "SELECT title FROM table_name_32 WHERE translation = \"1000 lies\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "Who won the gold when Bertil Ahlin Sweden won the silver?" }, { "from": "gpt", "value": "SELECT gold FROM table_name_48 WHERE silver = \"bertil ahlin sweden\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "Who won the gold when Jules van Dyk Belgium won bronze?" }, { "from": "gpt", "value": "SELECT gold FROM table_name_13 WHERE bronze = \"jules van dyk belgium\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (second VARCHAR, alternate VARCHAR)" }, { "from": "human", "value": "Who is the second for the curling team which has alternate Margarita Fomina?" }, { "from": "gpt", "value": "SELECT second FROM table_name_48 WHERE alternate =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (second VARCHAR, alternate VARCHAR)" }, { "from": "human", "value": "Who is the second for the team with alternate Margarita Fomina?" }, { "from": "gpt", "value": "SELECT second FROM table_name_12 WHERE alternate = \"margarita ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)" }, { "from": "human", "value": "Who is the alternate for the team for which Monika Wagner is the third?" }, { "from": "gpt", "value": "SELECT alternate FROM table_name_60 WHERE third = \"moni...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (lead VARCHAR, second VARCHAR)" }, { "from": "human", "value": "Who is the lead for the team with Nkeiruka Ezekh as second?" }, { "from": "gpt", "value": "SELECT lead FROM table_name_59 WHERE second = \"nkeiruka ezekh\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (lead VARCHAR, alternate VARCHAR)" }, { "from": "human", "value": "Who is the lead for the team with Christina Haller as alternate?" }, { "from": "gpt", "value": "SELECT lead FROM table_name_86 WHERE alternate = \"christina hal...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (latitude VARCHAR, year_built VARCHAR)" }, { "from": "human", "value": "What is the Latitude of the monument built in 1901?" }, { "from": "gpt", "value": "SELECT latitude FROM table_name_83 WHERE year_built = 1901" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR)" }, { "from": "human", "value": "What is the City or Town of the monument with a Longitude of 89°11′w?" }, { "from": "gpt", "value": "SELECT city_or_town FROM table_name_71 WHERE longit...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR)" }, { "from": "human", "value": "What Monument was built after 1887 in Warren County?" }, { "from": "gpt", "value": "SELECT monument_name FROM table_name_95 WHERE year...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)" }, { "from": "human", "value": "What County has a Longitude of 85°45′43″w?" }, { "from": "gpt", "value": "SELECT county FROM table_name_47 WHERE longitude = \"85°45′43″w\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (opponent_in_the_final VARCHAR, partner VARCHAR)" }, { "from": "human", "value": "What is the Opponent from the final with a Partner named jorgelina cravero?" }, { "from": "gpt", "value": "SELECT opponent_in_the_final FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the outcome for the match at the leipzig tournament with a score w/o?" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (opponent VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "Who was the opponent that anke huber played against in the leipzig tournament?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_53 WHERE tour...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (outcome VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the outcome of the match against Magdalena Maleeva?" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_73 WHERE opponent = \"magdalena mal...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "What is the name of the player that was Pick 15?" }, { "from": "gpt", "value": "SELECT player FROM table_name_8 WHERE pick__number = \"15\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "To which college/junior/club team did the player that was Pick 12 belong?" }, { "from": "gpt", "value": "SELECT college_junior_club_team ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)" }, { "from": "human", "value": "What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (college_junior_club_team VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "To which college/junior/club team did the player that was Pick 16 belong?" }, { "from": "gpt", "value": "SELECT college_junior_club_team F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (company VARCHAR, director VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What company does Simon Stone direct earlier than 2011?" }, { "from": "gpt", "value": "SELECT company FROM table_name_14 WHERE director = \"simo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?" }, { "from": "gpt", "value": "SELECT result FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?" }, { "from": "gpt", "value": "SELECT compe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "Which Result has a Score of 4-1, and a Competition of world cup qualifying?" }, { "from": "gpt", "value": "SELECT result FROM table_name_89 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)" }, { "from": "human", "value": "Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR)" }, { "from": "human", "value": "when first elected was 1900 what was the district?" }, { "from": "gpt", "value": "SELECT district FROM table_name_4 WHERE first_elected = \"1900\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (party VARCHAR, first_elected VARCHAR)" }, { "from": "human", "value": "when first elected was 1898 what was the party?" }, { "from": "gpt", "value": "SELECT party FROM table_name_9 WHERE first_elected = \"1898\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many Games have a Lost of 6, and Points smaller than 7?" }, { "from": "gpt", "value": "SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)" }, { "from": "human", "value": "What is Larry Centers' average number when there were less than 600 yards?" }, { "from": "gpt", "value": "SELECT AVG(number) FROM table_name_23 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR)" }, { "from": "human", "value": "What is the highest number when there were more than 50 long and less than 762 yards?" }, { "from": "gpt", "value": "SELECT MAX(number) FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)" }, { "from": "human", "value": "What is the highest amount of yards when the average is 9.5?" }, { "from": "gpt", "value": "SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the runner-up on 5 aug 1990?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_67 WHERE date = \"5 aug 1990\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (tournament VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "Which Tournament has a Winning score of −14 (65-69-72-68=274)?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_18 WHERE winning_score...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "Which Runner-up has a Winning score of −20 (70-69-64-65=268)?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_69 WHERE winning_score = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "Which Date has a Winning score of −15 (71-69-68-65=273)?" }, { "from": "gpt", "value": "SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "In which tournament was vijay singh a runner-up?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_15 WHERE runner_up = \"vijay singh\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "In which tournament was vijay singh a runner-up?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_20 WHERE runner_up = \"vijay singh\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR)" }, { "from": "human", "value": "Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?" }, { "from": "gpt", "value": "SELECT description FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)" }, { "from": "human", "value": "Which Thickness has a Year of Issue smaller than 1983?" }, { "from": "gpt", "value": "SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)" }, { "from": "human", "value": "Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?" }, { "from": "gpt"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR)" }, { "from": "human", "value": "Which Thickness has a Weight of 3.50grams?" }, { "from": "gpt", "value": "SELECT thickness FROM table_name_3 WHERE weight = \"3.50grams\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR)" }, { "from": "human", "value": "Which Thickness has a Diameter of 21.9mm?" }, { "from": "gpt", "value": "SELECT thickness FROM table_name_56 WHERE diameter = \"21.9mm\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)" }, { "from": "human", "value": "Who was on the Socialist Labor ticket in the race against W. Averell Harriman?" }, { "from": "gpt", "value": "SELECT socialist_labor_tick...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)" }, { "from": "human", "value": "Who was the Republican candidate against the Democratic candidate Arthur Levitt?" }, { "from": "gpt", "value": "SELECT republican_ticket FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (independent_socialist_ticket VARCHAR, office VARCHAR)" }, { "from": "human", "value": "Who was the Independent Socialist candidate for the office of comptroller?" }, { "from": "gpt", "value": "SELECT independent_socialist_tick...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR)" }, { "from": "human", "value": "Who was the Independent Socialist candidate who ran against the Liberal candidate Edward Goodell?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (att VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Which Att has a Time of 2:14?" }, { "from": "gpt", "value": "SELECT att FROM table_name_75 WHERE time = \"2:14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)" }, { "from": "human", "value": "when is Record of 66-95?" }, { "from": "gpt", "value": "SELECT time FROM table_name_31 WHERE record = \"66-95\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which Opponent has a Record of 65-95?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_12 WHERE record = \"65-95\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the to par that has ernie els as the player?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_43 WHERE player = \"ernie els\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What player has money of (£) 159,500, and france is the country?" }, { "from": "gpt", "value": "SELECT player FROM table_name_99 WHERE mone...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What player has 69-70-68-73=280 as the score?" }, { "from": "gpt", "value": "SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (wins INTEGER, year VARCHAR, points VARCHAR, class VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979?" }, {...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "How many points have 500cc for the class, a win greater than 0, with a year after 1974?" }, { "from": "gpt", "value": "SELECT SUM(poin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR)" }, { "from": "human", "value": "How many wins have a year after 1976, and 350cc as the class?" }, { "from": "gpt", "value": "SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR)" }, { "from": "human", "value": "How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21?" }, { "from": "gpt", "value": "SELECT COUNT(san_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (san_jose_goals INTEGER, san_jose_wins INTEGER)" }, { "from": "human", "value": "Which San Jose goals have a San Jose wins smaller than 0?" }, { "from": "gpt", "value": "SELECT MIN(san_jose_goals) FROM table_name_28 WHERE san_j...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (april INTEGER, record VARCHAR)" }, { "from": "human", "value": "Name the most april with record of 38-33-10" }, { "from": "gpt", "value": "SELECT MAX(april) FROM table_name_19 WHERE record = \"38-33-10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the opponent with record of 38-34-10" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_97 WHERE record = \"38-34-10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (april VARCHAR, record VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Name the total number of April for game more than 81 and reord of 38-33-10" }, { "from": "gpt", "value": "SELECT COUNT(april) FROM table_name_46 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what series was on may 14" }, { "from": "gpt", "value": "SELECT series FROM table_name_53 WHERE date = \"may 14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the to par that has england as the country, with 66 as a score?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_95 WHERE cou...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (country VARCHAR, score VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country has a score less than 68, and paul casey as the player?" }, { "from": "gpt", "value": "SELECT country FROM table_name_95 WHERE score...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (score INTEGER, player VARCHAR)" }, { "from": "human", "value": "What is the lowest score that has alastair forsyth as the player?" }, { "from": "gpt", "value": "SELECT MIN(score) FROM table_name_28 WHERE player = \"alastair fo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many scores have paul casey as a player?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_name_87 WHERE player = \"paul casey\"" } ]
know_sql
chosen