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:
Frequency for kamy?
### Context:
CREATE TABLE table_name_4 (frequency_mhz VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT frequency_mhz FROM table_name_4 WHERE call_sign = "kamy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method of resolution when LaVerne Clark's record was 23-16-1?
### Context:
CREATE TABLE table_name_84 (method VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_84 WHERE record = "23-16-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 subdivisions have an English Name of jiyang?
### Context:
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Population of the subdivision with the English Name of nanbin farm?
### Context:
CREATE TABLE table_name_73 (population INTEGER, english_name VARCHAR) [/INST]
### Response:
SELECT MIN(population) FROM table_name_73 WHERE english_name = "nanbin farm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Traditional when the Pinyin is hédōng qū?
### Context:
CREATE TABLE table_name_27 (traditional VARCHAR, pinyin VARCHAR) [/INST]
### Response:
SELECT traditional FROM table_name_27 WHERE pinyin = "hédōng qū" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Traditional for area 35?
### Context:
CREATE TABLE table_name_28 (traditional VARCHAR, area VARCHAR) [/INST]
### Response:
SELECT traditional FROM table_name_28 WHERE area = "35" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class has the verb meaning of to run?
### Context:
CREATE TABLE table_name_91 (class VARCHAR, verb_meaning VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_91 WHERE verb_meaning = "to run" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entry for Part 1 for class 7d?
### Context:
CREATE TABLE table_name_81 (part_1 VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT part_1 FROM table_name_81 WHERE class = "7d" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 3 entry that has a part 4 entry of giboran?
### Context:
CREATE TABLE table_name_31 (part_3 VARCHAR, part_4 VARCHAR) [/INST]
### Response:
SELECT part_3 FROM table_name_31 WHERE part_4 = "giboran" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 2 entry for class 3a?
### Context:
CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT part_2 FROM table_name_36 WHERE class = "3a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part 4 entry for class 7b?
### Context:
CREATE TABLE table_name_88 (part_4 VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT part_4 FROM table_name_88 WHERE class = "7b" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result a draw?
### Context:
CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_24 WHERE result = "draw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
### Context:
CREATE TABLE table_name_6 (score VARCHAR, competition VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_6 WHERE competition = "2010 fifa world cup qualification" AND result = "win" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 (kW) for the station located in Cebu?
### Context:
CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_name_83 WHERE location = "cebu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 (kW) for the station with a frequency of 95.1mhz?
### Context:
CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?
### Context:
CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT callsign FROM table_name_31 WHERE branding = "93dot5 home radio cagayan de oro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency for the station with the branding of 94dot3 home radio Palawan?
### Context:
CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_74 WHERE branding = "94dot3 home radio palawan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Branding for the station located in Zamboanga?
### Context:
CREATE TABLE table_name_25 (branding VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT branding FROM table_name_25 WHERE location = "zamboanga" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 (kW) for the station with the frequency of 98.7mhz?
### Context:
CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_name_26 WHERE frequency = "98.7mhz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 medal total of Denmark?
### Context:
CREATE TABLE table_name_52 (total VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_name_52 WHERE nation = "denmark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of the game with a game number greater than 24 on December 19?
### Context:
CREATE TABLE table_name_32 (record VARCHAR, game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_32 WHERE game > 24 AND date = "december 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:
What is the record of game 26 with beno udrih (4) as the highest assists?
### Context:
CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_41 WHERE high_assists = "beno udrih (4)" AND game = 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 score of game 25?
### Context:
CREATE TABLE table_name_37 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_37 WHERE game = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?
### Context:
CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(draw) FROM table_name_73 WHERE song = "u ritmu ljubavi" AND points > 87 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?
### Context:
CREATE TABLE table_name_76 (draw VARCHAR, performer VARCHAR) [/INST]
### Response:
SELECT draw FROM table_name_76 WHERE performer = "andrea cubric" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the game number when the record is 30-22?
### Context:
CREATE TABLE table_name_77 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT AVG(game) FROM table_name_77 WHERE record = "30-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:
At what location was the score W 82-76?
### Context:
CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_68 WHERE score = "w 82-76" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record when the game was at the Rose Garden?
### Context:
CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_75 WHERE location = "rose garden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of games with more than 0 draws and 11 losses?
### Context:
CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT MAX(games) FROM table_name_33 WHERE draws > 0 AND lost = 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 1994 finish in the event that had a 1998 finish of 2R?
### Context:
CREATE TABLE table_name_22 (Id VARCHAR) [/INST]
### Response:
SELECT 1994 FROM table_name_22 WHERE 1998 = "2r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?
### Context:
CREATE TABLE table_name_75 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1994 finish associated with a 1995 finish of 3R and 1997 of QF?
### Context:
CREATE TABLE table_name_92 (Id VARCHAR) [/INST]
### Response:
SELECT 1994 FROM table_name_92 WHERE 1997 = "qf" AND 1995 = "3r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1999 finish for the tournament in Rome?
### Context:
CREATE TABLE table_name_24 (tournament VARCHAR) [/INST]
### Response:
SELECT 1999 FROM table_name_24 WHERE tournament = "rome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1991 finish for the 1993 Grand Slams?
### Context:
CREATE TABLE table_name_60 (Id VARCHAR) [/INST]
### Response:
SELECT 1991 FROM table_name_60 WHERE 1993 = "grand slams" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoff apps for Thomas Heary, that had the position df?
### Context:
CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT playoff_apps FROM table_name_10 WHERE position = "df" AND name = "thomas heary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?
### Context:
CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR) [/INST]
### Response:
SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?
### Context:
CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR) [/INST]
### Response:
SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_apps = "2" AND league_cup_goals < 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:
Which title had rank 9?
### Context:
CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_28 WHERE rank = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which title placed in rank 7?
### Context:
CREATE TABLE table_name_7 (title VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_7 WHERE rank = 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:
shows for the artist Santana featuring the product g&b?
### Context:
CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&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 volume 3 weeks on top for Third Eye Blind?
### Context:
CREATE TABLE table_name_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT volume AS :issue FROM table_name_47 WHERE weeks_on_top = "3" AND artist = "third eye blind" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 music video that was from the album High Society, with a length of 3:50?
### Context:
CREATE TABLE table_name_91 (music_video VARCHAR, album VARCHAR, length VARCHAR) [/INST]
### Response:
SELECT music_video FROM table_name_91 WHERE album = "high society" AND length = "3:50" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which music video was from the album Map of the Human Soul?
### Context:
CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR) [/INST]
### Response:
SELECT music_video FROM table_name_96 WHERE album = "map of the human soul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 agg when team 2 was Cementarnica?
### Context:
CREATE TABLE table_name_94 (agg VARCHAR, team_2 VARCHAR) [/INST]
### Response:
SELECT agg FROM table_name_94 WHERE team_2 = "cementarnica" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of podiums for more than 4 laps, and less than 149 races?
### Context:
CREATE TABLE table_name_86 (podiums VARCHAR, fastest_laps VARCHAR, races VARCHAR) [/INST]
### Response:
SELECT COUNT(podiums) FROM table_name_86 WHERE fastest_laps > 4 AND races < 149 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the golfer from the country of fiji?
### Context:
CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of the golfer from the united states who had a To par of e?
### Context:
CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT SUM(score) FROM table_name_96 WHERE to_par = "e" AND country = "united states" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which united states player finished with a place of t10?
### Context:
CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_2 WHERE country = "united states" AND place = "t10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label uses the stereo LP for catalog scyl-934,623?
### Context:
CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalog cy-24623 for New Zealand?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_64 WHERE region = "new zealand" AND catalog = "cy-24623" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalog scyl-934,623 for Australia?
### Context:
CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label has a catalog of y8hr 1006 in 1972?
### Context:
CREATE TABLE table_name_91 (label VARCHAR, catalog VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_91 WHERE catalog = "y8hr 1006" AND date = "1972" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalog uses the stereo compact cassette format?
### Context:
CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game that has December 6 as the date?
### Context:
CREATE TABLE table_name_91 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(game) FROM table_name_91 WHERE date = "december 6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average game that has December 17 as the date?
### Context:
CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(game) FROM table_name_32 WHERE date = "december 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:
Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?
### Context:
CREATE TABLE table_name_92 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_92 WHERE silver = 0 AND rank = "6" AND gold < 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:
Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
### Context:
CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?
### Context:
CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of physicians in the region with an all nurses number of 91?
### Context:
CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR) [/INST]
### Response:
SELECT MIN(physician__gp_) & _specialist_ FROM table_name_76 WHERE all_nurses = 91 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Moving, when Type is "Transfer", and when Name is "Andy Webster"?
### Context:
CREATE TABLE table_name_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Moving From, when Ends is before 2011?
### Context:
CREATE TABLE table_name_65 (moving_from VARCHAR, ends INTEGER) [/INST]
### Response:
SELECT moving_from FROM table_name_65 WHERE ends < 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 category that sheridan smith was nominated for in 2011?
### Context:
CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT category FROM table_name_80 WHERE year = 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 ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?
### Context:
CREATE TABLE table_name_62 (award VARCHAR, nominated_work VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?
### Context:
CREATE TABLE table_name_33 (result VARCHAR, year VARCHAR, category VARCHAR, award VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_33 WHERE category = "best actress in a musical" AND award = "laurence olivier award" AND year = 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest attendance when the Atlanta Falcons were the opponent?
### Context:
CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_69 WHERE opponent = "atlanta falcons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 departed date for Grimsby Class Sloop?
### Context:
CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 departed date that the HMS Leith of the Royal Navy?
### Context:
CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class of the HMS Fowey?
### Context:
CREATE TABLE table_name_51 (class VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_51 WHERE name = "hms fowey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class of the HMS Heartsease?
### Context:
CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_75 WHERE name = "hms heartsease" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?
### Context:
CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the Score that has the Date of 11/17/1979?
### Context:
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_98 WHERE date = "11/17/1979" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the Opponent that has the Record of 7-7-1?
### Context:
CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_8 WHERE record = "7-7-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:
Can you tell me the Score that has the Opponent of at edmonton oilers?
### Context:
CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_97 WHERE opponent = "at edmonton oilers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the Date thay has the Reocrd of 9-10-2?
### Context:
CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_11 WHERE record = "9-10-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 is the finishing position for the person who had a grid of 3?
### Context:
CREATE TABLE table_name_44 (fin_pos VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT fin_pos FROM table_name_44 WHERE grid = "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:
Which team had car number 15?
### Context:
CREATE TABLE table_name_72 (team VARCHAR, car_no VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_72 WHERE car_no = "15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of laps completed by the car in grid 10?
### Context:
CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_19 WHERE grid = "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:
Which driver earned 32 points from the Andretti Green team?
### Context:
CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 10b serial?
### Context:
CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_46 WHERE serial = "10b" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
### Context:
CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points 2 average of teams that have played more than 46 games?
### Context:
CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER) [/INST]
### Response:
SELECT AVG(points_2) FROM table_name_96 WHERE played > 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:
What is the Mkhedruli symbol for the Asomtavruli ⴒ?
### Context:
CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR) [/INST]
### Response:
SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = "ⴒ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 letter name for the Asomtavruli ⴙ?
### Context:
CREATE TABLE table_name_74 (letter_name VARCHAR, asomtavruli VARCHAR) [/INST]
### Response:
SELECT letter_name FROM table_name_74 WHERE asomtavruli = "ⴙ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Phoneme symbol for ⴥ in Nuskhuri?
### Context:
CREATE TABLE table_name_43 (phoneme VARCHAR, nuskhuri VARCHAR) [/INST]
### Response:
SELECT phoneme FROM table_name_43 WHERE nuskhuri = "ⴥ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Phoneme symbol for the letter name zɛn?
### Context:
CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR) [/INST]
### Response:
SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teh Nuskhuri symbol for ⴋ in Asomtavruli?
### Context:
CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR) [/INST]
### Response:
SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?
### Context:
CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 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 is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
### Context:
CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 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 is the average Round, when Pick # is greater than 70, and when Position is Tackle?
### Context:
CREATE TABLE table_name_22 (round INTEGER, pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT AVG(round) FROM table_name_22 WHERE pick__number > 70 AND position = "tackle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round, when Position is Linebacker, and when Player is Thomas Henderson?
### Context:
CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_50 WHERE position = "linebacker" AND player = "thomas henderson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pick #, when College is Oklahoma, and when Round is less than 4?
### Context:
CREATE TABLE table_name_55 (pick__number VARCHAR, college VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(pick__number) FROM table_name_55 WHERE college = "oklahoma" AND round < 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:
Which Team has a Head Coach of michalis pamboris?
### Context:
CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 umbro's highest capacity?
### Context:
CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR) [/INST]
### Response:
SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = "umbro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue has a Kitmaker of lotto, and a Team of apoel?
### Context:
CREATE TABLE table_name_37 (venue VARCHAR, kitmaker VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_37 WHERE kitmaker = "lotto" AND team = "apoel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn number when there are 58 tries?
### Context:
CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_name_12 WHERE tries_for = "58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played number when the tries against shows correct as of 18:13 26 May 2008?
### Context:
CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the drawn when there are 402 points?
### Context:
CREATE TABLE table_name_85 (drawn VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_name_85 WHERE points_for = "402" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 try bonus when there are 492 points?
### Context:
CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT try_bonus FROM table_name_90 WHERE points_against = "492" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of points against when the tries against was 53?
### Context:
CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT points_against FROM table_name_19 WHERE tries_against = "53" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played number when the points against is 179?
### Context:
CREATE TABLE table_name_78 (played VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT played FROM table_name_78 WHERE points_against = "179" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.