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: Where is the frequency 102.3mhz and 5kw power? ### Context: CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT location FROM table_19215259_1 WHERE power__kw_ = "5kW" AND frequency = "102.3MHz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the frequency 92.3mhz? ### Context: CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT location FROM table_19215259_1 WHERE frequency = "92.3MHz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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.? ### Context: CREATE TABLE table_1924975_1 (no INTEGER) [/INST] ### Response: SELECT MAX(no) FROM table_1924975_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 q1+q2 time in which q1 is 1:18.574? ### Context: CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR) [/INST] ### Response: SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 q1 pos is 8 what is the q1+q2 time? ### Context: CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_pos VARCHAR) [/INST] ### Response: SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_pos = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when the q1+q2 time was 2.34.736, what was the total pos number? ### Context: CREATE TABLE table_1924975_1 (pos VARCHAR, q1 VARCHAR, q2_time VARCHAR) [/INST] ### Response: SELECT COUNT(pos) FROM table_1924975_1 WHERE q1 + q2_time = "2.34.736" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 q1 time is 1:16.218 what is the highest q1 pos? ### Context: CREATE TABLE table_1924975_1 (q1_pos INTEGER, q1_time VARCHAR) [/INST] ### Response: SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest 6-car-sets for fiscal year 1968? ### Context: CREATE TABLE table_19255192_1 (fiscal_year VARCHAR) [/INST] ### Response: SELECT MAX(6 AS _car_sets) FROM table_19255192_1 WHERE fiscal_year = 1968 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fiscal year if total vehicles is 490? ### Context: CREATE TABLE table_19255192_1 (fiscal_year INTEGER, total_vehicles VARCHAR) [/INST] ### Response: SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 degree for otorhinolaryngology ### Context: CREATE TABLE table_19304764_2 (degree_diploma VARCHAR, discipline VARCHAR) [/INST] ### Response: SELECT degree_diploma FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seats for otorhinolaryngology ### Context: CREATE TABLE table_19304764_2 (total_seats VARCHAR, discipline VARCHAR) [/INST] ### Response: SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 recognised seats for pharmacology ### Context: CREATE TABLE table_19304764_2 (recognised_seats VARCHAR, discipline VARCHAR) [/INST] ### Response: SELECT recognised_seats FROM table_19304764_2 WHERE discipline = "Pharmacology" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seats for general surgery ### Context: CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR) [/INST] ### Response: SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 recognised seats ### Context: CREATE TABLE table_19304764_2 (recognised_seats INTEGER) [/INST] ### Response: SELECT MIN(recognised_seats) FROM table_19304764_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: How many nations do the FMS international team represent? ### Context: CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of fastest laps listed? ### Context: CREATE TABLE table_19312274_3 (fastest_laps INTEGER) [/INST] ### Response: SELECT MIN(fastest_laps) FROM table_19312274_3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many championship titles for LRS Formula / Laurent RΓ©don Motorsport? ### Context: CREATE TABLE table_19312274_3 (championship_titles VARCHAR, name VARCHAR) [/INST] ### Response: SELECT championship_titles FROM table_19312274_3 WHERE name = "LRS Formula / Laurent RΓ©don 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: What's the version of AutoCAD Architectural Desktop 3? ### Context: CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR) [/INST] ### Response: SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what season did the team get in the conference finals of the playoffs? ### Context: CREATE TABLE table_1939214_1 (regular_season VARCHAR, playoffs VARCHAR) [/INST] ### Response: SELECT regular_season FROM table_1939214_1 WHERE playoffs = "Conference Finals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's status in the USISL Pro League playoffs? ### Context: CREATE TABLE table_1939214_1 (playoffs VARCHAR, league VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_1939214_1 WHERE league = "USISL Pro league" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did the team compete in the 2nd, Northeast season of the USL PDL League? ### Context: CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR, regular_season VARCHAR) [/INST] ### Response: SELECT year FROM table_1939214_1 WHERE league = "USL PDL" AND regular_season = "2nd, Northeast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the team do in the Open Cup in the 2nd, Northeast season of the USISL D-3 Pro League? ### Context: CREATE TABLE table_1939214_1 (open_cup VARCHAR, league VARCHAR, regular_season VARCHAR) [/INST] ### Response: SELECT open_cup FROM table_1939214_1 WHERE league = "USISL D-3 Pro league" AND regular_season = "2nd, Northeast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did the team compete in the USISL Pro League? ### Context: CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR) [/INST] ### Response: SELECT year FROM table_1939214_1 WHERE league = "USISL Pro league" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If %2001 is 0.1%, what is the minimum Arabs 2001 number? ### Context: CREATE TABLE table_1939367_1 (arabs_2001 INTEGER, _percentage_2001 VARCHAR) [/INST] ### Response: SELECT MIN(arabs_2001) FROM table_1939367_1 WHERE _percentage_2001 = "0.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: If the province is Manitoba, what is the Arabs 2001 number? ### Context: CREATE TABLE table_1939367_1 (arabs_2001 INTEGER, province VARCHAR) [/INST] ### Response: SELECT MAX(arabs_2001) FROM table_1939367_1 WHERE province = "Manitoba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province amount if the % 2011 is 0.0% ### Context: CREATE TABLE table_1939367_1 (province VARCHAR, _percentage_2011 VARCHAR) [/INST] ### Response: SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.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: If the province is British Columbia, what is the Arabs 2001 total number? ### Context: CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR) [/INST] ### Response: SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = "British Columbia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the province is Nunavut, what is the Arabs 2011 amount? ### Context: CREATE TABLE table_1939367_1 (arabs_2011 VARCHAR, province VARCHAR) [/INST] ### Response: SELECT arabs_2011 FROM table_1939367_1 WHERE province = "Nunavut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament, in which the runner-up was Song-Hee Kim, happen ### Context: CREATE TABLE table_1940012_2 (date VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT date FROM table_1940012_2 WHERE runner_s__up = "Song-Hee Kim" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of winners share (in $) in the game with a margin victory of 2 strokes? ### Context: CREATE TABLE table_1940012_2 (winners_share___$__ VARCHAR, margin_of_victory VARCHAR) [/INST] ### Response: SELECT winners_share___$__ FROM table_1940012_2 WHERE margin_of_victory = "2 strokes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score in the Sybase Classic tournament? ### Context: CREATE TABLE table_1940012_2 (winning_score VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_1940012_2 WHERE tournament = "Sybase Classic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score in the tournament, ending with Birdie Kim as a runner-up? ### Context: CREATE TABLE table_1940012_2 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_1940012_2 WHERE runner_s__up = "Birdie Kim" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Latin Americans were there in the Northwest Territories in 2011? ### Context: CREATE TABLE table_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR) [/INST] ### Response: SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = "Northwest Territories" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the count of Latin Americans in Yukon in 2001 are there? ### Context: CREATE TABLE table_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR) [/INST] ### Response: SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%? ### Context: CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR, province VARCHAR) [/INST] ### Response: SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = "0.8%" AND province = "Manitoba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%? ### Context: CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR) [/INST] ### Response: SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = "0.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: How many Latin Americans were there in 2001 in the province with 0.0% 2001 and 0.2% 2011? ### Context: CREATE TABLE table_1939405_2 (latin_americans_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2011 VARCHAR) [/INST] ### Response: SELECT MAX(latin_americans_2001) FROM table_1939405_2 WHERE _percentage_2001 = "0.0%" AND _percentage_2011 = "0.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: How many Latin Americans lived in 2011 in Saskatchewan? ### Context: CREATE TABLE table_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR) [/INST] ### Response: SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = "Saskatchewan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of wins possible for the Champ Car World Series among all the drivers? ### Context: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER) [/INST] ### Response: SELECT MIN(champ_car_world_series__2004_2007_) FROM table_19524523_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 most Champ Car wins for any driver with a USAC record of 2? ### Context: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR) [/INST] ### Response: SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 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: How many afc titles did the Cleveland Browns have? ### Context: CREATE TABLE table_1952065_4 (afc_titles INTEGER, teams_with_division_titles VARCHAR) [/INST] ### Response: SELECT MAX(afc_titles) FROM table_1952065_4 WHERE teams_with_division_titles = "Cleveland Browns" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division championships did the Pittsburgh Steelers have? ### Context: CREATE TABLE table_1952065_4 (division_championships VARCHAR, teams_with_division_titles VARCHAR) [/INST] ### Response: SELECT division_championships FROM table_1952065_4 WHERE teams_with_division_titles = "Pittsburgh Steelers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 afc titles were there when there were 2 super bowl wins? ### Context: CREATE TABLE table_1952065_4 (afc_titles INTEGER, super_bowl_wins VARCHAR) [/INST] ### Response: SELECT MAX(afc_titles) FROM table_1952065_4 WHERE super_bowl_wins = 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: How many division title teams were in the division championships 9 times? ### Context: CREATE TABLE table_1952065_4 (teams_with_division_titles VARCHAR, division_championships VARCHAR) [/INST] ### Response: SELECT COUNT(teams_with_division_titles) FROM table_1952065_4 WHERE division_championships = 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 highest number of division championships where playoff berths were 11? ### Context: CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR) [/INST] ### Response: SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who in the original Toronto cast played the character played by Kate Rockwell in the current Broadway cast? ### Context: CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, current_broadway_cast VARCHAR) [/INST] ### Response: SELECT original_toronto_cast FROM table_19529639_3 WHERE current_broadway_cast = "Kate Rockwell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast? ### Context: CREATE TABLE table_19529639_3 (current_west_end_cast VARCHAR, original_west_end_cast VARCHAR) [/INST] ### Response: SELECT current_west_end_cast FROM table_19529639_3 WHERE original_west_end_cast = "Jodie Jacobs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 member of the current Broadway cast plays the character played by Constantine Maroulis from the original Broadway cast? ### Context: CREATE TABLE table_19529639_3 (current_broadway_cast VARCHAR, original_broadway_cast VARCHAR) [/INST] ### Response: SELECT current_broadway_cast FROM table_19529639_3 WHERE original_broadway_cast = "Constantine Maroulis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actors from the Second national tour year 2 played the character played by Oliver Tompsett from the original West End cast? ### Context: CREATE TABLE table_19529639_3 (second_national_tour_year_2 VARCHAR, original_west_end_cast VARCHAR) [/INST] ### Response: SELECT COUNT(second_national_tour_year_2) FROM table_19529639_3 WHERE original_west_end_cast = "Oliver Tompsett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast? ### Context: CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, first_national_tour_cast VARCHAR) [/INST] ### Response: SELECT original_toronto_cast FROM table_19529639_3 WHERE first_national_tour_cast = "Constantine Maroulis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # for bill finger edmond hamilton dick sprang , et al. ### Context: CREATE TABLE table_19534677_1 (_number VARCHAR, creators VARCHAR) [/INST] ### Response: SELECT _number FROM table_19534677_1 WHERE creators = "Bill Finger Edmond Hamilton Dick Sprang , et al." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 volume line for number 8 ### Context: CREATE TABLE table_19534677_1 (volume_line VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT volume_line FROM table_19534677_1 WHERE _number = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number for material collected for 978-1401221935 ### Context: CREATE TABLE table_19534677_1 (material_collected VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT COUNT(material_collected) FROM table_19534677_1 WHERE isbn = "978-1401221935" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 umbr of creators for flash of two worlds ### Context: CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR) [/INST] ### Response: SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 material collected for justice league of america by george pΓ©rez, vol. 2 ### Context: CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR) [/INST] ### Response: SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = "Justice League of America by George PΓ©rez, Vol. 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 highest overall number one(s)? ### Context: CREATE TABLE table_19542477_8 (number_one_s_ INTEGER) [/INST] ### Response: SELECT MAX(number_one_s_) FROM table_19542477_8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the player for 1945 for player ### Context: CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR) [/INST] ### Response: SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 inducted as for joe medwick category:articles with hcards ### Context: CREATE TABLE table_19611329_1 (inducted_as VARCHAR, player VARCHAR) [/INST] ### Response: SELECT inducted_as FROM table_19611329_1 WHERE player = "Joe Medwick Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams drive cars manufactured by Toyota? ### Context: CREATE TABLE table_1963459_2 (team VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT team FROM table_1963459_2 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: What is Jon Thorne's average speed? ### Context: CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, team VARCHAR) [/INST] ### Response: SELECT average_speed__mph_ FROM table_1963459_2 WHERE team = "Jon Thorne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day did the race in 1974 take place on? ### Context: CREATE TABLE table_1963459_2 (date VARCHAR, year VARCHAR) [/INST] ### Response: SELECT date FROM table_1963459_2 WHERE year = 1974 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tony Stewart's average speed? ### Context: CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT average_speed__mph_ FROM table_1963459_2 WHERE driver = "Tony Stewart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the average speed 145.24 ### Context: CREATE TABLE table_1963459_2 (year INTEGER, average_speed__mph_ VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_1963459_2 WHERE average_speed__mph_ = "145.24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surfaces were played on in 2005 where the score was 6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6? ### Context: CREATE TABLE table_1964010_2 (surface VARCHAR, year VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(surface) FROM table_1964010_2 WHERE year = 2005 AND score = "6–7 (4–7) , 3–6, 7–6 (7–2) , 3–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: Who are the opponents of Mike Byron and partner in matches where the score was 6–4, 4–6, 7–6 (7–4)? ### Context: CREATE TABLE table_1964010_2 (opponents VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponents FROM table_1964010_2 WHERE score = "6–4, 4–6, 7–6 (7–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 player is from the California Golden Seals? ### Context: CREATE TABLE table_1965650_10 (player VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_1965650_10 WHERE nhl_team = "California Golden Seals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Lee Palmer play for? ### Context: CREATE TABLE table_1965650_10 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_10 WHERE player = "Lee Palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country is Alain Labrecque from? ### Context: CREATE TABLE table_1965650_10 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_1965650_10 WHERE player = "Alain Labrecque" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Boston Bruins minimum pick? ### Context: CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = "Boston Bruins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of glenn goldup ### Context: CREATE TABLE table_1965650_2 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_1965650_2 WHERE player = "Glenn Goldup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for colin campbell ### Context: CREATE TABLE table_1965650_2 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_1965650_2 WHERE player = "Colin Campbell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for pick number for 30 ### Context: CREATE TABLE table_1965650_2 (player VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT player FROM table_1965650_2 WHERE pick__number = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the college/junior club team for jimmy jones ### Context: CREATE TABLE table_1965650_2 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_2 WHERE player = "Jimmy Jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MVP the season Scaligera Verona were Champions? ### Context: CREATE TABLE table_19651669_1 (mvp VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT mvp FROM table_19651669_1 WHERE champion = "Scaligera Verona" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finalist in the season 2007-08? ### Context: CREATE TABLE table_19651669_1 (finalist VARCHAR, season VARCHAR) [/INST] ### Response: SELECT finalist FROM table_19651669_1 WHERE season = "2007-08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finalist when the final venue was Varese? ### Context: CREATE TABLE table_19651669_1 (finalist VARCHAR, final_venue VARCHAR) [/INST] ### Response: SELECT finalist FROM table_19651669_1 WHERE final_venue = "Varese" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finalist when the MVP was Romain Sato? ### Context: CREATE TABLE table_19651669_1 (finalist VARCHAR, mvp VARCHAR) [/INST] ### Response: SELECT finalist FROM table_19651669_1 WHERE mvp = "Romain Sato" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champion for the 1998-99 season? ### Context: CREATE TABLE table_19651669_1 (champion VARCHAR, season VARCHAR) [/INST] ### Response: SELECT champion FROM table_19651669_1 WHERE season = "1998-99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final venues were there in the 1997-98 season? ### Context: CREATE TABLE table_19651669_1 (final_venue VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(final_venue) FROM table_19651669_1 WHERE season = "1997-98" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player was drafted to the Detroit Red Wings? ### Context: CREATE TABLE table_1965650_7 (player VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT player FROM table_1965650_7 WHERE nhl_team = "Detroit Red Wings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Dan Follet play for before the draft? ### Context: CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_7 WHERE player = "Dan Follet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams have a player named Denis Andersen? ### Context: CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College did the Buffalo Sabres' pick play for? ### Context: CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_7 WHERE nhl_team = "Buffalo Sabres" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team does Denis Desgagnes play for? ### Context: CREATE TABLE table_1965650_8 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1965650_8 WHERE player = "Denis Desgagnes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cub team or college did Bob Law come from? ### Context: CREATE TABLE table_1965650_8 (college_junior_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college_junior_club_team FROM table_1965650_8 WHERE player = "Bob Law" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team did jim koleff play on? ### Context: CREATE TABLE table_1965650_8 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_1965650_8 WHERE player = "Jim Koleff" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams have skyhawks as a nickname? ### Context: CREATE TABLE table_1969634_1 (division VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(division) FROM table_1969634_1 WHERE nickname = "Skyhawks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for the school in garden city, new york? ### Context: CREATE TABLE table_1969634_1 (enrollment VARCHAR, location VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_1969634_1 WHERE location = "Garden City, New York" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools with greyhounds as their nickname? ### Context: CREATE TABLE table_1969634_1 (institution VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(institution) FROM table_1969634_1 WHERE nickname = "Greyhounds" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools named southern new hampshire university? ### Context: CREATE TABLE table_1969634_1 (enrollment VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT COUNT(enrollment) FROM table_1969634_1 WHERE institution = "Southern New Hampshire 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: When no.55 ipb spartak racing is the g1 winning team what are the results? ### Context: CREATE TABLE table_19722436_2 (results VARCHAR, gt1_winning_team VARCHAR) [/INST] ### Response: SELECT results FROM table_19722436_2 WHERE gt1_winning_team = "No.55 IPB Spartak 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: When peter kox roman rusinov is the gt1 of the winning team how many lmp1 winning teams are there? ### Context: CREATE TABLE table_19722436_2 (lmp1_winning_team VARCHAR, gt1_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(lmp1_winning_team) FROM table_19722436_2 WHERE gt1_winning_team = "Peter Kox Roman Rusinov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 julien jousse patrice goueslard yann clairay is teh gt1 of the winning team how many measurements of rnd. are there? ### Context: CREATE TABLE table_19722436_2 (rnd VARCHAR, gt1_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(rnd) FROM table_19722436_2 WHERE gt1_winning_team = "Julien Jousse Patrice Goueslard Yann Clairay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nicknames were associated with Milton, Massachusetts? ### Context: CREATE TABLE table_1973729_1 (nickname VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(nickname) FROM table_1973729_1 WHERE location = "Milton, Massachusetts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the Eastern Nazarene College located? ### Context: CREATE TABLE table_1973729_1 (location VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT location FROM table_1973729_1 WHERE institution = "Eastern Nazarene College" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years are listed under joined for the Nor'easters? ### Context: CREATE TABLE table_1973729_1 (joined VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT COUNT(joined) FROM table_1973729_1 WHERE nickname = "Nor'easters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location contains a school that has an enrollment of 2686? ### Context: CREATE TABLE table_1973729_1 (location VARCHAR, enrollment VARCHAR) [/INST] ### Response: SELECT location FROM table_1973729_1 WHERE enrollment = 2686 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did the Lions join? ### Context: CREATE TABLE table_1973729_1 (joined INTEGER, nickname VARCHAR) [/INST] ### Response: SELECT MIN(joined) FROM table_1973729_1 WHERE nickname = "Lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference has the nickname Chargers? ### Context: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT current_conference FROM table_1973729_2 WHERE nickname = "Chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference has the nickname Lions? ### Context: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions" </s>