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:
Who directed season 1?
### Context:
CREATE TABLE table_18481791_3 (directed_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_18481791_3 WHERE no_in_season = 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 title when u.s. viewers (millions) is 3.97?
### Context:
CREATE TABLE table_18481791_3 (title VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_18481791_3 WHERE us_viewers__in_millions_ = "3.97" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people commentated where broadcaster is orf
### Context:
CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR) [/INST]
### Response:
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
list the spokespersons where voting order is 9
### Context:
CREATE TABLE table_184803_4 (spokespersons VARCHAR, voting_order VARCHAR) [/INST]
### Response:
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 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:
which countries were commentated on by gordana bonetti
### Context:
CREATE TABLE table_184803_4 (country VARCHAR, commentator VARCHAR) [/INST]
### Response:
SELECT country FROM table_184803_4 WHERE commentator = "Gordana Bonetti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
wich spokesperson talked on luxembourg
### Context:
CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 commentator when spokesperson was claude darget
### Context:
CREATE TABLE table_184803_4 (commentator VARCHAR, spokespersons VARCHAR) [/INST]
### Response:
SELECT commentator FROM table_184803_4 WHERE spokespersons = "Claude Darget" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List all institutions with a team name of the Cardinals.
### Context:
CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the total number of institutions founded in Rock Island, Illinois.
### Context:
CREATE TABLE table_18483171_1 (founded VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in millions watched the episode 23:55 minutes long?
### Context:
CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE run_time = "23:55" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date of the 16mm t/r episode?
### Context:
CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR) [/INST]
### Response:
SELECT broadcast_date FROM table_1849243_1 WHERE archive = "16mm t/r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many viewers watched the 16mm t/r episode?
### Context:
CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR) [/INST]
### Response:
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna
### Context:
CREATE TABLE table_18498743_1 (el_canal_de_las_estrellas VARCHAR, mañana_es_para_siempre VARCHAR) [/INST]
### Response:
SELECT el_canal_de_las_estrellas FROM table_18498743_1 WHERE mañana_es_para_siempre = "Impreuna pentru totdeauna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mexico stat where mañana es para siempre is love never dies
### Context:
CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR) [/INST]
### Response:
SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 october 20, 2008 stat where mexico stat is romania
### Context:
CREATE TABLE table_18498743_1 (october_20 VARCHAR, _2008 VARCHAR, mexico VARCHAR) [/INST]
### Response:
SELECT october_20, _2008 FROM table_18498743_1 WHERE mexico = "Romania" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 other for chironius multiventris septentrionalis
### Context:
CREATE TABLE table_1850282_7 (other VARCHAR, species VARCHAR) [/INST]
### Response:
SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trinidad for yellow-bellied puffing snake
### Context:
CREATE TABLE table_1850282_7 (trinidad VARCHAR, common_name VARCHAR) [/INST]
### Response:
SELECT trinidad FROM table_1850282_7 WHERE common_name = "Yellow-bellied puffing snake" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bocas for chironius multiventris septentrionalis
### Context:
CREATE TABLE table_1850282_7 (bocas_is VARCHAR, species VARCHAR) [/INST]
### Response:
SELECT bocas_is FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 common name for chironius multiventris septentrionalis
### Context:
CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR) [/INST]
### Response:
SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 contestant was premiered on July 25?
### Context:
CREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR) [/INST]
### Response:
SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the Air Force - Navy score in the 2018 season?
### Context:
CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Air Force - Navy score in the 1983 season?
### Context:
CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 1983 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?
### Context:
CREATE TABLE table_1850339_2 (season VARCHAR, army___navy_score VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_1850339_2 WHERE army___navy_score = "10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tourism receipts 2003 for tourism competitiveness 3.26
### Context:
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR) [/INST]
### Response:
SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = "3.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:
Name the tourism receipts 2003 for colombia
### Context:
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT tourism_receipts__2003___as__percentage_of_gdp_ FROM table_18524_6 WHERE country = "Colombia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tourism receipts 2011 where tourism receipts 2003 13.5
### Context:
CREATE TABLE table_18524_6 (tourism_receipts__2011___us VARCHAR, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR) [/INST]
### Response:
SELECT COUNT(tourism_receipts__2011___us) AS $_per_capita_ FROM table_18524_6 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "13.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:
When classic hits 102.1 cjcy is the branding who is the owner?
### Context:
CREATE TABLE table_18536769_1 (owner VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT owner FROM table_18536769_1 WHERE branding = "Classic Hits 102.1 CJCY" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hot adult contemporary is the format what is the call sign?
### Context:
CREATE TABLE table_18536769_1 (call_sign VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT call_sign FROM table_18536769_1 WHERE format = "hot adult contemporary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vista radio is the owner how many call signs are there?
### Context:
CREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR) [/INST]
### Response:
SELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = "Vista Radio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fm 97.3 is the frequency how many formats are there?
### Context:
CREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.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:
When vista radio is the owner what is the frequency?
### Context:
CREATE TABLE table_18536769_1 (frequency VARCHAR, owner VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_18536769_1 WHERE owner = "Vista Radio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for 5 september 2008 for date of vacancy for 30 august 2008
### Context:
CREATE TABLE table_18522916_5 (team VARCHAR, date_of_appointment VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT team FROM table_18522916_5 WHERE date_of_appointment = "5 September 2008" AND date_of_vacancy = "30 August 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacancy for daniel uberti
### Context:
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure for date of vacancy 25 august 2008
### Context:
CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacancy for 29 december 2008 being date of appointment
### Context:
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_18522916_5 WHERE date_of_appointment = "29 December 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1008/1009 is the production code how many directors are there?
### Context:
CREATE TABLE table_1854728_2 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_1854728_2 WHERE production_code = "1008/1009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arthur heinemann is the writer who is the director?
### Context:
CREATE TABLE table_1854728_2 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_1854728_2 WHERE written_by = "Arthur Heinemann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 running with for elizabeth falco
### Context:
CREATE TABLE table_1855841_1 (running_with__in_team_ VARCHAR, candidate VARCHAR) [/INST]
### Response:
SELECT running_with__in_team_ FROM table_1855841_1 WHERE candidate = "Elizabeth Falco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 officing running for for carol marsh
### Context:
CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR) [/INST]
### Response:
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Carol Marsh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 office running for for anthony mussara
### Context:
CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR) [/INST]
### Response:
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 votes given for michael russo, genevy dimitrion , manny ortega
### Context:
CREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR) [/INST]
### Response:
SELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = "Michael Russo, Genevy Dimitrion , Manny Ortega" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Qhat was the position of sail 6606?
### Context:
CREATE TABLE table_1858574_3 (position VARCHAR, sail_number VARCHAR) [/INST]
### Response:
SELECT position FROM table_1858574_3 WHERE sail_number = "6606" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yacht was the sail number aus70?
### Context:
CREATE TABLE table_1858574_3 (yacht VARCHAR, sail_number VARCHAR) [/INST]
### Response:
SELECT yacht FROM table_1858574_3 WHERE sail_number = "AUS70" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles were released on 21 October 1992?
### Context:
CREATE TABLE table_18590048_1 (rank VARCHAR, release_date VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_18590048_1 WHERE release_date = "21 October 1992" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What rank is Super Mario Land 2: 6 Golden Coins?
### Context:
CREATE TABLE table_18590048_1 (rank INTEGER, title VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_18590048_1 WHERE title = "Super Mario Land 2: 6 Golden Coins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platform sold 11.18 million units?
### Context:
CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR) [/INST]
### Response:
SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.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:
What day did the platform sell 9.87 million units?
### Context:
CREATE TABLE table_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_18590048_1 WHERE units_sold__in_millions_ = "9.87" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If new entries this round is 65, what is the round?
### Context:
CREATE TABLE table_1859269_1 (round VARCHAR, new_entries_this_round VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_1859269_1 WHERE new_entries_this_round = "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:
If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?
### Context:
CREATE TABLE table_1859269_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR) [/INST]
### Response:
SELECT MAX(clubs_remaining) FROM table_1859269_1 WHERE leagues_entering_at_this_round = "Süper Lig" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners from the previous round is 8, what is the round?
### Context:
CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR) [/INST]
### Response:
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the round is the semi-finals, what are the new entries this round?
### Context:
CREATE TABLE table_1859269_1 (new_entries_this_round VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT new_entries_this_round FROM table_1859269_1 WHERE round = "Semi-finals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losses for the team atl. colegiales?
### Context:
CREATE TABLE table_18594107_2 (losses INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_18594107_2 WHERE team = "Atl. Colegiales" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points when the score is 14?
### Context:
CREATE TABLE table_18594107_2 (points INTEGER, scored VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_18594107_2 WHERE scored = 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many draws are there when the score is 13?
### Context:
CREATE TABLE table_18594107_2 (draws INTEGER, scored VARCHAR) [/INST]
### Response:
SELECT MAX(draws) FROM table_18594107_2 WHERE scored = 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:
How many wins have conceded as 18?
### Context:
CREATE TABLE table_18594107_2 (wins INTEGER, conceded VARCHAR) [/INST]
### Response:
SELECT MAX(wins) FROM table_18594107_2 WHERE conceded = 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:
How many draws occurred when 25 points were scored?
### Context:
CREATE TABLE table_18594107_1 (draws VARCHAR, scored VARCHAR) [/INST]
### Response:
SELECT COUNT(draws) FROM table_18594107_1 WHERE scored = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the least number of poins for San Lorenzo?
### Context:
CREATE TABLE table_18594107_1 (points INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_18594107_1 WHERE team = "San Lorenzo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draws does 12 de Octubre have?
### Context:
CREATE TABLE table_18594107_1 (draws VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT draws FROM table_18594107_1 WHERE team = "12 de Octubre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Inaba's maximum score?
### Context:
CREATE TABLE table_18595004_7 (inaba INTEGER) [/INST]
### Response:
SELECT MAX(inaba) FROM table_18595004_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 sets of marks does Tonioli get in week 3?
### Context:
CREATE TABLE table_18595004_7 (tonioli VARCHAR, week__number VARCHAR) [/INST]
### Response:
SELECT COUNT(tonioli) FROM table_18595004_7 WHERE week__number = 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:
When columbia, south carolina is the hometown what is the lowest age?
### Context:
CREATE TABLE table_1859855_2 (age INTEGER, hometown VARCHAR) [/INST]
### Response:
SELECT MIN(age) FROM table_1859855_2 WHERE hometown = "Columbia, South Carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 austin, texas is the hometown what is the lowest age?
### Context:
CREATE TABLE table_1859855_2 (age INTEGER, hometown VARCHAR) [/INST]
### Response:
SELECT MIN(age) FROM table_1859855_2 WHERE hometown = "Austin, Texas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stacy schneider is the candidate what are the results?
### Context:
CREATE TABLE table_1859855_2 (result VARCHAR, candidate VARCHAR) [/INST]
### Response:
SELECT result FROM table_1859855_2 WHERE candidate = "Stacy Schneider" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township is 35.766 sqmi?
### Context:
CREATE TABLE table_18600760_15 (township VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_15 WHERE land___sqmi__ = "35.766" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county is the township of Osborn in?
### Context:
CREATE TABLE table_18600760_15 (county VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT county FROM table_18600760_15 WHERE township = "Osborn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 longitude with a latitude of 47.985154?
### Context:
CREATE TABLE table_18600760_15 (longitude VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_15 WHERE latitude = "47.985154" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 square miles of water is in Ramsey County with a geo id larger than 3807159460.0?
### Context:
CREATE TABLE table_18600760_15 (water__sqmi_ VARCHAR, county VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT water__sqmi_ FROM table_18600760_15 WHERE county = "Ramsey" AND geo_id > 3807159460.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:
how many latitudes have 0.081 (sqmi) of water?
### Context:
CREATE TABLE table_18600760_15 (latitude VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT COUNT(latitude) FROM table_18600760_15 WHERE water__sqmi_ = "0.081" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id?
### Context:
CREATE TABLE table_18600760_15 (geo_id INTEGER) [/INST]
### Response:
SELECT MIN(geo_id) FROM table_18600760_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:
What is the geo ID for the township with 0.771 square miles of water?
### Context:
CREATE TABLE table_18600760_10 (geo_id INTEGER, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT MAX(geo_id) FROM table_18600760_10 WHERE water__sqmi_ = "0.771" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id for Logan county?
### Context:
CREATE TABLE table_18600760_10 (geo_id INTEGER, county VARCHAR) [/INST]
### Response:
SELECT MAX(geo_id) FROM table_18600760_10 WHERE county = "Logan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 big is the land in square miles of Grand Forks county?
### Context:
CREATE TABLE table_18600760_10 (land___sqmi__ VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_10 WHERE county = "Grand Forks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id for Joliette?
### Context:
CREATE TABLE table_18600760_10 (geo_id INTEGER, township VARCHAR) [/INST]
### Response:
SELECT MAX(geo_id) FROM table_18600760_10 WHERE township = "Joliette" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lattitude for the area with 4.243 square miles of water?
### Context:
CREATE TABLE table_18600760_10 (latitude VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township is 28.597 square miles of land?
### Context:
CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township has a longitude of -98.741656?
### Context:
CREATE TABLE table_18600760_12 (township VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_12 WHERE longitude = "-98.741656" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 land (sqmi) in lansing township?
### Context:
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_12 WHERE township = "Lansing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id when water is 0.457?
### Context:
CREATE TABLE table_18600760_12 (geo_id INTEGER, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT MIN(geo_id) FROM table_18600760_12 WHERE water__sqmi_ = "0.457" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id of the land at 35.999?
### Context:
CREATE TABLE table_18600760_12 (geo_id INTEGER, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT MAX(geo_id) FROM table_18600760_12 WHERE land___sqmi__ = "35.999" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 land (sqmi) at geo id 3801947380?
### Context:
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_12 WHERE geo_id = 3801947380 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population associated with latitude 48.676125?
### Context:
CREATE TABLE table_18600760_13 (pop__2010_ INTEGER, latitude VARCHAR) [/INST]
### Response:
SELECT MAX(pop__2010_) FROM table_18600760_13 WHERE latitude = "48.676125" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 places associated with latitude 48.247662?
### Context:
CREATE TABLE table_18600760_13 (ansi_code VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 longitudes associated with a water (sqmi) area of 0.068?
### Context:
CREATE TABLE table_18600760_13 (longitude VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_13 WHERE water__sqmi_ = "0.068" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ansi code?
### Context:
CREATE TABLE table_18600760_13 (ansi_code INTEGER) [/INST]
### Response:
SELECT MIN(ansi_code) FROM table_18600760_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:
What county is associated with ansi code 1759686?
### Context:
CREATE TABLE table_18600760_13 (county VARCHAR, ansi_code VARCHAR) [/INST]
### Response:
SELECT county FROM table_18600760_13 WHERE ansi_code = 1759686 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 geo id for malcolm township?
### Context:
CREATE TABLE table_18600760_13 (geo_id VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 land area of Reed Township?
### Context:
CREATE TABLE table_18600760_18 (land___sqmi__ VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_18 WHERE township = "Reed" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township at longitude -100.680772?
### Context:
CREATE TABLE table_18600760_18 (township VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_18 WHERE longitude = "-100.680772" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ANSI code of the township where the area is 35.737 square miles?
### Context:
CREATE TABLE table_18600760_18 (ansi_code INTEGER, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT MIN(ansi_code) FROM table_18600760_18 WHERE land___sqmi__ = "35.737" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GEO ID of the township with area of 32.532 square miles?
### Context:
CREATE TABLE table_18600760_18 (geo_id INTEGER, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township is 34.781 square miles?
### Context:
CREATE TABLE table_18600760_18 (township VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_18 WHERE land___sqmi__ = "34.781" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 longitude is tatman township?
### Context:
CREATE TABLE table_18600760_20 (longitude VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_20 WHERE township = "Tatman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 land area (sqmi) for the township at longtidue 47.548602?
### Context:
CREATE TABLE table_18600760_20 (land___sqmi__ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_20 WHERE latitude = "47.548602" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ansi codes are there for longitude 46.415037?
### Context:
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 water area (sqmi) for the township at latitude 48.423224?
### Context:
CREATE TABLE table_18600760_20 (water__sqmi_ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT water__sqmi_ FROM table_18600760_20 WHERE latitude = "48.423224" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ansi codes are there for latitude 48.142938?
### Context:
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "48.142938" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 township for kidder
### Context:
CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_8 WHERE county = "Kidder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latitude for 3810536900
### Context:
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3810536900 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latitude for 3809935740
### Context:
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county for 90 population
### Context:
CREATE TABLE table_18600760_8 (county VARCHAR, pop__2010_ VARCHAR) [/INST]
### Response:
SELECT COUNT(county) FROM table_18600760_8 WHERE pop__2010_ = 90 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.