text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the episode when the production code is 11.01?
### Context:
CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_2226817_12 WHERE production_code = "11.01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode if the production code is 11.12?
### Context:
CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_2226817_12 WHERE production_code = "11.12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has been directed by Mark K. Samuels ?
### Context:
CREATE TABLE table_2226817_12 (no_in_series VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_2226817_12 WHERE directed_by = "Mark K. Samuels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?
### Context:
CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are all the production codes of episodes written by Michael G. Moye?
### Context:
CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer of episode 13?
### Context:
CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which series number has the production code 7.07?
### Context:
CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_2226817_8 WHERE production_code = "7.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons have the production code 7.01 for an episode?
### Context:
CREATE TABLE table_2226817_8 (no_in_season INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_2226817_8 WHERE production_code = "7.01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the series are from season 12?
### Context:
CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons had episode 158?
### Context:
CREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_2226817_9 WHERE no_in_series = 158 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode directed by Stacie Lipp?
### Context:
CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_2226817_9 WHERE written_by = "Stacie Lipp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode 165?
### Context:
CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_2226817_9 WHERE no_in_series = 165 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the production code 8.04
### Context:
CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alpha 2 code for the area also known as TCA?
### Context:
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR) [/INST]
### Response:
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "TCA" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alpha 3 code for the area also known as FO?
### Context:
CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR) [/INST]
### Response:
SELECT alpha_3_code FROM table_222771_1 WHERE alpha_2_code = "FO" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alpha 2 code for the area also known as NZL?
### Context:
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR) [/INST]
### Response:
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "NZL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ISO for South Sudan?
### Context:
CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) [/INST]
### Response:
SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alpha 2 code for Papua New Guinea?
### Context:
CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR) [/INST]
### Response:
SELECT alpha_2_code FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "Papua New Guinea" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number reference for LIE?
### Context:
CREATE TABLE table_222771_1 (numeric_code VARCHAR, alpha_3_code VARCHAR) [/INST]
### Response:
SELECT numeric_code FROM table_222771_1 WHERE alpha_3_code = "LIE" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 launch dates are there for digital transmission?
### Context:
CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR) [/INST]
### Response:
SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = "Digital" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the title with production code 7acx14?
### Context:
CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the title written by cherry chevapravatdumrong?
### Context:
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Cherry Chevapravatdumrong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the title with the production code is 7acx08?
### Context:
CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode written by patrick meighan?
### Context:
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When is every date that control site condition or owner is machine shop on Martin Dr.?
### Context:
CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR) [/INST]
### Response:
SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every missile type with a code and location of M-20 Harbor Drive?
### Context:
CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR) [/INST]
### Response:
SELECT missile_type FROM table_22282917_26 WHERE code_ & _location = "M-20 Harbor Drive" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every code and location where the launch site condition and owner is obliterated?
### Context:
CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR) [/INST]
### Response:
SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?
### Context:
CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR) [/INST]
### Response:
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had an outgoing manager of Behtash Fariba?
### Context:
CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a manager who was replaced by Faraz Kamalvand?
### Context:
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT team FROM table_22297140_3 WHERE replaced_by = "Faraz Kamalvand" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager was replaced by Jafar Fatahi?
### Context:
CREATE TABLE table_22297140_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_22297140_3 WHERE replaced_by = "Jafar Fatahi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a manager replaced by Ebrahim Talebi?
### Context:
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date in which Behtash Fariba left his team?
### Context:
CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of leaving the team for the manager of Gostaresh Foolad?
### Context:
CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009?
### Context:
CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Gloucester" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009?
### Context:
CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Mercer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 replacement manager for the vacancy of 12 Dec 2009?
### Context:
CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team did Alireza mansourian leave?
### Context:
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Why did Majid bagherinia leave?
### Context:
CREATE TABLE table_22297198_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_22297198_3 WHERE outgoing_manager = "Majid Bagherinia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did a manager leave on 12 Dec 2009
### Context:
CREATE TABLE table_22297198_3 (team VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT team FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many teams did Farhad Kazemi leave?
### Context:
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_22297198_3 WHERE outgoing_manager = "Farhad Kazemi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the school is Rend Lake College, what is the team name?
### Context:
CREATE TABLE table_22319599_1 (team_name VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT team_name FROM table_22319599_1 WHERE school = "Rend Lake College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum possible for the NJCAA championships?
### Context:
CREATE TABLE table_22319599_1 (njcaa_championships INTEGER) [/INST]
### Response:
SELECT MIN(njcaa_championships) FROM table_22319599_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the varsity team is 6, what is the location?
### Context:
CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR) [/INST]
### Response:
SELECT location FROM table_22319599_1 WHERE varsity_teams = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the school is John A. Logan College, what are the colors?
### Context:
CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On how many different dates was the race at the Silverstone circuit?
### Context:
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_22334183_3 WHERE circuit = "Silverstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the circuit Donington Park?
### Context:
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT date FROM table_22334183_3 WHERE circuit = "Donington Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the name is Stuart Craig?
### Context:
CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT weight FROM table_22344463_2 WHERE name = "Stuart Craig" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the name is Timo Higgins, what is the total date of birth amount?
### Context:
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_birth) FROM table_22344463_2 WHERE name = "Timo Higgins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the height is 181cm, what was the position?
### Context:
CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT position FROM table_22344463_2 WHERE height = "181cm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the home team is UMBC and the weight is 78kg, what the the name total number?
### Context:
CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
### Context:
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many viewers tuned in for season 2?
### Context:
CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode that has 3x6752 listed as the production code?
### Context:
CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which series number had 1.98 million viewers?
### Context:
CREATE TABLE table_22347090_4 (no_in_series INTEGER, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_22347090_4 WHERE us_viewers__million_ = "1.98" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the viewers for production code for 3x6704
### Context:
CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6704" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the viewers for production code being 3x6706
### Context:
CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6706" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the title that got 1.54 viewers
### Context:
CREATE TABLE table_22347090_5 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_22347090_5 WHERE us_viewers__million_ = "1.54" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of number in season for 26
### Context:
CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = 26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the episode that has a production code 3x7557?
### Context:
CREATE TABLE table_22347090_6 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_22347090_6 WHERE production_code = "3X7557" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many directors are there for the episode that had 1.59 million U.S. viewers?
### Context:
CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode that had 1.32 million U.S. viewers?
### Context:
CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in the series had a production code of 3x7554?
### Context:
CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_22347090_6 WHERE production_code = "3X7554" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 41 in the series?
### Context:
CREATE TABLE table_22347090_6 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_22347090_6 WHERE no_in_series = 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:
Who has the minimum number of silver?
### Context:
CREATE TABLE table_22355_20 (silver INTEGER) [/INST]
### Response:
SELECT MIN(silver) FROM table_22355_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:
Who is the athlete who's rank is 8 and competed in the olympics during 1948β1952?
### Context:
CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_22355_20 WHERE rank = 8 AND olympics = "1948β1952" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation who won 1 bronze in the Olympics during 1924β1928?
### Context:
CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT nation FROM table_22355_20 WHERE olympics = "1924β1928" AND bronze = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the athlete from the nation of Ethiopia (eth) who had a rank bigger than 7.0?
### Context:
CREATE TABLE table_22355_20 (athlete VARCHAR, nation VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_22355_20 WHERE nation = "Ethiopia (ETH)" AND rank > 7.0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum number of golds?
### Context:
CREATE TABLE table_22355_26 (gold INTEGER) [/INST]
### Response:
SELECT MAX(gold) FROM table_22355_26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest amount of silver?
### Context:
CREATE TABLE table_22355_29 (silver INTEGER) [/INST]
### Response:
SELECT MIN(silver) FROM table_22355_29 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the nation for abdon pamich category:articles with hcards
### Context:
CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT nation FROM table_22355_44 WHERE athlete = "Abdon Pamich 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:
Name the silver for ronald weigel category:articles with hcards
### Context:
CREATE TABLE table_22355_44 (silver INTEGER, athlete VARCHAR) [/INST]
### Response:
SELECT MAX(silver) FROM table_22355_44 WHERE athlete = "Ronald Weigel 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 minimal rank of a athlete shown in the chart?
### Context:
CREATE TABLE table_22355_5 (rank INTEGER) [/INST]
### Response:
SELECT MIN(rank) FROM table_22355_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:
which is the minimun amount of gold medals?
### Context:
CREATE TABLE table_22355_35 (gold INTEGER) [/INST]
### Response:
SELECT MIN(gold) FROM table_22355_35 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the minimun amount of silver medals?
### Context:
CREATE TABLE table_22355_35 (silver INTEGER) [/INST]
### Response:
SELECT MIN(silver) FROM table_22355_35 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest overall number for total(min. 2 medals)?
### Context:
CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER) [/INST]
### Response:
SELECT MIN(total_min_2_medals_) FROM table_22355_65 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum rank of the nation that won 4 gold medals?
### Context:
CREATE TABLE table_22355_62 (rank INTEGER, gold VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_22355_62 WHERE gold = 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:
Name the most rank
### Context:
CREATE TABLE table_22355_68 (rank INTEGER) [/INST]
### Response:
SELECT MAX(rank) FROM table_22355_68 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most rank for 2 gold
### Context:
CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_22355_68 WHERE gold = 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:
Name the most total
### Context:
CREATE TABLE table_22360_3 (total INTEGER) [/INST]
### Response:
SELECT MAX(total) FROM table_22360_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:
Name the silver for baseball
### Context:
CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR) [/INST]
### Response:
SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the discipline for bronze being 0
### Context:
CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT discipline FROM table_22360_3 WHERE bronze = 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most tier 1 capital for irish nationwide
### Context:
CREATE TABLE table_22368322_2 (_β¬_million VARCHAR, tier_1_capital INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(tier_1_capital), _β¬_million FROM table_22368322_2 WHERE institution = "Irish Nationwide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the tier 1 ratio for irish life and permanent
### Context:
CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of tier 1 capital for allied irish banks
### Context:
CREATE TABLE table_22368322_2 (_β¬_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(tier_1_capital), _β¬_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date of report for tier 1 ratio being 3.9%
### Context:
CREATE TABLE table_22368322_2 (date_of_report VARCHAR, tier_1_ratio VARCHAR) [/INST]
### Response:
SELECT date_of_report FROM table_22368322_2 WHERE tier_1_ratio = "3.9%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season ended on April 18?
### Context:
CREATE TABLE table_22383603_1 (season VARCHAR, finish__incl_championship_ VARCHAR) [/INST]
### Response:
SELECT season FROM table_22383603_1 WHERE finish__incl_championship_ = "April 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the season start that ended with the top record of Lindenwood (20β0β0)?
### Context:
CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR) [/INST]
### Response:
SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20β0β0)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the year range of season 4?
### Context:
CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT season FROM table_22383603_1 WHERE no = 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:
When is the finish of the season that started on September 25?
### Context:
CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR) [/INST]
### Response:
SELECT finish__incl_championship_ FROM table_22383603_1 WHERE start__reg_season_ = "September 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what air date were there 2.15 million u.s. viewers?
### Context:
CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer for the episode with 2.15 million u.s.viewers?
### Context:
CREATE TABLE table_22380270_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 walked in space from STS-101 Eva 1?
### Context:
CREATE TABLE table_22385461_1 (spacewalkers VARCHAR, spacecraft VARCHAR) [/INST]
### Response:
SELECT spacewalkers FROM table_22385461_1 WHERE spacecraft = "STS-101 EVA 1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the end (UTC) if the duration is 6 hours, 55 minutes?
### Context:
CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?
### Context:
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR) [/INST]
### Response:
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "January 31, 2007 23:09" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
### Context:
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR) [/INST]
### Response:
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "October 30, 2007 15:53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which position is player bernie doan?
### Context:
CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_22402438_7 WHERE player = "Bernie Doan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick # are there for the goaltender position?
### Context:
CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college/junior/clubteams have John garrett as the player?
### Context:
CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with the pick# 80?
### Context:
CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT player FROM table_22402438_7 WHERE pick__number = 80 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.