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:
List the first name of all the professionals along with the description of the treatment they have done.
### Context:
CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professionals (first_name VARCHAR, professional_id VARCHAR) [/INST]
### Response:
SELECT DISTINCT T1.first_name, T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the name of singers in ascending order of net worth.
### Context:
CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) [/INST]
### Response:
SELECT Name FROM singer ORDER BY Net_Worth_Millions </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 birth year and citizenship of singers?
### Context:
CREATE TABLE singer (Birth_Year VARCHAR, Citizenship VARCHAR) [/INST]
### Response:
SELECT Birth_Year, Citizenship FROM singer </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the name of singers whose citizenship is not "France".
### Context:
CREATE TABLE singer (Name VARCHAR, Citizenship VARCHAR) [/INST]
### Response:
SELECT Name FROM singer WHERE Citizenship <> "France" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show the name of singers whose birth year is either 1948 or 1949?
### Context:
CREATE TABLE singer (Name VARCHAR, Birth_Year VARCHAR) [/INST]
### Response:
SELECT Name FROM singer WHERE Birth_Year = 1948 OR Birth_Year = 1949 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singer with the largest net worth?
### Context:
CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) [/INST]
### Response:
SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 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:
Show different citizenship of singers and the number of singers of each citizenship.
### Context:
CREATE TABLE singer (Citizenship VARCHAR) [/INST]
### Response:
SELECT Citizenship, COUNT(*) FROM singer GROUP BY Citizenship </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Please show the most common citizenship of singers.
### Context:
CREATE TABLE singer (Citizenship VARCHAR) [/INST]
### Response:
SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 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 common singer citizenship ?
### Context:
CREATE TABLE singer (citizenship VARCHAR) [/INST]
### Response:
SELECT citizenship FROM singer GROUP BY citizenship ORDER BY COUNT(*) DESC LIMIT 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:
Show different citizenships and the maximum net worth of singers of each citizenship.
### Context:
CREATE TABLE singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER) [/INST]
### Response:
SELECT Citizenship, MAX(Net_Worth_Millions) FROM singer GROUP BY Citizenship </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show titles of songs and names of singers.
### Context:
CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Title VARCHAR, Singer_ID VARCHAR) [/INST]
### Response:
SELECT T2.Title, T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show distinct names of singers that have songs with sales more than 300000.
### Context:
CREATE TABLE song (Singer_ID VARCHAR, Sales INTEGER); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR) [/INST]
### Response:
SELECT DISTINCT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID WHERE T2.Sales > 300000 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show the names of singers that have more than one song.
### Context:
CREATE TABLE song (Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR) [/INST]
### Response:
SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 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:
Show the names of singers and the total sales of their songs.
### Context:
CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR) [/INST]
### Response:
SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the name of singers that do not have any song.
### Context:
CREATE TABLE song (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR) [/INST]
### Response:
SELECT Name FROM singer WHERE NOT Singer_ID IN (SELECT Singer_ID FROM song) </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show the citizenship shared by singers with birth year before 1945 and after 1955.
### Context:
CREATE TABLE singer (Citizenship VARCHAR, Birth_Year INTEGER) [/INST]
### Response:
SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 available features are there in total?
### Context:
CREATE TABLE Other_Available_Features (Id VARCHAR) [/INST]
### Response:
SELECT COUNT(*) FROM Other_Available_Features </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 feature type name of feature AirCon?
### Context:
CREATE TABLE Other_Available_Features (feature_type_code VARCHAR, feature_name VARCHAR); CREATE TABLE Ref_Feature_Types (feature_type_name VARCHAR, feature_type_code VARCHAR) [/INST]
### Response:
SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = "AirCon" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Show the property type descriptions of properties belonging to that code.
### Context:
CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR) [/INST]
### Response:
SELECT T2.property_type_description FROM Properties AS T1 JOIN Ref_Property_Types AS T2 ON T1.property_type_code = T2.property_type_code GROUP BY T1.property_type_code </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 names of properties that are either houses or apartments with more than 1 room?
### Context:
CREATE TABLE Properties (property_name VARCHAR, property_type_code VARCHAR, room_count VARCHAR) [/INST]
### Response:
SELECT property_name FROM Properties WHERE property_type_code = "House" UNION SELECT property_name FROM Properties WHERE property_type_code = "Apartment" AND room_count > 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 terrence ross' nationality
### Context:
CREATE TABLE table_10015132_16 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_10015132_16 WHERE player = "Terrence Ross" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clu was in toronto 1995-96
### Context:
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club was in toronto 2003-06
### Context:
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "2003-06" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 or teams had jalen rose
### Context:
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(school_club_team) FROM table_10015132_16 WHERE player = "Jalen Rose" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was Assen held?
### Context:
CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT round FROM table_10083598_1 WHERE circuit = "Assen" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of race that Kevin Curtain won?
### Context:
CREATE TABLE table_10083598_1 (no VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT COUNT(no) FROM table_10083598_1 WHERE pole_position = "Kevin Curtain" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of the race in Misano?
### Context:
CREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT date FROM table_10083598_1 WHERE circuit = "Misano" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions did Sherbrooke Faucons (qmjhl) provide in the draft?
### Context:
CREATE TABLE table_1013129_2 (position VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_1013129_2 WHERE college_junior_club_team = "Sherbrooke Faucons (QMJHL)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationalities of the player picked from Thunder Bay Flyers (ushl)
### Context:
CREATE TABLE table_1013129_2 (nationality VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_1013129_2 WHERE college_junior_club_team = "Thunder Bay Flyers (USHL)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college/junior/club teams provided a player to the Washington Capitals NHL Team?
### Context:
CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationalities do the players of New Jersey Devils come from?
### Context:
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT COUNT(nationality) FROM table_1013129_3 WHERE nhl_team = "New Jersey Devils" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Dorain Anneck's pick number?
### Context:
CREATE TABLE table_1013129_3 (pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pick FROM table_1013129_3 WHERE player = "Dorain Anneck" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the nationality of the player from Vancouver Canucks?
### Context:
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number of the player from Springfield Olympics (Nejhl)?
### Context:
CREATE TABLE table_1013129_3 (pick VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT pick FROM table_1013129_3 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the ships launched that were laid down on september 1, 1964?
### Context:
CREATE TABLE table_1014206_2 (launched VARCHAR, laid_down VARCHAR) [/INST]
### Response:
SELECT launched FROM table_1014206_2 WHERE laid_down = "September 1, 1964" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the # for ships commissioned on december 18, 1965.
### Context:
CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR) [/INST]
### Response:
SELECT _number FROM table_1014206_2 WHERE commissioned = "December 18, 1965" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the # for ships commissioned on september 30, 1967.
### Context:
CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR) [/INST]
### Response:
SELECT _number FROM table_1014206_2 WHERE commissioned = "September 30, 1967" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were ships laid down that were commissioned on october 29, 1965?
### Context:
CREATE TABLE table_1014206_2 (laid_down VARCHAR, commissioned VARCHAR) [/INST]
### Response:
SELECT laid_down FROM table_1014206_2 WHERE commissioned = "October 29, 1965" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 could a spanish coronel be addressed as in the commonwealth military?
### Context:
CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, rank_in_spanish VARCHAR) [/INST]
### Response:
SELECT commonwealth_equivalent FROM table_1015521_2 WHERE rank_in_spanish = "Coronel" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Give me a list of all spanish officer titles that could receive recognition as group captain in english
### Context:
CREATE TABLE table_1015521_2 (rank_in_english VARCHAR, commonwealth_equivalent VARCHAR) [/INST]
### Response:
SELECT rank_in_english FROM table_1015521_2 WHERE commonwealth_equivalent = "Group Captain" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 you are a pilot officer in the commonwealth then what will you called as in the US air force?
### Context:
CREATE TABLE table_1015521_2 (us_air_force_equivalent VARCHAR, commonwealth_equivalent VARCHAR) [/INST]
### Response:
SELECT us_air_force_equivalent FROM table_1015521_2 WHERE commonwealth_equivalent = "Pilot Officer" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 you're a major general in the US air force then what ranking will you receive in the commonwealth's air force?
### Context:
CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, us_air_force_equivalent VARCHAR) [/INST]
### Response:
SELECT commonwealth_equivalent FROM table_1015521_2 WHERE us_air_force_equivalent = "Major General" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 you get a ranking as major in the english military then what would the spanish military address you as?
### Context:
CREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR) [/INST]
### Response:
SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = "Major" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which province is grey and bell electorate in
### Context:
CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT province FROM table_1024710_2 WHERE electorate = "Grey and Bell" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which province is bay of islands in
### Context:
CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT province FROM table_1024710_2 WHERE electorate = "Bay of Islands" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of total w–l where doubles w–l is 11–11
### Context:
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, doubles_w_l VARCHAR) [/INST]
### Response:
SELECT COUNT(total_w_l) FROM table_10294071_1 WHERE doubles_w_l = "11–11" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the total number of singles w–l where doubles w–l is 11–14
### Context:
CREATE TABLE table_10294071_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR) [/INST]
### Response:
SELECT COUNT(singles_w_l) FROM table_10294071_1 WHERE doubles_w_l = "11–14" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the total w–l where player is boro jovanović category:articles with hcards
### Context:
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović 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 is the maximum ties played where player is josip palada category:articles with hcards
### Context:
CREATE TABLE table_10294071_1 (ties_played INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(ties_played) FROM table_10294071_1 WHERE player = "Josip Palada 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 is the total number of ties played where total w–l is 38–24
### Context:
CREATE TABLE table_10294071_1 (ties_played VARCHAR, total_w_l VARCHAR) [/INST]
### Response:
SELECT COUNT(ties_played) FROM table_10294071_1 WHERE total_w_l = "38–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:
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?
### Context:
CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR) [/INST]
### Response:
SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Branding for Group Owner Qantam of Cape Cod, LLC?
### Context:
CREATE TABLE table_10333757_1 (branding VARCHAR, group_owner VARCHAR) [/INST]
### Response:
SELECT branding FROM table_10333757_1 WHERE group_owner = "Qantam of Cape Cod, LLC" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Branding does WRKO calls use?
### Context:
CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR) [/INST]
### Response:
SELECT branding FROM table_10333757_1 WHERE calls = "WRKO" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Format for Branding of 1290 wkbk w281au 104.1?
### Context:
CREATE TABLE table_10333757_1 (format VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT format FROM table_10333757_1 WHERE branding = "1290 WKBK W281AU 104.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 Market/Rank is associated with WCRN calls?
### Context:
CREATE TABLE table_10333757_1 (market_rank VARCHAR, calls VARCHAR) [/INST]
### Response:
SELECT market_rank FROM table_10333757_1 WHERE calls = "WCRN" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Frequency is used for WEGP calls?
### Context:
CREATE TABLE table_10333757_1 (frequency VARCHAR, calls VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_10333757_1 WHERE calls = "WEGP" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 regulated retail price for the tariff code ff0 prs?
### Context:
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR) [/INST]
### Response:
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 premium associated with tariff code g9?
### Context:
CREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR) [/INST]
### Response:
SELECT approx_premium FROM table_10408617_5 WHERE tariff_code = "g9" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tariff codes have a bts retail price of 2p/min or inclusive?
### Context:
CREATE TABLE table_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR) [/INST]
### Response:
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2p/min or inclusive" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tariff codes have a bts retail price of 2.553p/min?
### Context:
CREATE TABLE table_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR) [/INST]
### Response:
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2.553p/min" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 prefixes are priced at pence per minute, fixed at all times with a premium of 3p/min?
### Context:
CREATE TABLE table_10408617_5 (prefixes VARCHAR, scheme VARCHAR, approx_premium VARCHAR) [/INST]
### Response:
SELECT prefixes FROM table_10408617_5 WHERE scheme = "Pence per minute, fixed at all times" AND approx_premium = "3p/min" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bts retail price (regulated) for tariff code g10?
### Context:
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR) [/INST]
### Response:
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "g10" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 possible radius?
### Context:
CREATE TABLE table_10432351_1 (radius__r___ INTEGER) [/INST]
### Response:
SELECT MIN(radius__r___) FROM table_10432351_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 are all the spectral types for star mismis24-# is 1sw?
### Context:
CREATE TABLE table_10432351_1 (spectral_type VARCHAR, star__pismis24__number_ VARCHAR) [/INST]
### Response:
SELECT spectral_type FROM table_10432351_1 WHERE star__pismis24__number_ = "1SW" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a radius is 10, what is the lowest possible mass?
### Context:
CREATE TABLE table_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR) [/INST]
### Response:
SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 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:
What percentage of seats were filled in 2006?
### Context:
CREATE TABLE table_105344_2 (seat_factor VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT seat_factor FROM table_105344_2 WHERE year = 2006 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hours were flown in each of the years where more than 64379058.0 kilometers were flown?
### Context:
CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER) [/INST]
### Response:
SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.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:
Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?
### Context:
CREATE TABLE table_105344_2 (aircraft_kilometers INTEGER, departures VARCHAR) [/INST]
### Response:
SELECT MAX(aircraft_kilometers) FROM table_105344_2 WHERE departures = 17096 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning team beat the New York Yankees?
### Context:
CREATE TABLE table_10548224_1 (winning_team VARCHAR, losing_team VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_10548224_1 WHERE losing_team = "New York Yankees" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score for the game that was contested on February 1, 2009?
### Context:
CREATE TABLE table_10548224_1 (final_score VARCHAR, date_contested VARCHAR) [/INST]
### Response:
SELECT final_score FROM table_10548224_1 WHERE date_contested = "February 1, 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 sport had a final score of 3-2?
### Context:
CREATE TABLE table_10548224_1 (sport VARCHAR, final_score VARCHAR) [/INST]
### Response:
SELECT sport FROM table_10548224_1 WHERE final_score = "3-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:
Who was the winning team of the game that was contested on February 1, 2009?
### Context:
CREATE TABLE table_10548224_1 (winning_team VARCHAR, date_contested VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_10548224_1 WHERE date_contested = "February 1, 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:
Who was the losing team of the game that was contested on February 1, 2004?
### Context:
CREATE TABLE table_10548224_1 (losing_team VARCHAR, date_contested VARCHAR) [/INST]
### Response:
SELECT losing_team FROM table_10548224_1 WHERE date_contested = "February 1, 2004" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the minimum total with crop (kilotonnes) being s lupin
### Context:
CREATE TABLE table_1057262_2 (total INTEGER, crop__kilotonnes_ VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_1057262_2 WHERE crop__kilotonnes_ = "s Lupin" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new south wales with crop (kilotonnes) being canola
### Context:
CREATE TABLE table_1057262_2 (new_south_wales VARCHAR, crop__kilotonnes_ VARCHAR) [/INST]
### Response:
SELECT new_south_wales FROM table_1057262_2 WHERE crop__kilotonnes_ = "Canola" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of south australia with victoria value of 2173
### Context:
CREATE TABLE table_1057262_2 (south_australia VARCHAR, victoria VARCHAR) [/INST]
### Response:
SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum tasmania value
### Context:
CREATE TABLE table_1057262_2 (tasmania INTEGER) [/INST]
### Response:
SELECT MIN(tasmania) FROM table_1057262_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 total number of tasmania with new south wales crop of 190 kilotonnes
### Context:
CREATE TABLE table_1057262_2 (tasmania VARCHAR, new_south_wales VARCHAR) [/INST]
### Response:
SELECT COUNT(tasmania) FROM table_1057262_2 WHERE new_south_wales = 190 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 significant relationships list Will as a virtue?
### Context:
CREATE TABLE table_1058787_1 (significant_relationship VARCHAR, virtues VARCHAR) [/INST]
### Response:
SELECT COUNT(significant_relationship) FROM table_1058787_1 WHERE virtues = "Will" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 examples ask the existential question "Can I Love?"
### Context:
CREATE TABLE table_1058787_1 (examples VARCHAR, existential_question_ VARCHAR, _not_in_citation_given_ VARCHAR) [/INST]
### Response:
SELECT examples FROM table_1058787_1 WHERE existential_question_[_not_in_citation_given_] = "Can I Love?" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries got 796.7 points?
### Context:
CREATE TABLE table_1059743_2 (rank VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_1059743_2 WHERE points = "796.7" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what group stage were 177.2 points awarded?
### Context:
CREATE TABLE table_1059743_2 (group_stage VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(group_stage) FROM table_1059743_2 WHERE points = "177.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 group to earn 886.6 points?
### Context:
CREATE TABLE table_1059743_2 (group_stage INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MIN(group_stage) FROM table_1059743_2 WHERE points = "886.6" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many countries earned 177.2 points?
### Context:
CREATE TABLE table_1059743_2 (member_association VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.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 country had the total 18,900 (r)?
### Context:
CREATE TABLE table_10586064_2 (county VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT county FROM table_10586064_2 WHERE total = "18,900 (R)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county of precints 515?
### Context:
CREATE TABLE table_10586064_2 (county VARCHAR, precincts VARCHAR) [/INST]
### Response:
SELECT county FROM table_10586064_2 WHERE precincts = 515 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city has a capacity of 41903?
### Context:
CREATE TABLE table_10601843_2 (city VARCHAR, capacity VARCHAR) [/INST]
### Response:
SELECT city FROM table_10601843_2 WHERE capacity = 41903 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity of the Otkrytie Arena stadium?
### Context:
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR) [/INST]
### Response:
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium where Bursaspor is the tenant open?
### Context:
CREATE TABLE table_10601843_2 (opening INTEGER, tenant VARCHAR) [/INST]
### Response:
SELECT MIN(opening) FROM table_10601843_2 WHERE tenant = "Bursaspor" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tenants are there in the city of Samsun?
### Context:
CREATE TABLE table_10601843_2 (tenant VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT COUNT(tenant) FROM table_10601843_2 WHERE city = "Samsun" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of the Shivalik Zone where the percentage of the Mid-Hill Zone is 10%?
### Context:
CREATE TABLE table_10638523_1 (shivalik_zone VARCHAR, mid_hill_zone VARCHAR) [/INST]
### Response:
SELECT shivalik_zone FROM table_10638523_1 WHERE mid_hill_zone = "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:
For mid-hill zone what is the altitude?
### Context:
CREATE TABLE table_10638523_1 (mid_hill_zone VARCHAR, particulars_and_characteristics VARCHAR) [/INST]
### Response:
SELECT mid_hill_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Altitude" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 climatic conditions for the trance- n himalaya zone?
### Context:
CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, particulars_and_characteristics VARCHAR) [/INST]
### Response:
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Climatic conditions" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%?
### Context:
CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR) [/INST]
### Response:
SELECT trance__n_himalaya_zone FROM table_10638523_1 WHERE high_hill_zone = "25%" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the state of Ted Stevens?
### Context:
CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 standard of the country who won its first title in 1992?
### Context:
CREATE TABLE table_10682862_68 (standard INTEGER, first_title VARCHAR) [/INST]
### Response:
SELECT MAX(standard) FROM table_10682862_68 WHERE first_title = 1992 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest number of players?
### Context:
CREATE TABLE table_10682862_68 (players INTEGER) [/INST]
### Response:
SELECT MIN(players) FROM table_10682862_68 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the last last title received, by any of the countries?
### Context:
CREATE TABLE table_10682862_68 (last_title INTEGER) [/INST]
### Response:
SELECT MAX(last_title) FROM table_10682862_68 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 religious groups made up 0.72% of the Indian population in 2001?
### Context:
CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR) [/INST]
### Response:
SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date for episode 15 of season 6?
### Context:
CREATE TABLE table_10718868_2 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_10718868_2 WHERE no_in_season = 15 </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.