conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_18161217_2 (launch_date VARCHAR, cospar_id VARCHAR)" }, { "from": "human", "value": "What was the launch date the satellite with cospar ID is 2008-033A?" }, { "from": "gpt", "value": "SELECT launch_date FROM table_18161217_2 WHERE cosp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18161217_2 (cospar_id VARCHAR, satellite VARCHAR)" }, { "from": "human", "value": "What it the international designation for the kosmos 2379 satellite?" }, { "from": "gpt", "value": "SELECT cospar_id FROM table_18161217_2 WHERE satelli...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)" }, { "from": "human", "value": "What is the estimated end date for the 2001-037a international designated satellite?" }, { "from": "gpt", "valu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18159601_1 (city VARCHAR, charter_date VARCHAR)" }, { "from": "human", "value": "in which city was charter date december 4, 2011" }, { "from": "gpt", "value": "SELECT city FROM table_18159601_1 WHERE charter_date = \"December 4, 2011\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18159601_1 (greek_designation VARCHAR, city VARCHAR)" }, { "from": "human", "value": "how mnay greek designation in tampa" }, { "from": "gpt", "value": "SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = \"Tampa\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)" }, { "from": "human", "value": "what is the status in vestal" }, { "from": "gpt", "value": "SELECT status FROM table_18159601_1 WHERE city = \"Vestal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18159601_1 (collegiate_institution VARCHAR, city VARCHAR)" }, { "from": "human", "value": "what is the collegiate institution in queens" }, { "from": "gpt", "value": "SELECT collegiate_institution FROM table_18159601_1 WHERE city = \"Q...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)" }, { "from": "human", "value": "What was the original title of Run for Money?" }, { "from": "gpt", "value": "SELECT original_title FROM table_18162883_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18173916_6 (tuesday VARCHAR, thursday VARCHAR)" }, { "from": "human", "value": "What was the Tuesday episode if theThursday episode was 196 Buried?" }, { "from": "gpt", "value": "SELECT tuesday FROM table_18173916_6 WHERE thursday = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)" }, { "from": "human", "value": "How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?" }, { "from": "gpt", "value": "SELECT COUNT(friday) FROM table_1817...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)" }, { "from": "human", "value": "How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday?" }, { "from": "gpt", "value": "SELECT COUNT(friday) FROM table_18173...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)" }, { "from": "human", "value": "What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?" }, { "from": "gpt", "value": "SELECT episodes FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)" }, { "from": "human", "value": "When the average away attendance is 1.889 in the Superettan, what's the average home attendance?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR)" }, { "from": "human", "value": "In which season was the average league attendance 2.572?" }, { "from": "gpt", "value": "SELECT MAX(season) FROM table_1816947_2 WHERE averag...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1816947_2 (division___section VARCHAR, season VARCHAR)" }, { "from": "human", "value": "In which division did they compete in 2012?" }, { "from": "gpt", "value": "SELECT division___section FROM table_1816947_2 WHERE season = 2012" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)" }, { "from": "human", "value": "When the home attendance is 3.123, what's the highest away attendance?" }, { "from": "gpt", "value": "SELECT highest_attendan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR)" }, { "from": "human", "value": "Which division has an average home attendance of 2.459?" }, { "from": "gpt", "value": "SELECT division___section FROM table_181694...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_181892_4 (speed_rank VARCHAR, car_number VARCHAR)" }, { "from": "human", "value": "How many years was he car number 92?" }, { "from": "gpt", "value": "SELECT COUNT(speed_rank) FROM table_181892_4 WHERE car_number = 92" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "How many years was the chassis a lotus-ford 38/7?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_181892_4 WHERE chassis = \"Lotus-Ford 38/7\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_181892_4 (race_status VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "What was the race status(es) with the lotus-ford 38/1 chassis?" }, { "from": "gpt", "value": "SELECT race_status FROM table_181892_4 WHERE chassis = \"Lot...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR)" }, { "from": "human", "value": "What year(s) was the race status piston?" }, { "from": "gpt", "value": "SELECT year FROM table_181892_4 WHERE race_status = \"Piston\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_181892_4 (laps_led INTEGER, chassis VARCHAR)" }, { "from": "human", "value": "What is the largest laps led with the lotus-ford 34/3 chassis?" }, { "from": "gpt", "value": "SELECT MAX(laps_led) FROM table_181892_4 WHERE chassis = \"Lotu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818254_1 (population INTEGER, city VARCHAR)" }, { "from": "human", "value": "What was the population of Minneapolis in 2012?" }, { "from": "gpt", "value": "SELECT MAX(population) FROM table_1818254_1 WHERE city = \"Minneapolis\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818254_1 (burglary VARCHAR, violent_crime VARCHAR)" }, { "from": "human", "value": "How many burglaries occurred in the city where the violent crime rate was 974.7?" }, { "from": "gpt", "value": "SELECT burglary FROM table_1818254_1 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818254_1 (violent_crime VARCHAR, robbery VARCHAR)" }, { "from": "human", "value": "What was the violent crime rate in the city where the robbery rate was 201.4?" }, { "from": "gpt", "value": "SELECT violent_crime FROM table_1818254_1 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818254_1 (property_crime VARCHAR, burglary VARCHAR)" }, { "from": "human", "value": "How many cities were there in 2012 where the rate of burglary was 224.8?" }, { "from": "gpt", "value": "SELECT COUNT(property_crime) FROM table_18182...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)" }, { "from": "human", "value": "What is every value when Mitchell is 676?" }, { "from": "gpt", "value": "SELECT value FROM table_1818471_1 WHERE mitchell = 676" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR)" }, { "from": "human", "value": "How many different numbers for Afinsa when value is 5p?" }, { "from": "gpt", "value": "SELECT COUNT(afinsa) FROM table_1818471_1 WHERE value = \"5P\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818471_1 (scott VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is every entry for Scott when the date is (15.12)?" }, { "from": "gpt", "value": "SELECT scott FROM table_1818471_1 WHERE date = \"(15.12)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)" }, { "from": "human", "value": "What is every species when Afinsa is 639?" }, { "from": "gpt", "value": "SELECT species FROM table_1818471_1 WHERE afinsa = 639" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR)" }, { "from": "human", "value": "How many orders when the species is Pavo Cristatus?" }, { "from": "gpt", "value": "SELECT COUNT(order) FROM table_1818471_1 WHERE species = \"Pavo cristatus\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR)" }, { "from": "human", "value": "If the distance is 55.7, what is the name of the constellation?" }, { "from": "gpt", "value": "SELECT constellation FROM table_1820752_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)" }, { "from": "human", "value": "If the spectral type is g1v, what is the total distance amount?" }, { "from": "gpt", "value": "SELECT COUNT(distance___ly__) FROM table_1820752...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)" }, { "from": "human", "value": "What is the hd designation for arrival date of February 2070?" }, { "from": "gpt", "value": "SELECT COUNT(hd_designation) FROM table_1820752_1 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (spectral_type VARCHAR, constellation VARCHAR)" }, { "from": "human", "value": "If the constellation is Gemini, what is the spectral type?" }, { "from": "gpt", "value": "SELECT spectral_type FROM table_1820752_1 WHERE constel...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)" }, { "from": "human", "value": "If the arrival date is January 2059, what is the total amount of signal power?" }, { "from": "gpt", "value": "SELECT COUNT(signal_power___kw...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)" }, { "from": "human", "value": "If the spectral type is g1v, what is the constellation?" }, { "from": "gpt", "value": "SELECT constellation FROM table_1820752_1 WHERE spectral_t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR)" }, { "from": "human", "value": "List the total numbers of Evian Masters tournaments. " }, { "from": "gpt", "value": "SELECT MAX(no) FROM table_18198579_2 WHERE tournament = \"Evian Masters\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18217753_1 (original_air_date VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "What is the original air date of season 9?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_18217753_1 WHERE season__numb...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Who were the writers when there were 27.11 million viewers?" }, { "from": "gpt", "value": "SELECT written_by FROM table_18217753_1 WHERE us...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18217753_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many series had viewers totaling 23.93 million?" }, { "from": "gpt", "value": "SELECT COUNT(series__number) FROM table_18217753_1 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many original air dates totaled 26.06 million viewers?" }, { "from": "gpt", "value": "SELECT COUNT(original_air_date) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What is the title when 18.58 u.s. viewers (millions) watched?" }, { "from": "gpt", "value": "SELECT title FROM table_18217741_1 WHERE us_viewer...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)" }, { "from": "human", "value": "How many digital terrestrial channels are there for channel 4?" }, { "from": "gpt", "value": "SELECT COUNT(digital_terrestrial_channel) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)" }, { "from": "human", "value": "What is the channel that is on digital terrestrial channel 10?" }, { "from": "gpt", "value": "SELECT channel FROM table_182410_10 WHERE d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)" }, { "from": "human", "value": "What is the digital terrestria channel number for itv3?" }, { "from": "gpt", "value": "SELECT digital_terrestrial_channel FROM table_1824...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)" }, { "from": "human", "value": "What is the position of digital channel 5 44 (+1)?" }, { "from": "gpt", "value": "SELECT position FROM table_182410_10 WHERE digital_ter...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)" }, { "from": "human", "value": "where pageant is elite model look and year is bigger than 1993.0, who is the delegate?" }, { "from": "gpt", "value": "SELECT delegate FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)" }, { "from": "human", "value": "How many years was the pageant miss globe international and delegate was karen loren medrano agustin?" }, { "from": "gpt", "value": "SELECT C...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "How many pageants were in san fernando, pampanga?" }, { "from": "gpt", "value": "SELECT COUNT(pageant) FROM table_1825751_14 WHERE hometown = \"San Fernand...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR)" }, { "from": "human", "value": "How many pageants were margaret ann awitan bayot the delegate of?" }, { "from": "gpt", "value": "SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR)" }, { "from": "human", "value": "How many awards did milagros gutierrez win?" }, { "from": "gpt", "value": "SELECT other_awards FROM table_1825751_14 WHERE delegate = \"Milagros Gutie...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)" }, { "from": "human", "value": "Where is the miss global teen?" }, { "from": "gpt", "value": "SELECT hometown FROM table_1825751_14 WHERE pageant = \"Miss Global Teen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182499_1 (substrate VARCHAR, enzyme VARCHAR)" }, { "from": "human", "value": "what is the subtrate for enzyme ala dehydratase" }, { "from": "gpt", "value": "SELECT substrate FROM table_182499_1 WHERE enzyme = \"ALA dehydratase\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182499_1 (porphyria VARCHAR, substrate VARCHAR)" }, { "from": "human", "value": "how many porphyria have substrate δ-aminolevulinic acid" }, { "from": "gpt", "value": "SELECT COUNT(porphyria) FROM table_182499_1 WHERE substrate = \"δ-A...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)" }, { "from": "human", "value": "give the location of subtrate coproporphyrinogen iii" }, { "from": "gpt", "value": "SELECT location FROM table_182499_1 WHERE substrate = \"Coproporphyrino...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Who were the authors of episode having production code 3t7573?" }, { "from": "gpt", "value": "SELECT written_by FROM table_18274425_1 WHERE prod...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "How many episodes had a viewership of 2.65 million?" }, { "from": "gpt", "value": "SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "Who were the director/s of episodes written by Mike Daniels?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_18274425_1 WHERE written_by...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)" }, { "from": "human", "value": "How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)" }, { "from": "human", "value": "Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?" }, { "from": "gpt", "value": "SELECT second_runn...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)" }, { "from": "human", "value": "Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?" }, { "f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)" }, { "from": "human", "value": "How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)" }, { "from": "human", "value": "Who is the second runner up when Janina San Miguel won binibining pilipinas-world?" }, { "from": "gpt", "value": "SELECT COUNT(se...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR)" }, { "from": "human", "value": "When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18268930_1 (population_served INTEGER)" }, { "from": "human", "value": "What's the minimal number of population served?" }, { "from": "gpt", "value": "SELECT MIN(population_served) FROM table_18268930_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18268930_1 (partner VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Who's the partner at Tamara, Hon?" }, { "from": "gpt", "value": "SELECT partner FROM table_18268930_1 WHERE location = \"Tamara, HON\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1827900_1 (votes_khuzestan INTEGER, _percentage_of_votes_khuzestan VARCHAR)" }, { "from": "human", "value": "How many votes Khuzestan were there when the percentage was 34.50?" }, { "from": "gpt", "value": "SELECT MIN(votes_khuzestan) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)" }, { "from": "human", "value": "How many figures for votes Khuzestan were there when the percentage was 34.50?" }, { "from": "gpt", "value": "SELECT COUNT(vot...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR)" }, { "from": "human", "value": "What was the percentage of national votes for Mahmoud Ahmadinejad?" }, { "from": "gpt", "value": "SELECT _percentage_of_votes_nati...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)" }, { "from": "human", "value": "Name the revenue for eps being 8.9" }, { "from": "gpt", "value": "SELECT revenue__£million_ FROM table_18304259_1 WHERE earnings_p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR)" }, { "from": "human", "value": "Name the total number of year to april for ebit being 24.5" }, { "from": "gpt", "value": "SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE eb...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304259_1 (earnings_per_share__p_ VARCHAR, net_profit__£m_ VARCHAR)" }, { "from": "human", "value": "Name the eps for net profit being 39.2" }, { "from": "gpt", "value": "SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR)" }, { "from": "human", "value": "Name the ebit for eps being 10.6" }, { "from": "gpt", "value": "SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = \"10....
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "What are the population densities of all communes with an are of 28.3 sq.km.?" }, { "from": "gpt", "value": "SELECT pop_density__km_2__ FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "What commune has an area of 12.4 sq.km.?" }, { "from": "gpt", "value": "SELECT commune FROM table_1828368_1 WHERE area__km_2__ = \"12.4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18299148_1 (city VARCHAR, resolution VARCHAR)" }, { "from": "human", "value": "Which city has a resolution that is negotiated exile in Austria?" }, { "from": "gpt", "value": "SELECT city FROM table_18299148_1 WHERE resolution = \"Negot...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)" }, { "from": "human", "value": "How many missions countries have notability with president of burundi?" }, { "from": "gpt", "value": "SELECT COUNT(Missions) AS country FROM table_18299...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304058_2 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR)" }, { "from": "human", "value": "What is the nickname of the team whose 2013/2014 enrollment is 436? " }, { "from": "gpt", "value": "SELECT nickname_s_ FROM table_18304058_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR)" }, { "from": "human", "value": "What is the name of the team from the Elverado Trico school in football? " }, { "from": "gpt", "value": "SELECT team_name FROM table_18304...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR)" }, { "from": "human", "value": "How many years of kindergarten is provided in Ticino?" }, { "from": "gpt", "value": "SELECT years_of_kindergarten AS provided FROM table_1831309...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831309_1 (length_of_mandatory_secondary_school INTEGER)" }, { "from": "human", "value": "What is the longest length of mandatory secondary school?" }, { "from": "gpt", "value": "SELECT MAX(length_of_mandatory_secondary_school) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR)" }, { "from": "human", "value": "Who wrote the story that is cover date 19 October 1985?" }, { "from": "gpt", "value": "SELECT writer_s FROM table_18305523_2 WHERE cover_date = \"19 Oct...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR)" }, { "from": "human", "value": "How many cover dates does the story \"Devastation Derby! (part 1)\" have?" }, { "from": "gpt", "value": "SELECT COUNT(cover_date) FROM table_18305523...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18305523_2 (comments VARCHAR, cover_date VARCHAR)" }, { "from": "human", "value": "What is the comment on the issue dated 14 March 1987?" }, { "from": "gpt", "value": "SELECT comments FROM table_18305523_2 WHERE cover_date = \"14 March...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18305523_2 (story_title VARCHAR, artist_s VARCHAR)" }, { "from": "human", "value": "What is the title of the issue where the art was done by Barry Kitson and Farmer?" }, { "from": "gpt", "value": "SELECT story_title FROM table_18305523...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18305523_1 (_number INTEGER)" }, { "from": "human", "value": "What is the minimum number which is for title The Enemy Within part 1?" }, { "from": "gpt", "value": "SELECT MIN(_number) FROM table_18305523_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831262_2 (hydroxymatairesinol VARCHAR, sesamin VARCHAR)" }, { "from": "human", "value": "what is the number of hydroxymatairesinol where sesamin is 62724?" }, { "from": "gpt", "value": "SELECT hydroxymatairesinol FROM table_1831262_2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR)" }, { "from": "human", "value": "what is the total number of sesamin were secoisolariciresinol is 240?" }, { "from": "gpt", "value": "SELECT sesamin FROM table_1831262_2 WHERE s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831262_2 (pinoresinol INTEGER, foodstuff VARCHAR)" }, { "from": "human", "value": "what is the maximum number of pinorinol in wheat bran?" }, { "from": "gpt", "value": "SELECT MAX(pinoresinol) FROM table_1831262_2 WHERE foodstuff = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831262_2 (sesamin VARCHAR, foodstuff VARCHAR)" }, { "from": "human", "value": "how much sesamin is in sesame seed?" }, { "from": "gpt", "value": "SELECT sesamin FROM table_1831262_2 WHERE foodstuff = \"Sesame seed\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1831262_2 (lariciresinol INTEGER, matairesinol VARCHAR)" }, { "from": "human", "value": "what is the minimum number is lariciresinol where matairesinol number is 440?" }, { "from": "gpt", "value": "SELECT MIN(lariciresinol) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR)" }, { "from": "human", "value": "What was the calling for the 18.42 arrival time?" }, { "from": "gpt", "value": "SELECT calling_at FROM table_18332845_2 WHERE arrival = \"18.42\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (arrival VARCHAR, calling_at VARCHAR)" }, { "from": "human", "value": "What was the arrival for Wansford, Peterborough East?" }, { "from": "gpt", "value": "SELECT arrival FROM table_18332845_2 WHERE calling_at = \"Wansford, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (departure VARCHAR, arrival VARCHAR)" }, { "from": "human", "value": "What was the departure time when the arrival was 14.40?" }, { "from": "gpt", "value": "SELECT departure FROM table_18332845_2 WHERE arrival = \"14.40\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)" }, { "from": "human", "value": "What is the departure for Peterborough East whose arrival time is 12.40?" }, { "from": "gpt", "value": "SELECT departure FROM table_1833...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (calling_at VARCHAR, departure VARCHAR)" }, { "from": "human", "value": "What is the calling at for the 09.50 departure?" }, { "from": "gpt", "value": "SELECT calling_at FROM table_18332845_2 WHERE departure = \"09.50\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR)" }, { "from": "human", "value": "Where is the train going to when departing at 20.35?" }, { "from": "gpt", "value": "SELECT going_to FROM table_18332845_2 WHERE departure = \"20.35\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18317531_1 (player VARCHAR)" }, { "from": "human", "value": "Name the 3 dart average for michael van gerwen" }, { "from": "gpt", "value": "SELECT 3 AS _dart_average FROM table_18317531_1 WHERE player = \"Michael van Gerwen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR)" }, { "from": "human", "value": "how many callings of trains arriving at 09.06" }, { "from": "gpt", "value": "SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = \"09.06\"" ...
know_sql
chosen