conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What label released a record on December 19, 2001?" }, { "from": "gpt", "value": "SELECT label FROM table_name_83 WHERE date = \"december 19, 2001\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the catalog of the record released on May 27, 2009?" }, { "from": "gpt", "value": "SELECT catalog FROM table_name_94 WHERE date = \"may 27, 2009\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR)" }, { "from": "human", "value": "On what date was a record from Village Records with catalog VRCL-2205 released?" }, { "from": "gpt", "value": "SELECT date FROM table_name_5 WHERE l...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (date VARCHAR, catalog VARCHAR)" }, { "from": "human", "value": "On what date was the record with catalog ALCA-275 released?" }, { "from": "gpt", "value": "SELECT date FROM table_name_32 WHERE catalog = \"alca-275\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)" }, { "from": "human", "value": "What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is the earliest year a Chairman who took office after 2011 is up for reelection?" }, { "from": "gpt", "value": "SELECT MIN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER)" }, { "from": "human", "value": "What year had less than 36 laps?" }, { "from": "gpt", "value": "SELECT year FROM table_name_17 WHERE laps < 36" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR)" }, { "from": "human", "value": "What was the most laps with a finish of 10 and qualification of 106.185?" }, { "from": "gpt", "value": "SELECT MAX(laps) FROM table_name_84 WHERE fin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR)" }, { "from": "human", "value": "What is the most laps with a qualification of 106.185?" }, { "from": "gpt", "value": "SELECT MAX(laps) FROM table_name_38 WHERE qual = \"106.185\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR)" }, { "from": "human", "value": "In what year were laps less than 64 and the finish at 25?" }, { "from": "gpt", "value": "SELECT year FROM table_name_59 WHERE laps < 64 AND finish = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (qual VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the qualification in 1932?" }, { "from": "gpt", "value": "SELECT qual FROM table_name_51 WHERE year = \"1932\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (start VARCHAR, rank VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the start with a rank of 3 in 1936?" }, { "from": "gpt", "value": "SELECT start FROM table_name_12 WHERE rank = \"3\" AND year = \"1936\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR)" }, { "from": "human", "value": "For a Team 1 of Al-Merrikh, what was the aggregate?" }, { "from": "gpt", "value": "SELECT agg FROM table_name_47 WHERE team_1 = \"al-merrikh\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (agg VARCHAR)" }, { "from": "human", "value": "For an aggregate of 1-3, what was the 2nd leg?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = \"1-3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (team_2 VARCHAR)" }, { "from": "human", "value": "For a team 2 of Al-Faisaly, what was the 2nd leg?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = \"al-faisaly\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR)" }, { "from": "human", "value": "What years is the private school in upper hutt?" }, { "from": "gpt", "value": "SELECT years FROM table_name_90 WHERE area = \"upper hutt\" AND au...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What school with a decile of 7 is in upper hutt?" }, { "from": "gpt", "value": "SELECT name FROM table_name_39 WHERE decile = \"7\" AND area = \"uppe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What authority is the coed school in pinehaven?" }, { "from": "gpt", "value": "SELECT authority FROM table_name_58 WHERE gender = \"coed\" AND a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What years does plateau school serve?" }, { "from": "gpt", "value": "SELECT years FROM table_name_96 WHERE name = \"plateau school\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Is Upper valley middle school public or private?" }, { "from": "gpt", "value": "SELECT authority FROM table_name_2 WHERE name = \"upper valley middle school\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the record on June 13?" }, { "from": "gpt", "value": "SELECT record FROM table_name_57 WHERE date = \"june 13\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR)" }, { "from": "human", "value": "Name the most lot number with notes of b4 bogies and diagram of 185" }, { "from": "gpt", "value": "SELECT MAX(lot_no) FROM table_name_46 WHERE no...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR)" }, { "from": "human", "value": "Name the fleet numbers for diagram of 186 and lot number of 30798" }, { "from": "gpt", "value": "SELECT fleet_numbers FROM table_name_10 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)" }, { "from": "human", "value": "What line is 24.7 km and head towards Toyohashi East?" }, { "from": "gpt", "value": "SELECT name FROM table_name_36 WHERE direction = \"toy...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the record on November 18?" }, { "from": "gpt", "value": "SELECT record FROM table_name_26 WHERE date = \"november 18\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR)" }, { "from": "human", "value": "What was the average attendance when Chicago Bears were the home team?" }, { "from": "gpt", "value": "SELECT AVG(attendance) FROM table_name_22 WHERE home = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is the score when the record is 5-4-1?" }, { "from": "gpt", "value": "SELECT score FROM table_name_52 WHERE record = \"5-4-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)" }, { "from": "human", "value": "What is the largest number in attendance when the record is 1-1-0?" }, { "from": "gpt", "value": "SELECT MAX(attendance) FROM table_name_63 WHERE record = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)" }, { "from": "human", "value": "What is the GDP of the nation with 56,210,000 people?" }, { "from": "gpt", "value": "SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE popul...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (area__km²_ VARCHAR, gdp_per_capita__us$_ VARCHAR)" }, { "from": "human", "value": "What is the area of the nation with GDP per capita (US$) of 11,929?" }, { "from": "gpt", "value": "SELECT area__km²_ FROM table_name_11 WHERE g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR)" }, { "from": "human", "value": "What is the population of the nation that has a GDP per capita (US$) of 11,929?" }, { "from": "gpt", "value": "SELECT population FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR)" }, { "from": "human", "value": "What is the Population of the nation that has an Area (km²) of 70,273?" }, { "from": "gpt", "value": "SELECT population FROM table_name_31 WHERE area__km...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR)" }, { "from": "human", "value": "What is the Population of the nation that has a Member countries consisting of existing members (1973)?" }, { "from": "gpt", "value": "SELECT popul...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "What television network, founded in 2002, has a community type of network?" }, { "from": "gpt", "value": "SELECT television...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR)" }, { "from": "human", "value": "At what stadium did the Green Bay Packers play an away game?" }, { "from": "gpt", "value": "SELECT stadium FROM table_name_67 WHERE visiting_team = \"gre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (stadium VARCHAR, final_score VARCHAR)" }, { "from": "human", "value": "At what stadium was the final score 31-28?" }, { "from": "gpt", "value": "SELECT stadium FROM table_name_60 WHERE final_score = \"31-28\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR)" }, { "from": "human", "value": "Which team hosted the Kansas City Chiefs?" }, { "from": "gpt", "value": "SELECT host_team FROM table_name_53 WHERE visiting_team = \"kansas city chiefs...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "What team hosted at Tampa Stadium?" }, { "from": "gpt", "value": "SELECT host_team FROM table_name_75 WHERE stadium = \"tampa stadium\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "With a record of 43-26, what was the score that game?" }, { "from": "gpt", "value": "SELECT score FROM table_name_89 WHERE record = \"43-26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "On June 8, what's the loss when the Blue Jays played the Tigers?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_58 WHERE opponent = \"t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What date was the record 38-22?" }, { "from": "gpt", "value": "SELECT date FROM table_name_71 WHERE record = \"38-22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "The game that had a record of 39-25, what was the score?" }, { "from": "gpt", "value": "SELECT score FROM table_name_77 WHERE record = \"39-25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR)" }, { "from": "human", "value": "Which runner-up has a 10 strokes margin of victory?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_12 WHERE margin_of_victory = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (event VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Which of the events only lasted no more than 0:55?" }, { "from": "gpt", "value": "SELECT event FROM table_name_66 WHERE time = \"0:55\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Which event only lasted for 3 rounds against Fernando Terere?" }, { "from": "gpt", "value": "SELECT event FROM table_name_50 WHERE round = 3 AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR)" }, { "from": "human", "value": "What is the Primary Sponsor for the team owned by Randy Humphrey?" }, { "from": "gpt", "value": "SELECT primary_sponsor_s_ FROM table_name_4 WHERE o...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR)" }, { "from": "human", "value": "Who is the Driver on Bob Keselowski's team?" }, { "from": "gpt", "value": "SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = \"bob keselowski\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (team VARCHAR, crew_chief VARCHAR)" }, { "from": "human", "value": "Walter Giles is Crew Chief of what team?" }, { "from": "gpt", "value": "SELECT team FROM table_name_50 WHERE crew_chief = \"walter giles\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "What club does the stadium stc krymteplitsia belong to?" }, { "from": "gpt", "value": "SELECT club FROM table_name_34 WHERE stadium = \"stc krymteplitsia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was Tony Bettenhausen's qualifying time in 1947?" }, { "from": "gpt", "value": "SELECT qual FROM table_name_61 WHERE year = \"1947\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER)" }, { "from": "human", "value": "Which year did Tony Bettenhausen complete more than 200 laps?" }, { "from": "gpt", "value": "SELECT year FROM table_name_43 WHERE laps > 200" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (Id VARCHAR)" }, { "from": "human", "value": "What was the value in 2006 when 2003 was not held and 2012 was A?" }, { "from": "gpt", "value": "SELECT 2006 FROM table_name_40 WHERE 2003 = \"not held\" AND 2012 = \"a\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (Id VARCHAR)" }, { "from": "human", "value": "What was the 2008 value when 2012 was Grand Slam Tournaments?" }, { "from": "gpt", "value": "SELECT 2008 FROM table_name_35 WHERE 2012 = \"grand slam tournaments\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (Id VARCHAR)" }, { "from": "human", "value": "What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A?" }, { "from": "gpt", "value": "SELECT 2008 FROM table_name_1 WHERE 2012 = \"1r\" AND 2010 = \"a\" AND 2005 = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (Id VARCHAR)" }, { "from": "human", "value": "What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments?" }, { "from": "gpt", "value": "SELECT 2003 FROM table_name_86 WHERE 2006 = \"wta premier mandatory tourna...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (tournament VARCHAR)" }, { "from": "human", "value": "What was the value in 2009 when 2005 was A for the Australian Open?" }, { "from": "gpt", "value": "SELECT 2009 FROM table_name_5 WHERE 2005 = \"a\" AND tournament = \"austral...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (Id VARCHAR)" }, { "from": "human", "value": "What was the value in 2012 when 2002 was Q1 and 2010 was 1R?" }, { "from": "gpt", "value": "SELECT 2012 FROM table_name_83 WHERE 2002 = \"q1\" AND 2010 = \"1r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR)" }, { "from": "human", "value": "What type has a GNIS ID of 1139805" }, { "from": "gpt", "value": "SELECT type FROM table_name_15 WHERE gnis_id = 1139805" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR)" }, { "from": "human", "value": "Which name has a USGS Map of clear lake?" }, { "from": "gpt", "value": "SELECT name FROM table_name_85 WHERE usgs_map = \"clear lake\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the status of Norris?" }, { "from": "gpt", "value": "SELECT status FROM table_name_31 WHERE name = \"norris\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the source for Laird?" }, { "from": "gpt", "value": "SELECT source FROM table_name_18 WHERE name = \"laird\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (class VARCHAR)" }, { "from": "human", "value": "What 1958 CIE is class s?" }, { "from": "gpt", "value": "SELECT 1958 AS _cié FROM table_name_69 WHERE class = \"s\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR)" }, { "from": "human", "value": "What day withdrawn is associated with fleet numbers of 12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129?" }, { "from": "gpt", "value": "SELECT date_w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which player has a score of 74-74-73-70=291?" }, { "from": "gpt", "value": "SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the average earnings of a United States player who had a score of 72-68-74-72=286?" }, { "from": "gpt", "value": "SELECT AVG(earning...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the attendance at the game that had a loss of Mercker (3-1)?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_12 WHERE loss = \"mercke...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the attendance at the game that had a loss of Ayala (6-12)?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_49 WHERE loss = \"ayala (...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the loss of the game that had a score of 9-7?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_65 WHERE score = \"9-7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the loss of the game attended by 14,691?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_62 WHERE attendance = \"14,691\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the loss of the game attended by 29,704?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_21 WHERE attendance = \"29,704\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (winner VARCHAR, location VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012?" }, { "from": "gpt", "value": "SELECT winner FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Location, when the Score is 38-29?" }, { "from": "gpt", "value": "SELECT location FROM table_name_88 WHERE score = \"38-29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Location, when the Score is 35-31?" }, { "from": "gpt", "value": "SELECT location FROM table_name_63 WHERE score = \"35-31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006?" }, { "from":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the game result on November 16, 1969?" }, { "from": "gpt", "value": "SELECT result FROM table_name_83 WHERE date = \"november 16, 1969\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "What is the general classification of stage 3" }, { "from": "gpt", "value": "SELECT general_classification FROM table_name_99 WHERE stage = \"3\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)" }, { "from": "human", "value": "How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What venue was the 11 September 2012 game?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_23 WHERE date = \"11 september 2012\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER)" }, { "from": "human", "value": "What is the lowest Decile for a school with a roll smaller than 3?" }, { "from": "gpt", "value": "SELECT MIN(decile) FROM table_name_40 WHERE roll < 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR)" }, { "from": "human", "value": "What is the Gender of students at a school with a Decile of 5 and a Roll of 90?" }, { "from": "gpt", "value": "SELECT gender FROM table_name_86 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)" }, { "from": "human", "value": "Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5." }, { "from": "gpt", "value": "SELECT years FROM table_name_27 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4?" }, { "from": "gpt", "value": "SELECT C...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR)" }, { "from": "human", "value": "What is the D45 associated with a D42 of r 22?" }, { "from": "gpt", "value": "SELECT d_45 FROM table_name_23 WHERE d_42 = \"r 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR)" }, { "from": "human", "value": "What is the D43 associated with a D41 of r 21?" }, { "from": "gpt", "value": "SELECT d_43 FROM table_name_44 WHERE d_41 = \"r 21\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR)" }, { "from": "human", "value": "What is the D42 associated with a D47 of d 27?" }, { "from": "gpt", "value": "SELECT d_42 FROM table_name_31 WHERE d_47 = \"d 27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR)" }, { "from": "human", "value": "What is the D43 associated with a D41 of r 16?" }, { "from": "gpt", "value": "SELECT d_43 FROM table_name_92 WHERE d_41 = \"r 16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What is the record for the game when the loss was hargan (14–13)?" }, { "from": "gpt", "value": "SELECT record FROM table_name_84 WHERE loss = \"hargan (14–13)\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the record for the game with a score of 7–5?" }, { "from": "gpt", "value": "SELECT record FROM table_name_10 WHERE score = \"7–5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What date was the game with loss of Aker (3–8)?" }, { "from": "gpt", "value": "SELECT date FROM table_name_4 WHERE loss = \"aker (3–8)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What team was the opponent when the score was 7–1?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_86 WHERE score = \"7–1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the score when the opponent was the Orioles and the loss shows morehead (5–4)?" }, { "from": "gpt", "value": "SELECT score FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the opponent with a record of 60-61" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_35 WHERE record = \"60-61\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR)" }, { "from": "human", "value": "Who had a perfection percentage of 77.96%?" }, { "from": "gpt", "value": "SELECT name FROM table_name_94 WHERE perfection = \"77.96%\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What was the rank of Svetlana Fedorenko?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_46 WHERE name = \"svetlana fedorenko\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)" }, { "from": "human", "value": "Who had a perfection percentage of 73.24%?" }, { "from": "gpt", "value": "SELECT name FROM table_name_62 WHERE perfection = \"73.24%\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score of the game on June 1?" }, { "from": "gpt", "value": "SELECT score FROM table_name_38 WHERE date = \"june 1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the score against andrei pavel?" }, { "from": "gpt", "value": "SELECT score FROM table_name_6 WHERE opponent = \"andrei pavel\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "When was the tournament of bologna?" }, { "from": "gpt", "value": "SELECT date FROM table_name_52 WHERE tournament = \"bologna\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (opponent VARCHAR, surface VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who played on clay and had a score of 6–1, 7–6?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_31 WHERE surface = \"clay\" AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who played on clay on 3 march 2012?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_16 WHERE surface = \"clay\" AND date = \"3 ma...
know_sql
chosen