text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197? ### Context: CREATE TABLE table_23938357_7 (ws_points VARCHAR) [/INST] ### Response: SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest 07-08 oi best value? ### Context: CREATE TABLE table_23938357_7 (Id VARCHAR) [/INST] ### Response: SELECT MIN(07 AS _08_oi_best) FROM table_23938357_7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of partners for 5-7, 6-7 (5-7) ### Context: CREATE TABLE table_23944006_4 (partner VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(partner) FROM table_23944006_4 WHERE score = "5-7, 6-7 (5-7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the surface for cara black rennae stubbs ### Context: CREATE TABLE table_23944006_4 (surface VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT surface FROM table_23944006_4 WHERE opponents = "Cara Black Rennae Stubbs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the score for san diego ### Context: CREATE TABLE table_23944006_4 (score VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT score FROM table_23944006_4 WHERE championship = "San Diego" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the outcome for zurich ### Context: CREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT outcome FROM table_23944006_4 WHERE championship = "Zurich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of surfaces for 4-6, 2-6 ### Context: CREATE TABLE table_23944006_4 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(surface) FROM table_23944006_4 WHERE score = "4-6, 2-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least 08-09 i/o best? ### Context: CREATE TABLE table_23938357_6 (Id VARCHAR) [/INST] ### Response: SELECT MIN(08 AS _09_i_o_best) FROM table_23938357_6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times is keauna mclaughlin / rockne brubaker ranked? ### Context: CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the sprint classification for michael barry ### Context: CREATE TABLE table_23944514_15 (sprint_classification VARCHAR, aggressive_rider VARCHAR) [/INST] ### Response: SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the youth classification for michael barry ### Context: CREATE TABLE table_23944514_15 (youth_classification VARCHAR, aggressive_rider VARCHAR) [/INST] ### Response: SELECT youth_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the mountains classification for bradley white ### Context: CREATE TABLE table_23944514_15 (mountains_classification VARCHAR, aggressive_rider VARCHAR) [/INST] ### Response: SELECT mountains_classification FROM table_23944514_15 WHERE aggressive_rider = "Bradley White" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all mbit/s with profiles of 8b. ### Context: CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR) [/INST] ### Response: SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE profile = "8b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the mhz when the profile is 8b? ### Context: CREATE TABLE table_2394927_1 (bandwidth___mhz__ VARCHAR, profile VARCHAR) [/INST] ### Response: SELECT bandwidth___mhz__ FROM table_2394927_1 WHERE profile = "8b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the highest mbit/s when the dbm is +17.5? ### Context: CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, power___dbm__ VARCHAR) [/INST] ### Response: SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE power___dbm__ = "+17.5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all dbm's when profiles are 8a. ### Context: CREATE TABLE table_2394927_1 (power___dbm__ VARCHAR, profile VARCHAR) [/INST] ### Response: SELECT power___dbm__ FROM table_2394927_1 WHERE profile = "8a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of carriers? ### Context: CREATE TABLE table_2394927_1 (number_of_carriers INTEGER) [/INST] ### Response: SELECT MIN(number_of_carriers) FROM table_2394927_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed episode 21? ### Context: CREATE TABLE table_23958944_5 (directed_by VARCHAR, no_by_season VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_23958944_5 WHERE no_by_season = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode was watched by 10.81 million US viewers? ### Context: CREATE TABLE table_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT MIN(no_by_season) FROM table_23958944_5 WHERE us_viewers__in_millions_ = "10.81" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode is directed by Bryan Spicer and written by Terence Paul Winter? ### Context: CREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_23958944_5 WHERE directed_by = "Bryan Spicer" AND written_by = "Terence Paul Winter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of series for 19 ### Context: CREATE TABLE table_23958944_6 (no_by_series VARCHAR, no_by_season VARCHAR) [/INST] ### Response: SELECT no_by_series FROM table_23958944_6 WHERE no_by_season = 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the viewers for 520 ### Context: CREATE TABLE table_23958944_6 (us_viewers__in_millions_ VARCHAR, production_number VARCHAR) [/INST] ### Response: SELECT us_viewers__in_millions_ FROM table_23958944_6 WHERE production_number = 520 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different writers have written the episode with series number 8? ### Context: CREATE TABLE table_23958944_2 (written_by VARCHAR, no_by_series VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_23958944_2 WHERE no_by_series = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the title of the episode with production number 103? ### Context: CREATE TABLE table_23958944_2 (title VARCHAR, production_number VARCHAR) [/INST] ### Response: SELECT title FROM table_23958944_2 WHERE production_number = 103 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who has the 1 goal and the position is fw? ### Context: CREATE TABLE table_23963781_2 (name VARCHAR, goals VARCHAR, position VARCHAR) [/INST] ### Response: SELECT name FROM table_23963781_2 WHERE goals = 1 AND position = "FW" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many release dates are there for year of 1988 and additional rock band 3 features is none? ### Context: CREATE TABLE table_23981741_1 (release_date VARCHAR, year VARCHAR, additional_rock_band_3_features VARCHAR) [/INST] ### Response: SELECT COUNT(release_date) FROM table_23981741_1 WHERE year = 1988 AND additional_rock_band_3_features = "None" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nationality associated with 0 minutes, position of MF, and an Athletica career of 2009? ### Context: CREATE TABLE table_23963781_1 (nationality VARCHAR, athletica_career VARCHAR, minutes VARCHAR, position VARCHAR) [/INST] ### Response: SELECT nationality FROM table_23963781_1 WHERE minutes = 0 AND position = "MF" AND athletica_career = "2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the position of the player who is from the United States and has 30 minutes? ### Context: CREATE TABLE table_23963781_3 (position VARCHAR, nationality VARCHAR, minutes VARCHAR) [/INST] ### Response: SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most amount of goals any of the players had? ### Context: CREATE TABLE table_23963781_3 (goals INTEGER) [/INST] ### Response: SELECT MAX(goals) FROM table_23963781_3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the song for Dixie Chicks? ### Context: CREATE TABLE table_23981771_1 (song_title VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT song_title FROM table_23981771_1 WHERE artist = "Dixie Chicks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the episode title for number 7 in the season? ### Context: CREATE TABLE table_23981882_1 (title VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT title FROM table_23981882_1 WHERE no_in_season = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the special when the challenger is dominique bouchet? ### Context: CREATE TABLE table_23982399_12 (special VARCHAR, challenger VARCHAR) [/INST] ### Response: SELECT special FROM table_23982399_12 WHERE challenger = "Dominique Bouchet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner when the iron chef is hiroyuki sakai? ### Context: CREATE TABLE table_23982399_12 (winner VARCHAR, iron_chef VARCHAR) [/INST] ### Response: SELECT winner FROM table_23982399_12 WHERE iron_chef = "Hiroyuki Sakai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the challenger when winner was kimio nonaga? ### Context: CREATE TABLE table_23982399_12 (challenger VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT challenger FROM table_23982399_12 WHERE winner = "Kimio Nonaga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode number originally aired on November 21, 1993? ### Context: CREATE TABLE table_23982399_1 (overall_episode__number INTEGER, original_airdate VARCHAR) [/INST] ### Response: SELECT MAX(overall_episode__number) FROM table_23982399_1 WHERE original_airdate = "November 21, 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the challenger on Episode 5? ### Context: CREATE TABLE table_23982399_1 (challenger VARCHAR, overall_episode__number VARCHAR) [/INST] ### Response: SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the qualifying end date when the qualifying start date is qualifying start date? ### Context: CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR) [/INST] ### Response: SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started? ### Context: CREATE TABLE table_23995075_2 (teams_that_can_still_qualify VARCHAR, teams_that_have_secured_qualification VARCHAR, teams_started VARCHAR) [/INST] ### Response: SELECT teams_that_can_still_qualify FROM table_23995075_2 WHERE teams_that_have_secured_qualification = "0" AND teams_started = "52" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams eliminated when 11 teams started? ### Context: CREATE TABLE table_23995075_2 (teams_that_have_been_eliminated VARCHAR, teams_started VARCHAR) [/INST] ### Response: SELECT teams_that_have_been_eliminated FROM table_23995075_2 WHERE teams_started = "11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the confederation when there are 4 places remaining in the finals? ### Context: CREATE TABLE table_23995075_2 (confederation VARCHAR, remaining_places_in_finals VARCHAR) [/INST] ### Response: SELECT confederation FROM table_23995075_2 WHERE remaining_places_in_finals = "4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many qualifying start dates for the Concacaf confederation? ### Context: CREATE TABLE table_23995075_2 (qualifying_start_date VARCHAR, confederation VARCHAR) [/INST] ### Response: SELECT COUNT(qualifying_start_date) FROM table_23995075_2 WHERE confederation = "CONCACAF" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many remaining places in finals when 1 team can still qualify and 0 teams have secured qualification? ### Context: CREATE TABLE table_23995075_2 (remaining_places_in_finals VARCHAR, teams_that_can_still_qualify VARCHAR, teams_that_have_secured_qualification VARCHAR) [/INST] ### Response: SELECT remaining_places_in_finals FROM table_23995075_2 WHERE teams_that_can_still_qualify = "1" AND teams_that_have_secured_qualification = "0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many of 3:26.00 have a championship record? ### Context: CREATE TABLE table_23987362_2 (world_record VARCHAR) [/INST] ### Response: SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE world_record = "Championship record" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson de souza ( bra )? ### Context: CREATE TABLE table_23987362_2 (hicham_el_guerrouj___mar__ VARCHAR) [/INST] ### Response: SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE hicham_el_guerrouj___mar__ = "Hudson de Souza ( BRA )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record? ### Context: CREATE TABLE table_23988726_2 (world_record VARCHAR) [/INST] ### Response: SELECT world_record FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When daniel lincoln ( usa ) is the saif saaeed shaheen ( qat ) What is the date for September 3rd, 2004? ### Context: CREATE TABLE table_23988726_2 (saif_saaeed_shaheen___qat__ VARCHAR) [/INST] ### Response: SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE saif_saaeed_shaheen___qat__ = "Daniel Lincoln ( USA )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004? ### Context: CREATE TABLE table_23988726_2 (Id VARCHAR) [/INST] ### Response: SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the world record is the African record, what is the 1:53.28 total number? ### Context: CREATE TABLE table_24001246_2 (world_record VARCHAR) [/INST] ### Response: SELECT COUNT(1) AS :5328 FROM table_24001246_2 WHERE world_record = "African record" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the epsiode with production number 109? ### Context: CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least finish for larry dickson ### Context: CREATE TABLE table_24004949_1 (finish INTEGER, driver VARCHAR) [/INST] ### Response: SELECT MIN(finish) FROM table_24004949_1 WHERE driver = "Larry Dickson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the 26 august 2005 asian record ### Context: CREATE TABLE table_24011830_2 (world_record VARCHAR) [/INST] ### Response: SELECT 26 AS _august_2005 FROM table_24011830_2 WHERE world_record = "Asian record" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of kenesia for african record ### Context: CREATE TABLE table_24011830_2 (kenenisa_bekele___eth__ VARCHAR, world_record VARCHAR) [/INST] ### Response: SELECT COUNT(kenenisa_bekele___eth__) FROM table_24011830_2 WHERE world_record = "African record" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest? ### Context: CREATE TABLE table_24014744_1 (putri_pariwisata_indonesia VARCHAR) [/INST] ### Response: SELECT COUNT(3 AS rd_runner_up) FROM table_24014744_1 WHERE putri_pariwisata_indonesia = "Albertina Fransisca Mailoa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata contest? ### Context: CREATE TABLE table_24014744_1 (putri_pariwisata_indonesia VARCHAR) [/INST] ### Response: SELECT 1 AS st_runner_up FROM table_24014744_1 WHERE putri_pariwisata_indonesia = "Albertina Fransisca Mailoa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the original air date for production code 216? ### Context: CREATE TABLE table_24018430_3 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24018430_3 WHERE production_code = 216 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is writtenand directed by shannon flynn? ### Context: CREATE TABLE table_24018430_3 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_24018430_3 WHERE directed_by = "Shannon Flynn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what number is us viewers in season 12? ### Context: CREATE TABLE table_24018430_3 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_24018430_3 WHERE no_in_season = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? ### Context: CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR) [/INST] ### Response: SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What division had a population density of 8,552.4 km2 in 2011? ### Context: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR) [/INST] ### Response: SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "8,552.4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the area in km2 in 2011 for the Narsingdi District? ### Context: CREATE TABLE table_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR) [/INST] ### Response: SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = "Narsingdi District" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what division was there a population density in km2 of 1,604.3 in 2011? ### Context: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR) [/INST] ### Response: SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "1,604.3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what division was there a population density in km2 of 4,491.8 in 2011? ### Context: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR) [/INST] ### Response: SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "4,491.8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the area coordinator for the municipality with 1715 people living in it in 2010? ### Context: CREATE TABLE table_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR) [/INST] ### Response: SELECT area_coordinator FROM table_2402209_1 WHERE population__2010_ = 1715 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010? ### Context: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, population__2010_ VARCHAR) [/INST] ### Response: SELECT COUNT(no_of_barangays) FROM table_2402209_1 WHERE population__2010_ = 13824 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Barangays lived in the municipality with area coordinator of 110.95? ### Context: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR) [/INST] ### Response: SELECT no_of_barangays FROM table_2402209_1 WHERE area_coordinator = "110.95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What circuit had rnd 3? ### Context: CREATE TABLE table_24037660_2 (circuit VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT circuit FROM table_24037660_2 WHERE rnd = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ? ### Context: CREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = "#1 Patrón Highcroft Racing" AND gtc_winning_team = "#81 Alex Job Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning team lmpc in rnd 3? ### Context: CREATE TABLE table_24037660_2 (lmpc_winning_team VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT lmpc_winning_team FROM table_24037660_2 WHERE rnd = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the gtc winning team when lmp winning team was #8 drayson racing? ### Context: CREATE TABLE table_24037660_2 (gtc_winning_team VARCHAR, lmp_winning_team VARCHAR) [/INST] ### Response: SELECT gtc_winning_team FROM table_24037660_2 WHERE lmp_winning_team = "#8 Drayson Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the captain in Chaguaramas? ### Context: CREATE TABLE table_24039173_1 (captain VARCHAR, location VARCHAR) [/INST] ### Response: SELECT captain FROM table_24039173_1 WHERE location = "Chaguaramas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the minimum capacity for Sangre Grande Ground? ### Context: CREATE TABLE table_24039173_1 (capacity INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MIN(capacity) FROM table_24039173_1 WHERE stadium = "Sangre Grande Ground" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the capacity for Sangre Grande Ground, home of the North East Stars? ### Context: CREATE TABLE table_24039173_1 (capacity VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(capacity) FROM table_24039173_1 WHERE team = "North East Stars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: San Juan Jabloteh calls which stadium home? ### Context: CREATE TABLE table_24039173_1 (stadium VARCHAR, team VARCHAR) [/INST] ### Response: SELECT stadium FROM table_24039173_1 WHERE team = "San Juan Jabloteh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the innings when caught was 20? ### Context: CREATE TABLE table_24039597_26 (innings VARCHAR, caught VARCHAR) [/INST] ### Response: SELECT innings FROM table_24039597_26 WHERE caught = 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What ist he matches where the player is ms dhoni? ### Context: CREATE TABLE table_24039597_26 (matches VARCHAR, player VARCHAR) [/INST] ### Response: SELECT matches FROM table_24039597_26 WHERE player = "MS Dhoni" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is stumped when inning is 143? ### Context: CREATE TABLE table_24039597_26 (stumped VARCHAR, innings VARCHAR) [/INST] ### Response: SELECT stumped FROM table_24039597_26 WHERE innings = 143 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many matches were 44? ### Context: CREATE TABLE table_24039597_26 (dismissals VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT COUNT(dismissals) FROM table_24039597_26 WHERE matches = 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is stumped when matches is 14? ### Context: CREATE TABLE table_24039597_26 (stumped INTEGER, matches VARCHAR) [/INST] ### Response: SELECT MIN(stumped) FROM table_24039597_26 WHERE matches = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of monarchs for 23 may 1059 crowned ### Context: CREATE TABLE table_24046134_1 (monarch VARCHAR, crowned VARCHAR) [/INST] ### Response: SELECT COUNT(monarch) FROM table_24046134_1 WHERE crowned = "23 May 1059" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the playoff result where the league did not qualify in the Open Cup in 1998? ### Context: CREATE TABLE table_2402864_1 (playoffs VARCHAR, open_cup VARCHAR, year VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_2402864_1 WHERE open_cup = "Did not qualify" AND year = 1998 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the earliest year where USL PDL played in 3rd, Southeast season? ### Context: CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = "3rd, Southeast" AND league = "USL PDL" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Open Cup results for the year 2003? ### Context: CREATE TABLE table_2402864_1 (open_cup VARCHAR, year VARCHAR) [/INST] ### Response: SELECT open_cup FROM table_2402864_1 WHERE year = 2003 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest total for evm votes ### Context: CREATE TABLE table_24051013_3 (total_evm_votes INTEGER) [/INST] ### Response: SELECT MAX(total_evm_votes) FROM table_24051013_3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what episode did heat 1 take place? ### Context: CREATE TABLE table_24051050_1 (episode VARCHAR, contest VARCHAR) [/INST] ### Response: SELECT episode FROM table_24051050_1 WHERE contest = "Heat 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What events took place in episode 12? ### Context: CREATE TABLE table_24051050_1 (events VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT events FROM table_24051050_1 WHERE episode = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which female challengers featured in episode 28? ### Context: CREATE TABLE table_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many players came from Los Angeles? ### Context: CREATE TABLE table_24055352_1 (name VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the height when the player is from Los Angeles? ### Context: CREATE TABLE table_24055352_1 (height VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT height FROM table_24055352_1 WHERE hometown = "Los Angeles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Kammeon Holsey's height? ### Context: CREATE TABLE table_24055352_1 (height VARCHAR, name VARCHAR) [/INST] ### Response: SELECT height FROM table_24055352_1 WHERE name = "Kammeon Holsey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the high school of the player number 5? ### Context: CREATE TABLE table_24055352_1 (high_school VARCHAR, number VARCHAR) [/INST] ### Response: SELECT high_school FROM table_24055352_1 WHERE number = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )? ### Context: CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR) [/INST] ### Response: SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every entry for against with opponent Andreas Vinciguerra? ### Context: CREATE TABLE table_24074130_5 (against VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT against FROM table_24074130_5 WHERE opponent = "Andreas Vinciguerra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every surface against Sweden? ### Context: CREATE TABLE table_24074130_5 (surface VARCHAR, against VARCHAR) [/INST] ### Response: SELECT surface FROM table_24074130_5 WHERE against = "Sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every entry in the win/lose against Sweden? ### Context: CREATE TABLE table_24074130_5 (win_lose VARCHAR, against VARCHAR) [/INST] ### Response: SELECT win_lose FROM table_24074130_5 WHERE against = "Sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many production codes have an original airdate of November 16, 1990? ### Context: CREATE TABLE table_2409041_3 (production_code VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT COUNT(production_code) FROM table_2409041_3 WHERE original_air_date = "November 16, 1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What series number had an original airdate of March 1, 1991? ### Context: CREATE TABLE table_2409041_3 (no_in_series INTEGER, original_air_date VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_2409041_3 WHERE original_air_date = "March 1, 1991" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many production codes were in series 39? ### Context: CREATE TABLE table_2409041_3 (production_code VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(production_code) FROM table_2409041_3 WHERE no_in_series = 39 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who wrote season 23? ### Context: CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT written_by FROM table_2409041_3 WHERE no_in_season = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the production code for episode number 86 in the series? ### Context: CREATE TABLE table_2409041_5 (production_code INTEGER, no_in_series VARCHAR) [/INST] ### Response: SELECT MIN(production_code) FROM table_2409041_5 WHERE no_in_series = 86 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the production code for the episode that originally aired on January 8, 1993? ### Context: CREATE TABLE table_2409041_5 (production_code INTEGER, original_air_date VARCHAR) [/INST] ### Response: SELECT MAX(production_code) FROM table_2409041_5 WHERE original_air_date = "January 8, 1993" </s>