conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_99 (result VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the result of the game with a score of 3-2?" }, { "from": "gpt", "value": "SELECT result FROM table_name_99 WHERE score = \"3-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (score VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "What was the score of the 2014 World Cup Qualification?" }, { "from": "gpt", "value": "SELECT score FROM table_name_91 WHERE competition = \"2014 world cup q...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the result of the game with a score of 4-1?" }, { "from": "gpt", "value": "SELECT result FROM table_name_65 WHERE score = \"4-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (venue VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What venue held with game with a score of 3-2?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_42 WHERE score = \"3-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (date VARCHAR, centerfold_model VARCHAR)" }, { "from": "human", "value": "When has a Centerfold model of krista kelly?" }, { "from": "gpt", "value": "SELECT date FROM table_name_20 WHERE centerfold_model = \"krista kelly\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (cover_model VARCHAR)" }, { "from": "human", "value": "Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)?" }, { "from": "gpt", "value": "SELECT 20 AS _questions FROM table_name_60 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (centerfold_model VARCHAR, date VARCHAR)" }, { "from": "human", "value": "When Centerfold model is on 3-04?" }, { "from": "gpt", "value": "SELECT centerfold_model FROM table_name_80 WHERE date = \"3-04\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (cover_model VARCHAR, centerfold_model VARCHAR)" }, { "from": "human", "value": "Which Cover model has a Centerfold model of scarlett keegan?" }, { "from": "gpt", "value": "SELECT cover_model FROM table_name_22 WHERE centerfold...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (date VARCHAR, centerfold_model VARCHAR)" }, { "from": "human", "value": "When has a Centerfold model of pilar lastra?" }, { "from": "gpt", "value": "SELECT date FROM table_name_95 WHERE centerfold_model = \"pilar lastra\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (share INTEGER, air_date VARCHAR, viewers VARCHAR)" }, { "from": "human", "value": "What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15?" }, { "from": "gpt", "value": "SELECT MIN(share) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (team_s_ INTEGER, top_goalscorer_s_ VARCHAR, champion VARCHAR)" }, { "from": "human", "value": "What is the lowest team (s) that have tvmk as top scorer (s) and flora as the champion?" }, { "from": "gpt", "value": "SELECT MIN(t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (round VARCHAR, opposition VARCHAR)" }, { "from": "human", "value": "What round had the opponent Lyon?" }, { "from": "gpt", "value": "SELECT round FROM table_name_1 WHERE opposition = \"lyon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Who has the first leg that has a round in the semi-final?" }, { "from": "gpt", "value": "SELECT first_leg FROM table_name_53 WHERE round = \"semi-final\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (most_laps_led VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)" }, { "from": "human", "value": "What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti?" }, { "from": "gpt", "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (winning_driver VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)" }, { "from": "human", "value": "Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is HΓ©lio Castroneves?" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (winning_team VARCHAR, most_laps_led VARCHAR)" }, { "from": "human", "value": "What is Winning Team, when Most Laps Led is Alex Tagliani?" }, { "from": "gpt", "value": "SELECT winning_team FROM table_name_21 WHERE most_laps_led...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)" }, { "from": "human", "value": "What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)" }, { "from": "human", "value": "What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "Who was the Winner when the Runner-up was Real Salt Lake?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_20 WHERE runner_up = \"real salt lake\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (season VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "During which Season was the tournament in progress?" }, { "from": "gpt", "value": "SELECT season FROM table_name_64 WHERE runner_up = \"tournament in progress...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (score VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "What was the Score during the Season in which the Winner was C.F. Atlante?" }, { "from": "gpt", "value": "SELECT score FROM table_name_15 WHERE winner = \"c.f. at...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (score VARCHAR, losing_semifinalists VARCHAR)" }, { "from": "human", "value": "What was the Score when the Losing Semifinalists were Toluca Unam?" }, { "from": "gpt", "value": "SELECT score FROM table_name_88 WHERE losing_semif...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (laws_against_homosexuality VARCHAR, penalty VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What law has a penalty of β€” in Iraq?" }, { "from": "gpt", "value": "SELECT laws_against_homosexuality FROM table_name_90 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (laws_against_homosexuality VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What are the laws against homosexuality in Malaysia?" }, { "from": "gpt", "value": "SELECT laws_against_homosexuality FROM table_name_34 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (events INTEGER, top_25 VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the average Events when the top-25 is 12 and there are less than 0 wins?" }, { "from": "gpt", "value": "SELECT AVG(events) FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (events INTEGER, wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR)" }, { "from": "human", "value": "What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the average Top-10 when there were 17 cuts made with less than 0 wins?" }, { "from": "gpt", "value": "SELECT AVG(top_10) FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (cuts_made INTEGER, events INTEGER)" }, { "from": "human", "value": "What is the sum of Cuts made when there were more than 72 events?" }, { "from": "gpt", "value": "SELECT SUM(cuts_made) FROM table_name_95 WHERE events > 72" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR)" }, { "from": "human", "value": "What is the average Top-5 for the open championship, and a Top-10 smaller than 2?" }, { "from": "gpt", "value": "SELECT AVG(top_5) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (original_airing VARCHAR, rating VARCHAR, episode_number_production_number VARCHAR)" }, { "from": "human", "value": "What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09?" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (total_viewers__in_millions_ INTEGER, episode_number_production_number VARCHAR)" }, { "from": "human", "value": "What was the fewest number of viewers for the episode production number of 109 5-22?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (first_aligned_day VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the First Aligned date in 1614?" }, { "from": "gpt", "value": "SELECT first_aligned_day FROM table_name_67 WHERE date = \"1614\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (_number_of_airlines VARCHAR, distance__km_ VARCHAR)" }, { "from": "human", "value": "How many Airlines have a total distance of 705 (km)?" }, { "from": "gpt", "value": "SELECT COUNT(_number_of_airlines) FROM table_name_76 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (team_1 VARCHAR)" }, { "from": "human", "value": "What is the 1st leg result when team 1 is Gambia?" }, { "from": "gpt", "value": "SELECT 1 AS st_leg FROM table_name_10 WHERE team_1 = \"gambia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (team_2 VARCHAR)" }, { "from": "human", "value": "What is the 2nd leg result when team 2 is Morocco?" }, { "from": "gpt", "value": "SELECT 2 AS nd_leg FROM table_name_16 WHERE team_2 = \"morocco\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which Name was in the Year 2001?" }, { "from": "gpt", "value": "SELECT name FROM table_name_32 WHERE year = \"2001\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Name had a Rank of 18 Out of a number smaller than 149?" }, { "from": "gpt", "value": "SELECT name FROM table_name_31 WHERE out_of < 149 AND ra...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (name VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Name had the Rank, 15?" }, { "from": "gpt", "value": "SELECT name FROM table_name_54 WHERE rank = 15" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR)" }, { "from": "human", "value": "What is the lowest Rank for the Name, \"area of permanent crops\", Out of a number smaller than 181?" }, { "from": "gpt", "value": "SELECT MIN(rank) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (name VARCHAR, out_of VARCHAR, source VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (team VARCHAR, coach VARCHAR, captain VARCHAR)" }, { "from": "human", "value": "Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain?" }, { "from": "gpt", "value": "SELECT team FROM table_name_88 WHERE coach = \"ma...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (city VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Which City has the Bahawalpur Stags Team?" }, { "from": "gpt", "value": "SELECT city FROM table_name_98 WHERE team = \"bahawalpur stags\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who is the opponent of the December 18, 1994 game?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_90 WHERE date = \"december 18, 1994\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (artist VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Artist with a Date that is june 1979?" }, { "from": "gpt", "value": "SELECT artist FROM table_name_48 WHERE date = \"june 1979\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (writer VARCHAR, actual_title VARCHAR)" }, { "from": "human", "value": "What is the Writer with an Actual Title that is mork & mindy?" }, { "from": "gpt", "value": "SELECT writer FROM table_name_8 WHERE actual_title = \"mork & m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Writer with a Date that is january 1975?" }, { "from": "gpt", "value": "SELECT writer FROM table_name_63 WHERE date = \"january 1975\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What is the smallest played amount when there are 2 draws and an against of more than 73?" }, { "from": "gpt", "value": "SELECT MIN(played) FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (episodes INTEGER, premiere VARCHAR)" }, { "from": "human", "value": "What is the earliest season with a premiere of february5,2007?" }, { "from": "gpt", "value": "SELECT MIN(episodes) FROM table_name_90 WHERE premiere = \"febr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (premiere VARCHAR, episodes INTEGER)" }, { "from": "human", "value": "Which premiere had more than 15 episodes?" }, { "from": "gpt", "value": "SELECT premiere FROM table_name_36 WHERE episodes > 15" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who had the highest rebounds of the game on April 7?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_15 WHERE date = \"april 7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Result, when Date is 2003?" }, { "from": "gpt", "value": "SELECT result FROM table_name_80 WHERE date = \"2003\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Record, when Date is 1996?" }, { "from": "gpt", "value": "SELECT record FROM table_name_45 WHERE date = \"1996\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Notes, when Date is 2007?" }, { "from": "gpt", "value": "SELECT notes FROM table_name_9 WHERE date = \"2007\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What is the highest Round, when the Opponent is Junior Pitbull?" }, { "from": "gpt", "value": "SELECT MAX(round) FROM table_name_28 WHERE opponent = \"junior pi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR, method VARCHAR)" }, { "from": "human", "value": "What is Date, when Result is Loss, and when Method is Submission (Armbar)?" }, { "from": "gpt", "value": "SELECT date FROM table_name_8 WHERE result...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR)" }, { "from": "human", "value": "What is the Coombe Road time with a Selsdon evening peak?" }, { "from": "gpt", "value": "SELECT coombe_road FROM table_name_17 WHERE selsdon = \"evening pe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (woodside VARCHAR, coombe_road VARCHAR)" }, { "from": "human", "value": "What is the Woodside for the 16:19 Coombe Road?" }, { "from": "gpt", "value": "SELECT woodside FROM table_name_81 WHERE coombe_road = \"16:19\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (elmers_end VARCHAR, bingham_road VARCHAR)" }, { "from": "human", "value": "What is the Elmers End with a 09:54 Bingham Road?" }, { "from": "gpt", "value": "SELECT elmers_end FROM table_name_65 WHERE bingham_road = \"09:54\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (coombe_road VARCHAR, woodside VARCHAR)" }, { "from": "human", "value": "What is the Coombe Road with a Woodside time of 07:23?" }, { "from": "gpt", "value": "SELECT coombe_road FROM table_name_14 WHERE woodside = \"07:23\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (elmers_end VARCHAR, selsdon VARCHAR)" }, { "from": "human", "value": "What is the Elmers End with a 17:57 Selsdon time?" }, { "from": "gpt", "value": "SELECT elmers_end FROM table_name_30 WHERE selsdon = \"17:57\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (selsdon VARCHAR, coombe_road VARCHAR)" }, { "from": "human", "value": "What is the Selsdon for the 17:19 Coombe Road?" }, { "from": "gpt", "value": "SELECT selsdon FROM table_name_14 WHERE coombe_road = \"17:19\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (wins INTEGER, losses INTEGER)" }, { "from": "human", "value": "What is the highest win for losses less than 2?" }, { "from": "gpt", "value": "SELECT MAX(wins) FROM table_name_65 WHERE losses < 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What is the average Byes for the losses of 15, and before 1874?" }, { "from": "gpt", "value": "SELECT AVG(byes) FROM table_name_46 WHERE losses = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the sum of against in Ballarat FL of East Point and wins less than 16?" }, { "from": "gpt", "value": "SELECT SUM(against) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (school VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "What is the School with a Pick that is 24?" }, { "from": "gpt", "value": "SELECT school FROM table_name_99 WHERE pick = 24" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the Team with a Player that is david cooper?" }, { "from": "gpt", "value": "SELECT team FROM table_name_86 WHERE player = \"david cooper\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (_2007 VARCHAR, visitors INTEGER, type VARCHAR)" }, { "from": "human", "value": "How many visitors in 2007 were there for ski jumping hill?" }, { "from": "gpt", "value": "SELECT SUM(visitors), _2007 FROM table_name_10 WHERE typ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4?" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (games VARCHAR, rank VARCHAR, rebounds VARCHAR)" }, { "from": "human", "value": "What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102?" }, { "from": "gpt", "value": "SELECT COUNT(games...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)" }, { "from": "human", "value": "What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?" }, { "from": "gpt", "value": "SELECT MIN(games) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (rebounds INTEGER, team VARCHAR, games VARCHAR)" }, { "from": "human", "value": "What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14?" }, { "from": "gpt", "value": "SELECT SUM(rebounds...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, games VARCHAR)" }, { "from": "human", "value": "What is the highest Rank, when Name is Travis Watson, and when Games is less than 14?" }, { "from": "gpt", "value": "SELECT MAX(rank) FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (status VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is Status, when Location is Russia?" }, { "from": "gpt", "value": "SELECT status FROM table_name_69 WHERE location = \"russia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus?" }, { "from": "gpt", "value": "SELECT authors FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (name VARCHAR, authors VARCHAR)" }, { "from": "human", "value": "What is Name, when Authors are Kammerer & Sidor?" }, { "from": "gpt", "value": "SELECT name FROM table_name_51 WHERE authors = \"kammerer & sidor\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (name VARCHAR, location VARCHAR, novelty VARCHAR)" }, { "from": "human", "value": "What is Name, when Location is Tanzania, and when Novelty is Gen Nov?" }, { "from": "gpt", "value": "SELECT name FROM table_name_88 WHERE locati...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (name VARCHAR, novelty VARCHAR, location VARCHAR, status VARCHAR, authors VARCHAR)" }, { "from": "human", "value": "What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov?" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (t568a_color VARCHAR, t568b_color VARCHAR)" }, { "from": "human", "value": "What is the T568A color for the cable with a white/orange stripe T568B color?" }, { "from": "gpt", "value": "SELECT t568a_color FROM table_name_44 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Date with an Opponent that is flavia pennetta?" }, { "from": "gpt", "value": "SELECT date FROM table_name_53 WHERE opponent = \"flavia pennetta\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Score with an Opponent that is flavia pennetta?" }, { "from": "gpt", "value": "SELECT score FROM table_name_55 WHERE opponent = \"flavia pennetta\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Opponent with a Score that is 2–6, 6–4, 3–6?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_39 WHERE score = \"2–6, 6–4, 3–6\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (outcome VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Outcome with a Date that is may 5, 2012?" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_49 WHERE date = \"may 5, 2012\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Outcome with an Opponent that is jelena janković?" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_85 WHERE opponent = \"jelena janko...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Tournament with a Score that is 2–6, 6–4, 3–6?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_55 WHERE score = \"2–6, 6–4, 3–6\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Which week was on November 13, 1955 when the attendance was over 33,982?" }, { "from": "gpt", "value": "SELECT COUNT(week) FROM table_name_57 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR)" }, { "from": "human", "value": "What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?" }, { "from": "gpt", "value": "SELECT japanese_name FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR)" }, { "from": "human", "value": "What is the Hanja/Kanji of the Province with a Kana of けゅうせいほくどう?" }, { "from": "gpt", "value": "SELECT hanja___kanji FROM table_name_10 WHERE kana = \"けゅうせ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)" }, { "from": "human", "value": "What is the Kana of the Province with a Korean name of Chungcheong-Namdo?" }, { "from": "gpt", "value": "SELECT kana FROM table_name_2 WHERE korean_name = \"ch...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR)" }, { "from": "human", "value": "What is the Hangul of the Province with a Kana of へいあんγͺんどう?" }, { "from": "gpt", "value": "SELECT hangul FROM table_name_48 WHERE kana = \"へいあんγͺんどう\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR)" }, { "from": "human", "value": "What is the Hangul of the Province with a Kana of けゅうせいγͺんどう?" }, { "from": "gpt", "value": "SELECT hangul FROM table_name_3 WHERE kana = \"けゅうせいγͺんどう\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (hanja___kanji VARCHAR, korean_name VARCHAR)" }, { "from": "human", "value": "What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo?" }, { "from": "gpt", "value": "SELECT hanja___kanji FROM table_name_5...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR)" }, { "from": "human", "value": "What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?" }, { "from": "gpt", "value": "SELECT oct FROM table_name_94 WHERE nov = \"51/30\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR)" }, { "from": "human", "value": "What were the Feb temperatures in East Stroudsburg?" }, { "from": "gpt", "value": "SELECT feb FROM table_name_63 WHERE city = \"east stroudsburg\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR)" }, { "from": "human", "value": "What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?" }, { "from": "gpt", "value": "SELECT SUM(c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)" }, { "from": "human", "value": "What regular season did the team reach the conference semifinals in the playoffs?" }, { "from": "gpt", "value": "SELECT regular_season FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)" }, { "from": "human", "value": "When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR)" }, { "from": "human", "value": "What division was the regular season 5th, Northeast?" }, { "from": "gpt", "value": "SELECT division FROM table_name_97 WHERE regular_season = \"5th, no...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the result when Jam Hsiao was nominated in 2012?" }, { "from": "gpt", "value": "SELECT result FROM table_name_36 WHERE nomination = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)" }, { "from": "human", "value": "Which award is in the category of best music video?" }, { "from": "gpt", "value": "SELECT award FROM table_name_55 WHERE category = \"best music video\"" } ]
know_sql
chosen