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: Which nationality is player John Garrett? ### Context: CREATE TABLE table_22402438_7 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_22402438_7 WHERE player = "John Garrett" </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 team had ricardo serrano for combativity prize? ### Context: CREATE TABLE table_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR) [/INST] ### Response: SELECT team_classification FROM table_22410316_17 WHERE combativity_prize = "Ricardo Serrano" </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 stage managers worked with Gabriel di Chiara as the Male Rep? ### Context: CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, male_rep VARCHAR) [/INST] ### Response: SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE male_rep = "Gabriel Di Chiara" </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 stage managers worked with secretary Rachel Hartmann? ### Context: CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR) [/INST] ### Response: SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann" </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 were the performance liaisons for the dramaturge Chrisena Ricci? ### Context: CREATE TABLE table_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR) [/INST] ### Response: SELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = "Chrisena Ricci" </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 male rep. when Caroline Rhoads was the artistic director? ### Context: CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR) [/INST] ### Response: SELECT male_rep FROM table_22410780_1 WHERE artistic_director = "Caroline Rhoads" </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 drivers were there for the team when the manufacturer was Toyota? ### Context: CREATE TABLE table_2241101_1 (driver VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT COUNT(driver) FROM table_2241101_1 WHERE manufacturer = "Toyota" </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 how many different years did the race happen on February 27? ### Context: CREATE TABLE table_2241101_1 (year VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_2241101_1 WHERE date = "February 27" </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 team had average speed of 107.063 mph? ### Context: CREATE TABLE table_2241101_1 (team VARCHAR, average_speed__mph_ VARCHAR) [/INST] ### Response: SELECT team FROM table_2241101_1 WHERE average_speed__mph_ = "107.063" </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 report for 2010? ### Context: CREATE TABLE table_2241101_1 (report VARCHAR, year VARCHAR) [/INST] ### Response: SELECT report FROM table_2241101_1 WHERE year = 2010 </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 race time for kevin harvick ### Context: CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick" </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 manufacturer made the car that won in 2004? ### Context: CREATE TABLE table_2241841_1 (manufacturer VARCHAR, year VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2241841_1 WHERE year = "2004" </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 wins are with Dodge vehicles? ### Context: CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge" </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 made the car that won the race on May 21? ### Context: CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2241841_1 WHERE date = "May 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: In the race with a winning time of 4:17:18, how many laps were run? ### Context: CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18" </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 team set a 3:15:43 winning time? ### Context: CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43" </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 cities are represented by contestants whose height stands at 1.80? ### Context: CREATE TABLE table_22447251_2 (hometown VARCHAR, height VARCHAR) [/INST] ### Response: SELECT COUNT(hometown) FROM table_22447251_2 WHERE height = "1.80" </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 tall is contestant Alexandra Díaz Bello? ### Context: CREATE TABLE table_22447251_2 (height VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT height FROM table_22447251_2 WHERE contestant = "Alexandra Díaz Bello" </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 province is Villa Bisonó in? ### Context: CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT province, _community FROM table_22447251_2 WHERE hometown = "Villa Bisonó" </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 old is contestant Valerie Chardonnens Vargas? ### Context: CREATE TABLE table_22447251_2 (age INTEGER, contestant VARCHAR) [/INST] ### Response: SELECT MAX(age) FROM table_22447251_2 WHERE contestant = "Valerie Chardonnens Vargas" </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 origianal south korean performer when Adebayo Bolaji performed in Manchester? ### Context: CREATE TABLE table_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR) [/INST] ### Response: SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performer = "Adebayo Bolaji" </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 character did Lisa Davina Phillip portray? ### Context: CREATE TABLE table_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR) [/INST] ### Response: SELECT character FROM table_22460085_1 WHERE original_manchester_performer = "Lisa Davina Phillip" </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 Broadway equivalent of Sharon D. Clarke's character? ### Context: CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR) [/INST] ### Response: SELECT original_broadway_performer FROM table_22460085_1 WHERE original_west_end_performer = "Sharon D. Clarke" </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 character did Moya Angela portray? ### Context: CREATE TABLE table_22460085_1 (character VARCHAR, original_broadway_performer VARCHAR) [/INST] ### Response: SELECT character FROM table_22460085_1 WHERE original_broadway_performer = "Moya Angela" </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 character did Richard Fleeshman portray? ### Context: CREATE TABLE table_22460085_1 (character VARCHAR, original_west_end_performer VARCHAR) [/INST] ### Response: SELECT character FROM table_22460085_1 WHERE original_west_end_performer = "Richard Fleeshman" </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 Manchester performer of Lisa Davina Phillip's character? ### Context: CREATE TABLE table_22460085_1 (original_manchester_performer VARCHAR, original_west_end_performer VARCHAR) [/INST] ### Response: SELECT original_manchester_performer FROM table_22460085_1 WHERE original_west_end_performer = "Lisa Davina Phillip" </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 european tier for rick springfield ### Context: CREATE TABLE table_22457674_1 (european_tier VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT european_tier FROM table_22457674_1 WHERE artist = "Rick Springfield" </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 song title for europe ### Context: CREATE TABLE table_22457674_1 (song_title VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT song_title FROM table_22457674_1 WHERE artist = "Europe" </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 master recording for doobie brothers the doobie brothers ### Context: CREATE TABLE table_22457674_1 (master_recording VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT COUNT(master_recording) FROM table_22457674_1 WHERE artist = "Doobie Brothers The Doobie Brothers" </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 master recording for europe ### Context: CREATE TABLE table_22457674_1 (master_recording VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT master_recording FROM table_22457674_1 WHERE artist = "Europe" </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 date for when the georgian name is ცხოვრება და უწყება ბაგრატონიანთა? ### Context: CREATE TABLE table_22464685_1 (date VARCHAR, georgian_name VARCHAR) [/INST] ### Response: SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა" </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 transliteration during the period covered is 1125-1223? ### Context: CREATE TABLE table_22464685_1 (transliteration VARCHAR, period_covered VARCHAR) [/INST] ### Response: SELECT transliteration FROM table_22464685_1 WHERE period_covered = "1125-1223" </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 auther when the english name was histories and eulogies of the sovereigns? ### Context: CREATE TABLE table_22464685_1 (author VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns" </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 auther when the transliteration is lasha-giorgis droindeli matiane? ### Context: CREATE TABLE table_22464685_1 (author VARCHAR, transliteration VARCHAR) [/INST] ### Response: SELECT author FROM table_22464685_1 WHERE transliteration = "lasha-giorgis droindeli matiane" </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 which state where John Laurance (f) as a vacator? ### Context: CREATE TABLE table_224840_3 (state__class_ VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT state__class_ FROM table_224840_3 WHERE vacator = "John Laurance (F)" </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 the vacator was Henry Latimer (f), what were the causes for modification? ### Context: CREATE TABLE table_224840_3 (reason_for_change VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_224840_3 WHERE vacator = "Henry Latimer (F)" </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 has Aaron Ogden (f), been a successor and has had a formal installation? ### Context: CREATE TABLE table_224840_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT COUNT(date_of_successors_formal_installation) FROM table_224840_3 WHERE successor = "Aaron Ogden (F)" </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 2010, how many 1st venue cities were there? ### Context: CREATE TABLE table_22482077_1 (year VARCHAR) [/INST] ### Response: SELECT COUNT(1 AS st_venue) FROM table_22482077_1 WHERE year = 2010 </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 seats became avaliable in Massachusetts 3rd district? ### Context: CREATE TABLE table_224840_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT COUNT(vacator) FROM table_224840_4 WHERE district = "Massachusetts 3rd" </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 left office on November 26, 1800? ### Context: CREATE TABLE table_224840_4 (vacator VARCHAR, date_successor_seated VARCHAR) [/INST] ### Response: SELECT vacator FROM table_224840_4 WHERE date_successor_seated = "November 26, 1800" </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 latest to take office in Massachusetts 3rd district? ### Context: CREATE TABLE table_224840_4 (successor VARCHAR, district VARCHAR) [/INST] ### Response: SELECT successor FROM table_224840_4 WHERE district = "Massachusetts 3rd" </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 builder from 1930. ### Context: CREATE TABLE table_22481967_1 (builder VARCHAR, date VARCHAR) [/INST] ### Response: SELECT builder FROM table_22481967_1 WHERE date = "1930" </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 builders where the withdrawn is 1951 and number is 42. ### Context: CREATE TABLE table_22481967_1 (builder VARCHAR, withdrawn VARCHAR, number VARCHAR) [/INST] ### Response: SELECT COUNT(builder) FROM table_22481967_1 WHERE withdrawn = "1951" AND number = "42" </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 date for number 1. ### Context: CREATE TABLE table_22481967_1 (date VARCHAR, number VARCHAR) [/INST] ### Response: SELECT date FROM table_22481967_1 WHERE number = "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: List the number for the operator melbourne and metropolitan tramways board. ### Context: CREATE TABLE table_22481967_1 (number VARCHAR, operator VARCHAR) [/INST] ### Response: SELECT number FROM table_22481967_1 WHERE operator = "Melbourne and Metropolitan Tramways Board" </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 status for the operator Toronto transit commission. ### Context: CREATE TABLE table_22481967_1 (status VARCHAR, operator VARCHAR) [/INST] ### Response: SELECT status FROM table_22481967_1 WHERE operator = "Toronto Transit Commission" </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 network has bob costas as the studio host and darren pang as the ice level reporters? ### Context: CREATE TABLE table_22485543_1 (network VARCHAR, studio_host VARCHAR, ice_level_reporters VARCHAR) [/INST] ### Response: SELECT network FROM table_22485543_1 WHERE studio_host = "Bob Costas" AND ice_level_reporters = "Darren Pang" </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 play-by-play has mike milbury as the studio analyst and darren pang as the ice level reporters? ### Context: CREATE TABLE table_22485543_1 (play_by_play VARCHAR, studio_analysts VARCHAR, ice_level_reporters VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_22485543_1 WHERE studio_analysts = "Mike Milbury" AND ice_level_reporters = "Darren Pang" </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 color commentator when brian engblom is ice level reporters? ### Context: CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR) [/INST] ### Response: SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom" </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 play-by-play when nbc is the network and darren pang is the ice level reporters? ### Context: CREATE TABLE table_22485543_1 (play_by_play VARCHAR, network VARCHAR, ice_level_reporters VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_22485543_1 WHERE network = "NBC" AND ice_level_reporters = "Darren Pang" </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 studio host for the year 2010? ### Context: CREATE TABLE table_22485543_1 (studio_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT studio_host FROM table_22485543_1 WHERE year = "2010" </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 left a seat open for the district of connecticut at-large ### Context: CREATE TABLE table_224844_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_224844_4 WHERE district = "Connecticut At-large" </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: Why was a seat left open fo Connecticut at-large? ### Context: CREATE TABLE table_224844_4 (reason_for_change VARCHAR, district VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_224844_4 WHERE district = "Connecticut At-large" </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 Asian rank? ### Context: CREATE TABLE table_2248784_4 (rank_asia INTEGER) [/INST] ### Response: SELECT MIN(rank_asia) FROM table_2248784_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 2011 GDP (PPP) billions of USD does Iraq have? ### Context: CREATE TABLE table_2248784_4 (country VARCHAR) [/INST] ### Response: SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Iraq" </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 2011 GDP (PPP) billions of USD does Israel have? ### Context: CREATE TABLE table_2248784_4 (country VARCHAR) [/INST] ### Response: SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_4 WHERE country = "Israel" </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 asian rank have 1 as a mideast rank? ### Context: CREATE TABLE table_2248784_4 (rank_asia VARCHAR, rank_mideast VARCHAR) [/INST] ### Response: SELECT COUNT(rank_asia) FROM table_2248784_4 WHERE rank_mideast = 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: Name the gdp world rank for asian rank being 15 ### Context: CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR) [/INST] ### Response: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 15 </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 gdp per capita for world rank being 131 ### Context: CREATE TABLE table_2249029_1 (gdp_per_capita VARCHAR, gdp_world_rank VARCHAR) [/INST] ### Response: SELECT gdp_per_capita FROM table_2249029_1 WHERE gdp_world_rank = "131" </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 gdp world rank for asian rank being 20 ### Context: CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR) [/INST] ### Response: SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 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: Name the most world rank for asian rank being 31 ### Context: CREATE TABLE table_2249029_1 (world_rank INTEGER, asian_rank VARCHAR) [/INST] ### Response: SELECT MAX(world_rank) FROM table_2249029_1 WHERE asian_rank = 31 </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 rank subcontinent for bangladesh ### Context: CREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR) [/INST] ### Response: SELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = "Bangladesh" </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 rank world for 7 rank subcontinent ### Context: CREATE TABLE table_2248784_3 (rank_world VARCHAR, rank_subcontinent VARCHAR) [/INST] ### Response: SELECT rank_world FROM table_2248784_3 WHERE rank_subcontinent = 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 2011 gdp for pakistan ### Context: CREATE TABLE table_2248784_3 (country VARCHAR) [/INST] ### Response: SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_3 WHERE country = "Pakistan" </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 2011 gdp for 65 rank world ### Context: CREATE TABLE table_2248784_3 (rank_world VARCHAR) [/INST] ### Response: SELECT 2011 AS _gdp__ppp__billions_of_usd FROM table_2248784_3 WHERE rank_world = 65 </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 rank world for bhutan ### Context: CREATE TABLE table_2248784_3 (rank_world VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(rank_world) FROM table_2248784_3 WHERE country = "Bhutan" </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 items were listed under world rank under the nation of Nigeria? ### Context: CREATE TABLE table_2248991_2 (world_rank VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(world_rank) FROM table_2248991_2 WHERE nation = "Nigeria" </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 items are listed under gdp per capita under the nation of Burkina Faso? ### Context: CREATE TABLE table_2248991_2 (gdp_per_capita VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(gdp_per_capita) FROM table_2248991_2 WHERE nation = "Burkina Faso" </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 total gdp world rank when the gdp per capita was listed at $1,163? ### Context: CREATE TABLE table_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR) [/INST] ### Response: SELECT MIN(total_gdp_world_rank) FROM table_2248991_2 WHERE gdp_per_capita = "$1,163" </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 world rank for south american rank 3 ### Context: CREATE TABLE table_2249087_1 (world_rank INTEGER, south_american_rank VARCHAR) [/INST] ### Response: SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 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: Name the south american rank for venezuela ### Context: CREATE TABLE table_2249087_1 (south_american_rank INTEGER, nation VARCHAR) [/INST] ### Response: SELECT MIN(south_american_rank) FROM table_2249087_1 WHERE nation = "Venezuela" </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 weight stats are there for players from San Francisco, CA? ### Context: CREATE TABLE table_22496374_1 (weight VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT COUNT(weight) FROM table_22496374_1 WHERE home_town = "San Francisco, CA" </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 rickie winslow's number? ### Context: CREATE TABLE table_22496374_1 (_number INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(_number) FROM table_22496374_1 WHERE name = "Rickie Winslow" </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 height entries are there for players from lagos, nigeria? ### Context: CREATE TABLE table_22496374_1 (height VARCHAR, home_town VARCHAR) [/INST] ### Response: SELECT COUNT(height) FROM table_22496374_1 WHERE home_town = "Lagos, Nigeria" </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 hometown of the players from alvin high school? ### Context: CREATE TABLE table_22496374_1 (home_town VARCHAR, high_school VARCHAR) [/INST] ### Response: SELECT home_town FROM table_22496374_1 WHERE high_school = "Alvin" </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 height entries are there for players from bayside high school? ### Context: CREATE TABLE table_22496374_1 (height VARCHAR, high_school VARCHAR) [/INST] ### Response: SELECT COUNT(height) FROM table_22496374_1 WHERE high_school = "Bayside" </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 reasons for change were listed when Edward Hempstead was the successor? ### Context: CREATE TABLE table_225095_4 (reason_for_change VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead" </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 Vacators were listed when the district was North Carolina 3rd? ### Context: CREATE TABLE table_225095_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT COUNT(vacator) FROM table_225095_4 WHERE district = "North Carolina 3rd" </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 vacator when Shadrach Bond was the successor? ### Context: CREATE TABLE table_225095_4 (vacator VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT vacator FROM table_225095_4 WHERE successor = "Shadrach Bond" </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 was the successor who got his seat because of "until august 2, 1813" seated? ### Context: CREATE TABLE table_225096_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_225096_4 WHERE reason_for_change = "Until August 2, 1813" </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: The successor for the Massachusetts 20th district was seated on what date? ### Context: CREATE TABLE table_225098_4 (date_successor_seated VARCHAR, district VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_225098_4 WHERE district = "Massachusetts 20th" </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 vacated the Pennsylvania 6th district? ### Context: CREATE TABLE table_225098_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_225098_4 WHERE district = "Pennsylvania 6th" </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 successor for the state of Maine (2) ? ### Context: CREATE TABLE table_225099_3 (successor VARCHAR, state__class_ VARCHAR) [/INST] ### Response: SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (2)" </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 date of successors formal installation when the reason for change is resigned december 4, 1819? ### Context: CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, reason_for_change VARCHAR) [/INST] ### Response: SELECT date_of_successors_formal_installation FROM table_225099_3 WHERE reason_for_change = "Resigned December 4, 1819" </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 entries are shown for date of successors formal installation where successor is john w. walker (dr)? ### Context: CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT COUNT(date_of_successors_formal_installation) FROM table_225099_3 WHERE successor = "John W. Walker (DR)" </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 state for reason for change is resigned may 15, 1820? ### Context: CREATE TABLE table_225099_3 (state__class_ VARCHAR, reason_for_change VARCHAR) [/INST] ### Response: SELECT state__class_ FROM table_225099_3 WHERE reason_for_change = "Resigned May 15, 1820" </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 trophy presentation in the year 1987? ### Context: CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR) [/INST] ### Response: SELECT trophy_presentation FROM table_22514845_4 WHERE year = 1987 </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 network has s analyst of eddie arcaro? ### Context: CREATE TABLE table_22514845_4 (network VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT network FROM table_22514845_4 WHERE s_analyst = "Eddie Arcaro" </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 are the reporters for the year of 1984? ### Context: CREATE TABLE table_22514845_4 (reporters VARCHAR, year VARCHAR) [/INST] ### Response: SELECT reporters FROM table_22514845_4 WHERE year = 1984 </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 trophy presentations where in the year 1987? ### Context: CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(trophy_presentation) FROM table_22514845_4 WHERE year = 1987 </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 which year were howard cosell and jack whitaker reporters and s analyst is bill hartack? ### Context: CREATE TABLE table_22514845_4 (year INTEGER, reporters VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_22514845_4 WHERE reporters = "Howard Cosell and Jack Whitaker" AND s_analyst = "Bill Hartack" </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 race caller when jim mckay and al michaels were s hosts in the year 1987? ### Context: CREATE TABLE table_22514845_4 (race_caller VARCHAR, s_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT race_caller FROM table_22514845_4 WHERE s_host = "Jim McKay and Al Michaels" AND year = 1987 </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 host for john rotz and howard cosell ### Context: CREATE TABLE table_22514845_5 (s_host VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT s_host FROM table_22514845_5 WHERE s_analyst = "John Rotz and Howard Cosell" </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 race caller for jim mckay and howard cosell ### Context: CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR) [/INST] ### Response: SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell" </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 race caller for jim mckay and howard cosell and eddie arcaro ### Context: CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_analyst VARCHAR, trophy_presentation VARCHAR, reporters VARCHAR) [/INST] ### Response: SELECT race_caller FROM table_22514845_5 WHERE trophy_presentation = "Jim McKay and Howard Cosell" AND reporters = "Howard Cosell" AND s_analyst = "Eddie Arcaro" </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 reporters for dave johnson for eddie arcaro and howard cosell ### Context: CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT reporters FROM table_22514845_5 WHERE race_caller = "Dave Johnson" AND s_analyst = "Eddie Arcaro and Howard Cosell" </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 reporters for howard cosell ### Context: CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT reporters FROM table_22514845_5 WHERE s_analyst = "Howard Cosell" </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 reporters for heywood hale broun ### Context: CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR) [/INST] ### Response: SELECT COUNT(reporters) FROM table_22514845_5 WHERE s_analyst = "Heywood Hale Broun" </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 province has an elevation of 4550? ### Context: CREATE TABLE table_2251578_4 (province VARCHAR, elevation__m_ VARCHAR) [/INST] ### Response: SELECT province FROM table_2251578_4 WHERE elevation__m_ = 4550 </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 province is in the district of San Antonio de Chuca? ### Context: CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR) [/INST] ### Response: SELECT province FROM table_2251578_4 WHERE district = "San Antonio de Chuca" </s>