context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) | SELECT election_date FROM table_26362472_1 WHERE province = "Albacete" | What are the election date for elections held in the province of Albacete? | <s>[INST]What are the election date for elections held in the province of Albacete? Context: CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR)[/INST]SELECT election_date FROM table_26362472_1 WHERE province = "Albacete"</s> |
CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR) | SELECT enrollment FROM table_20887670_1 WHERE institution = "Central" | what is the number of enrollment of the central institution? | <s>[INST]what is the number of enrollment of the central institution? Context: CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)[/INST]SELECT enrollment FROM table_20887670_1 WHERE institution = "Central"</s> |
CREATE TABLE table_name_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT elevated FROM table_name_75 WHERE cardinalatial_order_and_title = "cardinal-deacon of s. giorgio in velabro" | When was Cardinal-Deacon of S. Giorgio in Velabro elevated? | <s>[INST]When was Cardinal-Deacon of S. Giorgio in Velabro elevated? Context: CREATE TABLE table_name_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)[/INST]SELECT elevated FROM table_name_75 WHERE cardinalatial_order_and_title = "cardinal-deacon of s. giorgio in velabro"</s> |
CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR) | SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)" | What was the result when home was fc luzern (asl)? | <s>[INST]What was the result when home was fc luzern (asl)? Context: CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR)[/INST]SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)"</s> |
CREATE TABLE table_name_45 (date VARCHAR, athlete VARCHAR, record VARCHAR) | SELECT date FROM table_name_45 WHERE athlete = "yelena isinbayeva" AND record = "4.90m(16ft0¾in)" | What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)? | <s>[INST]What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)? Context: CREATE TABLE table_name_45 (date VARCHAR, athlete VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE athlete = "yelena isinbayeva" AND record = "4.90m(16ft0¾in)"</s> |
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR) | SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal" | who else along with scott dixon and graham rahal drove with the most speed | <s>[INST]who else along with scott dixon and graham rahal drove with the most speed Context: CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)[/INST]SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal"</s> |
CREATE TABLE table_name_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR) | SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = "27%" | What's the TNS-Sofres when Ipsos was 27%? | <s>[INST]What's the TNS-Sofres when Ipsos was 27%? Context: CREATE TABLE table_name_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)[/INST]SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = "27%"</s> |
CREATE TABLE table_1341472_20 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341472_20 WHERE incumbent = "Richard Baker" | List all results in elections with Richard Baker as the incumbent. | <s>[INST]List all results in elections with Richard Baker as the incumbent. Context: CREATE TABLE table_1341472_20 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341472_20 WHERE incumbent = "Richard Baker"</s> |
CREATE TABLE table_name_6 (player VARCHAR, pick VARCHAR, college VARCHAR) | SELECT player FROM table_name_6 WHERE pick > 145 AND college = "wake forest" | Which player went to Wake Forest and was selected with a pick after 145? | <s>[INST]Which player went to Wake Forest and was selected with a pick after 145? Context: CREATE TABLE table_name_6 (player VARCHAR, pick VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_6 WHERE pick > 145 AND college = "wake forest"</s> |
CREATE TABLE table_name_97 (score VARCHAR, set_1 VARCHAR) | SELECT score FROM table_name_97 WHERE set_1 = "25–16" | Which Score has a Set 1 of 25–16? | <s>[INST]Which Score has a Set 1 of 25–16? Context: CREATE TABLE table_name_97 (score VARCHAR, set_1 VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE set_1 = "25–16"</s> |
CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Address_ID VARCHAR) | SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town | Show all cities along with the number of drama workshop groups in each city. | <s>[INST]Show all cities along with the number of drama workshop groups in each city. Context: CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Address_ID VARCHAR)[/INST]SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_I... |
CREATE TABLE table_name_88 (lner_1946_no VARCHAR, order_no VARCHAR) | SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24" | What is order S24's LNER 1946 number? | <s>[INST]What is order S24's LNER 1946 number? Context: CREATE TABLE table_name_88 (lner_1946_no VARCHAR, order_no VARCHAR)[/INST]SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24"</s> |
CREATE TABLE table_name_16 (date VARCHAR, wickets VARCHAR) | SELECT date FROM table_name_16 WHERE wickets = "chris gayle caught kapali" | Wickets of chris gayle caught kapali happened on what date? | <s>[INST]Wickets of chris gayle caught kapali happened on what date? Context: CREATE TABLE table_name_16 (date VARCHAR, wickets VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE wickets = "chris gayle caught kapali"</s> |
CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR) | SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31" | What kansas vs. that has w 2 as the current streak, and 31 as games played? | <s>[INST]What kansas vs. that has w 2 as the current streak, and 31 as games played? Context: CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)[/INST]SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31"</s> |
CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR) | SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area FROM table_17641314_3 WHERE school = "Eckstein" | Name the location for school eckstein | <s>[INST]Name the location for school eckstein Context: CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR)[/INST]SELECT location_denotes_location_of_school_by_seattle_neighborhood, _does_not_nec... |
CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR) | SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher" | Which state did Samuel Thatcher of the Federalist party represent? | <s>[INST]Which state did Samuel Thatcher of the Federalist party represent? Context: CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)[/INST]SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"</s> |
CREATE TABLE table_name_21 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_21 WHERE crowd > 6 OFFSET 000 | Which Away team score has a Crowd larger than 6,000? | <s>[INST]Which Away team score has a Crowd larger than 6,000? Context: CREATE TABLE table_name_21 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team AS score FROM table_name_21 WHERE crowd > 6 OFFSET 000</s> |
CREATE TABLE table_name_31 (digital_channel VARCHAR, network VARCHAR) | SELECT digital_channel FROM table_name_31 WHERE network = "nbc" | Network of nbc is what digital channel? | <s>[INST]Network of nbc is what digital channel? Context: CREATE TABLE table_name_31 (digital_channel VARCHAR, network VARCHAR)[/INST]SELECT digital_channel FROM table_name_31 WHERE network = "nbc"</s> |
CREATE TABLE table_name_64 (builder VARCHAR, number VARCHAR) | SELECT builder FROM table_name_64 WHERE number = 3 | Name the builder for number 3 | <s>[INST]Name the builder for number 3 Context: CREATE TABLE table_name_64 (builder VARCHAR, number VARCHAR)[/INST]SELECT builder FROM table_name_64 WHERE number = 3</s> |
CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR) | SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco" | What is the year of daylight service when the builder was Alco? | <s>[INST]What is the year of daylight service when the builder was Alco? Context: CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)[/INST]SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco"</s> |
CREATE TABLE climber (Points INTEGER, Country VARCHAR) | SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom" | What is the maximum point for climbers whose country is United Kingdom? | <s>[INST]What is the maximum point for climbers whose country is United Kingdom? Context: CREATE TABLE climber (Points INTEGER, Country VARCHAR)[/INST]SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom"</s> |
CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR) | SELECT COUNT(episode) FROM table_23575917_8 WHERE davids_team = "Vernon Kay and Dara Ó Briain" | How many shows did team David consist of vernon kay and dara ó briain | <s>[INST]How many shows did team David consist of vernon kay and dara ó briain Context: CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR)[/INST]SELECT COUNT(episode) FROM table_23575917_8 WHERE davids_team = "Vernon Kay and Dara Ó Briain"</s> |
CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR) | SELECT navigator FROM table_name_37 WHERE total_time = "08:29" | Which Navigator has a Total Time of 08:29? | <s>[INST]Which Navigator has a Total Time of 08:29? Context: CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR)[/INST]SELECT navigator FROM table_name_37 WHERE total_time = "08:29"</s> |
CREATE TABLE table_name_93 (d_47 VARCHAR, d_41 VARCHAR) | SELECT d_47 FROM table_name_93 WHERE d_41 = "r 36" | Name the D 47 when it has a D 41 of r 36 | <s>[INST]Name the D 47 when it has a D 41 of r 36 Context: CREATE TABLE table_name_93 (d_47 VARCHAR, d_41 VARCHAR)[/INST]SELECT d_47 FROM table_name_93 WHERE d_41 = "r 36"</s> |
CREATE TABLE table_name_19 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_19 WHERE opponent = "rochester royals" | What is Result, when Opponent is "Rochester Royals"? | <s>[INST]What is Result, when Opponent is "Rochester Royals"? Context: CREATE TABLE table_name_19 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_19 WHERE opponent = "rochester royals"</s> |
CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) | SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Mercer" | How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009? | <s>[INST]How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009? Context: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)[/INST]SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Mercer"... |
CREATE TABLE table_name_82 (points INTEGER, game INTEGER) | SELECT SUM(points) FROM table_name_82 WHERE game < 14 | How many points was before game 14? | <s>[INST]How many points was before game 14? Context: CREATE TABLE table_name_82 (points INTEGER, game INTEGER)[/INST]SELECT SUM(points) FROM table_name_82 WHERE game < 14</s> |
CREATE TABLE table_name_61 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR) | SELECT MAX(ngc_number) FROM table_name_61 WHERE object_type = "open cluster" AND right_ascension___j2000__ = "06h01m06s" | Which NGC number has an Object type of open cluster, and a Right ascension (J2000) of 06h01m06s? | <s>[INST]Which NGC number has an Object type of open cluster, and a Right ascension (J2000) of 06h01m06s? Context: CREATE TABLE table_name_61 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT MAX(ngc_number) FROM table_name_61 WHERE object_type = "open cluster" AND right_ascensio... |
CREATE TABLE table_name_99 (bronze INTEGER, total VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_99 WHERE total = 14 AND gold > 6 | What is the most bronze when the total is 14, and there are more than 6 gold? | <s>[INST]What is the most bronze when the total is 14, and there are more than 6 gold? Context: CREATE TABLE table_name_99 (bronze INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_99 WHERE total = 14 AND gold > 6</s> |
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn" | What team is travelling to play Hawthorn? | <s>[INST]What team is travelling to play Hawthorn? Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_88 WHERE team_1 = "us gorée" | What is the team 2 with a team 1 us gorée? | <s>[INST]What is the team 2 with a team 1 us gorée? Context: CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_88 WHERE team_1 = "us gorée"</s> |
CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR) | SELECT alpha_3_code FROM table_222771_1 WHERE alpha_2_code = "FO" | What is the Alpha 3 code for the area also known as FO? | <s>[INST]What is the Alpha 3 code for the area also known as FO? Context: CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR)[/INST]SELECT alpha_3_code FROM table_222771_1 WHERE alpha_2_code = "FO"</s> |
CREATE TABLE table_1908049_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_1908049_1 WHERE year = "1998/99" | in the year 1998/99 what was the league | <s>[INST]in the year 1998/99 what was the league Context: CREATE TABLE table_1908049_1 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_1908049_1 WHERE year = "1998/99"</s> |
CREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR) | SELECT aprende FROM table_name_35 WHERE centennial = "1988" | WHich kind of Aprende has a Centennial of 1988? | <s>[INST]WHich kind of Aprende has a Centennial of 1988? Context: CREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR)[/INST]SELECT aprende FROM table_name_35 WHERE centennial = "1988"</s> |
CREATE TABLE table_name_33 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_33 WHERE chassis = "alfa romeo 177" AND year < 1979 | Name the most points for years before 1979 and chassis of alfa romeo 177 | <s>[INST]Name the most points for years before 1979 and chassis of alfa romeo 177 Context: CREATE TABLE table_name_33 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_33 WHERE chassis = "alfa romeo 177" AND year < 1979</s> |
CREATE TABLE table_11206787_5 (average INTEGER) | SELECT MIN(average) FROM table_11206787_5 | What is the average? | <s>[INST]What is the average? Context: CREATE TABLE table_11206787_5 (average INTEGER)[/INST]SELECT MIN(average) FROM table_11206787_5</s> |
CREATE TABLE table_name_33 (report VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_33 WHERE winning_driver = "peter collins" AND circuit = "syracuse" | Which report has a Winning driver of peter collins, and a Circuit of syracuse? | <s>[INST]Which report has a Winning driver of peter collins, and a Circuit of syracuse? Context: CREATE TABLE table_name_33 (report VARCHAR, winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_33 WHERE winning_driver = "peter collins" AND circuit = "syracuse"</s> |
CREATE TABLE status (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR); CREATE TABLE station (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR) | SELECT AVG(bikes_available) FROM status WHERE NOT station_id IN (SELECT id FROM station WHERE city = "Palo Alto") | What is the average bike availability in stations that are not located in Palo Alto? | <s>[INST]What is the average bike availability in stations that are not located in Palo Alto? Context: CREATE TABLE status (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR); CREATE TABLE station (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR)[/INST]SELECT AVG(bikes_availabl... |
CREATE TABLE table_name_61 (plur_pres VARCHAR, past_part VARCHAR, inf_stem VARCHAR) | SELECT plur_pres FROM table_name_61 WHERE past_part = "e" AND inf_stem = "e" | What is the plural present that has a past participle of e and an infinitive stem of e? | <s>[INST]What is the plural present that has a past participle of e and an infinitive stem of e? Context: CREATE TABLE table_name_61 (plur_pres VARCHAR, past_part VARCHAR, inf_stem VARCHAR)[/INST]SELECT plur_pres FROM table_name_61 WHERE past_part = "e" AND inf_stem = "e"</s> |
CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT series FROM table_name_70 WHERE opponent = "@ new york rangers" AND date = "april 22" | Which Series has an Opponent of @ new york rangers, and a Date of april 22? | <s>[INST]Which Series has an Opponent of @ new york rangers, and a Date of april 22? Context: CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_70 WHERE opponent = "@ new york rangers" AND date = "april 22"</s> |
CREATE TABLE table_12232526_2 (hull_numbers INTEGER, ship_name VARCHAR) | SELECT MAX(hull_numbers) FROM table_12232526_2 WHERE ship_name = "KRI Yos Sudarso" | what is the maximum number of hull nunbers where ship name is kri yos sudarso? | <s>[INST]what is the maximum number of hull nunbers where ship name is kri yos sudarso? Context: CREATE TABLE table_12232526_2 (hull_numbers INTEGER, ship_name VARCHAR)[/INST]SELECT MAX(hull_numbers) FROM table_12232526_2 WHERE ship_name = "KRI Yos Sudarso"</s> |
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR) | SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300" | Name the location for trenton 300 | <s>[INST]Name the location for trenton 300 Context: CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)[/INST]SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300"</s> |
CREATE TABLE table_name_45 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_45 WHERE result = "1st" | Which venue has 1st as the result? | <s>[INST]Which venue has 1st as the result? Context: CREATE TABLE table_name_45 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_45 WHERE result = "1st"</s> |
CREATE TABLE table_2259502_2 (partner VARCHAR, year VARCHAR) | SELECT partner FROM table_2259502_2 WHERE year = 2012 | Who were the partners in 2012? | <s>[INST]Who were the partners in 2012? Context: CREATE TABLE table_2259502_2 (partner VARCHAR, year VARCHAR)[/INST]SELECT partner FROM table_2259502_2 WHERE year = 2012</s> |
CREATE TABLE table_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR) | SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685 | How many percentage figures are given for the urban population when the total population number is 14685? | <s>[INST]How many percentage figures are given for the urban population when the total population number is 14685? Context: CREATE TABLE table_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR)[/INST]SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685</s> |
CREATE TABLE table_16527640_2 (location VARCHAR, player VARCHAR) | SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill" | What locations did sid o'neill play football? | <s>[INST]What locations did sid o'neill play football? Context: CREATE TABLE table_16527640_2 (location VARCHAR, player VARCHAR)[/INST]SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill"</s> |
CREATE TABLE table_1776943_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_1776943_1 WHERE run_time = "24:04" | Name the archive where run time 24:04 | <s>[INST]Name the archive where run time 24:04 Context: CREATE TABLE table_1776943_1 (archive VARCHAR, run_time VARCHAR)[/INST]SELECT archive FROM table_1776943_1 WHERE run_time = "24:04"</s> |
CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) | SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.5 | What is the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5? | <s>[INST]What is the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5? Context: CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.5</s... |
CREATE TABLE table_203802_2 (english_party_name VARCHAR) | SELECT COUNT(2013 AS _parliamentary_election) FROM table_203802_2 WHERE english_party_name = "Center Alliance" | How many parties are named the Center Alliance | <s>[INST]How many parties are named the Center Alliance Context: CREATE TABLE table_203802_2 (english_party_name VARCHAR)[/INST]SELECT COUNT(2013 AS _parliamentary_election) FROM table_203802_2 WHERE english_party_name = "Center Alliance"</s> |
CREATE TABLE table_name_62 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_62 WHERE attendance = 41 OFFSET 604 | what is the week there were 41,604 people in attendance? | <s>[INST]what is the week there were 41,604 people in attendance? Context: CREATE TABLE table_name_62 (week INTEGER, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_62 WHERE attendance = 41 OFFSET 604</s> |
CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR) | SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80 | What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | <s>[INST]What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? Context: CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR)[/INST]SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80</s> |
CREATE TABLE table_name_4 (h___a VARCHAR, date VARCHAR) | SELECT h___a FROM table_name_4 WHERE date = "29 july 1992" | What was the H/A on 29 july 1992? | <s>[INST]What was the H/A on 29 july 1992? Context: CREATE TABLE table_name_4 (h___a VARCHAR, date VARCHAR)[/INST]SELECT h___a FROM table_name_4 WHERE date = "29 july 1992"</s> |
CREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281 | What is the Money of the Player with a Score of 69-71-69-72=281? | <s>[INST]What is the Money of the Player with a Score of 69-71-69-72=281? Context: CREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR)[/INST]SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281</s> |
CREATE TABLE table_name_63 (ends_lost INTEGER, shot__percentage VARCHAR, ends_won VARCHAR) | SELECT MAX(ends_lost) FROM table_name_63 WHERE shot__percentage > 78 AND ends_won < 38 | Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38? | <s>[INST]Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38? Context: CREATE TABLE table_name_63 (ends_lost INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)[/INST]SELECT MAX(ends_lost) FROM table_name_63 WHERE shot__percentage > 78 AND ends_won < 38</s> |
CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR) | SELECT genre FROM table_name_56 WHERE year_recorded = "1926" | What genre is the song recorded in 1926? | <s>[INST]What genre is the song recorded in 1926? Context: CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR)[/INST]SELECT genre FROM table_name_56 WHERE year_recorded = "1926"</s> |
CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, goals_against VARCHAR, losses VARCHAR) | SELECT MIN(wins) FROM table_name_17 WHERE goals_against < 39 AND losses > 2 AND ties > 0 | What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0? | <s>[INST]What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0? Context: CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, goals_against VARCHAR, losses VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_17 WHERE goals_against < 39 AND losses > 2 AND ties > 0</s> |
CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) | SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea" | Name the vessel type for dof subsea | <s>[INST]Name the vessel type for dof subsea Context: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR)[/INST]SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea"</s> |
CREATE TABLE table_1341604_11 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341604_11 WHERE incumbent = "Larry McDonald" | Name the districk for larry mcdonald | <s>[INST]Name the districk for larry mcdonald Context: CREATE TABLE table_1341604_11 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341604_11 WHERE incumbent = "Larry McDonald"</s> |
CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) | SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-ed programme host" | What is the organisation in 2011 that was nominated and the award of best info-ed programme host? | <s>[INST]What is the organisation in 2011 that was nominated and the award of best info-ed programme host? Context: CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-... |
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_87 WHERE player = "hunter mahan" | What is the to par of player hunter mahan? | <s>[INST]What is the to par of player hunter mahan? Context: CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_87 WHERE player = "hunter mahan"</s> |
CREATE TABLE table_name_84 (evening_gown INTEGER, interview VARCHAR, preliminaries VARCHAR) | SELECT SUM(evening_gown) FROM table_name_84 WHERE interview = 9.22 AND preliminaries > 9.057 | What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057? | <s>[INST]What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057? Context: CREATE TABLE table_name_84 (evening_gown INTEGER, interview VARCHAR, preliminaries VARCHAR)[/INST]SELECT SUM(evening_gown) FROM table_name_84 WHERE interview = 9.22 AND preliminaries > 9.057</... |
CREATE TABLE table_name_6 (pick__number INTEGER, college VARCHAR, round VARCHAR) | SELECT MIN(pick__number) FROM table_name_6 WHERE college = "louisville" AND round < 10 | What is the lowest Pick #, when College is "Louisville", and when Round is less than 10? | <s>[INST]What is the lowest Pick #, when College is "Louisville", and when Round is less than 10? Context: CREATE TABLE table_name_6 (pick__number INTEGER, college VARCHAR, round VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_6 WHERE college = "louisville" AND round < 10</s> |
CREATE TABLE table_name_38 (location VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT location FROM table_name_38 WHERE silver = "david mccann" AND gold = "morgan fox" | What location did david mccann receive a siver and morgan fox win the gold? | <s>[INST]What location did david mccann receive a siver and morgan fox win the gold? Context: CREATE TABLE table_name_38 (location VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT location FROM table_name_38 WHERE silver = "david mccann" AND gold = "morgan fox"</s> |
CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR) | SELECT team FROM table_23285805_5 WHERE date = "December 19" | Name the team for december 19 | <s>[INST]Name the team for december 19 Context: CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_23285805_5 WHERE date = "December 19"</s> |
CREATE TABLE table_name_99 (iata VARCHAR, country VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_99 WHERE country = "norway" AND icao = "ento" | What is th IATA for Norway with an ICAO of ENTO? | <s>[INST]What is th IATA for Norway with an ICAO of ENTO? Context: CREATE TABLE table_name_99 (iata VARCHAR, country VARCHAR, icao VARCHAR)[/INST]SELECT iata FROM table_name_99 WHERE country = "norway" AND icao = "ento"</s> |
CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld" | What company was the constructor when Nick Heidfeld was the driver/ | <s>[INST]What company was the constructor when Nick Heidfeld was the driver/ Context: CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld"</s> |
CREATE TABLE table_name_36 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_36 WHERE country = "belgium" | What is the Time of the Rowers from Belgium? | <s>[INST]What is the Time of the Rowers from Belgium? Context: CREATE TABLE table_name_36 (time VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_36 WHERE country = "belgium"</s> |
CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR) | SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball" | What is the capacity for b national - basketball? | <s>[INST]What is the capacity for b national - basketball? Context: CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)[/INST]SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball"</s> |
CREATE TABLE table_name_70 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_70 WHERE opponent_in_the_final = "martin spottl" | What is the Score of the Tournament with Opponent in the final of Martin Spottl? | <s>[INST]What is the Score of the Tournament with Opponent in the final of Martin Spottl? Context: CREATE TABLE table_name_70 (score VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_70 WHERE opponent_in_the_final = "martin spottl"</s> |
CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos" | Name the most pick number for cfl team being edmonton eskimos | <s>[INST]Name the most pick number for cfl team being edmonton eskimos Context: CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos"</s> |
CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp" | How many parties were represented for Charles R. Crisp? | <s>[INST]How many parties were represented for Charles R. Crisp? Context: CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"</s> |
CREATE TABLE Courses (Id VARCHAR) | SELECT COUNT(*) FROM Courses | How many courses in total are listed? | <s>[INST]How many courses in total are listed? Context: CREATE TABLE Courses (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Courses</s> |
CREATE TABLE table_name_30 (opponents_in_the_final VARCHAR, date VARCHAR) | SELECT opponents_in_the_final FROM table_name_30 WHERE date = "february 19, 1996" | Who are the opponents in the February 19, 1996 final? | <s>[INST]Who are the opponents in the February 19, 1996 final? Context: CREATE TABLE table_name_30 (opponents_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_30 WHERE date = "february 19, 1996"</s> |
CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR) | SELECT english FROM table_name_61 WHERE italian = "cavallo" | what is the english word for cavallo | <s>[INST]what is the english word for cavallo Context: CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR)[/INST]SELECT english FROM table_name_61 WHERE italian = "cavallo"</s> |
CREATE TABLE table_name_21 (date VARCHAR, rockets_score VARCHAR, game VARCHAR) | SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66 | Which Date has a Rockets score of 94, and a Game of 66? | <s>[INST]Which Date has a Rockets score of 94, and a Game of 66? Context: CREATE TABLE table_name_21 (date VARCHAR, rockets_score VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66</s> |
CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR) | SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013" | Tell me the score for international friendly 17 august 2013 | <s>[INST]Tell me the score for international friendly 17 august 2013 Context: CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013"</s> |
CREATE TABLE table_name_72 (final_episode VARCHAR, episodes_credited VARCHAR) | SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187 | What was the final episode credited of 187? | <s>[INST]What was the final episode credited of 187? Context: CREATE TABLE table_name_72 (final_episode VARCHAR, episodes_credited VARCHAR)[/INST]SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187</s> |
CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_18 WHERE pick__number = "108" | What is the position of the player with a Pick # of 108? | <s>[INST]What is the position of the player with a Pick # of 108? Context: CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_18 WHERE pick__number = "108"</s> |
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_57 WHERE date = "september 20" | What was the score in the September 20 game? | <s>[INST]What was the score in the September 20 game? Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE date = "september 20"</s> |
CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR) | SELECT SUM(first_elected) FROM table_name_66 WHERE result = "re-elected" AND district = "ohio 4" | In the Ohio 4 district, that is the first elected date that has a result of re-elected? | <s>[INST]In the Ohio 4 district, that is the first elected date that has a result of re-elected? Context: CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)[/INST]SELECT SUM(first_elected) FROM table_name_66 WHERE result = "re-elected" AND district = "ohio 4"</s> |
CREATE TABLE table_name_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR) | SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "1" | Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win? | <s>[INST]Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win? Context: CREATE TABLE table_name_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR)[/INST]SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins... |
CREATE TABLE table_name_54 (winner_and_score VARCHAR, week VARCHAR) | SELECT winner_and_score FROM table_name_54 WHERE week = "april 22" | Who is the winner and score during the week of April 22? | <s>[INST]Who is the winner and score during the week of April 22? Context: CREATE TABLE table_name_54 (winner_and_score VARCHAR, week VARCHAR)[/INST]SELECT winner_and_score FROM table_name_54 WHERE week = "april 22"</s> |
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_57 WHERE date = "june 13" | What is the record on June 13? | <s>[INST]What is the record on June 13? Context: CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE date = "june 13"</s> |
CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26" | What is the record for November 26, with the decision made by Prusek? | <s>[INST]What is the record for November 26, with the decision made by Prusek? Context: CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26"</s> |
CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR) | SELECT SUM(rank) FROM table_name_37 WHERE state = "alaska" AND mountain_peak = "mount chamberlin" | Where does Mount Chamberlin, located in Alaska, rank on the chart? | <s>[INST]Where does Mount Chamberlin, located in Alaska, rank on the chart? Context: CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_37 WHERE state = "alaska" AND mountain_peak = "mount chamberlin"</s> |
CREATE TABLE table_name_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR) | SELECT SUM(top_division_titles) FROM table_name_90 WHERE founded < 1975 AND location = "chaguaramas" | What was the total number of Top Division Titles where the year founded was prior to 1975 and the location was in Chaguaramas? | <s>[INST]What was the total number of Top Division Titles where the year founded was prior to 1975 and the location was in Chaguaramas? Context: CREATE TABLE table_name_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR)[/INST]SELECT SUM(top_division_titles) FROM table_name_90 WHERE founded < 1975 AND l... |
CREATE TABLE table_name_54 (lost INTEGER, games INTEGER) | SELECT AVG(lost) FROM table_name_54 WHERE games > 7 | Which Lost has Games larger than 7? | <s>[INST]Which Lost has Games larger than 7? Context: CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)[/INST]SELECT AVG(lost) FROM table_name_54 WHERE games > 7</s> |
CREATE TABLE conductor (Nationality VARCHAR) | SELECT COUNT(DISTINCT Nationality) FROM conductor | How many different nationalities do conductors have? | <s>[INST]How many different nationalities do conductors have? Context: CREATE TABLE conductor (Nationality VARCHAR)[/INST]SELECT COUNT(DISTINCT Nationality) FROM conductor</s> |
CREATE TABLE table_name_79 (record VARCHAR, decision VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_79 WHERE decision = "ellis" AND visitor = "vancouver" | What is the record of the game with a decision of Ellis and Vancouver as the visitor? | <s>[INST]What is the record of the game with a decision of Ellis and Vancouver as the visitor? Context: CREATE TABLE table_name_79 (record VARCHAR, decision VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_79 WHERE decision = "ellis" AND visitor = "vancouver"</s> |
CREATE TABLE table_name_35 (against INTEGER, lost VARCHAR, drawn VARCHAR, position VARCHAR) | SELECT SUM(against) FROM table_name_35 WHERE drawn < 2 AND position > 8 AND lost > 6 | What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6. | <s>[INST]What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6. Context: CREATE TABLE table_name_35 (against INTEGER, lost VARCHAR, drawn VARCHAR, position VARCHAR)[/INST]SELECT SUM(against) FROM table_name_35 WHERE drawn < 2 AND position > 8 AND lost > 6</s> |
CREATE TABLE table_name_38 (location VARCHAR, team VARCHAR) | SELECT location FROM table_name_38 WHERE team = "dynamo-2" | Where is Dynamo-2 located? | <s>[INST]Where is Dynamo-2 located? Context: CREATE TABLE table_name_38 (location VARCHAR, team VARCHAR)[/INST]SELECT location FROM table_name_38 WHERE team = "dynamo-2"</s> |
CREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_35 WHERE date = "13 november 2000" | What is the name of the tournament played 13 November 2000? | <s>[INST]What is the name of the tournament played 13 November 2000? Context: CREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_35 WHERE date = "13 november 2000"</s> |
CREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR) | SELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978 | When was the University founded that joined in 1978? | <s>[INST]When was the University founded that joined in 1978? Context: CREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR)[/INST]SELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978</s> |
CREATE TABLE table_29023680_2 (company VARCHAR, date_of_election_commission VARCHAR) | SELECT COUNT(company) AS Commander FROM table_29023680_2 WHERE date_of_election_commission = "November 12, 1861" | How many company commanders were commissioned or elected on November 12, 1861? | <s>[INST]How many company commanders were commissioned or elected on November 12, 1861? Context: CREATE TABLE table_29023680_2 (company VARCHAR, date_of_election_commission VARCHAR)[/INST]SELECT COUNT(company) AS Commander FROM table_29023680_2 WHERE date_of_election_commission = "November 12, 1861"</s> |
CREATE TABLE table_name_57 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_57 WHERE country = "australia" | What is the lowest ranking team in Australia? | <s>[INST]What is the lowest ranking team in Australia? Context: CREATE TABLE table_name_57 (rank INTEGER, country VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_57 WHERE country = "australia"</s> |
CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR) | SELECT spacecraft FROM table_179174_2 WHERE flights = "22 Orbital" | What spacecrafts had 22 orbital flights? | <s>[INST]What spacecrafts had 22 orbital flights? Context: CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR)[/INST]SELECT spacecraft FROM table_179174_2 WHERE flights = "22 Orbital"</s> |
CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR) | SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54 | What is the sum of the places of the team with more than 49 points and less than 54 goals scored? | <s>[INST]What is the sum of the places of the team with more than 49 points and less than 54 goals scored? Context: CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR)[/INST]SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ <... |
CREATE TABLE table_name_31 (prize VARCHAR, entrants VARCHAR) | SELECT prize FROM table_name_31 WHERE entrants = 453 | What prize amount was awarded at the event with 453 entrants? | <s>[INST]What prize amount was awarded at the event with 453 entrants? Context: CREATE TABLE table_name_31 (prize VARCHAR, entrants VARCHAR)[/INST]SELECT prize FROM table_name_31 WHERE entrants = 453</s> |
CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR) | SELECT callsign FROM table_name_81 WHERE power__kw_ = "5kw" AND location = "cagayan de oro" | What is the callsign of Cagayan de Oro with 5kW? | <s>[INST]What is the callsign of Cagayan de Oro with 5kW? Context: CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR)[/INST]SELECT callsign FROM table_name_81 WHERE power__kw_ = "5kw" AND location = "cagayan de oro"</s> |
CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR) | SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks" | Which catalogue has a formate of "CD Remastered with 3 bonus tracks"? | <s>[INST]Which catalogue has a formate of "CD Remastered with 3 bonus tracks"? Context: CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR)[/INST]SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.