conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What is the population of area of 11?" }, { "from": "gpt", "value": "SELECT population FROM table_name_15 WHERE area = \"11\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (traditional VARCHAR, population VARCHAR)" }, { "from": "human", "value": "What shows for traditional when the population was 44,803?" }, { "from": "gpt", "value": "SELECT traditional FROM table_name_14 WHERE population = \"44,...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What is the population when the area is 4,575?" }, { "from": "gpt", "value": "SELECT population FROM table_name_8 WHERE area = \"4,575\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (simplified VARCHAR, density VARCHAR)" }, { "from": "human", "value": "What shows for simplified when the density is 52?" }, { "from": "gpt", "value": "SELECT simplified FROM table_name_13 WHERE density = \"52\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR)" }, { "from": "human", "value": "What is the density when simplified shows 南山区?" }, { "from": "gpt", "value": "SELECT density FROM table_name_33 WHERE simplified = \"南山区\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (pinyin VARCHAR, simplified VARCHAR)" }, { "from": "human", "value": "What is the pinyin when the simplified shows 南山区?" }, { "from": "gpt", "value": "SELECT pinyin FROM table_name_22 WHERE simplified = \"南山区\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country does Greg Norman represent?" }, { "from": "gpt", "value": "SELECT country FROM table_name_26 WHERE player = \"greg norman\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What years won have a total of 286?" }, { "from": "gpt", "value": "SELECT year_s__won FROM table_name_11 WHERE total = 286" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (player VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Which player had a total of 295?" }, { "from": "gpt", "value": "SELECT player FROM table_name_22 WHERE total = 295" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the To par when there was a total of 291?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_10 WHERE total = 291" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)" }, { "from": "human", "value": "What is the year of daylight service when the builder was Alco?" }, { "from": "gpt", "value": "SELECT years_of_daylight_service FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (team VARCHAR)" }, { "from": "human", "value": "What is 2006-07 Season, when Team is \"KF Fushë Kosova\"?" }, { "from": "gpt", "value": "SELECT 2006 AS _07_season FROM table_name_64 WHERE team = \"kf fushë kosova\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What is Year(s) Won, when Total is \"145\", and when Country is \"United States\"?" }, { "from": "gpt", "value": "SELECT year_s__won FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (to_par INTEGER, total VARCHAR, year_s__won VARCHAR)" }, { "from": "human", "value": "What is the lowest To par, when Total is greater than 148, and when Year(s) Won is \"1959 , 1968 , 1974\"?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Country, when To par is \"1\", and when Player is \"Seve Ballesteros\"?" }, { "from": "gpt", "value": "SELECT country FROM table_name_20...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "What is the sum of Total, when Year(s) Won is \"1966 , 1970 , 1978\", and when To par is less than 4?" }, { "from": "gpt", "value": "SELECT S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (country VARCHAR, total VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Country, when Total is less than 148, and when Player is \"Gary Player\"?" }, { "from": "gpt", "value": "SELECT country FROM table_name_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (to_par VARCHAR, total VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What is To par, when Total is less than 148, and when Country is \"South Africa\"?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_7 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR)" }, { "from": "human", "value": "What is the average age at appointment of those attached to security?" }, { "from": "gpt", "value": "SELECT AVG(age_at_appointment) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (distance VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the distance of the race on saturday, august 23?" }, { "from": "gpt", "value": "SELECT distance FROM table_name_59 WHERE date = \"saturday, august 23\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (winner VARCHAR, distance VARCHAR)" }, { "from": "human", "value": "Who was the winner of the race that had a distance of 175.6km?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_70 WHERE distance = \"175.6km\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who won the race on wednesday, august 27?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_18 WHERE date = \"wednesday, august 27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (distance VARCHAR, route VARCHAR)" }, { "from": "human", "value": "What is the distance of the maldegem > brussels route?" }, { "from": "gpt", "value": "SELECT distance FROM table_name_71 WHERE route = \"maldegem > brussels\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (winner VARCHAR, route VARCHAR)" }, { "from": "human", "value": "Who was the winner of the mechelen > mechelen route?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_63 WHERE route = \"mechelen > mechelen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (imap_shared VARCHAR, web_ui VARCHAR)" }, { "from": "human", "value": "What IMAP sharing options exist for software with a web UI?" }, { "from": "gpt", "value": "SELECT imap_shared FROM table_name_93 WHERE web_ui = \"web ui\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (total VARCHAR, event VARCHAR, rank_points VARCHAR)" }, { "from": "human", "value": "What's the total for the wc belgrade event with 10 rank points?" }, { "from": "gpt", "value": "SELECT total FROM table_name_3 WHERE event = \"w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (total VARCHAR, rank_points VARCHAR)" }, { "from": "human", "value": "That's the total for rank points of olympic gold medalist?" }, { "from": "gpt", "value": "SELECT total FROM table_name_72 WHERE rank_points = \"olympic gold ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR)" }, { "from": "human", "value": "Who's the shooter with score points of defending champion?" }, { "from": "gpt", "value": "SELECT shooter FROM table_name_51 WHERE score_points = \"defendi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (shooter VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Who's the shooter with a total of 25?" }, { "from": "gpt", "value": "SELECT shooter FROM table_name_57 WHERE total = \"25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR)" }, { "from": "human", "value": "Who's the shooter with 13 score points and 10 rank points?" }, { "from": "gpt", "value": "SELECT shooter FROM table_name_32 WHERE sco...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (points INTEGER, top_goal_scorer VARCHAR, final_standing VARCHAR)" }, { "from": "human", "value": "What is the highest points when the top goal scorer was Khaled Msakni (10), and the final standing is less than 12?" }, { "from": "g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What is the final standing in 1981–82?" }, { "from": "gpt", "value": "SELECT final_standing FROM table_name_58 WHERE years = \"1981–82\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (event VARCHAR, position VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which event had 4th place and took place in the year 2007?" }, { "from": "gpt", "value": "SELECT event FROM table_name_76 WHERE position = \"4th\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (runner_up VARCHAR, score VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What runner-up has 4 & 3 as the score, with michael bonallack as the winner?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_14...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What venue has 3 & 2 as the score, and 1965 as the year?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_83 WHERE score = \"3 & 2\" AND y...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (runner_up VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What runner-up has 2008 as the year?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_95 WHERE year = \"2008\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (winner VARCHAR, venue VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What winner has royal st george's golf club as the venue, and 1969 as the year?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_70 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What runner-up has 1925 as the year?" }, { "from": "gpt", "value": "SELECT runner_up FROM table_name_6 WHERE year = \"1925\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What year has John Davies as the runner-up, with warren humphreys as the winner?" }, { "from": "gpt", "value": "SELECT year FROM table_name_3 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (nationality VARCHAR, goals VARCHAR)" }, { "from": "human", "value": "What country is the player who scored 27 goals from?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_71 WHERE goals = 27" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (years VARCHAR, goals VARCHAR)" }, { "from": "human", "value": "For the player that scored 27 goals, what years did he score them?" }, { "from": "gpt", "value": "SELECT years FROM table_name_62 WHERE goals = 27" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (finish VARCHAR, total INTEGER)" }, { "from": "human", "value": "In what place(s) did the player(s) with a total less than 282 finish?" }, { "from": "gpt", "value": "SELECT finish FROM table_name_33 WHERE total < 282" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "In what place did Nick Faldo, who had more than 284 points and a to par score of +5, finish?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (mandate_end VARCHAR, office VARCHAR, name_a VARCHAR)" }, { "from": "human", "value": "When did Prime Minister Agathe Uwilingiyimana's mandate end?" }, { "from": "gpt", "value": "SELECT mandate_end FROM table_name_44 WHERE offi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (power_output__kw_ VARCHAR, number_in_class VARCHAR)" }, { "from": "human", "value": "What is the power output for class 5?" }, { "from": "gpt", "value": "SELECT power_output__kw_ FROM table_name_29 WHERE number_in_class = 5" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (class VARCHAR, power_output__kw_ VARCHAR, number_in_class VARCHAR)" }, { "from": "human", "value": "Which class has a power output larger than 700 and a class of 48?" }, { "from": "gpt", "value": "SELECT class FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (week_8_oct_26 VARCHAR, week_7_oct_19 VARCHAR)" }, { "from": "human", "value": "What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7?" }, { "from": "gpt", "value": "SELECT week_8_oct_26 FROM table_name_44...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)" }, { "from": "human", "value": "What is the Week 1 result of Colorado State?" }, { "from": "gpt", "value": "SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = \"colorado state\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (incumbent VARCHAR, district VARCHAR)" }, { "from": "human", "value": "Who is the incumbent for the Colorado 4 district?" }, { "from": "gpt", "value": "SELECT incumbent FROM table_name_95 WHERE district = \"colorado 4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (district VARCHAR, party VARCHAR, results VARCHAR)" }, { "from": "human", "value": "What district is the incumbent Republican and the incumbent retired to run for governor democratic gain?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)" }, { "from": "human", "value": "In Colorado 6 district what is the party?" }, { "from": "gpt", "value": "SELECT party FROM table_name_66 WHERE district = \"colorado 6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (tournament VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Which tournament had a clay surface and a score of 6–1, 3–6, 6–2?" }, { "from": "gpt", "value": "SELECT tournament FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "How many days had a score of 4–6, 4–6?" }, { "from": "gpt", "value": "SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = \"4–6, 4–6\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (to_par VARCHAR, year_won VARCHAR)" }, { "from": "human", "value": "What was the To Par of Tiger Woods who won in 1988?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_85 WHERE year_won = 1988" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the team sites entry for Microsoft Sharepoint?" }, { "from": "gpt", "value": "SELECT team_sites FROM table_name_59 WHERE name = \"microsoft sharepoint\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR)" }, { "from": "human", "value": "If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?" }, { "from": "gpt", "value": "SELECT extranet FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR)" }, { "from": "human", "value": "What is the team sites entry that has a public entry of No and a developer entry of Yes?" }, { "from": "gpt", "value": "SELECT team_sites ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR)" }, { "from": "human", "value": "What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?" }, { "from": "gpt...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR)" }, { "from": "human", "value": "What is the name of the entry that has a developer entry of Yes and a personal sites entry of No?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR)" }, { "from": "human", "value": "What Line has Ohakune Junction as its NIMT?" }, { "from": "gpt", "value": "SELECT line_name FROM table_name_90 WHERE nimt_junction = \"ohakune junction...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (line_name VARCHAR, terminus VARCHAR)" }, { "from": "human", "value": "What line has Newmarket Junction terminus?" }, { "from": "gpt", "value": "SELECT line_name FROM table_name_4 WHERE terminus = \"newmarket junction\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR)" }, { "from": "human", "value": "What terminus is 3.5km in lenght?" }, { "from": "gpt", "value": "SELECT terminus FROM table_name_37 WHERE length = \"3.5km\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)" }, { "from": "human", "value": "What line has Junction of Huntly NIMT" }, { "from": "gpt", "value": "SELECT line_name FROM table_name_7 WHERE nimt_junction = \"huntly\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (final INTEGER, all_around VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the average final with an all around greater than 19.35 and a total over 40?" }, { "from": "gpt", "value": "SELECT AVG(final) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the place of the player with £140,000 and a 68-68-75-68=279 score?" }, { "from": "gpt", "value": "SELECT place FROM table_name_66 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (country VARCHAR, place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the country of player stuart appleby, who has a t1 place?" }, { "from": "gpt", "value": "SELECT country FROM table_name_61 WHERE place = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (place VARCHAR, money___£__ VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the place of player sergio garcía, who has £77,500?" }, { "from": "gpt", "value": "SELECT place FROM table_name_45 WHERE money___£__ ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the to par of the player with a 73-70-70-65=278 score?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR)" }, { "from": "human", "value": "Who is the player with £140,000?" }, { "from": "gpt", "value": "SELECT player FROM table_name_97 WHERE money___£__ = \"140,000\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is Date, when Time is \"56.49\"?" }, { "from": "gpt", "value": "SELECT date FROM table_name_90 WHERE time = \"56.49\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (event VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Event, when Date is \"19 December 2009\"?" }, { "from": "gpt", "value": "SELECT event FROM table_name_6 WHERE date = \"19 december 2009\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (time VARCHAR, meet VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Time, when Meet is \"Duel in the Pool\", and when Date is \"19 December 2009\"?" }, { "from": "gpt", "value": "SELECT time FROM table_name_62 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR)" }, { "from": "human", "value": "What is the Location, when Event is \"100m Butterfly\"?" }, { "from": "gpt", "value": "SELECT location FROM table_name_72 WHERE event = \"100m butterfly\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (date VARCHAR, time VARCHAR, meet VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is Date, when Meet is \"World Championships\", when Nationality is \"United States\", and when Time is \"1:46.68\"?" }, { "from":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (event VARCHAR, meet VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is Event, when Meet is \"World Championships\", and when Time is \"20.51\"?" }, { "from": "gpt", "value": "SELECT event FROM table_name_41 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)" }, { "from": "human", "value": "What is the highest number of households with a median household income of $31,176, and a population of 25,607?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (median_household_income VARCHAR, county VARCHAR)" }, { "from": "human", "value": "What is the median household income for Cape Girardeau?" }, { "from": "gpt", "value": "SELECT median_household_income FROM table_name_68 WHERE c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR)" }, { "from": "human", "value": "Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR)" }, { "from": "human", "value": "What is the Cover Date of the Story Title Spacehikers (Part 2)?" }, { "from": "gpt", "value": "SELECT cover_date FROM table_name_59 WHERE story_title = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR)" }, { "from": "human", "value": "What is the Story Title that has Albers as the Letterer?" }, { "from": "gpt", "value": "SELECT story_title FROM table_name_60 WHERE letterer_s = \"alber...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR)" }, { "from": "human", "value": "Who are the drivers with 133 laps in OC class?" }, { "from": "gpt", "value": "SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = \"oc\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR)" }, { "from": "human", "value": "What are the most laps for the Qual position of 7 in the OC class?" }, { "from": "gpt", "value": "SELECT MAX(laps) FROM table_name_62 WHERE class ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR)" }, { "from": "human", "value": "What are Perkins Engineering's fewest laps?" }, { "from": "gpt", "value": "SELECT MIN(laps) FROM table_name_17 WHERE team = \"perkins engineering\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR)" }, { "from": "human", "value": "Which class has a Qual position of 30?" }, { "from": "gpt", "value": "SELECT class FROM table_name_48 WHERE qual_pos = 30" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)" }, { "from": "human", "value": "What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn mone...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR)" }, { "from": "human", "value": "What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What Developer has a Release date of 2010-12-16, and a Title of facebook?" }, { "from": "gpt", "value": "SELECT developer FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (title VARCHAR, version VARCHAR)" }, { "from": "human", "value": "What Title has a Version of 1.0.0.3?" }, { "from": "gpt", "value": "SELECT title FROM table_name_83 WHERE version = \"1.0.0.3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What Version has a Title of alarm clock?" }, { "from": "gpt", "value": "SELECT version FROM table_name_77 WHERE title = \"alarm clock\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What Version has a Developer of dino games, and a Title of metronome?" }, { "from": "gpt", "value": "SELECT version FROM table_name_34 WHERE d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (venue VARCHAR, opposing_teams VARCHAR)" }, { "from": "human", "value": "Where did Wales play?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_39 WHERE opposing_teams = \"wales\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What venue has 19 against?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_47 WHERE against = 19" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)" }, { "from": "human", "value": "Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?" }, { "from": "gpt", "value": "SELECT a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)" }, { "from": "human", "value": "What is the most current year signed for separation of † and a separation year of 1997?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (chinese_name VARCHAR, english_name VARCHAR)" }, { "from": "human", "value": "What is the Chinese name for the English name Andy Lau?" }, { "from": "gpt", "value": "SELECT chinese_name FROM table_name_58 WHERE english_name = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (year_separated VARCHAR, reason_for_separation VARCHAR, english_name VARCHAR)" }, { "from": "human", "value": "What year was Wilfred Lau separated because Capital stopped recording music?" }, { "from": "gpt", "value": "SELECT y...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (english_name VARCHAR, year_signed VARCHAR, chinese_name VARCHAR)" }, { "from": "human", "value": "What is the English name for the Chinese name of 蘇永康 later than 1974?" }, { "from": "gpt", "value": "SELECT english_name FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR)" }, { "from": "human", "value": "What was the signed year for the Chinese name 蘇永康 who separated in 1987?" }, { "from": "gpt", "value": "SELECT year_signed FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR)" }, { "from": "human", "value": "WHAT IS THE SITE ON OCTOBER 7?" }, { "from": "gpt", "value": "SELECT site FROM table_name_44 WHERE date = \"october 7\"" } ]
know_sql
chosen