text
stringlengths 380
1.33k
|
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What offensive line player hailed from Baton Rouge, Louisiana?
### Context:
CREATE TABLE table_11677691_1 (player VARCHAR, position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_1 WHERE position = "Offensive line" AND hometown = "Baton Rouge, Louisiana" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jeremy Hill's hometown?
### Context:
CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy Hill" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 offensive line players played for a college in Alabama?
### Context:
CREATE TABLE table_11677691_1 (hometown VARCHAR, college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(hometown) FROM table_11677691_1 WHERE college = "Alabama" AND position = "Offensive line" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players attended Hillcrest High School?
### Context:
CREATE TABLE table_11677691_1 (college VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT COUNT(college) FROM table_11677691_1 WHERE school = "Hillcrest High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the hometown for the player that attended Shanley High School?
### Context:
CREATE TABLE table_11677691_4 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_4 WHERE school = "Shanley High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player went to the college Southern California?
### Context:
CREATE TABLE table_11677691_4 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_4 WHERE college = "Southern California" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which college did the player attend that went to Mission Viejo High School?
### Context:
CREATE TABLE table_11677691_4 (college VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT college FROM table_11677691_4 WHERE school = "Mission Viejo High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players hometown was Cincinnati, Ohio?
### Context:
CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11677691_4 WHERE hometown = "Cincinnati, Ohio" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player's hometown was Pewaukee, Wisconsin?
### Context:
CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_4 WHERE hometown = "Pewaukee, Wisconsin" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players' hometown was Akron, Ohio?
### Context:
CREATE TABLE table_11677691_4 (school VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_11677691_4 WHERE hometown = "Akron, Ohio" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is from Utah?
### Context:
CREATE TABLE table_11677691_7 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_7 WHERE college = "Utah" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is from Saguaro High School?
### Context:
CREATE TABLE table_11677691_7 (position VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_7 WHERE school = "Saguaro High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player is from Joliet Catholic HIgh School?
### Context:
CREATE TABLE table_11677691_7 (player VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT player FROM table_11677691_7 WHERE school = "Joliet Catholic High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school did the player then go to Auburn?
### Context:
CREATE TABLE table_11677691_7 (school VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT school FROM table_11677691_7 WHERE college = "Auburn" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the hometown of trinity high school?
### Context:
CREATE TABLE table_11677691_7 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_7 WHERE school = "Trinity High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position did the kid from loganville, georgia play
### Context:
CREATE TABLE table_11677691_8 (position VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT position FROM table_11677691_8 WHERE hometown = "Loganville, Georgia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is longview high school
### Context:
CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_8 WHERE school = "Longview High school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did robert nkemdiche ‡ go to college
### Context:
CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_11677691_8 WHERE player = "Robert Nkemdiche ‡" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is friendship collegiate charter school located
### Context:
CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_11677691_8 WHERE school = "Friendship Collegiate Charter school" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had an evening gown score of 9.78?
### Context:
CREATE TABLE table_11690135_1 (interview VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT interview FROM table_11690135_1 WHERE evening_gown = "9.78" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 interviews were there for Miss Virginia?
### Context:
CREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had a swimsuit score of 9.87?
### Context:
CREATE TABLE table_11690135_1 (country VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had evening gown score of 9.82?
### Context:
CREATE TABLE table_11690135_1 (country VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT country FROM table_11690135_1 WHERE evening_gown = "9.82" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ladies scored a 9.89 for the evening gown?
### Context:
CREATE TABLE table_11690135_1 (swimsuit VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT COUNT(swimsuit) FROM table_11690135_1 WHERE evening_gown = "9.89" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored a 9.72 in the swimsuit?
### Context:
CREATE TABLE table_11690135_1 (interview VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT interview FROM table_11690135_1 WHERE swimsuit = "9.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 episode was writted by John A. Norris?
### Context:
CREATE TABLE table_11695215_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_11695215_1 WHERE written_by = "John A. Norris" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes did David Jackson write and direct?
### Context:
CREATE TABLE table_11695215_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_11695215_1 WHERE directed_by = "David Jackson" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player attended Loyola Marymount?
### Context:
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Loyola Marymount" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 may times did a player that attended Iowa state appear on the all time roster?
### Context:
CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE school_club_team_country = "Iowa State" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height was the player that played for the Rockets between 1992-93?
### Context:
CREATE TABLE table_11734041_1 (height_in_ft VARCHAR, years_for_rockets VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_11734041_1 WHERE years_for_rockets = "1992-93" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did a center that attended Oral Roberts play for the Rockets?
### Context:
CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral Roberts" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player name who came from Australia?
### Context:
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Australia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height in ft for the rockets from 1973-78?
### Context:
CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = "1973-78" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players were number 3?
### Context:
CREATE TABLE table_11734041_16 (player VARCHAR, no_s_ VARCHAR) [/INST]
### Response:
SELECT player FROM table_11734041_16 WHERE no_s_ = "3" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the height in ft for number 42 for the rockets in 1993-94?
### Context:
CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_11734041_16 WHERE no_s_ = "42" AND years_for_rockets = "1993-94" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the players that attented long beach state?
### Context:
CREATE TABLE table_11734041_16 (player VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT player FROM table_11734041_16 WHERE school_club_team_country = "Long Beach State" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of players for the rockets in 1998 only?
### Context:
CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the area (square km) where the arrondissement is millau?
### Context:
CREATE TABLE table_1175233_1 (area__square_km_ INTEGER, arrondissement VARCHAR) [/INST]
### Response:
SELECT MIN(area__square_km_) FROM table_1175233_1 WHERE arrondissement = "Millau" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 communes have the chief town as dijon?
### Context:
CREATE TABLE table_1175233_1 (communes VARCHAR, chief_town VARCHAR) [/INST]
### Response:
SELECT COUNT(communes) FROM table_1175233_1 WHERE chief_town = "Dijon" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 communes when the arrondissement is cosne-cours-sur-loire?
### Context:
CREATE TABLE table_1175233_1 (communes INTEGER, arrondissement VARCHAR) [/INST]
### Response:
SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = "Cosne-Cours-sur-Loire" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine where builder is gloucester rcw and withdrawn is 1959
### Context:
CREATE TABLE table_1181375_1 (engine VARCHAR, builder VARCHAR, withdrawn VARCHAR) [/INST]
### Response:
SELECT engine FROM table_1181375_1 WHERE builder = "Gloucester RCW" AND withdrawn = "1959" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine where number range is 8–9, 13–16
### Context:
CREATE TABLE table_1181375_1 (engine VARCHAR, number_range VARCHAR) [/INST]
### Response:
SELECT engine FROM table_1181375_1 WHERE number_range = "8–9, 13–16" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the introduced where notes is 9 withdrawn in 1946 after fire
### Context:
CREATE TABLE table_1181375_1 (introduced VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT introduced FROM table_1181375_1 WHERE notes = "9 withdrawn in 1946 after fire" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 builder where withdrawn is 1954–1958
### Context:
CREATE TABLE table_1181375_1 (builder VARCHAR, withdrawn VARCHAR) [/INST]
### Response:
SELECT builder FROM table_1181375_1 WHERE withdrawn = "1954–1958" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 notes where number range is 17
### Context:
CREATE TABLE table_1181375_1 (notes VARCHAR, number_range VARCHAR) [/INST]
### Response:
SELECT notes FROM table_1181375_1 WHERE number_range = "17" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 notes where withdrawn is 1956–57
### Context:
CREATE TABLE table_1181375_1 (notes VARCHAR, withdrawn VARCHAR) [/INST]
### Response:
SELECT notes FROM table_1181375_1 WHERE withdrawn = "1956–57" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lyricist for gopal krishna and co singer of solo?
### Context:
CREATE TABLE table_11827596_4 (lyricist VARCHAR, film_name VARCHAR, co_singer VARCHAR) [/INST]
### Response:
SELECT lyricist FROM table_11827596_4 WHERE film_name = "Gopal Krishna" AND co_singer = "Solo" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 music directors where the suresh wadkar co singer of bhayanak?
### Context:
CREATE TABLE table_11827596_4 (music_director VARCHAR, co_singer VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT COUNT(music_director) FROM table_11827596_4 WHERE co_singer = "Suresh Wadkar" AND film_name = "Bhayanak" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many times is the co-singer suresh wadkar and the film name is tera dukh mera dukh?
### Context:
CREATE TABLE table_11827596_2 (lyricist VARCHAR, co_singer VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT COUNT(lyricist) FROM table_11827596_2 WHERE co_singer = "Suresh Wadkar" AND film_name = "Tera Dukh Mera Dukh" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film names with the co-singer vinod rathod?
### Context:
CREATE TABLE table_11827596_2 (film_name VARCHAR, co_singer VARCHAR) [/INST]
### Response:
SELECT film_name FROM table_11827596_2 WHERE co_singer = "Vinod Rathod" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song name for the film name ganga kare insaaf?
### Context:
CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT song_name FROM table_11827596_2 WHERE film_name = "Ganga Kare Insaaf" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song names for the film kaal bhairav?
### Context:
CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT song_name FROM table_11827596_2 WHERE film_name = "Kaal Bhairav" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1845 disposal for sussex?
### Context:
CREATE TABLE table_1184344_1 (name VARCHAR) [/INST]
### Response:
SELECT 1845 AS _disposal FROM table_1184344_1 WHERE name = "Sussex" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum l&cr number for archimedes?
### Context:
CREATE TABLE table_1184344_1 (cr_no VARCHAR, l INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(l) & cr_no FROM table_1184344_1 WHERE name = "Archimedes" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of sussex?
### Context:
CREATE TABLE table_1184344_1 (type VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT type FROM table_1184344_1 WHERE name = "Sussex" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Test Mission: War Heads and Missile Payload launch when there was a partial failure?
### Context:
CREATE TABLE table_11869952_3 (launch_site VARCHAR, mission VARCHAR, results VARCHAR) [/INST]
### Response:
SELECT launch_site FROM table_11869952_3 WHERE mission = "Test mission: war heads and Missile payload" AND results = "Partial Failure" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 missions were scheduled to launch on November 16, 2006?
### Context:
CREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR) [/INST]
### Response:
SELECT mission FROM table_11869952_3 WHERE launch_date = "November 16, 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:
Which authority has a rocket launch called rehbar-ii?
### Context:
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR) [/INST]
### Response:
SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Rehbar-II" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 authority has a rocket launch called rehnuma-8?
### Context:
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR) [/INST]
### Response:
SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Rehnuma-8" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which authority has a rocket launch called shahpar-2?
### Context:
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR) [/INST]
### Response:
SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Shahpar-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:
Which authority has a rocket launch called rehbar-5?
### Context:
CREATE TABLE table_11869952_1 (derivatives VARCHAR, rocket_launch VARCHAR) [/INST]
### Response:
SELECT COUNT(derivatives) FROM table_11869952_1 WHERE rocket_launch = "Rehbar-5" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What denominations are the stamps with themes opera, léopold simoneau and pierrette alarie?
### Context:
CREATE TABLE table_11900773_4 (denomination VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT denomination FROM table_11900773_4 WHERE theme = "Opera, Léopold Simoneau and Pierrette Alarie" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on?
### Context:
CREATE TABLE table_11900773_4 (paper_type VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT paper_type FROM table_11900773_4 WHERE theme = "Duck Decoys, Barrow's Golden Eye" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the themes designed by Isabelle Toussaint.
### Context:
CREATE TABLE table_11900773_6 (theme VARCHAR, design VARCHAR) [/INST]
### Response:
SELECT theme FROM table_11900773_6 WHERE design = "Isabelle Toussaint" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 paper types did Ian Drolet design stamps on?
### Context:
CREATE TABLE table_11900773_6 (paper_type VARCHAR, design VARCHAR) [/INST]
### Response:
SELECT COUNT(paper_type) FROM table_11900773_6 WHERE design = "Ian Drolet" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the designer of the Christmas: Winter Fun (USA) stamp?
### Context:
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT design FROM table_11900773_6 WHERE theme = "Christmas: Winter Fun (USA)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many stamps were designed for the theme of XII Summit de la Francophonie?
### Context:
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT COUNT(design) FROM table_11900773_6 WHERE theme = "XII Summit de la Francophonie" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?
### Context:
CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 premier episodes were there with the title survivor's law ii?
### Context:
CREATE TABLE table_11926114_1 (premiere VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT COUNT(premiere) FROM table_11926114_1 WHERE english_title = "Survivor's Law II" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chinese name that has a 31 average?
### Context:
CREATE TABLE table_11926114_1 (chinese_title VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT chinese_title FROM table_11926114_1 WHERE average = 31 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of finale 37?
### Context:
CREATE TABLE table_11926114_1 (rank VARCHAR, finale VARCHAR) [/INST]
### Response:
SELECT rank FROM table_11926114_1 WHERE finale = 37 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chinese name for Forensic heroes ii?
### Context:
CREATE TABLE table_11926114_1 (chinese_title VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT chinese_title FROM table_11926114_1 WHERE english_title = "Forensic Heroes II" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbr on the list had a peak rating of 42?
### Context:
CREATE TABLE table_11926114_1 (rank INTEGER, peak VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_11926114_1 WHERE peak = 42 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the electorate where election date is 16 cannot handle non-empty timestamp argument!
### Context:
CREATE TABLE table_1193568_1 (electorate VARCHAR, election_date VARCHAR) [/INST]
### Response:
SELECT electorate FROM table_1193568_1 WHERE election_date = "16 Cannot handle non-empty timestamp argument!" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province where member is frederick merriman category:articles with hcards
### Context:
CREATE TABLE table_1193568_1 (province VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT province FROM table_1193568_1 WHERE member = "Frederick Merriman 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's the election date where electorate is omata
### Context:
CREATE TABLE table_1193568_1 (election_date VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_1193568_1 WHERE electorate = "Omata" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 election date where member is william richmond category:articles with hcards
### Context:
CREATE TABLE table_1193568_1 (election_date VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_1193568_1 WHERE member = "William Richmond 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's the province where member is dingley brittin category:articles with hcards
### Context:
CREATE TABLE table_1193568_1 (province VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT province FROM table_1193568_1 WHERE member = "Dingley Brittin 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's the election date where electorate is christchurch country
### Context:
CREATE TABLE table_1193568_1 (election_date VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT election_date FROM table_1193568_1 WHERE electorate = "Christchurch Country" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for senator C. Anthony Muse?
### Context:
CREATE TABLE table_11948857_1 (county_s__represented VARCHAR, member_senator VARCHAR) [/INST]
### Response:
SELECT county_s__represented FROM table_11948857_1 WHERE member_senator = "C. Anthony Muse" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the senator for district 24?
### Context:
CREATE TABLE table_11948857_1 (member_senator VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT member_senator FROM table_11948857_1 WHERE district = 24 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many entries are shown for first elected for district 41?
### Context:
CREATE TABLE table_11948857_1 (first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(first_elected) FROM table_11948857_1 WHERE district = 41 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of allied-unrelated where the component is human capital?
### Context:
CREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR) [/INST]
### Response:
SELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = "Human Capital" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 integrated allied-related are there?
### Context:
CREATE TABLE table_11944282_1 (integrated VARCHAR, allied_related VARCHAR) [/INST]
### Response:
SELECT integrated FROM table_11944282_1 WHERE allied_related = "Many" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 integrated where the component are customers?
### Context:
CREATE TABLE table_11944282_1 (integrated VARCHAR, component VARCHAR) [/INST]
### Response:
SELECT integrated FROM table_11944282_1 WHERE component = "Customers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 integrated in which the holding allied-unrelated is many?
### Context:
CREATE TABLE table_11944282_1 (holding VARCHAR, allied_unrelated VARCHAR) [/INST]
### Response:
SELECT holding FROM table_11944282_1 WHERE allied_unrelated = "Many" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 integrated where allied-related is shared?
### Context:
CREATE TABLE table_11944282_1 (component VARCHAR, allied_related VARCHAR) [/INST]
### Response:
SELECT component FROM table_11944282_1 WHERE allied_related = "Shared" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the writers for series number 20?
### Context:
CREATE TABLE table_11951237_1 (written_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_11951237_1 WHERE series__number = 20 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the production code for the show that aired on October 27, 1994?
### Context:
CREATE TABLE table_11951237_1 (production_code INTEGER, original_air_date VARCHAR) [/INST]
### Response:
SELECT MAX(production_code) FROM table_11951237_1 WHERE original_air_date = "October 27, 1994" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the Series 1 episode?
### Context:
CREATE TABLE table_11951237_1 (directed_by VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_11951237_1 WHERE series__number = 1 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which team played on December 5?
### Context:
CREATE TABLE table_11959669_4 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_11959669_4 WHERE date = "December 5" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location attendance when High points was by Pierce (22)?
### Context:
CREATE TABLE table_11959669_4 (location_attendance VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (22)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the Bulls play the LA Lakers?
### Context:
CREATE TABLE table_11960610_7 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_11960610_7 WHERE team = "LA Lakers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team were the Bulls hosted by on December 7?
### Context:
CREATE TABLE table_11960610_7 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_11960610_7 WHERE date = "December 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:
Who had the highest assists in game 4?
### Context:
CREATE TABLE table_11964154_2 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_11964154_2 WHERE game = 4 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games was Damien Wilkins (27) the high scorer?
### Context:
CREATE TABLE table_11964154_2 (game INTEGER, high_points VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_11964154_2 WHERE high_points = "Damien Wilkins (27)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name when born is december 30, 1957 detroit, mi?
### Context:
CREATE TABLE table_1198175_1 (name VARCHAR, born VARCHAR) [/INST]
### Response:
SELECT name FROM table_1198175_1 WHERE born = "December 30, 1957 Detroit, MI" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight(lbs) when born is april 6, 1954 detroit, mi?
### Context:
CREATE TABLE table_1198175_1 (weight_lbs_ VARCHAR, born VARCHAR) [/INST]
### Response:
SELECT weight_lbs_ FROM table_1198175_1 WHERE born = "April 6, 1954 Detroit, MI" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the position is de and college is ohio state?
### Context:
CREATE TABLE table_1198175_1 (name VARCHAR, position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT name FROM table_1198175_1 WHERE position = "DE" AND college = "Ohio State" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 under drafted when pro team is arizona cardinals?
### Context:
CREATE TABLE table_1198175_1 (drafted VARCHAR, pro_team VARCHAR) [/INST]
### Response:
SELECT drafted FROM table_1198175_1 WHERE pro_team = "Arizona Cardinals" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.