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