text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every CFL team from the Calgary college?
### Context:
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_28059992_1 WHERE college = "Calgary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every position for the CFL Edmonton?
### Context:
CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every CFL team with pick#1?
### Context:
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every CFL team with the player Mark Farraway?
### Context:
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draft pick number was Andy Brereton?
### Context:
CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_28059992_5 WHERE player = "Andy Brereton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number was the player that was picked by Edmonton?
### Context:
CREATE TABLE table_28059992_5 (pick__number VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_28059992_5 WHERE cfl_team = "Edmonton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position did the draft pick going to saskatchewan play?
### Context:
CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest numbered draft pick?
### Context:
CREATE TABLE table_28059992_5 (pick__number INTEGER) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_28059992_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 CFL team got the player from york?
### Context:
CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_28059992_5 WHERE college = "York" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many positions does Trent Bagnail play?
### Context:
CREATE TABLE table_28059992_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_28059992_5 WHERE player = "Trent Bagnail" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the player who was drafted by Edmonton?
### Context:
CREATE TABLE table_28059992_6 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_28059992_6 WHERE cfl_team = "Edmonton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college did the player whose position was RB go to?
### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_28059992_6 WHERE position = "RB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college did Francis Bellefroid go to?
### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was drafted by Winnipeg?
### Context:
CREATE TABLE table_28059992_6 (player VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college did the player who was drafted by Calgary go to?
### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the height of representative #1?
### Context:
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) [/INST]
### Response:
SELECT height FROM table_28062822_3 WHERE represent = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which contestant was sponsored by Yogurt Vita Slim?
### Context:
CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR) [/INST]
### Response:
SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height of representative #6?
### Context:
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) [/INST]
### Response:
SELECT height FROM table_28062822_3 WHERE represent = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many people wrote the episode directed by rob schrab?
### Context:
CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
name the title of the episode with production code 201
### Context:
CREATE TABLE table_28081876_4 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_28081876_4 WHERE production_code = 201 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 authors of the episode first broadcast on August 10, 2012?
### Context:
CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was originally aired the episode with an audience of 1.57 million us viewers?
### Context:
CREATE TABLE table_28081876_6 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = "1.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:
What season number was assigned to the episode identified with the production code 401?
### Context:
CREATE TABLE table_28081876_6 (season_no VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT season_no FROM table_28081876_6 WHERE production_code = 401 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of assists for the DF.
### Context:
CREATE TABLE table_28068645_8 (total INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(total) FROM table_28068645_8 WHERE position = "DF" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest super league for a 0 champion league.
### Context:
CREATE TABLE table_28068645_8 (super_league INTEGER, champions_league VARCHAR) [/INST]
### Response:
SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum sum?
### Context:
CREATE TABLE table_28068645_8 (total INTEGER) [/INST]
### Response:
SELECT MIN(total) FROM table_28068645_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:
What was the intermediate sprint classification for the race whose winner was Daniel Martin?
### Context:
CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams classification winners had a general classification winner of Allan Davis?
### Context:
CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR) [/INST]
### Response:
SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = "Allan Davis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the points classification when the teams classification winner was Lampre-Farnese?
### Context:
CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR) [/INST]
### Response:
SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 do you say the ukrainian word дякую (diakuju) in English?
### Context:
CREATE TABLE table_28136_15 (english_word VARCHAR, ukrainian VARCHAR) [/INST]
### Response:
SELECT english_word FROM table_28136_15 WHERE ukrainian = "Дякую (diakuju)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 words are there in rusyn for the bulgarian word купува (kupuva)?
### Context:
CREATE TABLE table_28136_15 (rusyn VARCHAR, bulgarian VARCHAR) [/INST]
### Response:
SELECT COUNT(rusyn) FROM table_28136_15 WHERE bulgarian = "купува (kupuva)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new adherents per year for buddhism
### Context:
CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR) [/INST]
### Response:
SELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = "Buddhism" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new adherents per year for confucianism
### Context:
CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR) [/INST]
### Response:
SELECT COUNT(new_adherents_per_year) FROM table_28137918_5 WHERE religion = "Confucianism" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least births for conversion being 26,333
### Context:
CREATE TABLE table_28137918_5 (births INTEGER, conversions VARCHAR) [/INST]
### Response:
SELECT MIN(births) FROM table_28137918_5 WHERE conversions = "26,333" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least amount of new adherents per year
### Context:
CREATE TABLE table_28137918_5 (new_adherents_per_year INTEGER) [/INST]
### Response:
SELECT MIN(new_adherents_per_year) FROM table_28137918_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:
Name the religion that has a growth rate of 1.56%
### Context:
CREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR) [/INST]
### Response:
SELECT religion FROM table_28137918_5 WHERE growth_rate = "1.56%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length when the propulsion is controllable pitch propeller?
### Context:
CREATE TABLE table_28132970_5 (length VARCHAR, propulsion VARCHAR) [/INST]
### Response:
SELECT length FROM table_28132970_5 WHERE propulsion = "Controllable pitch propeller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the max speed when the vessel is gallion?
### Context:
CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR) [/INST]
### Response:
SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 breadth entries are there when the vessel is marianarray?
### Context:
CREATE TABLE table_28132970_5 (breadth VARCHAR, vessel VARCHAR) [/INST]
### Response:
SELECT COUNT(breadth) FROM table_28132970_5 WHERE vessel = "Marianarray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 propulsion when the vessel is marianarray?
### Context:
CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR) [/INST]
### Response:
SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 breadth entries are there when propulsion is jet?
### Context:
CREATE TABLE table_28132970_5 (breadth VARCHAR, propulsion VARCHAR) [/INST]
### Response:
SELECT COUNT(breadth) FROM table_28132970_5 WHERE propulsion = "Jet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode title had a production code of 3x6306?
### Context:
CREATE TABLE table_28116528_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_28116528_1 WHERE production_code = "3X6306" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the episode with a production code of 3x6316 originally air?
### Context:
CREATE TABLE table_28116528_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28116528_1 WHERE production_code = "3X6316" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the mens doubles when wu yang won the womens singles?
### Context:
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28138035_26 WHERE womens_singles = "Wu Yang" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year and where was the tournament when fan ying won the womens singles?
### Context:
CREATE TABLE table_28138035_26 (year_location VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_26 WHERE womens_singles = "Fan Ying" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the mens singles when lau sui fei won the womens singles?
### Context:
CREATE TABLE table_28138035_26 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_28138035_26 WHERE womens_singles = "Lau Sui Fei" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the mens doubles when wang hao won the mens singles?
### Context:
CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = "Wang Hao" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won in the men singles group in the year when Yoshie Takada won in the women singles?
### Context:
CREATE TABLE table_28138035_13 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_28138035_13 WHERE womens_singles = "Yoshie Takada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 and where did Chen Qi win in men singles?
### Context:
CREATE TABLE table_28138035_13 (year_location VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_13 WHERE mens_singles = "Chen Qi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is listed under mens singles when womens has wang nan zhang yining?
### Context:
CREATE TABLE table_28138035_27 (mens_singles VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_28138035_27 WHERE womens_doubles = "Wang Nan Zhang Yining" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens singles entries are there when womens doubles is li xiaodan wen jia?
### Context:
CREATE TABLE table_28138035_27 (womens_singles VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_singles) FROM table_28138035_27 WHERE womens_doubles = "Li Xiaodan Wen Jia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is listed under womens singles when year location is 1998 doha?
### Context:
CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is listed under mens singles when the year location is 2009 doha?
### Context:
CREATE TABLE table_28138035_27 (mens_singles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_28138035_27 WHERE year_location = "2009 Doha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year locations are there for the womens doubles in jing junhong li jiawei?
### Context:
CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are there for mens singles when chen qi ma lin played mens doubles?
### Context:
CREATE TABLE table_28138035_20 (mens_singles VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(mens_singles) FROM table_28138035_20 WHERE mens_doubles = "Chen Qi Ma Lin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played mens doubles for the 1999 kobe tour?
### Context:
CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28138035_20 WHERE year_location = "1999 Kobe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the tour when jing junhong li jiawei played womens doubles?
### Context:
CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did lin gaoyuan wu jiaji play mens doubles?
### Context:
CREATE TABLE table_28138035_20 (year_location VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = "Lin Gaoyuan Wu Jiaji" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are shown for mens doubles when guo yue played womens singles?
### Context:
CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT COUNT(mens_doubles) FROM table_28138035_20 WHERE womens_singles = "Guo Yue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles?
### Context:
CREATE TABLE table_28138035_35 (womens_singles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT womens_singles FROM table_28138035_35 WHERE mens_singles = "Jean-Michel Saive" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year and location did Liu Guozheng win the Mens Singles?
### Context:
CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year and location did Wang Liqin win the Mens Singles?
### Context:
CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Wang Liqin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the mens doubles at the 2006 guangzhou event?
### Context:
CREATE TABLE table_28138035_6 (mens_doubles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28138035_6 WHERE year_location = "2006 Guangzhou" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the womens doubles in china?
### Context:
CREATE TABLE table_28138035_6 (mens_singles VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT COUNT(mens_singles) FROM table_28138035_6 WHERE womens_doubles = "China" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did li ju win the womens singles and wang liqin win the mens singles?
### Context:
CREATE TABLE table_28138035_6 (womens_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_doubles) FROM table_28138035_6 WHERE womens_singles = "Li Ju" AND mens_singles = "Wang Liqin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens singles for lee eun-sil moon hyun-jung
### Context:
CREATE TABLE table_28138035_4 (mens_singles VARCHAR, womens_doubles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_28138035_4 WHERE womens_doubles = "Lee Eun-Sil Moon Hyun-Jung" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles for 2011 rio de janeiro
### Context:
CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year location for haruna fukuoka
### Context:
CREATE TABLE table_28138035_4 (year_location VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT year_location FROM table_28138035_4 WHERE womens_singles = "Haruna Fukuoka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens doubles for dimitrij ovtcharov
### Context:
CREATE TABLE table_28138035_4 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28138035_4 WHERE mens_singles = "Dimitrij Ovtcharov" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens singles for 1999 rio de janeiro
### Context:
CREATE TABLE table_28138035_4 (womens_singles VARCHAR, year_location VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_singles) FROM table_28138035_4 WHERE year_location = "1999 Rio de Janeiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles for werner schlager
### Context:
CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_28138035_4 WHERE mens_singles = "Werner Schlager" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens double winner when the womens singles winner was Ding Ning?
### Context:
CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote episode number 19 in the series?
### Context:
CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 marks are there when tackles are 3?
### Context:
CREATE TABLE table_2814720_1 (marks VARCHAR, tackles VARCHAR) [/INST]
### Response:
SELECT marks FROM table_2814720_1 WHERE tackles = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the goal accuracy % when the total disposals are 481?
### Context:
CREATE TABLE table_2814720_1 (goal_accuracy__percentage VARCHAR, total_disposals VARCHAR) [/INST]
### Response:
SELECT goal_accuracy__percentage FROM table_2814720_1 WHERE total_disposals = 481 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the episode with a production code of 60072 originally air?
### Context:
CREATE TABLE table_28140590_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28140590_1 WHERE production_code = 60072 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode with series number 36?
### Context:
CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_28146944_2 WHERE no_in_series = 36 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
when was the next coach appointed after niger tornadoes fired their coach?
### Context:
CREATE TABLE table_28164986_4 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 managers left sunshine stars?
### Context:
CREATE TABLE table_28164986_4 (outgoing_manager VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(outgoing_manager) FROM table_28164986_4 WHERE team = "Sunshine Stars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new managers replaced manager(s) who resigned?
### Context:
CREATE TABLE table_28164986_4 (incoming_manager VARCHAR, manner_of_departure VARCHAR) [/INST]
### Response:
SELECT COUNT(incoming_manager) FROM table_28164986_4 WHERE manner_of_departure = "Resigned" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many times did tunde abdulrahman leave the team?
### Context:
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platforms have celsius calibur as mystic arte?
### Context:
CREATE TABLE table_28178595_2 (platform VARCHAR, mystic_arte VARCHAR) [/INST]
### Response:
SELECT COUNT(platform) FROM table_28178595_2 WHERE mystic_arte = "Celsius Calibur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mystic arte have hisui (jadeite) hearts 1 as the character?
### Context:
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 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:
How many platforms have nanaly fletch as the character?
### Context:
CREATE TABLE table_28178595_2 (platform VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT COUNT(platform) FROM table_28178595_2 WHERE character = "Nanaly Fletch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status of the character keel (keele) zeibel?
### Context:
CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sesaon(s) did they have 254 goals against?
### Context:
CREATE TABLE table_2817196_1 (season VARCHAR, goals_against VARCHAR) [/INST]
### Response:
SELECT season FROM table_2817196_1 WHERE goals_against = 254 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest number of points in a season?
### Context:
CREATE TABLE table_2817196_1 (points INTEGER) [/INST]
### Response:
SELECT MAX(points) FROM table_2817196_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 Late Middle English equivalent of the Anglian æg, ǣg?
### Context:
CREATE TABLE table_28177800_5 (late_middle_english VARCHAR, late_old_english__anglian_ VARCHAR) [/INST]
### Response:
SELECT late_middle_english FROM table_28177800_5 WHERE late_old_english__anglian_ = "æg, ǣg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 example of the Early Modern English ( [x] → /f/) /ɔf/?
### Context:
CREATE TABLE table_28177800_5 (example VARCHAR, early_modern_english VARCHAR) [/INST]
### Response:
SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] → /f/) /ɔf/" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numer of miles for 2010.
### Context:
CREATE TABLE table_28178756_1 (miles__km_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT miles__km_ FROM table_28178756_1 WHERE year = 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what day did tommy ellis drive?
### Context:
CREATE TABLE table_28178756_1 (date VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT date FROM table_28178756_1 WHERE driver = "Tommy Ellis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day did joe gibbs racing record a time of 1:53:26?
### Context:
CREATE TABLE table_28178756_1 (date VARCHAR, team VARCHAR, race_time VARCHAR) [/INST]
### Response:
SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53: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 average speed for filmar racing?
### Context:
CREATE TABLE table_28178756_1 (average_speed__mph_ VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race time for may 11.
### Context:
CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT race_time FROM table_28178756_1 WHERE date = "May 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 modern grannies performed?
### Context:
CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR) [/INST]
### Response:
SELECT COUNT(act) FROM table_28180840_15 WHERE name_name_of_act = "Modern Grannies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performance zhu xiaoming performed?
### Context:
CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR) [/INST]
### Response:
SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performers are 29 that made it to the semi finals?
### Context:
CREATE TABLE table_28180840_15 (semifinal__week_ VARCHAR, age_s_ VARCHAR) [/INST]
### Response:
SELECT semifinal__week_ FROM table_28180840_15 WHERE age_s_ = "29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the zhou jinsong's hometown?
### Context:
CREATE TABLE table_28180840_15 (hometown VARCHAR, name_name_of_act VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_28180840_15 WHERE name_name_of_act = "Zhou Jinsong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production codes does the episode originally aired on October 18, 1984 have?
### Context:
CREATE TABLE table_2818164_2 (production_code VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode with production code 104?
### Context:
CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_2818164_2 WHERE production_code = 104 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.