text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the numbers of steals associated with players having exactly 3 blocks?
### Context:
CREATE TABLE table_24913533_4 (steals VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT steals FROM table_24913533_4 WHERE blocks = 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:
How many numbers of rebounds are associated with exactly 18 points?
### Context:
CREATE TABLE table_24913533_4 (rebounds VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(rebounds) FROM table_24913533_4 WHERE points = 18 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum number of assists for players named Anastasia Kostaki?
### Context:
CREATE TABLE table_24913533_4 (assists INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(assists) FROM table_24913533_4 WHERE player = "Anastasia Kostaki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tiffani Johnson's maximum steals?
### Context:
CREATE TABLE table_24912693_4 (steals INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(steals) FROM table_24912693_4 WHERE player = "Tiffani Johnson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has 17 blocks?
### Context:
CREATE TABLE table_24912693_4 (player VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT player FROM table_24912693_4 WHERE blocks = 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:
How many field goals does the player with 84 rebounds have?
### Context:
CREATE TABLE table_24912693_4 (field_goals INTEGER, rebounds VARCHAR) [/INST]
### Response:
SELECT MIN(field_goals) FROM table_24912693_4 WHERE rebounds = 84 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 blocks does the player who played 893 minutes have?
### Context:
CREATE TABLE table_24912693_4 (blocks VARCHAR, minutes VARCHAR) [/INST]
### Response:
SELECT blocks FROM table_24912693_4 WHERE minutes = 893 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points does the player with 2 steals have?
### Context:
CREATE TABLE table_24912693_4 (points VARCHAR, steals VARCHAR) [/INST]
### Response:
SELECT points FROM table_24912693_4 WHERE steals = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number
### Context:
CREATE TABLE table_24924576_2 (number INTEGER) [/INST]
### Response:
SELECT MAX(number) FROM table_24924576_2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the titles for tko 11/12
### Context:
CREATE TABLE table_24924576_2 (titles VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT titles FROM table_24924576_2 WHERE result = "TKO 11/12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the game played when the result/margin was won by 70?
### Context:
CREATE TABLE table_24919137_2 (venue VARCHAR, result_margin VARCHAR) [/INST]
### Response:
SELECT venue FROM table_24919137_2 WHERE result_margin = "WON by 70" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result/margin when fox sports 1 broadcast the game played at mcg?
### Context:
CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network broadcast the game when the Western Bulldogs played melbourne?
### Context:
CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game played when the score was 14.16 (100)-12.12 (84)?
### Context:
CREATE TABLE table_24919137_2 (venue VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT venue FROM table_24919137_2 WHERE score = "14.16 (100)-12.12 (84)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ladder position when the score was 15.9 (99)–14.6 (90)?
### Context:
CREATE TABLE table_24919137_2 (ladder_position VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT ladder_position FROM table_24919137_2 WHERE score = "15.9 (99)–14.6 (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:
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
### Context:
CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is nicknamed the panthers?
### Context:
CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT school FROM table_24935743_2 WHERE nickname = "Panthers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is in Jeromesville?
### Context:
CREATE TABLE table_24935743_2 (location VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT location FROM table_24935743_2 WHERE school = "Jeromesville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 previous school of the ft7in (m) tall player?
### Context:
CREATE TABLE table_24925945_3 (previous_school VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT previous_school FROM table_24925945_3 WHERE height = "ft7in (m)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 previous school of #22?
### Context:
CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT previous_school FROM table_24925945_3 WHERE _number = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 3x5402?
### Context:
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_24938621_2 WHERE production_code = "3X5402" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 3x5405?
### Context:
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_24938621_2 WHERE production_code = "3X5405" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 as the home team for game on 5 october 2011?
### Context:
CREATE TABLE table_24949975_1 (home_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_24949975_1 WHERE date = "5 October 2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium for the home team of shamrock rovers and result of 3–0?
### Context:
CREATE TABLE table_24949975_1 (stadium VARCHAR, home_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_24949975_1 WHERE home_team = "Shamrock Rovers" AND result = "3–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 was the away team when the result was 2–1 and home team was the bohemians?
### Context:
CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team for the 2013 season and the result was 0–0?
### Context:
CREATE TABLE table_24949975_1 (home_team VARCHAR, season VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_24949975_1 WHERE season = "2013" AND result = "0–0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date for the game at the tallaght stadium and result was 0–1?
### Context:
CREATE TABLE table_24949975_1 (date VARCHAR, stadium VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_24949975_1 WHERE stadium = "Tallaght stadium" AND result = "0–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 opponents played Waldstadion in a game?
### Context:
CREATE TABLE table_24951872_2 (opponent VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_24951872_2 WHERE game_site = "Waldstadion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum week that had attendance of 10738?
### Context:
CREATE TABLE table_24951872_2 (week INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_24951872_2 WHERE attendance = 10738 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the production code of the episode written by Cathryn Humphris?
### Context:
CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_24938621_3 WHERE written_by = "Cathryn Humphris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the production code of the episode that had 5.43 million viewers?
### Context:
CREATE TABLE table_24938621_3 (production_code VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_24938621_3 WHERE us_viewers__million_ = "5.43" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the title of the episode directed by Jesse Warn?
### Context:
CREATE TABLE table_24938621_3 (production_code VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_24938621_3 WHERE directed_by = "Jesse Warn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode number was written by Gregg Hurwitz?
### Context:
CREATE TABLE table_24938621_3 (no VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT no FROM table_24938621_3 WHERE written_by = "Gregg Hurwitz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dry density is 800, what is the drying shrinkage %?
### Context:
CREATE TABLE table_24969173_1 (drying_shrinkage___percentage_ VARCHAR, dry_density__kg_m3_ VARCHAR) [/INST]
### Response:
SELECT drying_shrinkage___percentage_ FROM table_24969173_1 WHERE dry_density__kg_m3_ = 800 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in the series was episode 7 in the season?
### Context:
CREATE TABLE table_24961421_1 (series__number VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT series__number FROM table_24961421_1 WHERE season__number = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the episode that had 12.15 million viewers?
### Context:
CREATE TABLE table_24961421_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number in the season was the episode with 12.23 million viewers?
### Context:
CREATE TABLE table_24961421_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ = "12.23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of the game at Olympic Stadium?
### Context:
CREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT date FROM table_24989925_2 WHERE game_site = "Olympic Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many weeks total are there?
### Context:
CREATE TABLE table_24989925_2 (week INTEGER) [/INST]
### Response:
SELECT MAX(week) FROM table_24989925_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 team's record when they played at Rheinenergiestadion?
### Context:
CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest overall number of 09-10 oi 2nd?
### Context:
CREATE TABLE table_24990183_6 (Id VARCHAR) [/INST]
### Response:
SELECT MIN(09 AS _10_oi_2nd) FROM table_24990183_6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the maximum 09-10 i/o best?
### Context:
CREATE TABLE table_24990183_4 (Id VARCHAR) [/INST]
### Response:
SELECT MAX(09 AS _10_i_o_best) FROM table_24990183_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:
If the rank is 17, what are the names?
### Context:
CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT name FROM table_24990183_7 WHERE rank = 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:
If the WS points is 947, what is the 08-09 gp/jgp 2nd ?
### Context:
CREATE TABLE table_24990183_7 (ws_points VARCHAR) [/INST]
### Response:
SELECT 08 AS _09_gp_jgp_2nd FROM table_24990183_7 WHERE ws_points = 947 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did he have when he has in the 34th position?
### Context:
CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT points FROM table_24998088_1 WHERE position = "34th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many wins were listed when he had 112 points?
### Context:
CREATE TABLE table_24998088_1 (wins VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT wins FROM table_24998088_1 WHERE points = "112" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series did he have the 7th position?
### Context:
CREATE TABLE table_24998088_1 (series VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT series FROM table_24998088_1 WHERE position = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 his points when he was in 8th position?
### Context:
CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT points FROM table_24998088_1 WHERE position = "8th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vote when the air date is 4 october 1997?
### Context:
CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT vote FROM table_25016824_2 WHERE air_date = "4 October 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:
Who was eliminated when immunity went to kent (jürgen)?
### Context:
CREATE TABLE table_25016824_2 (eliminated VARCHAR, immunity VARCHAR) [/INST]
### Response:
SELECT eliminated FROM table_25016824_2 WHERE immunity = "Kent (Jürgen)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eliminated when the vote was 8-1?
### Context:
CREATE TABLE table_25016824_2 (eliminated VARCHAR, vote VARCHAR) [/INST]
### Response:
SELECT eliminated FROM table_25016824_2 WHERE vote = "8-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 entries are there for vote when the air date was 15 november 1997?
### Context:
CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 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:
What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?
### Context:
CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for Macedonian correspond to Slovianski value of Veliki?
### Context:
CREATE TABLE table_25008327_8 (macedonian VARCHAR, slovianski VARCHAR) [/INST]
### Response:
SELECT COUNT(macedonian) FROM table_25008327_8 WHERE slovianski = "veliki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area all values for Slovak when value for Ukranian is пес, собака?
### Context:
CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR) [/INST]
### Response:
SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for Croatian when value for English is dog?
### Context:
CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR) [/INST]
### Response:
SELECT croatian FROM table_25008327_8 WHERE english = "dog" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for Polish when Balarusian is ноч?
### Context:
CREATE TABLE table_25008327_8 (polish VARCHAR, belarusian VARCHAR) [/INST]
### Response:
SELECT polish FROM table_25008327_8 WHERE belarusian = "ноч" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for Russian when value for Bulgarian is пес, куче?
### Context:
CREATE TABLE table_25008327_8 (russian VARCHAR, bulgarian VARCHAR) [/INST]
### Response:
SELECT russian FROM table_25008327_8 WHERE bulgarian = "пес, куче" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for словјански if polish is książka?
### Context:
CREATE TABLE table_25008327_8 (словјански VARCHAR, polish VARCHAR) [/INST]
### Response:
SELECT словјански FROM table_25008327_8 WHERE polish = "książka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for christopher smith
### Context:
CREATE TABLE table_25017530_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_25017530_5 WHERE player = "Christopher Smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college for nate binder
### Context:
CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for steven turner
### Context:
CREATE TABLE table_25017530_5 (pick__number INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cfl team for steven turner
### Context:
CREATE TABLE table_25017530_5 (cfl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cfl team for lb position
### Context:
CREATE TABLE table_25017530_6 (cfl_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_25017530_6 WHERE position = "LB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cfl team for saskatchewan
### Context:
CREATE TABLE table_25017530_6 (cfl_team VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the position for michael warner
### Context:
CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_25017530_6 WHERE player = "Michael Warner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were numbered 5?
### Context:
CREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 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 are the original air date(s) for episodes with production code ipea343l?
### Context:
CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA343L" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the original air date(s) for episodes with production code ipea345a?
### Context:
CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the original air date(s) for episodes with 8.63 million viewers?
### Context:
CREATE TABLE table_2501754_2 (original_airdate VARCHAR, viewing_figures_millions VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_2501754_2 WHERE viewing_figures_millions = "8.63" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 power of the Type R?
### Context:
CREATE TABLE table_250230_2 (power VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT power FROM table_250230_2 WHERE model = "Type R" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?
### Context:
CREATE TABLE table_250230_2 (brakes VARCHAR, model VARCHAR, wheels VARCHAR, tyres VARCHAR) [/INST]
### Response:
SELECT brakes FROM table_250230_2 WHERE wheels = "16x8.0JJ (front) 16x8.0JJ (rear)" AND tyres = "225/50R16 92V(front) 225/50R16 92V(rear)" AND model = "Type RB 4AT" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 brakes for the 4-speed automatic gearbox?
### Context:
CREATE TABLE table_250230_2 (brakes VARCHAR, gearbox VARCHAR) [/INST]
### Response:
SELECT brakes FROM table_250230_2 WHERE gearbox = "4-speed automatic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 power for the Spirit R (Type B)?
### Context:
CREATE TABLE table_250230_2 (power VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT power FROM table_250230_2 WHERE model = "Spirit R (Type B)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gearbox when the torque is torque?
### Context:
CREATE TABLE table_250230_2 (gearbox VARCHAR) [/INST]
### Response:
SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected for alabama 3
### Context:
CREATE TABLE table_25030512_4 (first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(first_elected) FROM table_25030512_4 WHERE district = "Alabama 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the party for spencer bachus
### Context:
CREATE TABLE table_25030512_4 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT party FROM table_25030512_4 WHERE incumbent = "Spencer Bachus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for mike rogers
### Context:
CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for spencer bachus
### Context:
CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_25030512_4 WHERE incumbent = "Spencer Bachus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district was keith ellison the incumbent?
### Context:
CREATE TABLE table_25030512_26 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_25030512_26 WHERE incumbent = "Keith Ellison" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kilo watt hoours per day for moline.
### Context:
CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which year did the voice of muscatine show start?
### Context:
CREATE TABLE table_25034983_2 (start VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT start FROM table_25034983_2 WHERE nickname = "Voice of Muscatine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was cumulus founded?
### Context:
CREATE TABLE table_25034983_2 (start INTEGER, owner VARCHAR) [/INST]
### Response:
SELECT MIN(start) FROM table_25034983_2 WHERE owner = "Cumulus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Does the city of moline have stereo?
### Context:
CREATE TABLE table_25034983_2 (stereo VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT stereo FROM table_25034983_2 WHERE city = "Moline" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 company with the parent company wrightbus?
### Context:
CREATE TABLE table_250309_1 (company VARCHAR, parent_company VARCHAR) [/INST]
### Response:
SELECT company FROM table_250309_1 WHERE parent_company = "Wrightbus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ofhte company where the plant is in burnaston?
### Context:
CREATE TABLE table_250309_1 (company VARCHAR, plant VARCHAR) [/INST]
### Response:
SELECT company FROM table_250309_1 WHERE plant = "Burnaston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 models are produced where the plant is scarborough?
### Context:
CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR) [/INST]
### Response:
SELECT models_produced FROM table_250309_1 WHERE plant = "Scarborough" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 models produced where the plant is castle bromwich?
### Context:
CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR) [/INST]
### Response:
SELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = "Castle Bromwich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the production where the parent company is ariel?
### Context:
CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR) [/INST]
### Response:
SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of chassis on the angie's list sponsored car?
### Context:
CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team owns the car owned by chip ganassi?
### Context:
CREATE TABLE table_2503102_2 (team VARCHAR, listed_owner_s_ VARCHAR) [/INST]
### Response:
SELECT team FROM table_2503102_2 WHERE listed_owner_s_ = "Chip Ganassi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chassis is on the car repped by team rahal letterman lanigan racing?
### Context:
CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan 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:
Who drives the abc supply sponsored cor?
### Context:
CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR) [/INST]
### Response:
SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = "ABC Supply" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for tom marino
### Context:
CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Tom Marino" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for 1994
### Context:
CREATE TABLE table_25030512_41 (district VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT district FROM table_25030512_41 WHERE first_elected = 1994 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party for pennsylvania 10
### Context:
CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 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:
Name the result for glenn thompson
### Context:
CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for bill shuster
### Context:
CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Bill Shuster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List the total play time for 11 starts.
### Context:
CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR) [/INST]
### Response:
SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 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:
In what region is the enrollment ratio in primary 94.40?
### Context:
CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR) [/INST]
### Response:
SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.