conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (overall VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What was the overall record for the Pandas in the 2003-04 season? " }, { "from": "gpt", "value": "SELECT overall FROM table_27069503_2 WHERE season = \"2003-...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (conf_record VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "What was the conference record in the season where the Pandas had an overall record of 33-4-1?" }, { "from": "gpt", "value": "SELECT conf_record FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (coach VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "Who was the coach of the Pandas when their overall record was 20-6-2?" }, { "from": "gpt", "value": "SELECT coach FROM table_27069503_2 WHERE overall = \"20-6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (conf_record VARCHAR, standings VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What was the conference record for the Pandas when they were first in the standings in the 2003-04 season? " }, { "from": "gpt", "valu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (overall VARCHAR, conf_record VARCHAR)" }, { "from": "human", "value": "What was the overall record for the Pandas when their conference record was 4-1-1? " }, { "from": "gpt", "value": "SELECT overall FROM table_27069503_2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27069503_2 (season VARCHAR, conf_record VARCHAR)" }, { "from": "human", "value": "In what season was the conference record for the Pandas 15-1-1? " }, { "from": "gpt", "value": "SELECT season FROM table_27069503_2 WHERE conf_record = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27075510_1 (original_artist VARCHAR, week__number VARCHAR)" }, { "from": "human", "value": "how many times is the week # is audition?" }, { "from": "gpt", "value": "SELECT COUNT(original_artist) FROM table_27075510_1 WHERE week__number...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27081956_1 (episode VARCHAR, series_no VARCHAR)" }, { "from": "human", "value": "How many episodes are numbered 14 in the series?" }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_27081956_1 WHERE series_no = 14" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2709_4 (format VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "What is the format of 105.5 fm?" }, { "from": "gpt", "value": "SELECT format FROM table_2709_4 WHERE frequency = \"105.5 FM\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2709_4 (target_city__market VARCHAR, call_sign VARCHAR)" }, { "from": "human", "value": "What is the market for KLRJ?" }, { "from": "gpt", "value": "SELECT target_city__market FROM table_2709_4 WHERE call_sign = \"KLRJ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2709_4 (format VARCHAR, owner VARCHAR)" }, { "from": "human", "value": "What is the format for the station owned by Dakota Broadcasting?" }, { "from": "gpt", "value": "SELECT format FROM table_2709_4 WHERE owner = \"Dakota Broadcasting...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27091128_2 (team VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "What team's manager was replaced by Ercan Ertemçöz?" }, { "from": "gpt", "value": "SELECT team FROM table_27091128_2 WHERE replaced_by = \"Ercan Ertemçöz\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)" }, { "from": "human", "value": "What was the date of appointment for the manager replacing Kadir Özcan?" }, { "from": "gpt", "value": "SELECT date_of_appointment FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27091128_2 (replaced_by VARCHAR, date_of_appointment VARCHAR)" }, { "from": "human", "value": "Which manager was appointed on 08.06.2010?" }, { "from": "gpt", "value": "SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27091128_2 (replaced_by VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who replaced the previous manager of Altay?" }, { "from": "gpt", "value": "SELECT replaced_by FROM table_27091128_2 WHERE team = \"Altay\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27091128_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)" }, { "from": "human", "value": "What was date of appointment for Ergün Penbe? " }, { "from": "gpt", "value": "SELECT date_of_appointment FROM table_27091128_2 WHERE replace...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27094070_4 (overall_total INTEGER, team VARCHAR)" }, { "from": "human", "value": "What is the overall total for the Omaha Nighthawks?" }, { "from": "gpt", "value": "SELECT MIN(overall_total) FROM table_27094070_4 WHERE team = \"Omaha N...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27094070_4 (team VARCHAR, home_avg VARCHAR)" }, { "from": "human", "value": "Which team has the home average of 18125?" }, { "from": "gpt", "value": "SELECT team FROM table_27094070_4 WHERE home_avg = 18125" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27094070_4 (home_total INTEGER)" }, { "from": "human", "value": "What was the highest home total?" }, { "from": "gpt", "value": "SELECT MAX(home_total) FROM table_27094070_4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27094070_4 (overall_gms VARCHAR, overall_avg VARCHAR)" }, { "from": "human", "value": "How many games had an average of 12796?" }, { "from": "gpt", "value": "SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR)" }, { "from": "human", "value": "Who was the stage winner of the letua cycling team on stage 2? " }, { "from": "gpt", "value": "SELECT stage AS winner FROM table_27112708_2 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27112708_2 (mountains_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which mountains classification is listed under stage 3?" }, { "from": "gpt", "value": "SELECT mountains_classification FROM table_27112708_2 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27112708_2 (general_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Who is listed under general classification on stage 4?" }, { "from": "gpt", "value": "SELECT general_classification FROM table_27112708_2 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27117365_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "Who wrote the episodes with 7.70 u.s. viewers (million) ?" }, { "from": "gpt", "value": "SELECT written_by FROM table_27117365_1 WHERE us_vi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "What original air date has 5.85 u.s. viewers (million)?" }, { "from": "gpt", "value": "SELECT original_air_date FROM table_27117365_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27117365_1 (title VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "What's the title in the number 10 in the season?" }, { "from": "gpt", "value": "SELECT title FROM table_27117365_1 WHERE no_in_season = 10" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)" }, { "from": "human", "value": "If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?" }, { "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)" }, { "from": "human", "value": "If the incoming head coach is Carlos Azenha, what is the date of vacancy?" }, { "from": "gpt", "value": "SELECT date_of_vacancy FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27133147_3 (date_of_appointment VARCHAR, team VARCHAR)" }, { "from": "human", "value": "If the team is união de leiria, what is the date of appointment?" }, { "from": "gpt", "value": "SELECT date_of_appointment FROM table_27133147_3 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27146868_1 (Id VARCHAR)" }, { "from": "human", "value": "What is 2003 when 1999 is 2.1?" }, { "from": "gpt", "value": "SELECT 2003 FROM table_27146868_1 WHERE 1999 = \"2.1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27146868_1 (Id VARCHAR)" }, { "from": "human", "value": "What is 2010 when 2003 is 5.6?" }, { "from": "gpt", "value": "SELECT 2010 FROM table_27146868_1 WHERE 2003 = \"5.6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27146868_1 (greek_national_account VARCHAR)" }, { "from": "human", "value": "What is the greek national account when 1997 is 6.1?" }, { "from": "gpt", "value": "SELECT greek_national_account FROM table_27146868_1 WHERE 1997 = \"6.1\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27146868_1 (Id VARCHAR)" }, { "from": "human", "value": "What is 2006 when 1997 is 6.8?" }, { "from": "gpt", "value": "SELECT 2006 FROM table_27146868_1 WHERE 1997 = \"6.8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27146868_1 (Id VARCHAR)" }, { "from": "human", "value": "What is 2002 when 2009 is 54.0?" }, { "from": "gpt", "value": "SELECT 2002 FROM table_27146868_1 WHERE 2009 = \"54.0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27132791_3 (pro_team VARCHAR, position VARCHAR, nfl_team VARCHAR)" }, { "from": "human", "value": "If the NFL team is the Houston Oilers and the position is DT, who is the Pro team?" }, { "from": "gpt", "value": "SELECT pro_team FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27132791_3 (player VARCHAR, nfl_team VARCHAR)" }, { "from": "human", "value": "How many different players does the Washington Redskins have?" }, { "from": "gpt", "value": "SELECT COUNT(player) FROM table_27132791_3 WHERE nfl_team = \"W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)" }, { "from": "human", "value": "If the college is Vanderbilt, what is the position?" }, { "from": "gpt", "value": "SELECT position FROM table_27132791_3 WHERE college = \"Vanderbilt\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27132791_3 (position VARCHAR, pro_team VARCHAR)" }, { "from": "human", "value": "If the proteam is Jacksonville bulls, what is the position?" }, { "from": "gpt", "value": "SELECT position FROM table_27132791_3 WHERE pro_team = \"Jackso...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)" }, { "from": "human", "value": "If the college is SMU, what is the position?" }, { "from": "gpt", "value": "SELECT position FROM table_27132791_3 WHERE college = \"SMU\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27116696_1 (written_by VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "Who wrote the episode with the production code of 3t7255?" }, { "from": "gpt", "value": "SELECT written_by FROM table_27116696_1 WHERE production...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27116696_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?" }, { "from": "gpt", "value": "SELECT us_viewers__mill...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27116696_1 (production_code VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What is the total number of production code listings of episodes written by Matthew Lau?" }, { "from": "gpt", "value": "SELECT COUNT(production_c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2715355_1 (total_prize_pool VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What was the prize pool in New Orleans?" }, { "from": "gpt", "value": "SELECT total_prize_pool FROM table_2715355_1 WHERE location = \"New Orleans\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2715355_1 (winners VARCHAR, entrants VARCHAR)" }, { "from": "human", "value": "How many prizes were available in the competition where 696 people entered?" }, { "from": "gpt", "value": "SELECT COUNT(winners) AS Prize FROM table_2715355...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155678_2 (accession_number VARCHAR, genus_species VARCHAR)" }, { "from": "human", "value": "Name the accession number for rhodopseudomonas palustris" }, { "from": "gpt", "value": "SELECT accession_number FROM table_27155678_2 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155678_2 (genus_species VARCHAR, accession_number VARCHAR)" }, { "from": "human", "value": "Name the genus/species of accession number bx897699.1" }, { "from": "gpt", "value": "SELECT genus_species FROM table_27155678_2 WHERE accessi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155678_2 (accession_number VARCHAR, sequence_similarity VARCHAR)" }, { "from": "human", "value": "Name the accession number for sequence similarity being 54" }, { "from": "gpt", "value": "SELECT accession_number FROM table_27155678_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155678_2 (gene_name VARCHAR, genus_species VARCHAR)" }, { "from": "human", "value": "Name the gene name for methylobacterium nodulans" }, { "from": "gpt", "value": "SELECT gene_name FROM table_27155678_2 WHERE genus_species = \"Methy...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)" }, { "from": "human", "value": "Name the gene name for accession number bx897700.1" }, { "from": "gpt", "value": "SELECT gene_name FROM table_27155678_2 WHERE accession_number =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155990_1 (_percentage_funded INTEGER, closing_date VARCHAR)" }, { "from": "human", "value": "What was the minimum % funded of the project that was closed on 2012-05-18?" }, { "from": "gpt", "value": "SELECT MIN(_percentage_funded) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155990_1 (total_usd INTEGER, creator VARCHAR)" }, { "from": "human", "value": "What was the maximum total USD collected by Pebble Technology?" }, { "from": "gpt", "value": "SELECT MAX(total_usd) FROM table_27155990_1 WHERE creator = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)" }, { "from": "human", "value": "What was the category of the project name Mighty No. 9?" }, { "from": "gpt", "value": "SELECT category FROM table_27155990_1 WHERE project_name = \"Mi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27155990_1 (rank VARCHAR, project_name VARCHAR)" }, { "from": "human", "value": "Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times?" }, { "from": "gpt", "value": "SELECT COUNT(rank) FROM table_27155990...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27170987_5 (league_apps VARCHAR, total_goals VARCHAR)" }, { "from": "human", "value": "How many league apps did the player with 11 team goals have?" }, { "from": "gpt", "value": "SELECT league_apps FROM table_27170987_5 WHERE total_goa...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27170987_5 (total_goals INTEGER, league_goals VARCHAR)" }, { "from": "human", "value": "What is the lowest number of total goals for a player with 6 league goals?" }, { "from": "gpt", "value": "SELECT MIN(total_goals) FROM table_271709...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27170987_5 (fa_cup_goals INTEGER)" }, { "from": "human", "value": "What is the lowest number of fa cup goals by a player?" }, { "from": "gpt", "value": "SELECT MIN(fa_cup_goals) FROM table_27170987_5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27169029_1 (written_by VARCHAR, original_air_date VARCHAR)" }, { "from": "human", "value": "Who wrote the episode that aired on September 26, 2010?" }, { "from": "gpt", "value": "SELECT written_by FROM table_27169029_1 WHERE original_a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27184837_1 (asia VARCHAR, programs VARCHAR)" }, { "from": "human", "value": "How many radio stations were built in Asia?" }, { "from": "gpt", "value": "SELECT asia FROM table_27184837_1 WHERE programs = \"Radio Stations\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27184837_1 (asia VARCHAR, americas VARCHAR)" }, { "from": "human", "value": "How many program data on Asia was written if the organization launched 14 programs iin the Americas?" }, { "from": "gpt", "value": "SELECT COUNT(asia) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27184837_1 (australasia VARCHAR, americas VARCHAR)" }, { "from": "human", "value": "How many times did Australasia received a program if the Americas received 115 program?" }, { "from": "gpt", "value": "SELECT COUNT(australasia) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series VARCHAR, series_no VARCHAR)" }, { "from": "human", "value": "What is every ep...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27208311_1 (episode VARCHAR, writer VARCHAR)" }, { "from": "human", "value": "What is every episode with Barry Purchese as the writer?" }, { "from": "gpt", "value": "SELECT episode FROM table_27208311_1 WHERE writer = \"Barry Purchese\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR)" }, { "from": "human", "value": "Name the number of episodes for sam snape" }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = \"Sam Snape\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_272313_1 (aspect_ratio VARCHAR, vertical VARCHAR, pixel_aspect_ratio VARCHAR)" }, { "from": "human", "value": "What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_272313_1 (vertical INTEGER, aspect_ratio VARCHAR, scanning VARCHAR)" }, { "from": "human", "value": "What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_272313_1 (vertical INTEGER, horizontal VARCHAR)" }, { "from": "human", "value": "What was the maximum vertical measurement if the horizon measurement is 640?" }, { "from": "gpt", "value": "SELECT MAX(vertical) FROM table_272313_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)" }, { "from": "human", "value": "Name the outgoing manager for mutual consent and position 16th" }, { "from": "gpt", "value": "SELECT outgoin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27225944_3 (replaced_by VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the replaced by for slaven belupo" }, { "from": "gpt", "value": "SELECT replaced_by FROM table_27225944_3 WHERE team = \"Slaven Belupo\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the number of outgoing manager for rijeka" }, { "from": "gpt", "value": "SELECT COUNT(outgoing_manager) FROM table_27225944_3 WHERE team = \"Rije...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_272313_2 (horizontal INTEGER, pixel_aspect_ratio VARCHAR)" }, { "from": "human", "value": "Name the least horizontal for smpte 259m three quarters" }, { "from": "gpt", "value": "SELECT MIN(horizontal) FROM table_272313_2 WHERE pixel_as...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_272313_2 (aspect_ratio VARCHAR, pixel_aspect_ratio VARCHAR, scanning VARCHAR)" }, { "from": "human", "value": "Name the aspect ratio for smpte 259m and interlaced scanning" }, { "from": "gpt", "value": "SELECT aspect_ratio FROM table_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27218002_2 (originalairdate VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "What date did the episode that was written by Fintan Ryan originally air?" }, { "from": "gpt", "value": "SELECT originalairdate FROM table_272180...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27218002_2 (originalairdate VARCHAR, ratings VARCHAR)" }, { "from": "human", "value": "What date did the epiode that had 1.37 million as the rating originally air?" }, { "from": "gpt", "value": "SELECT originalairdate FROM table_272180...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27250813_1 (title VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "What is the title of the episode no. 16 by season?" }, { "from": "gpt", "value": "SELECT title FROM table_27250813_1 WHERE no_in_season = 16" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "How many times did an episode with a production code of 12003 was aired?" }, { "from": "gpt", "value": "SELECT COUNT(original_air_date) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2724704_5 (color_analyst_s_ VARCHAR, studio_analyst_s_ VARCHAR, tv_rating VARCHAR)" }, { "from": "human", "value": "Name the color analyst for terry bowden and 17.2" }, { "from": "gpt", "value": "SELECT color_analyst_s_ FROM table_2724...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2724704_5 (bowl VARCHAR, studio_analyst_s_ VARCHAR)" }, { "from": "human", "value": "Name the number of bowl for lee corso, gene chizik and chip kelly" }, { "from": "gpt", "value": "SELECT COUNT(bowl) FROM table_2724704_5 WHERE studio_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2724704_5 (studio_analyst_s_ VARCHAR, network_s_ VARCHAR, sideline_reporter_s_ VARCHAR)" }, { "from": "human", "value": "Name the studio analysts for espn with erin andrews and tom rinaldi" }, { "from": "gpt", "value": "SELECT studio_a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27255755_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What is the highest series number with 9.17 million US viewers?" }, { "from": "gpt", "value": "SELECT MAX(no_in_series) FROM table_272557...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR)" }, { "from": "human", "value": "name the podiums for start of 22" }, { "from": "gpt", "value": "SELECT podiums FROM table_2725949_6 WHERE starts = 22" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR)" }, { "from": "human", "value": "Name the number of poles for fastest laps being 6" }, { "from": "gpt", "value": "SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR)" }, { "from": "human", "value": "Name the least podiums for 2009" }, { "from": "gpt", "value": "SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2725949_6 (starts VARCHAR, season VARCHAR)" }, { "from": "human", "value": "Name the starts for 2009" }, { "from": "gpt", "value": "SELECT starts FROM table_2725949_6 WHERE season = 2009" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR)" }, { "from": "human", "value": "Name the most starts for 6 wins" }, { "from": "gpt", "value": "SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27268238_5 (matches VARCHAR, wickets VARCHAR)" }, { "from": "human", "value": "How many matches were wickets 16?" }, { "from": "gpt", "value": "SELECT COUNT(matches) FROM table_27268238_5 WHERE wickets = 16" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27268238_5 (wickets INTEGER)" }, { "from": "human", "value": "What is the lowest wickets?" }, { "from": "gpt", "value": "SELECT MIN(wickets) FROM table_27268238_5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27268238_5 (economy VARCHAR)" }, { "from": "human", "value": "What is the 4wi when the economy is 7.82?" }, { "from": "gpt", "value": "SELECT 4 AS wi FROM table_27268238_5 WHERE economy = \"7.82\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27268238_5 (player VARCHAR, bbi VARCHAR)" }, { "from": "human", "value": "Who is the player when the bbi is 5/27?" }, { "from": "gpt", "value": "SELECT player FROM table_27268238_5 WHERE bbi = \"5/27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR)" }, { "from": "human", "value": "What is the team when the economy is 5.73?" }, { "from": "gpt", "value": "SELECT team FROM table_27268238_5 WHERE economy = \"5.73\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR)" }, { "from": "human", "value": "When Denizli was the province, what was the total number of valid votes?" }, { "from": "gpt", "value": "SELECT COUNT(valid_votes) FROM table_27274222_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27274222_2 (province VARCHAR, turnout___percentage_ VARCHAR)" }, { "from": "human", "value": "What province had a turnout of 54.09%?" }, { "from": "gpt", "value": "SELECT province FROM table_27274222_2 WHERE turnout___percentage_ = \"5...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR)" }, { "from": "human", "value": "What is the model number for the order part numbered tmrm75dam22gg?" }, { "from": "gpt", "value": "SELECT model_number FROM table_27277284_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_28 (order_part_number VARCHAR, mult_1 VARCHAR)" }, { "from": "human", "value": "What is the oder part number for the model with 10x mult. 1?" }, { "from": "gpt", "value": "SELECT order_part_number FROM table_27277284_28 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR)" }, { "from": "human", "value": "How much ht does the model with 10x mult. 1 have?" }, { "from": "gpt", "value": "SELECT ht FROM table_27277284_28 WHERE mult_1 = \"10x\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_28 (ht VARCHAR, release_date VARCHAR)" }, { "from": "human", "value": "What's the ht for the model released on June 4, 2008?" }, { "from": "gpt", "value": "SELECT ht FROM table_27277284_28 WHERE release_date = \"June 4, 2008\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27279050_1 (poles VARCHAR, points VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "How many pole position achieved 0 points from Mexico?" }, { "from": "gpt", "value": "SELECT COUNT(poles) FROM table_27279050_1 WHERE points = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_8 (v_core VARCHAR, mult_1 VARCHAR)" }, { "from": "human", "value": "Name the vcore for multi 11x" }, { "from": "gpt", "value": "SELECT v_core FROM table_27277284_8 WHERE mult_1 = \"11x\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR)" }, { "from": "human", "value": "Name the number of v core for model number mobile athlon 64 3000+" }, { "from": "gpt", "value": "SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27293285_4 (points_for VARCHAR)" }, { "from": "human", "value": "Name the total number of points for for played" }, { "from": "gpt", "value": "SELECT COUNT(points_for) FROM table_27293285_4 WHERE \"played\" = \"played\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_27293285_4 (points VARCHAR, tries_for VARCHAR)" }, { "from": "human", "value": "Name the total number of points for 46 tries for" }, { "from": "gpt", "value": "SELECT COUNT(points) FROM table_27293285_4 WHERE tries_for = \"46\"" } ]
know_sql
chosen