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 are the slovenian names of the villages that had 65.9% of slovenes in 1951?
### Context:
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1951 VARCHAR) [/INST]
### Response:
SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1951 = "65.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 are the slovenian names of the villages that had 16.7% of slovenes in 1991?
### Context:
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1991 VARCHAR) [/INST]
### Response:
SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1991 = "16.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:
How many villages had 21.7% of slovenes in 1991?
### Context:
CREATE TABLE table_10797463_1 (village__german_ VARCHAR, percent_of_slovenes_1991 VARCHAR) [/INST]
### Response:
SELECT COUNT(village__german_) FROM table_10797463_1 WHERE percent_of_slovenes_1991 = "21.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:
what percent of slovenes did the village called čahorče in slovenian have in 1991?
### Context:
CREATE TABLE table_10797463_1 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR) [/INST]
### Response:
SELECT percent_of_slovenes_1991 FROM table_10797463_1 WHERE village__slovenian_ = "Čahorče" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 slovenian name for the village that in german is known as st.margarethen?
### Context:
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, village__german_ VARCHAR) [/INST]
### Response:
SELECT village__slovenian_ FROM table_10797463_1 WHERE village__german_ = "St.Margarethen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For games on December 20, how many points did the scoring leaders get?
### Context:
CREATE TABLE table_10812293_4 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_10812293_4 WHERE date = "December 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 was the scoring leader and how many points did he get in games on December 23?
### Context:
CREATE TABLE table_10812293_4 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_10812293_4 WHERE date = "December 23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick # for the position de?
### Context:
CREATE TABLE table_10812938_3 (pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_10812938_3 WHERE position = "DE" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college at Saint Mary's?
### Context:
CREATE TABLE table_10812938_3 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_10812938_3 WHERE college = "Saint Mary's" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for the player with cfl team Winnipeg blue bombers?
### Context:
CREATE TABLE table_10812938_3 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_10812938_3 WHERE cfl_team = "Winnipeg Blue Bombers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college at Laval?
### Context:
CREATE TABLE table_10812938_3 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_10812938_3 WHERE college = "Laval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college for the player with the cfl team of Edmonton Eskimos (via calgary)?
### Context:
CREATE TABLE table_10812938_3 (college VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT college FROM table_10812938_3 WHERE cfl_team = "Edmonton Eskimos (via Calgary)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team of the player from St. Francis Xavier College?
### Context:
CREATE TABLE table_10812938_5 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10812938_5 WHERE college = "St. Francis Xavier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player is on the Montreal Alouettes CFl team?
### Context:
CREATE TABLE table_10812938_5 (player VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_10812938_5 WHERE cfl_team = "Montreal Alouettes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the pick number of the player from Toronto Argonauts?
### Context:
CREATE TABLE table_10812938_5 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_10812938_5 WHERE cfl_team = "Toronto Argonauts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the pick number of the player whose position is CB?
### Context:
CREATE TABLE table_10812938_5 (pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_10812938_5 WHERE position = "CB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the pick number of the player from New Mexico?
### Context:
CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 went to Ohio State College?
### Context:
CREATE TABLE table_10812938_5 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_10812938_5 WHERE 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 the minimum introduced value for the Departmental region?
### Context:
CREATE TABLE table_1081459_1 (introduced INTEGER, region VARCHAR) [/INST]
### Response:
SELECT MIN(introduced) FROM table_1081459_1 WHERE region = "Departmental" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 introduced value?
### Context:
CREATE TABLE table_1081459_1 (introduced INTEGER) [/INST]
### Response:
SELECT MIN(introduced) FROM table_1081459_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 CFL Teams drafted an OL in 2006?
### Context:
CREATE TABLE table_10812938_4 (cfl_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10812938_4 WHERE position = "OL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is aligned to the Saskatchewan Roughriders?
### Context:
CREATE TABLE table_10812938_4 (college VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT college FROM table_10812938_4 WHERE cfl_team = "Saskatchewan Roughriders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
### Context:
CREATE TABLE table_10812938_4 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_10812938_4 WHERE cfl_team = "Hamilton Tiger-Cats (via Ottawa)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest pick listed in the table.
### Context:
CREATE TABLE table_10812938_4 (pick__number INTEGER) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_10812938_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode number had production code e4423?
### Context:
CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = "E4423" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest episode in a season where the U.S. viewers totaled 14.37 million?
### Context:
CREATE TABLE table_10842344_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_10842344_1 WHERE us_viewers__millions_ = "14.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 season finale for season 4?
### Context:
CREATE TABLE table_10819266_8 (season VARCHAR) [/INST]
### Response:
SELECT season AS finale FROM table_10819266_8 WHERE season = 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 season premiers have a rank of #21?
### Context:
CREATE TABLE table_10819266_8 (season VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT season AS premiere FROM table_10819266_8 WHERE rank = "#21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max processor has a maximum memory of 256 gb?
### Context:
CREATE TABLE table_10818465_1 (max_processors VARCHAR, max_memory VARCHAR) [/INST]
### Response:
SELECT max_processors FROM table_10818465_1 WHERE max_memory = "256 GB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max memory of the t5120 model?
### Context:
CREATE TABLE table_10818465_1 (max_memory VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT max_memory FROM table_10818465_1 WHERE model = "T5120" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ru?
### Context:
CREATE TABLE table_10818465_1 (ru INTEGER) [/INST]
### Response:
SELECT MIN(ru) FROM table_10818465_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 ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?
### Context:
CREATE TABLE table_10818465_1 (ga_date VARCHAR, processor_frequency VARCHAR) [/INST]
### Response:
SELECT ga_date FROM table_10818465_1 WHERE processor_frequency = "1.0, 1.2, 1.4GHz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ga date of the t5120 model?
### Context:
CREATE TABLE table_10818465_1 (ga_date VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT ga_date FROM table_10818465_1 WHERE model = "T5120" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sport of the La Liga league?
### Context:
CREATE TABLE table_10815352_1 (sport VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT sport FROM table_10815352_1 WHERE league = "La Liga" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the minimum total attendance of the Premier League association football?
### Context:
CREATE TABLE table_10815352_1 (total_attendance INTEGER, sport VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT MIN(total_attendance) FROM table_10815352_1 WHERE sport = "Association football" AND league = "Premier league" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the average attendance of the leagues in the season of 2013?
### Context:
CREATE TABLE table_10815352_1 (average_attendance INTEGER, season VARCHAR) [/INST]
### Response:
SELECT MIN(average_attendance) FROM table_10815352_1 WHERE season = "2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the total attendance of the leagues in season of 2010?
### Context:
CREATE TABLE table_10815352_1 (total_attendance VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(total_attendance) FROM table_10815352_1 WHERE season = "2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors of the film submitted with the title Young Törless?
### Context:
CREATE TABLE table_10874596_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT director FROM table_10874596_1 WHERE film_title_used_in_nomination = "Young Törless" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title of the film submitted with the title A Woman in Flames?
### Context:
CREATE TABLE table_10874596_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_10874596_1 WHERE film_title_used_in_nomination = "A Woman in Flames" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what years was a film submitted with the title The Enigma of Kaspar Hauser?
### Context:
CREATE TABLE table_10874596_1 (year_ VARCHAR, e_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT year_[e_] AS __ceremony_ FROM table_10874596_1 WHERE film_title_used_in_nomination = "The Enigma of Kaspar Hauser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors of the film with the original title o.k.?
### Context:
CREATE TABLE table_10874596_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_10874596_1 WHERE original_title = "o.k." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division for the division semifinals playoffs?
### Context:
CREATE TABLE table_1087659_2 (division VARCHAR, playoffs VARCHAR) [/INST]
### Response:
SELECT division FROM table_1087659_2 WHERE playoffs = "division Semifinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title written by David Mamet?
### Context:
CREATE TABLE table_10908676_7 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_10908676_7 WHERE written_by = "David Mamet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finale for 潮爆大狀
### Context:
CREATE TABLE table_10942714_1 (finale VARCHAR, chinese_title VARCHAR) [/INST]
### Response:
SELECT finale FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there for the premier with 34
### Context:
CREATE TABLE table_10942714_1 (hk_viewers VARCHAR, premiere VARCHAR) [/INST]
### Response:
SELECT hk_viewers FROM table_10942714_1 WHERE premiere = 34 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are listed under 潮爆大狀
### Context:
CREATE TABLE table_10942714_1 (peak VARCHAR, chinese_title VARCHAR) [/INST]
### Response:
SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with a production code of 2393059?
### Context:
CREATE TABLE table_10953197_2 (director VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT director FROM table_10953197_2 WHERE production_code = "2393059" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode had 16.38 million U.S. viewers?
### Context:
CREATE TABLE table_10935548_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_10935548_1 WHERE us_viewers__millions_ = "16.38" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by José Molina that aired on October 12, 2004?
### Context:
CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which episode was directed by Jean de Segonzac?
### Context:
CREATE TABLE table_10935548_1 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_10935548_1 WHERE directed_by = "Jean de Segonzac" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air dates with a production code of 2394087
### Context:
CREATE TABLE table_10953197_3 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_10953197_3 WHERE production_code = "2394087" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who are the writer(s) for the production code 2394084
### Context:
CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT writer_s_ FROM table_10953197_3 WHERE production_code = "2394084" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the total number of episodes with the production code 2395113A?
### Context:
CREATE TABLE table_10953197_4 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_10953197_4 WHERE production_code = "2395113A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the writer for the episode with a production code 2395114?
### Context:
CREATE TABLE table_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395114" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of the episode with production code 2395118?
### Context:
CREATE TABLE table_10953197_4 (no_in_season VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_10953197_4 WHERE production_code = "2395118" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 2395096?
### Context:
CREATE TABLE table_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395096" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long is the orbital period for the planet that has a semimajor axis of 5.20 au?
### Context:
CREATE TABLE table_10932739_2 (orbital_period VARCHAR, semimajor_axis___au__ VARCHAR) [/INST]
### Response:
SELECT orbital_period FROM table_10932739_2 WHERE semimajor_axis___au__ = "5.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:
Which planet has an orbital period of 11.86 years?
### Context:
CREATE TABLE table_10932739_2 (planet VARCHAR, orbital_period VARCHAR) [/INST]
### Response:
SELECT planet FROM table_10932739_2 WHERE orbital_period = "11.86 years" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 2398204
### Context:
CREATE TABLE table_10953197_7 (director VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT director FROM table_10953197_7 WHERE production_code = "2398204" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player Alexis Bwenge's pick number?
### Context:
CREATE TABLE table_10960039_1 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_10960039_1 WHERE player = "Alexis Bwenge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player is pick #2?
### Context:
CREATE TABLE table_10960039_1 (player VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT player FROM table_10960039_1 WHERE pick__number = 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 player's college is Saskatchewan?
### Context:
CREATE TABLE table_10960039_1 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_10960039_1 WHERE college = "Saskatchewan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is McMaster College's pick number?
### Context:
CREATE TABLE table_10960039_1 (pick__number INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_10960039_1 WHERE college = "McMaster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
give the least number of times an episode was shown from 1997-1998
### Context:
CREATE TABLE table_10953197_6 (no_in_season INTEGER) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_10953197_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:
what is season 6 sum of both the number of times processing ID 2397162 was assigned and the number of times chip chalmers managed an episode
### Context:
CREATE TABLE table_10953197_6 (no_in_season INTEGER, director VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_10953197_6 WHERE director = "Chip Chalmers" AND production_code = "2397162" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Michigan State?
### Context:
CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10966926_2 WHERE college = "Michigan 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:
Which player went to college in Oklahoma?
### Context:
CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10966926_2 WHERE college = "Oklahoma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Colt Brennan play?
### Context:
CREATE TABLE table_10966926_2 (position VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the person that weighs 320 pounds?
### Context:
CREATE TABLE table_10966926_2 (height VARCHAR, weight VARCHAR) [/INST]
### Response:
SELECT height FROM table_10966926_2 WHERE weight = 320 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colleges have a DB position?
### Context:
CREATE TABLE table_10975034_4 (college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(college) FROM table_10975034_4 WHERE position = "DB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picks for the CFL team Calgary Stampeders?
### Context:
CREATE TABLE table_10975034_4 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL teams are from York college?
### Context:
CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(cfl_team) FROM table_10975034_4 WHERE college = "York" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What CFL teams are part of Simon Fraser college?
### Context:
CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10975034_4 WHERE college = "Simon Fraser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a pick number of 27?
### Context:
CREATE TABLE table_10975034_4 (player VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT player FROM table_10975034_4 WHERE pick__number = 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:
How many times were players named brett ralph were selected?
### Context:
CREATE TABLE table_10960039_6 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick__number) FROM table_10960039_6 WHERE player = "Brett Ralph" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools did lenard semajuste play for?
### Context:
CREATE TABLE table_10960039_6 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest selection number for the saskatchewan roughriders team?
### Context:
CREATE TABLE table_10960039_6 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_10960039_6 WHERE cfl_team = "Saskatchewan Roughriders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fb players were drafted?
### Context:
CREATE TABLE table_10960039_6 (pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(pick__number) FROM table_10960039_6 WHERE position = "FB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played for adams state school?
### Context:
CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_10960039_6 WHERE college = "Adams 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 teams drafted players that played for northwood school?
### Context:
CREATE TABLE table_10960039_6 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10960039_6 WHERE college = "Northwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did Craig Zimmer go to?
### Context:
CREATE TABLE table_10975034_5 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_10975034_5 WHERE player = "Craig Zimmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number of regina?
### Context:
CREATE TABLE table_10975034_5 (pick__number VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_10975034_5 WHERE college = "Regina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player who is lb and cfl team is saskatchewan roughriders?
### Context:
CREATE TABLE table_10975034_5 (player VARCHAR, position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_10975034_5 WHERE position = "LB" AND cfl_team = "Saskatchewan Roughriders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cfl team that has a position of ol?
### Context:
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10975034_5 WHERE position = "OL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of position where the pick number is 43?
### Context:
CREATE TABLE table_10975034_5 (position VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_10975034_5 WHERE pick__number = 43 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cfl team with ryan folk?
### Context:
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date is when kids-270 is a reference?
### Context:
CREATE TABLE table_10979230_5 (release_date VARCHAR, reference VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_10979230_5 WHERE reference = "KIDS-270" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title where romaji is titles da.i.su.ki
### Context:
CREATE TABLE table_10979230_5 (japanese_title VARCHAR, romaji_title VARCHAR) [/INST]
### Response:
SELECT japanese_title FROM table_10979230_5 WHERE romaji_title = "Da.i.su.ki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title in japanese where the reference is kids-430?
### Context:
CREATE TABLE table_10979230_5 (japanese_title VARCHAR, reference VARCHAR) [/INST]
### Response:
SELECT japanese_title FROM table_10979230_5 WHERE reference = "KIDS-430" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reference when romaji title is heartbreak sniper?
### Context:
CREATE TABLE table_10979230_5 (reference VARCHAR, romaji_title VARCHAR) [/INST]
### Response:
SELECT reference FROM table_10979230_5 WHERE romaji_title = "Heartbreak Sniper" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank is 愛のバカ on the Japanese singles chart?
### Context:
CREATE TABLE table_10979230_4 (oricon VARCHAR, japanese_title VARCHAR) [/INST]
### Response:
SELECT COUNT(oricon) FROM table_10979230_4 WHERE japanese_title = "愛のバカ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 songs have mi-chemin as their Japanese name and romanji name?
### Context:
CREATE TABLE table_10979230_4 (romaji_title VARCHAR, japanese_title VARCHAR) [/INST]
### Response:
SELECT COUNT(romaji_title) FROM table_10979230_4 WHERE japanese_title = "Mi-Chemin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partial thromboplastin time for factor x deficiency as seen in amyloid purpura
### Context:
CREATE TABLE table_1099080_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conditions have an unaffected prothrombin time and a prolonged bleeding time
### Context:
CREATE TABLE table_1099080_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) [/INST]
### Response:
SELECT COUNT(condition) FROM table_1099080_1 WHERE prothrombin_time = "Unaffected" AND bleeding_time = "Prolonged" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bleeding time for the factor x deficiency as seen in amyloid purpura
### Context:
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1099080_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conditions had both prolonged bleeding times and prolonged partial thromboplastin times
### Context:
CREATE TABLE table_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) [/INST]
### Response:
SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = "Prolonged" AND bleeding_time = "Prolonged" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bleeding time for factor xii deficiency
### Context:
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1099080_1 WHERE condition = "Factor XII deficiency" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected
### Context:
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_1099080_1 WHERE partial_thromboplastin_time = "Unaffected" AND platelet_count = "Unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tuesday time with location being millhopper
### Context:
CREATE TABLE table_11019212_1 (tuesday VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT tuesday FROM table_11019212_1 WHERE location = "Millhopper" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wednesday time with monday being 10:00-8:00
### Context:
CREATE TABLE table_11019212_1 (wednesday VARCHAR, monday VARCHAR) [/INST]
### Response:
SELECT wednesday FROM table_11019212_1 WHERE monday = "10:00-8:00" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.