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:
Which units are commanded by Lieutenant Colonel Francis Hepburn?
### Context:
CREATE TABLE table_11793221_2 (unit VARCHAR, commander VARCHAR) [/INST]
### Response:
SELECT unit FROM table_11793221_2 WHERE commander = "Lieutenant Colonel Francis Hepburn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 complements when the commander is Major William Lloyd?
### Context:
CREATE TABLE table_11793221_2 (complement VARCHAR, commander VARCHAR) [/INST]
### Response:
SELECT complement FROM table_11793221_2 WHERE commander = "Major William Lloyd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were wounded when the complement was 173 off 2059 men?
### Context:
CREATE TABLE table_11793221_2 (wounded VARCHAR, complement VARCHAR) [/INST]
### Response:
SELECT wounded FROM table_11793221_2 WHERE complement = "173 off 2059 men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where killed under Major-General Jean Victor de Constant Rebecque's command?
### Context:
CREATE TABLE table_11793221_2 (killed VARCHAR, commander VARCHAR) [/INST]
### Response:
SELECT killed FROM table_11793221_2 WHERE commander = "Major-General Jean Victor de Constant Rebecque" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 commanders when 8 off 0 men were wounded?
### Context:
CREATE TABLE table_11793221_2 (commander VARCHAR, wounded VARCHAR) [/INST]
### Response:
SELECT commander FROM table_11793221_2 WHERE wounded = "8 off 0 men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?
### Context:
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR) [/INST]
### Response:
SELECT gdp_per_capita__nominal_ FROM table_11780179_1 WHERE gdp__nominal_ = "$52.0 billion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries has a gdp (nominal) of $29.9 billion?
### Context:
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR) [/INST]
### Response:
SELECT COUNT(gdp_per_capita__nominal_) FROM table_11780179_1 WHERE gdp__nominal_ = "$29.9 billion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GDP (nominal) for Uzbekistan?
### Context:
CREATE TABLE table_11780179_1 (gdp__nominal_ VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT gdp__nominal_ FROM table_11780179_1 WHERE country = "Uzbekistan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the area (km²) for the country with a population of 16967000?
### Context:
CREATE TABLE table_11780179_1 (area__km²_ INTEGER, population VARCHAR) [/INST]
### Response:
SELECT MIN(area__km²_) FROM table_11780179_1 WHERE population = 16967000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aspect ratio of the DVD released on 12/10/2009?
### Context:
CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR) [/INST]
### Response:
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the DVD where the number of discs is greater than 2.0
### Context:
CREATE TABLE table_1180228_1 (dvd_name VARCHAR, num_of_discs INTEGER) [/INST]
### Response:
SELECT dvd_name FROM table_1180228_1 WHERE num_of_discs > 2.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 releases did the DVD River Cottage forever have?
### Context:
CREATE TABLE table_1180228_1 (released VARCHAR, dvd_name VARCHAR) [/INST]
### Response:
SELECT COUNT(released) FROM table_1180228_1 WHERE dvd_name = "River Cottage Forever" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of discs where the run time was 4 hours 40 minutes?
### Context:
CREATE TABLE table_1180228_1 (num_of_discs VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT COUNT(num_of_discs) FROM table_1180228_1 WHERE duration = "4 hours 40 minutes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the wounded for complement of 46 off 656 men?
### Context:
CREATE TABLE table_11793221_4 (wounded VARCHAR, complement VARCHAR) [/INST]
### Response:
SELECT wounded FROM table_11793221_4 WHERE complement = "46 off 656 men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 missing for lieutenant general sir thomas picton?
### Context:
CREATE TABLE table_11793221_4 (missing VARCHAR, commander VARCHAR) [/INST]
### Response:
SELECT missing FROM table_11793221_4 WHERE commander = "Lieutenant General Sir Thomas Picton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 complement for 4th hanoverian brigade
### Context:
CREATE TABLE table_11793221_4 (complement VARCHAR, unit VARCHAR) [/INST]
### Response:
SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanoverian Brigade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 commander of 167 off 2348 men
### Context:
CREATE TABLE table_11793221_4 (commander VARCHAR, complement VARCHAR) [/INST]
### Response:
SELECT commander FROM table_11793221_4 WHERE complement = "167 off 2348 men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
### Context:
CREATE TABLE table_11803648_17 (overall INTEGER) [/INST]
### Response:
SELECT MIN(overall) FROM table_11803648_17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
### Context:
CREATE TABLE table_11803648_17 (round INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_11803648_17 WHERE position = "Forward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 DOES PATRICK WIERCIOCH PLAY?
### Context:
CREATE TABLE table_11803648_17 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_17 WHERE player = "Patrick Wiercioch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 OVERALL FOR THE OMAHA (USHL) CLUB TEAM
### Context:
CREATE TABLE table_11803648_17 (overall INTEGER, club_team VARCHAR) [/INST]
### Response:
SELECT MIN(overall) FROM table_11803648_17 WHERE club_team = "Omaha (USHL)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHERE IS ANDRE PETERSSON FROM?
### Context:
CREATE TABLE table_11803648_17 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11803648_17 WHERE player = "Andre Petersson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club team did JArrod Maidens play for?
### Context:
CREATE TABLE table_11803648_21 (club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT club_team FROM table_11803648_21 WHERE player = "Jarrod Maidens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Cody Ceci play?
### Context:
CREATE TABLE table_11803648_21 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_21 WHERE player = "Cody Ceci" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality when the club team is Peterborough Petes (OHL)?
### Context:
CREATE TABLE table_11803648_20 (nationality VARCHAR, club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11803648_20 WHERE club_team = "Peterborough Petes (OHL)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player is in round 5?
### Context:
CREATE TABLE table_11803648_20 (player VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT player FROM table_11803648_20 WHERE round = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position is associated with an overall value of 126?
### Context:
CREATE TABLE table_11803648_20 (position VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_20 WHERE overall = "126" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the player Jordan Fransoo in?
### Context:
CREATE TABLE table_11803648_20 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds is the player Matthew Puempel associated with?
### Context:
CREATE TABLE table_11803648_20 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_11803648_20 WHERE player = "Matthew Puempel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of player Tobias Lindberg?
### Context:
CREATE TABLE table_11803648_22 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_22 WHERE player = "Tobias Lindberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had overall 78?
### Context:
CREATE TABLE table_11803648_22 (player VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_11803648_22 WHERE overall = "78" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the last round with club team Guelph Storm (ohl)?
### Context:
CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions did player Ben Harpur play?
### Context:
CREATE TABLE table_11803648_22 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_11803648_22 WHERE player = "Ben Harpur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of player Marcus Hogberg?
### Context:
CREATE TABLE table_11803648_22 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11803648_22 WHERE player = "Marcus Hogberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
3488 is the enrollment amount of what college?
### Context:
CREATE TABLE table_1183842_1 (institution VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1183842_1 WHERE enrollment = 3488 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Barry University had the highest enrollment of what number?
### Context:
CREATE TABLE table_1183842_1 (enrollment INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = "Barry University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The fighting knights has what type of nickname?
### Context:
CREATE TABLE table_1183842_1 (type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT type FROM table_1183842_1 WHERE nickname = "Fighting Knights" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Boca Raton, Florida had what joined amount?
### Context:
CREATE TABLE table_1183842_1 (joined VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined FROM table_1183842_1 WHERE location = "Boca Raton, Florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment is 3584, what's the largest founded?
### Context:
CREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode that was viewed by 2.57 million people in the U.S.?
### Context:
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode that was viewed by 2.50 million people in the U.S.?
### Context:
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.50" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in season 5 was viewed by 3.00 million U.S. viziers?
### Context:
CREATE TABLE table_11820086_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_11820086_1 WHERE us_viewers__millions_ = "3.00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the percent (1990) where state is united states
### Context:
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the total number of percent (2000) where percent (1980) is 3.4%
### Context:
CREATE TABLE table_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR) [/INST]
### Response:
SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "3.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 are all the percent (1990) where state is mississippi
### Context:
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 norwegian americans (2000) where norwegian americans (1990) is 9170
### Context:
CREATE TABLE table_1182314_5 (norwegian_americans__2000_ INTEGER, norwegian_americans__1990_ VARCHAR) [/INST]
### Response:
SELECT MAX(norwegian_americans__2000_) FROM table_1182314_5 WHERE norwegian_americans__1990_ = 9170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 norwegian americans (1980) where state is rhode island
### Context:
CREATE TABLE table_1182314_5 (norwegian_americans__1980_ INTEGER, state VARCHAR) [/INST]
### Response:
SELECT MIN(norwegian_americans__1980_) FROM table_1182314_5 WHERE state = "Rhode Island" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English version of the title Getto Daun?
### Context:
CREATE TABLE table_11839306_2 (english_title VARCHAR, rōmaji_title VARCHAR) [/INST]
### Response:
SELECT english_title FROM table_11839306_2 WHERE rōmaji_title = "Getto Daun" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track number?
### Context:
CREATE TABLE table_11839306_2 (track INTEGER) [/INST]
### Response:
SELECT MIN(track) FROM table_11839306_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:
How many tracks are titled Mō Sukoshi Tōku?
### Context:
CREATE TABLE table_11839306_2 (track VARCHAR, rōmaji_title VARCHAR) [/INST]
### Response:
SELECT COUNT(track) FROM table_11839306_2 WHERE rōmaji_title = "Mō Sukoshi Tōku" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Japanese title for Fantasy?
### Context:
CREATE TABLE table_11839306_2 (japanese_title VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT japanese_title FROM table_11839306_2 WHERE english_title = "Fantasy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track number 8?
### Context:
CREATE TABLE table_11839306_2 (track VARCHAR) [/INST]
### Response:
SELECT track AS time FROM table_11839306_2 WHERE track = 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:
Who was the GT2 winning team when the GT3 winning team was #1 PTG?
### Context:
CREATE TABLE table_11875915_2 (gt2_winning_team VARCHAR, gt3_winning_team VARCHAR) [/INST]
### Response:
SELECT gt2_winning_team FROM table_11875915_2 WHERE gt3_winning_team = "#1 PTG" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 doubles champions were there for the Serbia f6 Futures tournament?
### Context:
CREATE TABLE table_11900378_1 (doubles_champions VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT COUNT(doubles_champions) FROM table_11900378_1 WHERE tournament = "Serbia F6 Futures" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singles tournaments did Ludovic Walter win?
### Context:
CREATE TABLE table_11900378_1 (tournament VARCHAR, singles_champions VARCHAR) [/INST]
### Response:
SELECT COUNT(tournament) FROM table_11900378_1 WHERE singles_champions = "Ludovic Walter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type where the country is esp?
### Context:
CREATE TABLE table_11891841_2 (type VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT type FROM table_11891841_2 WHERE country = "ESp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name where p is mf?
### Context:
CREATE TABLE table_11891841_2 (name VARCHAR, p VARCHAR) [/INST]
### Response:
SELECT name FROM table_11891841_2 WHERE p = "MF" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type where the name is bojan?
### Context:
CREATE TABLE table_11891841_2 (type VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT type FROM table_11891841_2 WHERE name = "Bojan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first day cover cancellation for the University of Saskatchewan themed stamp?
### Context:
CREATE TABLE table_11900773_5 (first_day_cover_cancellation VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT first_day_cover_cancellation FROM table_11900773_5 WHERE theme = "University of 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:
Who was responsible for the design of the Jasper National Park theme?
### Context:
CREATE TABLE table_11900773_5 (design VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT design FROM table_11900773_5 WHERE theme = "Jasper National Park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the paper type of the University of Saskatchewan themed stamp?
### Context:
CREATE TABLE table_11900773_5 (paper_type VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT paper_type FROM table_11900773_5 WHERE theme = "University of 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:
Who created the illustration for the stamp that was themed 100 years of scouting?
### Context:
CREATE TABLE table_11900773_5 (illustration VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT illustration FROM table_11900773_5 WHERE theme = "100 Years of Scouting" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nicknames for the meaning of god knows my journey.
### Context:
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR) [/INST]
### Response:
SELECT COUNT(nickname) FROM table_11908801_1 WHERE meaning = "God Knows My Journey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 meaning where full name is chidinma anulika?
### Context:
CREATE TABLE table_11908801_1 (meaning VARCHAR, full_name VARCHAR) [/INST]
### Response:
SELECT COUNT(meaning) FROM table_11908801_1 WHERE full_name = "Chidinma Anulika" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname that means god holds my life?
### Context:
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_11908801_1 WHERE meaning = "God Holds My Life" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high assists for game 49?
### Context:
CREATE TABLE table_11907963_6 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_11907963_6 WHERE game = 49 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for the game in which Emeka Okafor (10) had high rebounds?
### Context:
CREATE TABLE table_11907963_6 (score VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT score FROM table_11907963_6 WHERE high_rebounds = "Emeka Okafor (10)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the total number of location where station number is c03
### Context:
CREATE TABLE table_11934032_1 (location VARCHAR, station_number VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_11934032_1 WHERE station_number = "C03" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the type where station number is c08
### Context:
CREATE TABLE table_11934032_1 (type VARCHAR, station_number VARCHAR) [/INST]
### Response:
SELECT type FROM table_11934032_1 WHERE station_number = "C08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the type where location is st ives, cambridgeshire
### Context:
CREATE TABLE table_11934032_1 (type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT type FROM table_11934032_1 WHERE location = "St Ives, Cambridgeshire" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the registrations where station number is c26
### Context:
CREATE TABLE table_11934032_1 (registrations VARCHAR, station_number VARCHAR) [/INST]
### Response:
SELECT registrations FROM table_11934032_1 WHERE station_number = "C26" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the location where station number is c11
### Context:
CREATE TABLE table_11934032_1 (location VARCHAR, station_number VARCHAR) [/INST]
### Response:
SELECT location FROM table_11934032_1 WHERE station_number = "C11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the registrations where location is yaxley
### Context:
CREATE TABLE table_11934032_1 (registrations VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT registrations FROM table_11934032_1 WHERE location = "Yaxley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 issue price (proof) where the issue price (bu) is 34.95?
### Context:
CREATE TABLE table_11916083_1 (issue_price__proof_ VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) [/INST]
### Response:
SELECT issue_price__proof_ FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "34.95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year where the mintage (proof) is 25,000?
### Context:
CREATE TABLE table_11916083_1 (year INTEGER, mintage__proof_ VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_11916083_1 WHERE mintage__proof_ = "25,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95?
### Context:
CREATE TABLE table_11916083_1 (mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR) [/INST]
### Response:
SELECT mintage__bu_[_clarification_needed_] FROM table_11916083_1 WHERE artist = "Royal Canadian Mint Staff" AND issue_price__proof_ = "$54.95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the year that the issue price (bu) is $26.95?
### Context:
CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) [/INST]
### Response:
SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first class team with birthday of 5 december 1970?
### Context:
CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT COUNT(first_class_team) FROM table_11950720_4 WHERE date_of_birth = "5 December 1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when birthday is 15 november 1973?
### Context:
CREATE TABLE table_11950720_4 (no VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT no FROM table_11950720_4 WHERE date_of_birth = "15 November 1973" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bowling style of chris harris?
### Context:
CREATE TABLE table_11950720_4 (bowling_style VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the first class team of date of birth 20 november 1969?
### Context:
CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT first_class_team FROM table_11950720_4 WHERE date_of_birth = "20 November 1969" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Javagal Srinath's batting style?
### Context:
CREATE TABLE table_11950720_3 (batting_style VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT batting_style FROM table_11950720_3 WHERE player = "Javagal Srinath" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Shivnarine Chanderpaul used what bowling style?
### Context:
CREATE TABLE table_11950720_8 (bowling_style VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT bowling_style FROM table_11950720_8 WHERE player = "Shivnarine Chanderpaul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 musical guests and songs were in episodes with a production code k0519?
### Context:
CREATE TABLE table_11951237_2 (musical_guest_and_song VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(musical_guest_and_song) FROM table_11951237_2 WHERE production_code = "K0519" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes originally aired on August 31, 1995?
### Context:
CREATE TABLE table_11951237_2 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_11951237_2 WHERE original_air_date = "August 31, 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 theoriginal air date of the episode directed by timothy van patten?
### Context:
CREATE TABLE table_11951237_3 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11951237_3 WHERE directed_by = "Timothy Van Patten" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # where production code is k1505?
### Context:
CREATE TABLE table_11951237_3 (season__number INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MIN(season__number) FROM table_11951237_3 WHERE production_code = "K1505" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episode with the original air date of february 6, 1997?
### Context:
CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_11951237_3 WHERE original_air_date = "February 6, 1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are there for season 8
### Context:
CREATE TABLE table_11951237_4 (title VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_11951237_4 WHERE season__number = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which tittles have an original air date of March 19, 1998
### Context:
CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_11951237_4 WHERE original_air_date = "March 19, 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance of the game November 24
### Context:
CREATE TABLE table_11959669_3 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_11959669_3 WHERE date = "November 24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the highest assists on November 4
### Context:
CREATE TABLE table_11959669_3 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_11959669_3 WHERE date = "November 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:
Who had the highest rebounds on November 4
### Context:
CREATE TABLE table_11959669_3 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_11959669_3 WHERE date = "November 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 numbers were listed under attendance for March 2?
### Context:
CREATE TABLE table_11959669_7 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_11959669_7 WHERE date = "March 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:
What was the final score on March 26?
### Context:
CREATE TABLE table_11959669_7 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_11959669_7 WHERE date = "March 26" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the team when the score is 88–86?
### Context:
CREATE TABLE table_11959669_6 (team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT team FROM table_11959669_6 WHERE score = "88–86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when high points is from pierce (30)?
### Context:
CREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT score FROM table_11959669_6 WHERE high_points = "Pierce (30)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times is the score 98–90?
### Context:
CREATE TABLE table_11959669_6 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_11959669_6 WHERE score = "98–90" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game that the location attendance is pepsi center 19,894?
### Context:
CREATE TABLE table_11959669_6 (game INTEGER, location_attendance VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_11959669_6 WHERE location_attendance = "Pepsi Center 19,894" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team when location attendance is us airways center 18,422?
### Context:
CREATE TABLE table_11959669_6 (team VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT team FROM table_11959669_6 WHERE location_attendance = "US Airways Center 18,422" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.