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:
Name the vote for gigit
### Context:
CREATE TABLE table_16976547_2 (vote VARCHAR, eliminated VARCHAR) [/INST]
### Response:
SELECT vote FROM table_16976547_2 WHERE eliminated = "Gigit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 finish for patani
### Context:
CREATE TABLE table_16976547_2 (finish VARCHAR, eliminated VARCHAR) [/INST]
### Response:
SELECT finish FROM table_16976547_2 WHERE eliminated = "Patani" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of immunity for cycle number of 13
### Context:
CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR) [/INST]
### Response:
SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the NBC network, what was the new/returning/same network status?
### Context:
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, previous_network VARCHAR) [/INST]
### Response:
SELECT new_returning_same_network FROM table_169766_13 WHERE previous_network = "NBC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show was sent to syndication for its new/returning/same network.
### Context:
CREATE TABLE table_169766_13 (show VARCHAR, new_returning_same_network VARCHAR) [/INST]
### Response:
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new/returning/same network name for This Week in Baseball?
### Context:
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR) [/INST]
### Response:
SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show as previously on The Family Channel?
### Context:
CREATE TABLE table_169766_13 (show VARCHAR, previous_network VARCHAR) [/INST]
### Response:
SELECT show FROM table_169766_13 WHERE previous_network = "The Family Channel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Did the name change for the program last aired in 1958?
### Context:
CREATE TABLE table_169766_13 (retitled_as_same VARCHAR, last_aired VARCHAR) [/INST]
### Response:
SELECT retitled_as_same FROM table_169766_13 WHERE last_aired = 1958 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rating of the episode with an overall ranking of 190?
### Context:
CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR) [/INST]
### Response:
SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many were the shares when the viewers reached 3.11 million?
### Context:
CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.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:
Name the saka era for malayalam മിഥുനം
### Context:
CREATE TABLE table_169955_1 (saka_era VARCHAR, in_malayalam VARCHAR) [/INST]
### Response:
SELECT saka_era FROM table_169955_1 WHERE in_malayalam = "മിഥുനം" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 months in the malayalam era for കുംഭം
### Context:
CREATE TABLE table_169955_1 (months_in_malayalam_era VARCHAR, in_malayalam VARCHAR) [/INST]
### Response:
SELECT months_in_malayalam_era FROM table_169955_1 WHERE in_malayalam = "കുംഭം" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sign of zodiac for chithirai
### Context:
CREATE TABLE table_169955_1 (sign_of_zodiac VARCHAR, tamil_calendar VARCHAR) [/INST]
### Response:
SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = "Chithirai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 saka era for sign of zodiac being pisces
### Context:
CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR) [/INST]
### Response:
SELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = "Pisces" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gregorian calenda rof gemini
### Context:
CREATE TABLE table_169955_1 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR) [/INST]
### Response:
SELECT COUNT(gregorian_calendar) FROM table_169955_1 WHERE sign_of_zodiac = "Gemini" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For High Assists of Raymond Felton (12), who were the High rebounds?
### Context:
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "Raymond Felton (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:
On what date was the team Philadelphia?
### Context:
CREATE TABLE table_17001658_10 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17001658_10 WHERE team = "Philadelphia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high rebound for the high assists of d. j. augustin (8)?
### Context:
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "D. J. Augustin (8)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the final score of the game with gerald wallace (14) as the High Rebound?
### Context:
CREATE TABLE table_17001658_10 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT record FROM table_17001658_10 WHERE high_rebounds = "Gerald Wallace (14)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the final score in game 15?
### Context:
CREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17001658_5 WHERE game = 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:
Who had the most assists and how many did they have in the game against Miami?
### Context:
CREATE TABLE table_17001658_5 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17001658_5 WHERE team = "Miami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location attendance for game 55
### Context:
CREATE TABLE table_17001658_8 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17001658_8 WHERE game = 55 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who got the game high rebounds in game 46?
### Context:
CREATE TABLE table_17001658_7 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17001658_7 WHERE game = 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 scores are listed for game 37?
### Context:
CREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the opposing team Milwaukee?
### Context:
CREATE TABLE table_17001658_7 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17001658_7 WHERE team = "Milwaukee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pressure in ultra high vacuum?
### Context:
CREATE TABLE table_170097_1 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR) [/INST]
### Response:
SELECT pressure_in_hpa__mbar_ FROM table_170097_1 WHERE vacuum_range = "Ultra high vacuum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nightly rank where the episode number production number is 06 1-06?
### Context:
CREATE TABLE table_17004367_3 (nightly_rank VARCHAR, episode_number_production_number VARCHAR) [/INST]
### Response:
SELECT COUNT(nightly_rank) FROM table_17004367_3 WHERE episode_number_production_number = "06 1-06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weekly rank where the total is 1980000?
### Context:
CREATE TABLE table_17004367_3 (weekly_rank VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(weekly_rank) FROM table_17004367_3 WHERE total = 1980000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high assists for 70 game
### Context:
CREATE TABLE table_17001658_9 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17001658_9 WHERE game = 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:
Name the pe̍h-ōe-jī for 前金區
### Context:
CREATE TABLE table_17015_2 (pe̍h_ōe_jī VARCHAR, chinese VARCHAR) [/INST]
### Response:
SELECT pe̍h_ōe_jī FROM table_17015_2 WHERE chinese = "前金區" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where population 2010 is 171906
### Context:
CREATE TABLE table_17015_2 (no VARCHAR, population__2010_ VARCHAR) [/INST]
### Response:
SELECT no FROM table_17015_2 WHERE population__2010_ = 171906 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tongyong for chinese of 湖內區
### Context:
CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR) [/INST]
### Response:
SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tongyong for qiaotou
### Context:
CREATE TABLE table_17015_2 (tongyong VARCHAR, hanyu VARCHAR) [/INST]
### Response:
SELECT COUNT(tongyong) FROM table_17015_2 WHERE hanyu = "Qiaotou" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pixels would be found in a hardware colour of 8?
### Context:
CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR) [/INST]
### Response:
SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If hardware colours is 8 what would the char cells be?
### Context:
CREATE TABLE table_1701371_2 (char_cells VARCHAR, hardware_colours VARCHAR) [/INST]
### Response:
SELECT char_cells FROM table_1701371_2 WHERE hardware_colours = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the year for le confessional
### Context:
CREATE TABLE table_17025328_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17025328_1 WHERE original_title = "Le Confessional" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the year for les portes tournantes
### Context:
CREATE TABLE table_17025328_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17025328_1 WHERE original_title = "Les portes tournantes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Of the teams that lost 5 games, what is the highest number of wins?
### Context:
CREATE TABLE table_17012578_37 (w INTEGER, l VARCHAR) [/INST]
### Response:
SELECT MAX(w) FROM table_17012578_37 WHERE l = 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 is the highest number of ends lost?
### Context:
CREATE TABLE table_17012578_37 (Ends INTEGER) [/INST]
### Response:
SELECT MAX(Ends) AS lost FROM table_17012578_37 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are in the ends won cell corresponding to a PA of 39?
### Context:
CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR) [/INST]
### Response:
SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alberta's skip when the shot pct was 88?
### Context:
CREATE TABLE table_17012578_6 (skip VARCHAR, shot_pct VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT skip FROM table_17012578_6 WHERE shot_pct = 88 AND province = "Alberta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top Points Allowed?
### Context:
CREATE TABLE table_17012578_6 (pa INTEGER) [/INST]
### Response:
SELECT MAX(pa) FROM table_17012578_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:
When the blank ends at 1, what is the PA?
### Context:
CREATE TABLE table_17012578_6 (pa VARCHAR, blank_ends VARCHAR) [/INST]
### Response:
SELECT COUNT(pa) FROM table_17012578_6 WHERE blank_ends = 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 times did the team play charlotte?
### Context:
CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day did the team play charlotte?
### Context:
CREATE TABLE table_17058116_6 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17058116_6 WHERE team = "Charlotte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the game with score l 99–107 (ot)
### Context:
CREATE TABLE table_17058116_7 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_17058116_7 WHERE score = "L 99–107 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with record 20–23 and how many people attended it
### Context:
CREATE TABLE table_17058116_7 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17058116_7 WHERE record = "20–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:
Who scored highest rebounds high points is charlie villanueva (32)
### Context:
CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (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 score of game 46
### Context:
CREATE TABLE table_17058116_7 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17058116_7 WHERE game = 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:
Who scored the high points on the date November 2?
### Context:
CREATE TABLE table_17058116_5 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17058116_5 WHERE date = "November 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:
In how many locations did Game 13 take place?
### Context:
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the game that took place in November 21 located and how many attended?
### Context:
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17058116_5 WHERE date = "November 21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high reobounds for april 7
### Context:
CREATE TABLE table_17058178_11 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17058178_11 WHERE date = "April 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games was game 43?
### Context:
CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_17058151_7 WHERE game = 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:
Name the total number of high rebounds for february 10
### Context:
CREATE TABLE table_17058151_8 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_17058151_8 WHERE date = "February 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 record for december 6
### Context:
CREATE TABLE table_17058151_6 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17058151_6 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 was the final score in game 38?
### Context:
CREATE TABLE table_17058178_8 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17058178_8 WHERE game = 38 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the Trail Blazers play on January 2?
### Context:
CREATE TABLE table_17058178_8 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_17058178_8 WHERE date = "January 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:
On how many dates did the Timberwolves play Phoenix?
### Context:
CREATE TABLE table_17058226_10 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_17058226_10 WHERE team = "Phoenix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Timberwolves' record on April 3?
### Context:
CREATE TABLE table_17058226_10 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17058226_10 WHERE date = "April 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:
Where are all of Utah's games held and how many have attended?
### Context:
CREATE TABLE table_17058226_8 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17058226_8 WHERE team = "Utah" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performed all the high rebounds when craig smith (4) was the lead for high assists?
### Context:
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17058226_5 WHERE high_assists = "Craig Smith (4)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had all the high rebounds when kevin love (20) scored the highest points?
### Context:
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17058226_5 WHERE high_points = "Kevin Love (20)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team was playing when sebastian telfair (7) had the highest assists?
### Context:
CREATE TABLE table_17058226_5 (team VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT team FROM table_17058226_5 WHERE high_assists = "Sebastian Telfair (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:
Name the score for january 26
### Context:
CREATE TABLE table_17058226_7 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_17058226_7 WHERE date = "January 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:
Who did the high points in the game played on April 12?
### Context:
CREATE TABLE table_17060277_10 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17060277_10 WHERE date = "April 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:
What is the constructor when the Q1 order is 4?
### Context:
CREATE TABLE table_1706942_1 (constructor VARCHAR, q1_order VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_1706942_1 WHERE q1_order = 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 Q1 order for Felipe Massa?
### Context:
CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Q1 time for the driver with Q1 order of 6?
### Context:
CREATE TABLE table_1706942_1 (q1_time VARCHAR, q1_order VARCHAR) [/INST]
### Response:
SELECT q1_time FROM table_1706942_1 WHERE q1_order = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Q1 figures are given for Alexander Wurz?
### Context:
CREATE TABLE table_1706942_1 (q1_order VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(q1_order) FROM table_1706942_1 WHERE driver = "Alexander Wurz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all had the most assists in game 12?
### Context:
CREATE TABLE table_17060277_5 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17060277_5 WHERE game = 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:
Which position offers winnings of $4,228,889?
### Context:
CREATE TABLE table_1708014_1 (position VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT position FROM table_1708014_1 WHERE winnings = "$4,228,889" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles did team #14 ginn racing have?
### Context:
CREATE TABLE table_1708014_1 (poles VARCHAR, team_s_ VARCHAR) [/INST]
### Response:
SELECT poles FROM table_1708014_1 WHERE team_s_ = "#14 Ginn 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:
When the poles are 0 and the position is 14th, how much are the winnings?
### Context:
CREATE TABLE table_1708014_1 (winnings VARCHAR, poles VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 start won $1,301,370?
### Context:
CREATE TABLE table_1708014_1 (starts VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT starts FROM table_1708014_1 WHERE winnings = "$1,301,370" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For team #40 chip ganassi racing which top 5 is the highest where top 10 is 5?
### Context:
CREATE TABLE table_1708014_1 (top_5 INTEGER, top_10 VARCHAR, team_s_ VARCHAR) [/INST]
### Response:
SELECT MAX(top_5) FROM table_1708014_1 WHERE top_10 = 5 AND team_s_ = "#40 Chip Ganassi 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:
what is the posisiotn where the start is 3?
### Context:
CREATE TABLE table_1708014_2 (position VARCHAR, starts VARCHAR) [/INST]
### Response:
SELECT position FROM table_1708014_2 WHERE starts = 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 team where winnings is $81,690?
### Context:
CREATE TABLE table_1708014_2 (team_s_ VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT team_s_ FROM table_1708014_2 WHERE winnings = "$81,690" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance of the Indiana game?
### Context:
CREATE TABLE table_17080868_7 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17080868_7 WHERE team = "Indiana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trans 2 duration if the biking stage is covered within 58:20?
### Context:
CREATE TABLE table_17085947_32 (trans_2 VARCHAR, bike__40km_ VARCHAR) [/INST]
### Response:
SELECT trans_2 FROM table_17085947_32 WHERE bike__40km_ = "58:20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trans 2 duration if the total time is 1:51:19.45?
### Context:
CREATE TABLE table_17085947_32 (trans_2 VARCHAR, total_time VARCHAR) [/INST]
### Response:
SELECT trans_2 FROM table_17085947_32 WHERE total_time = "1:51:19.45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration of Daniela Ryf's swimming stage?
### Context:
CREATE TABLE table_17085947_32 (swim__15km_ VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT swim__15km_ FROM table_17085947_32 WHERE athlete = "Daniela Ryf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athletes completed a trans 1 within 0:26?
### Context:
CREATE TABLE table_17085947_32 (athlete VARCHAR, trans_1 VARCHAR) [/INST]
### Response:
SELECT COUNT(athlete) FROM table_17085947_32 WHERE trans_1 = "0: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:
Who was the athlete that covered biking within 58:52?
### Context:
CREATE TABLE table_17085947_32 (athlete VARCHAR, bike__40km_ VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_17085947_32 WHERE bike__40km_ = "58:52" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
All high points are team new york.
### Context:
CREATE TABLE table_17080868_8 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17080868_8 WHERE team = "New York" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
February 12 is the date for all location attendance.
### Context:
CREATE TABLE table_17080868_8 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17080868_8 WHERE date = "February 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:
54 is the game where location attendance are.
### Context:
CREATE TABLE table_17080868_8 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17080868_8 WHERE game = 54 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
All high points were record by corey maggette (25).
### Context:
CREATE TABLE table_17080868_8 (record VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_17080868_8 WHERE high_points = "Corey Maggette (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 total number of attendance where the date is december 29?
### Context:
CREATE TABLE table_17080868_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_17080868_6 WHERE date = "December 29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the manner in which Petrik Sander departed?
### Context:
CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_17085981_2 WHERE outgoing_manager = "Petrik Sander" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure for Edgar Schmitt of the Stuttgarter Kickers?
### Context:
CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_17085981_2 WHERE team = "Stuttgarter Kickers" AND outgoing_manager = "Edgar Schmitt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of appointment when Jürgen Kohler was the outgoing manager?
### Context:
CREATE TABLE table_17085981_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_17085981_2 WHERE outgoing_manager = "Jürgen Kohler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 appointment dates were recorded when Jürgen Kohler was the replaced by?
### Context:
CREATE TABLE table_17085981_2 (date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_appointment) FROM table_17085981_2 WHERE replaced_by = "Jürgen Kohler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 swimsuit scores of participants with score 9.366 in interview
### Context:
CREATE TABLE table_17088705_2 (swimsuit VARCHAR, interview VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_17088705_2 WHERE interview = "9.366" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
State average scores of participants from arizona
### Context:
CREATE TABLE table_17088705_2 (average VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT average FROM table_17088705_2 WHERE country = "Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Number of participants with a score 8.895 in preliminary
### Context:
CREATE TABLE table_17088705_2 (interview VARCHAR, preliminary VARCHAR) [/INST]
### Response:
SELECT COUNT(interview) FROM table_17088705_2 WHERE preliminary = "8.895" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Evening gown scores of participants with 8.988 swimsuit score
### Context:
CREATE TABLE table_17088705_2 (evening_gown VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT evening_gown FROM table_17088705_2 WHERE swimsuit = "8.988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average scores of participants with 9.226 in evening gown
### Context:
CREATE TABLE table_17088705_2 (average VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT average FROM table_17088705_2 WHERE evening_gown = "9.226" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Give swimsuit scores of participants 8.847 in preliminary
### Context:
CREATE TABLE table_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_17088705_2 WHERE preliminary = "8.847" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 official name of the land with an area of 276.84 km2?
### Context:
CREATE TABLE table_170958_2 (official_name VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT official_name FROM table_170958_2 WHERE area_km_2 = "276.84" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.