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 date of appointment when the date of vacancy is 21 december 2007? ### Context: CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = "21 December 2007" </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 replaced when team is wigan athletic? ### Context: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, team VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_10592536_8 WHERE team = "Wigan Athletic" </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 vacancy when the team is manchester city and replaced by is mark hughes? ### Context: CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_10592536_8 WHERE team = "Manchester City" AND replaced_by = "Mark Hughes" </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 appointment when replaced by is roy hodgson? ### Context: CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_10592536_8 WHERE replaced_by = "Roy Hodgson" </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 replaced when position in table is pre-season? ### Context: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season" </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 games had a score value of 813.5 in post-season play? ### Context: CREATE TABLE table_1059743_1 (play_off VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(play_off) FROM table_1059743_1 WHERE points = "813.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: Did any team score games that totaled up to 860.5? ### Context: CREATE TABLE table_1059743_1 (play_off VARCHAR, points VARCHAR) [/INST] ### Response: SELECT play_off FROM table_1059743_1 WHERE points = "860.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 was the score of the game when the team reached a record of 6-9? ### Context: CREATE TABLE table_10595672_1 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_10595672_1 WHERE record = "6-9" </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 type institution is point park university ### Context: CREATE TABLE table_10581768_2 (type VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT type FROM table_10581768_2 WHERE institution = "Point Park University" </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 institutions are located in wilmore, kentucky and private ### Context: CREATE TABLE table_10581768_2 (founded INTEGER, type VARCHAR, location VARCHAR) [/INST] ### Response: SELECT MAX(founded) FROM table_10581768_2 WHERE type = "Private" AND location = "Wilmore, Kentucky" </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 founded dates are listed for carlow university 1 ### Context: CREATE TABLE table_10581768_2 (founded VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Carlow University 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 is the original air date of the episode no in season 9? ### Context: CREATE TABLE table_10610087_3 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_10610087_3 WHERE no_in_season = 9 </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 title of the episode written by denis leary, peter tolan and evan reilly? ### Context: CREATE TABLE table_10610087_3 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_10610087_3 WHERE written_by = "Denis Leary, Peter Tolan and Evan Reilly" </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 Kamba active? ### Context: CREATE TABLE table_10602294_1 (dates_active VARCHAR, name VARCHAR) [/INST] ### Response: SELECT dates_active FROM table_10602294_1 WHERE name = "Kamba" </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 cyclone's pressure in the storm that death was equal to 95km/h (60mph)? ### Context: CREATE TABLE table_10602294_1 (pressure VARCHAR, deaths VARCHAR) [/INST] ### Response: SELECT pressure FROM table_10602294_1 WHERE deaths = "95km/h (60mph)" </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 were the active dates for the storm that had 185km/h (115mph) deaths? ### Context: CREATE TABLE table_10602294_1 (dates_active VARCHAR, deaths VARCHAR) [/INST] ### Response: SELECT dates_active FROM table_10602294_1 WHERE deaths = "185km/h (115mph)" </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 damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure? ### Context: CREATE TABLE table_10602294_1 (damage__usd_ VARCHAR, pressure VARCHAR) [/INST] ### Response: SELECT damage__usd_ FROM table_10602294_1 WHERE pressure = "1003hPa (29.62inHg)" </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 average where high score is 120 ### Context: CREATE TABLE table_10621256_1 (average VARCHAR, high_score VARCHAR) [/INST] ### Response: SELECT average FROM table_10621256_1 WHERE high_score = 120 </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 player where 50 is 2 and n/o is 0 ### Context: CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR) [/INST] ### Response: SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 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: what's the player where inns is 21 ### Context: CREATE TABLE table_10621256_1 (player VARCHAR, inns VARCHAR) [/INST] ### Response: SELECT player FROM table_10621256_1 WHERE inns = 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: Which general election had a pq majority and a 44.75% of the popular vote? ### Context: CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR) [/INST] ### Response: SELECT general_election FROM table_106367_2 WHERE result = "PQ majority" AND _percentage_of_popular_vote = "44.75%" </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 number of candidates running were there when 80 seats were won? ### Context: CREATE TABLE table_106367_2 (_number_of_candidates INTEGER, _number_of_seats_won VARCHAR) [/INST] ### Response: SELECT MIN(_number_of_candidates) FROM table_106367_2 WHERE _number_of_seats_won = 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 many seats were won in the election with 125 candidates? ### Context: CREATE TABLE table_106367_2 (_number_of_seats_won VARCHAR, _number_of_candidates VARCHAR) [/INST] ### Response: SELECT COUNT(_number_of_seats_won) FROM table_106367_2 WHERE _number_of_candidates = 125 </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 weeks are there? ### Context: CREATE TABLE table_10647639_1 (week INTEGER) [/INST] ### Response: SELECT MAX(week) FROM table_10647639_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: How many people attended the game against the indianapolis colts? ### Context: CREATE TABLE table_10647639_1 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_10647639_1 WHERE opponent = "Indianapolis Colts" </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: On december 16, 1985, all the records were what? ### Context: CREATE TABLE table_10647639_1 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_10647639_1 WHERE date = "December 16, 1985" </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 results are there for the 0-4 record? ### Context: CREATE TABLE table_10646790_2 (result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_10646790_2 WHERE record = "0-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 weeks are there that include the date October 11, 1969. ### Context: CREATE TABLE table_10646790_2 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_10646790_2 WHERE date = "October 11, 1969" </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 weeks are there that include the date November 9, 1969. ### Context: CREATE TABLE table_10646790_2 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_10646790_2 WHERE date = "November 9, 1969" </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 records are there at the War Memorial Stadium? ### Context: CREATE TABLE table_10646790_2 (record VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_10646790_2 WHERE stadium = "War Memorial stadium" </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 minimum attendance on December 7, 1969? ### Context: CREATE TABLE table_10646790_2 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_10646790_2 WHERE date = "December 7, 1969" </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 week corresponds to the last one to be played at the memorial stadium? ### Context: CREATE TABLE table_10647401_1 (week INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_10647401_1 WHERE stadium = "Memorial stadium" </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 stadium is the week 5 game played? ### Context: CREATE TABLE table_10647401_1 (stadium VARCHAR, week VARCHAR) [/INST] ### Response: SELECT stadium FROM table_10647401_1 WHERE week = 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 nfl team where player is thane gash ### Context: CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_10650711_1 WHERE player = "Thane Gash" </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 maximum pick # where player is anthony blaylock ### Context: CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock" </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 nfl team where player is clifford charlton ### Context: CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_10650711_1 WHERE player = "Clifford Charlton" </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 position where player is anthony blaylock ### Context: CREATE TABLE table_10650711_1 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_10650711_1 WHERE player = "Anthony Blaylock" </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 pick # where position is defensive tackle ### Context: CREATE TABLE table_10650711_1 (pick__number INTEGER, position VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_10650711_1 WHERE position = "Defensive Tackle" </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 a density of 971.4? ### Context: CREATE TABLE table_1067441_1 (province VARCHAR, density VARCHAR) [/INST] ### Response: SELECT province FROM table_1067441_1 WHERE density = "971.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 is Friesland's gdp per capita? ### Context: CREATE TABLE table_1067441_1 (_in_€_ VARCHAR, gdp_per_cap__2003 INTEGER, province VARCHAR) [/INST] ### Response: SELECT MIN(gdp_per_cap__2003), _in_€_ FROM table_1067441_1 WHERE province = "Friesland" </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 area of the place that has a population density of 331.4? ### Context: CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR) [/INST] ### Response: SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.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 is the title when original air date is may15,2008? ### Context: CREATE TABLE table_10701133_1 (title VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT title FROM table_10701133_1 WHERE original_air_date = "May15,2008" </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 no. in season? ### Context: CREATE TABLE table_10701133_1 (no_in_season INTEGER) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_10701133_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 the episode where u.s. viewers (million) is 12.90? ### Context: CREATE TABLE table_10701133_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90" </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 episodes aired in Region 2 beginning May 26, 2008? ### Context: CREATE TABLE table_1067134_1 (_number_of_ep INTEGER, region_2 VARCHAR) [/INST] ### Response: SELECT MIN(_number_of_ep) FROM table_1067134_1 WHERE region_2 = "May 26, 2008" </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 date did the DVD for season six come out in region 2? ### Context: CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR) [/INST] ### Response: SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six" </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 amount of season epidsodes? ### Context: CREATE TABLE table_1067134_1 (_number_of_ep INTEGER) [/INST] ### Response: SELECT MIN(_number_of_ep) FROM table_1067134_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 DVD season/name for region 2 was released August 22, 2010? ### Context: CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR) [/INST] ### Response: SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 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 points for 2005? ### Context: CREATE TABLE table_10705060_1 (points VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_10705060_1 WHERE season = "2005" </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 score for the dams? ### Context: CREATE TABLE table_10705060_1 (points VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT points FROM table_10705060_1 WHERE team_name = "DAMS" </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 positions in 2009? ### Context: CREATE TABLE table_10705060_1 (position VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_10705060_1 WHERE season = "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 least number of poles? ### Context: CREATE TABLE table_10705060_1 (poles INTEGER) [/INST] ### Response: SELECT MIN(poles) FROM table_10705060_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: Which series with 62 points? ### Context: CREATE TABLE table_10705060_1 (series VARCHAR, points VARCHAR) [/INST] ### Response: SELECT series FROM table_10705060_1 WHERE points = 62 </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 for 10th position? ### Context: CREATE TABLE table_10705060_1 (points VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_10705060_1 WHERE position = "10th" </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 reports of races took place on october 16? ### Context: CREATE TABLE table_10707142_2 (report VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(report) FROM table_10707142_2 WHERE date = "October 16" </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 name of the report that lists the race name as long beach grand prix? ### Context: CREATE TABLE table_10707142_2 (report VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT report FROM table_10707142_2 WHERE race_name = "Long Beach Grand Prix" </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 report called where the circuit took place at the nazareth speedway? ### Context: CREATE TABLE table_10707142_2 (report VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT report FROM table_10707142_2 WHERE circuit = "Nazareth Speedway" </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 name of the race where newman/haas racing is the winning team and rick mears is at the pole position? ### Context: CREATE TABLE table_10707142_2 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT race_name FROM table_10707142_2 WHERE winning_team = "Newman/Haas Racing" AND pole_position = "Rick Mears" </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: meadowlands sports complex is the circuit at which city/location? ### Context: CREATE TABLE table_10707142_2 (city_location VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT city_location FROM table_10707142_2 WHERE circuit = "Meadowlands Sports Complex" </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 literacy rate for groups that grew 103.1% between 1991 and 2001? ### Context: CREATE TABLE table_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR) [/INST] ### Response: SELECT literacy___percentage_ FROM table_10710364_2 WHERE growth__1991_2001_ = "103.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 is the lowest sex ratio in rural areas? ### Context: CREATE TABLE table_10710364_2 (sex_ratio__rural_ INTEGER) [/INST] ### Response: SELECT MIN(sex_ratio__rural_) FROM table_10710364_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 lowest child sex ratio in groups where employment is 31.3%? ### Context: CREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) [/INST] ### Response: SELECT MIN(sex_ratio__child_) FROM table_10710364_2 WHERE work_participation___percentage_ = "31.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 population percentage of the group where the rural sex ratio is 953? ### Context: CREATE TABLE table_10710364_2 (population__percentage VARCHAR, sex_ratio__rural_ VARCHAR) [/INST] ### Response: SELECT population__percentage FROM table_10710364_2 WHERE sex_ratio__rural_ = 953 </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 title of the episode directed by Peter Markle and written by Jerry Stahl? ### Context: CREATE TABLE table_10715317_2 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_10715317_2 WHERE directed_by = "Peter Markle" AND written_by = "Jerry Stahl" </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 does the lap-by-lap in 2011? ### Context: CREATE TABLE table_10716893_3 (lap_by_lap VARCHAR, year VARCHAR) [/INST] ### Response: SELECT lap_by_lap FROM table_10716893_3 WHERE year = 2011 </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 Marty Reid as host and lap-by-lap broadcaster? ### Context: CREATE TABLE table_10716893_3 (network VARCHAR, lap_by_lap VARCHAR, host VARCHAR) [/INST] ### Response: SELECT network FROM table_10716893_3 WHERE lap_by_lap = "Marty Reid" AND host = "Marty Reid" </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 pre-race analysis occur when Allen Bestwick does the lap-by-lap? ### Context: CREATE TABLE table_10716893_3 (pre_race_analyst VARCHAR, lap_by_lap VARCHAR) [/INST] ### Response: SELECT COUNT(pre_race_analyst) FROM table_10716893_3 WHERE lap_by_lap = "Allen Bestwick" </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 highest season number of an episode in the series? ### Context: CREATE TABLE table_10718192_2 (no_in_season INTEGER) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_10718192_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's the date of the first airing of the episode with series number 63? ### Context: CREATE TABLE table_10718192_2 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_10718192_2 WHERE no_in_series = 63 </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 titles got a viewership of 26.53 million? ### Context: CREATE TABLE table_10718525_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_10718525_2 WHERE us_viewers__millions_ = "26.53" </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 viewers tuned into the show directed by Matt Earl Beesley? ### Context: CREATE TABLE table_10718525_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_10718525_2 WHERE directed_by = "Matt Earl Beesley" </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 episode 94? ### Context: CREATE TABLE table_10718631_2 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_10718631_2 WHERE no_in_series = 94 </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 episode was the number in the season where the number in the season is 10? ### Context: CREATE TABLE table_10718631_2 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT no_in_series FROM table_10718631_2 WHERE no_in_season = 10 </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 did the 113 episode air? ### Context: CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_10718631_2 WHERE no_in_series = 113 </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 titles were there for the 113 episode? ### Context: CREATE TABLE table_10718631_2 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_10718631_2 WHERE no_in_series = 113 </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 number in the season that Marlene Meyer wrote and 20.49 million people watched? ### Context: CREATE TABLE table_10718984_2 (no_in_season INTEGER, written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_10718984_2 WHERE written_by = "Marlene Meyer" AND us_viewers__millions_ = "20.49" </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 did the no. 23 show originally air? ### Context: CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_10718984_2 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: Which circuits had a race on October 4? ### Context: CREATE TABLE table_10725629_2 (circuit VARCHAR, date VARCHAR) [/INST] ### Response: SELECT circuit FROM table_10725629_2 WHERE date = "October 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: In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team? ### Context: CREATE TABLE table_10725629_2 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT report FROM table_10725629_2 WHERE pole_position = "Michael Andretti" AND winning_team = "Galles-Kraco 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: How many rounds were there of the Bosch Spark Plug Grand Prix? ### Context: CREATE TABLE table_10725629_2 (rnd VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT COUNT(rnd) FROM table_10725629_2 WHERE race_name = "Bosch Spark Plug Grand Prix" </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 rounds were held on August 9? ### Context: CREATE TABLE table_10725629_2 (rnd VARCHAR, date VARCHAR) [/INST] ### Response: SELECT rnd FROM table_10725629_2 WHERE date = "August 9" </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: On how many dates did the Michigan International Speedway hold a round? ### Context: CREATE TABLE table_10725629_2 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_10725629_2 WHERE circuit = "Michigan International Speedway" </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 bids of the sun belt conference ### Context: CREATE TABLE table_10722506_6 (_number_of_bids VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT COUNT(_number_of_bids) FROM table_10722506_6 WHERE conference = "Sun Belt" </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 round of 32 in conference usa ### Context: CREATE TABLE table_10722506_6 (round_of_32 VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT round_of_32 FROM table_10722506_6 WHERE conference = "conference 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: What is the record when round of 32 is 0 and metro atlantic conference? ### Context: CREATE TABLE table_10722506_6 (record VARCHAR, round_of_32 VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT record FROM table_10722506_6 WHERE round_of_32 = 0 AND conference = "Metro Atlantic" </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 number of bids with elite eight larger than 1.0 ### Context: CREATE TABLE table_10722506_6 (_number_of_bids VARCHAR, elite_eight INTEGER) [/INST] ### Response: SELECT COUNT(_number_of_bids) FROM table_10722506_6 WHERE elite_eight > 1.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: Who directed the episode with production code 7aff03? ### Context: CREATE TABLE table_10749143_2 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_10749143_2 WHERE production_code = "7AFF03" </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 title of the episode wtih 10.34 million U.S viewers? ### Context: CREATE TABLE table_10749143_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_10749143_2 WHERE us_viewers__millions_ = "10.34" </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 place is the team that completed 6 races? ### Context: CREATE TABLE table_10748727_1 (position VARCHAR, races VARCHAR) [/INST] ### Response: SELECT position FROM table_10748727_1 WHERE races = 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 much did the british formula three called "fortec motorsport" score? ### Context: CREATE TABLE table_10748727_1 (points VARCHAR, series VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT points FROM table_10748727_1 WHERE series = "British Formula Three" AND team_name = "Fortec Motorsport" </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 races were in 2009 with 0 wins? ### Context: CREATE TABLE table_10748727_1 (races VARCHAR, season VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT races FROM table_10748727_1 WHERE season = "2009" AND wins = 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: What years did art grand prix compete? ### Context: CREATE TABLE table_10748727_1 (season VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT season FROM table_10748727_1 WHERE team_name = "ART Grand Prix" </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 year had a score of 9? ### Context: CREATE TABLE table_10748727_1 (season VARCHAR, points VARCHAR) [/INST] ### Response: SELECT season FROM table_10748727_1 WHERE points = "9" </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 greatest number of wins by japanese formula three? ### Context: CREATE TABLE table_10748727_1 (wins INTEGER, series VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_10748727_1 WHERE series = "Japanese Formula Three" </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 took test #4? ### Context: CREATE TABLE table_10749367_3 (test_taker VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT test_taker FROM table_10749367_3 WHERE _number = 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 episode aired on 18 April 2007? ### Context: CREATE TABLE table_10749367_3 (_number INTEGER, air_date VARCHAR) [/INST] ### Response: SELECT MIN(_number) FROM table_10749367_3 WHERE air_date = "18 April 2007" </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 had the challenge of night driving? ### Context: CREATE TABLE table_10749367_3 (test_taker VARCHAR, challenge VARCHAR) [/INST] ### Response: SELECT test_taker FROM table_10749367_3 WHERE challenge = "Night Driving" </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 directors were there for the film Course Completed? ### Context: CREATE TABLE table_10798928_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_10798928_1 WHERE film_title_used_in_nomination = "Course Completed" </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 El Nido? ### Context: CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT director FROM table_10798928_1 WHERE original_title = "El nido" </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 Dulcinea? ### Context: CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT director FROM table_10798928_1 WHERE original_title = "Dulcinea" </s>