conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER)" }, { "from": "human", "value": "What affiliations have Pick #s under 32?" }, { "from": "gpt", "value": "SELECT affiliation FROM table_name_28 WHERE pick__number < 32" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What players have a position of F?" }, { "from": "gpt", "value": "SELECT player FROM table_name_2 WHERE position = \"f\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR)" }, { "from": "human", "value": "How many goals were scored when there were 73 caps?" }, { "from": "gpt", "value": "SELECT goals FROM table_name_63 WHERE caps = \"73\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR)" }, { "from": "human", "value": "Tell me the build year for total production of 150" }, { "from": "gpt", "value": "SELECT build_year FROM table_name_44 WHERE total_production = 150...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (power_output_(kw) VARCHAR, total_production VARCHAR)" }, { "from": "human", "value": "Tell me the power output for total production of 100" }, { "from": "gpt", "value": "SELECT power_output_(kw) FROM table_name_38 WHERE total_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR)" }, { "from": "human", "value": "Name the total production for model nd5" }, { "from": "gpt", "value": "SELECT total_production FROM table_name_72 WHERE model = \"nd5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR)" }, { "from": "human", "value": "What is the nationality of the player who played guard in 2006?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_85...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR)" }, { "from": "human", "value": "Tell me the sum of bp 2nd comp with bp azeo of 57.5" }, { "from": "gpt", "value": "SELECT SUM(bp_2nd_comp__) AS ˚c_ FROM table_name_33 WHERE bp_azeo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Which rider went 18 laps ending +25.165 behind the leader?" }, { "from": "gpt", "value": "SELECT rider FROM table_name_24 WHERE laps = 18 AND time = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (result VARCHAR, year INTEGER)" }, { "from": "human", "value": "What is the result for a year later than 2002?" }, { "from": "gpt", "value": "SELECT result FROM table_name_1 WHERE year > 2002" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the result for the year 1999?" }, { "from": "gpt", "value": "SELECT result FROM table_name_56 WHERE year = 1999" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Tell me the engine for dhg tom's racing" }, { "from": "gpt", "value": "SELECT engine FROM table_name_88 WHERE team = \"dhg tom's racing\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "Name the team for toshihiro kaneishi" }, { "from": "gpt", "value": "SELECT team FROM table_name_21 WHERE driver = \"toshihiro kaneishi\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR)" }, { "from": "human", "value": "I want the average year of 敗犬女王" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_14 WHERE chinese_title = \"敗犬女王\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Tell me the role for 2005" }, { "from": "gpt", "value": "SELECT role FROM table_name_38 WHERE year = 2005" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)" }, { "from": "human", "value": "Tell me the average year for my queen" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_65 WHERE english_title = \"my queen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR)" }, { "from": "human", "value": "Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR)" }, { "from": "human", "value": "When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish?" }, { "from": "gpt", "value": "SELECT be...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier" }, { "from": "gpt", "value": "SELECT result FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "I want the score for 28 march 1979" }, { "from": "gpt", "value": "SELECT score FROM table_name_37 WHERE date = \"28 march 1979\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "I want the score for 30 april 1977" }, { "from": "gpt", "value": "SELECT score FROM table_name_72 WHERE date = \"30 april 1977\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What competition was the World Championships before 2011?" }, { "from": "gpt", "value": "SELECT event FROM table_name_38 WHERE competition = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What event took place in Erfurt, Germany?" }, { "from": "gpt", "value": "SELECT event FROM table_name_56 WHERE venue = \"erfurt, germany\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER)" }, { "from": "human", "value": "Name the team nickname for enrollment more than 42,326" }, { "from": "gpt", "value": "SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OF...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR)" }, { "from": "human", "value": "With the lost of 3, how many points?" }, { "from": "gpt", "value": "SELECT points_against FROM table_name_9 WHERE lost = \"3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR)" }, { "from": "human", "value": "How many against points for 16 matches?" }, { "from": "gpt", "value": "SELECT points_against FROM table_name_38 WHERE matches = \"16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "The 51 points against, how many are for?" }, { "from": "gpt", "value": "SELECT points_for FROM table_name_36 WHERE points_against = \"51\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR)" }, { "from": "human", "value": "For the played in, what are the total points?" }, { "from": "gpt", "value": "SELECT points_for FROM table_name_36 WHERE played_in = \"total\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What country is the Eurasia Astana team from?" }, { "from": "gpt", "value": "SELECT country FROM table_name_69 WHERE team = \"eurasia astana\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (Id VARCHAR)" }, { "from": "human", "value": "Tell me the 2008 for 2012 of 4r and 2009 of a" }, { "from": "gpt", "value": "SELECT 2008 FROM table_name_38 WHERE 2012 = \"4r\" AND 2009 = \"a\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (Id VARCHAR)" }, { "from": "human", "value": "Tell me the 2008 of 2001 olympic games" }, { "from": "gpt", "value": "SELECT 2008 FROM table_name_69 WHERE 2011 = \"olympic games\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (tournament VARCHAR)" }, { "from": "human", "value": "Tell me the tournament of 2009 of atp masters series" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_26 WHERE 2009 = \"atp masters series\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (tournament VARCHAR)" }, { "from": "human", "value": "Tell me the 2011 tournament of monte carlo masters" }, { "from": "gpt", "value": "SELECT 2011 FROM table_name_73 WHERE tournament = \"monte carlo masters\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (Id VARCHAR)" }, { "from": "human", "value": "Tell me the 2011 with 2012 of 2r" }, { "from": "gpt", "value": "SELECT 2011 FROM table_name_40 WHERE 2012 = \"2r\" AND 2010 = \"2r\" AND 2009 = \"2r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)" }, { "from": "human", "value": "What was the latest round with a running back from a California college?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM table_name_55 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What were the results for november 25, 1973?" }, { "from": "gpt", "value": "SELECT result FROM table_name_36 WHERE date = \"november 25, 1973\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR)" }, { "from": "human", "value": "Which Opponent had a week of 14?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_60 WHERE week = 14" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Tell me the date for new orleans saints" }, { "from": "gpt", "value": "SELECT date FROM table_name_22 WHERE opponent = \"new orleans saints\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)" }, { "from": "human", "value": "Tell me the result for week of 4" }, { "from": "gpt", "value": "SELECT result FROM table_name_46 WHERE week = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (week INTEGER, result VARCHAR)" }, { "from": "human", "value": "Tell me the lowest week for w 10-3" }, { "from": "gpt", "value": "SELECT MIN(week) FROM table_name_50 WHERE result = \"w 10-3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Tell me the average heat rank with a lane of 2 and time less than 27.66" }, { "from": "gpt", "value": "SELECT AVG(heat_rank) FROM table_name_48 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Tell me the highest overall rank for lane less than 8 and time less than 27.16" }, { "from": "gpt", "value": "SELECT MAX(overall_rank) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)" }, { "from": "human", "value": "Tell me the total number of time for luke hall overall rank being larger than 105" }, { "from": "gpt", "value": "SELECT COUNT(time) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Tell me the left team for josh vanlandingham" }, { "from": "gpt", "value": "SELECT left_team FROM table_name_60 WHERE name = \"josh vanlandingham\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?" }, { "from": "gpt", "value": "SELECT name FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)" }, { "from": "human", "value": "What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7." }, { "from": "gpt", "value": "SELECT SUM(rank) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "How many appearances were made by people that had 5 goals and less than 7 rank?" }, { "from": "gpt", "value": "SELECT COUNT(appearances) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR)" }, { "from": "human", "value": "What was the surface for the game that had a partner of vania king?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_85 WHERE partner = \"vania ki...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the partner for the game on October 20, 2013?" }, { "from": "gpt", "value": "SELECT partner FROM table_name_80 WHERE date = \"october 20, 2013\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Tell me the name for round of e" }, { "from": "gpt", "value": "SELECT name FROM table_name_29 WHERE round = \"e\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the team one for preliminary final" }, { "from": "gpt", "value": "SELECT team_1 FROM table_name_74 WHERE name = \"preliminary final\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Name the team 1 for round 3" }, { "from": "gpt", "value": "SELECT team_1 FROM table_name_64 WHERE round = \"3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR)" }, { "from": "human", "value": "Name the round for 2nd elimination final" }, { "from": "gpt", "value": "SELECT round FROM table_name_36 WHERE match = \"2nd elimination final\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "In less than 58 laps, what is the highest grid for Alexander Wurz?" }, { "from": "gpt", "value": "SELECT MAX(grid) FROM table_name_32 WHERE driver = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What is the total laps for grid 19?" }, { "from": "gpt", "value": "SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "Name the winning driver for mobilecast impul and twin ring motegi" }, { "from": "gpt", "value": "SELECT winning_driver FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Name the winning driver for round 7" }, { "from": "gpt", "value": "SELECT winning_driver FROM table_name_24 WHERE round = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Name the number of total for 3 gold and rank less than 3" }, { "from": "gpt", "value": "SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR)" }, { "from": "human", "value": "Tell me the naame of Investigation of thrombus imaging" }, { "from": "gpt", "value": "SELECT name FROM table_name_19 WHERE investigation = \"thrombus imagin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)" }, { "from": "human", "value": "Tell me the name for Investigation of thrombus imaging and Route of administration of iv" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)" }, { "from": "human", "value": "Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging" }, { "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "The player is Tim Regan and the pick # is position of d, what's the sum?" }, { "from": "gpt", "value": "SELECT SUM(pick__number) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "The position that has a pick # of 16 is what?" }, { "from": "gpt", "value": "SELECT position FROM table_name_66 WHERE pick__number = 16" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)" }, { "from": "human", "value": "Damani Ralph is associated with which lowest pick #?" }, { "from": "gpt", "value": "SELECT MIN(pick__number) FROM table_name_39 WHERE player = \"damani ral...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR)" }, { "from": "human", "value": "Chicago fire has a total of a total of how many #s?" }, { "from": "gpt", "value": "SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = \"chicago...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)" }, { "from": "human", "value": "Tell me the score for score in legs and year less than 2012" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Tell me the championship for runner-up outcome of 2010" }, { "from": "gpt", "value": "SELECT championship FROM table_name_30 WHERE outcome =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "Tell me the outcome for premier league darts" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_12 WHERE championship = \"premier league darts\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "Tell me the sum of Year for outcome of runner-up for world darts championship" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)" }, { "from": "human", "value": "In 2007, how many points were won when more than 5 matches were played?" }, { "from": "gpt", "value": "SELECT COUNT(points_won) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)" }, { "from": "human", "value": "In 2007, what is the average total matches with points % larger than 33.3?" }, { "from": "gpt", "value": "SELECT AVG(total_match...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR)" }, { "from": "human", "value": "Which player attended school at Georgia Tech?" }, { "from": "gpt", "value": "SELECT player FROM table_name_74 WHERE school_club_team = \"georgia tech\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What position does Ed Stokes hold?" }, { "from": "gpt", "value": "SELECT position FROM table_name_87 WHERE player = \"ed stokes\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Michael Stewart's school or club team?" }, { "from": "gpt", "value": "SELECT school_club_team FROM table_name_93 WHERE player = \"michael stewa...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What tournament was played on May 29, 2010?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_8 WHERE date = \"may 29, 2010\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR)" }, { "from": "human", "value": "What was the surface made of in the contest where Paula Ormaechea was the partner?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_50 WHERE partn...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Tell me the method with a record of 4-2" }, { "from": "gpt", "value": "SELECT method FROM table_name_1 WHERE record = \"4-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Tell me the record for yukiya naito" }, { "from": "gpt", "value": "SELECT record FROM table_name_78 WHERE opponent = \"yukiya naito\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Tell me the record for kazuhiro nakamura" }, { "from": "gpt", "value": "SELECT record FROM table_name_25 WHERE opponent = \"kazuhiro nakamura\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (method VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Tell me the method for stanislav nuschik" }, { "from": "gpt", "value": "SELECT method FROM table_name_60 WHERE opponent = \"stanislav nuschik\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (res VARCHAR, event VARCHAR)" }, { "from": "human", "value": "What was the Result of IFL: Los Angeles?" }, { "from": "gpt", "value": "SELECT res FROM table_name_88 WHERE event = \"ifl: los angeles\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Which Event resulted in a Win for Opponent, Shane Ott?" }, { "from": "gpt", "value": "SELECT event FROM table_name_4 WHERE res = \"win\" AND opponen...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)" }, { "from": "human", "value": "Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?" }, { "from": "g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER)" }, { "from": "human", "value": "Name the gold with total larger than 33" }, { "from": "gpt", "value": "SELECT gold FROM table_name_46 WHERE total > 33" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (gold INTEGER, nation VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "Name the fewest gold for tanzania with bronze less than 0" }, { "from": "gpt", "value": "SELECT MIN(gold) FROM table_name_54 WHERE nation = \"tanza...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (opponent VARCHAR, week VARCHAR)" }, { "from": "human", "value": "Who is the opponent for week 10?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_17 WHERE week = 10" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (gold INTEGER, total INTEGER)" }, { "from": "human", "value": "For countries that won more than 32 gold medals, what was the highest number of golds?" }, { "from": "gpt", "value": "SELECT MAX(gold) FROM table_name_81 WHERE tota...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Tell me fourth place for year of 2010" }, { "from": "gpt", "value": "SELECT fourth_place FROM table_name_36 WHERE year = 2010" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (result VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "Tell me the result for 2010 fifa world cup qualification" }, { "from": "gpt", "value": "SELECT result FROM table_name_81 WHERE competition = \"2010 fifa wor...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (date VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "Tell me the date for 2010 fifa world cup qualification" }, { "from": "gpt", "value": "SELECT date FROM table_name_85 WHERE competition = \"2010 fifa world cup...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (surface VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Tell me the surface for november 28, 2010" }, { "from": "gpt", "value": "SELECT surface FROM table_name_34 WHERE date = \"november 28, 2010\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Tell me the tournament with a hard surface for 6–1, 6–2" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_99 WHERE surface = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Tell me the date for 6–3, 6–2" }, { "from": "gpt", "value": "SELECT date FROM table_name_87 WHERE score = \"6–3, 6–2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "Tell me the date for johanna konta" }, { "from": "gpt", "value": "SELECT date FROM table_name_8 WHERE opponent_in_the_final = \"johanna konta\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (time VARCHAR, rank VARCHAR, rider VARCHAR)" }, { "from": "human", "value": "What is the time value for the rider Brian Finch and a rank greater than 3?" }, { "from": "gpt", "value": "SELECT time FROM table_name_42 WHERE rank >...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR)" }, { "from": "human", "value": "What result does the project Once Upon A Time In The West, directed by Sergio Leone have?" }, { "from": "gpt", "value": "SELECT result FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (year VARCHAR, project VARCHAR)" }, { "from": "human", "value": "What year was Bulworth nominated?" }, { "from": "gpt", "value": "SELECT year FROM table_name_92 WHERE project = \"bulworth\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (year INTEGER, project VARCHAR)" }, { "from": "human", "value": "What is the average Year for the project The Untouchables?" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_16 WHERE project = \"the untouchables\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Tell me the section for position of 8th and season of 2003" }, { "from": "gpt", "value": "SELECT section FROM table_name_29 WHERE position = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What is the date of week 17?" }, { "from": "gpt", "value": "SELECT date FROM table_name_35 WHERE week = 17" } ]
know_sql
chosen