text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which modern house title translates to prison?
### Context:
CREATE TABLE table_name_46 (modern_title_of_house VARCHAR, translation VARCHAR) [/INST]
### Response:
SELECT modern_title_of_house FROM table_name_46 WHERE translation = "prison" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Latin motto of the sign that translates to spouse?
### Context:
CREATE TABLE table_name_94 (latin_motto VARCHAR, translation VARCHAR) [/INST]
### Response:
SELECT latin_motto FROM table_name_94 WHERE translation = "spouse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 modern house title of the 1st house?
### Context:
CREATE TABLE table_name_27 (modern_title_of_house VARCHAR, house VARCHAR) [/INST]
### Response:
SELECT modern_title_of_house FROM table_name_27 WHERE house = "1st" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sign has a modern house title of House of Partnerships?
### Context:
CREATE TABLE table_name_50 (sign VARCHAR, modern_title_of_house VARCHAR) [/INST]
### Response:
SELECT sign FROM table_name_50 WHERE modern_title_of_house = "house of partnerships" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the int yards that has an assts more than 3, and player Jay Alford?
### Context:
CREATE TABLE table_name_81 (int_yards INTEGER, assts VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time with a Score that is 80-34?
### Context:
CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_38 WHERE score = "80-34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a Home that is hamilton wildcats?
### Context:
CREATE TABLE table_name_29 (date VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_29 WHERE home = "hamilton wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ground with a Date that is 2008-06-20?
### Context:
CREATE TABLE table_name_42 (ground VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT ground FROM table_name_42 WHERE date = "2008-06-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 Away with a Ground that is humber college lakeshore?
### Context:
CREATE TABLE table_name_88 (away VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away FROM table_name_88 WHERE ground = "humber college lakeshore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time with a Ground that is humber college north?
### Context:
CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_7 WHERE ground = "humber college north" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Away with a Ground that is humber college north?
### Context:
CREATE TABLE table_name_9 (away VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away FROM table_name_9 WHERE ground = "humber college north" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College with a Round # that is 290?
### Context:
CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_20 WHERE round__number = 290 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College with a Player that is dean caliguire?
### Context:
CREATE TABLE table_name_49 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_49 WHERE player = "dean caliguire" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the first leg of the semi-final?
### Context:
CREATE TABLE table_name_78 (first_leg VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT first_leg FROM table_name_78 WHERE round = "semi-final" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the first leg score against Real Sociedad?
### Context:
CREATE TABLE table_name_66 (first_leg VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT first_leg FROM table_name_66 WHERE opposition = "real sociedad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the first leg against Hibernian?
### Context:
CREATE TABLE table_name_13 (first_leg VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT first_leg FROM table_name_13 WHERE opposition = "hibernian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the opposition in the quarter-final?
### Context:
CREATE TABLE table_name_50 (opposition VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT opposition FROM table_name_50 WHERE round = "quarter-final" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least number of assists among players ranked 2?
### Context:
CREATE TABLE table_name_53 (assists INTEGER, rank VARCHAR) [/INST]
### Response:
SELECT MIN(assists) FROM table_name_53 WHERE rank = 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 lowest total when the rank is 14 and the gold medals is larger than 0?
### Context:
CREATE TABLE table_name_34 (total INTEGER, rank VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_34 WHERE rank = "14" 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:
What is the total number of medals when there are 18 gold medals?
### Context:
CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR) [/INST]
### Response:
SELECT SUM(total) FROM table_name_83 WHERE gold = 18 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?
### Context:
CREATE TABLE table_name_94 (bronze VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT bronze FROM table_name_94 WHERE total > 1 AND silver > "2" AND rank = "2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location of the game when the record was 12-4?
### Context:
CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_74 WHERE record = "12-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 was the location of the game when the record was 2-1?
### Context:
CREATE TABLE table_name_86 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_86 WHERE record = "2-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?
### Context:
CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 main span in feet from a year of 2009 or more recent with a rank less than 94 and 1,310 main span metres?
### Context:
CREATE TABLE table_name_69 (main_span_feet VARCHAR, main_span_metres VARCHAR, year_opened VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT main_span_feet FROM table_name_69 WHERE year_opened > 2009 AND rank < 94 AND main_span_metres = "1,310" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres?
### Context:
CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT main_span_feet FROM table_name_43 WHERE year_opened = 1936 AND country = "united states" AND rank > 47 AND main_span_metres = "421" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank from the year greater than 2010 with 430 main span metres?
### Context:
CREATE TABLE table_name_69 (rank INTEGER, year_opened VARCHAR, main_span_metres VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 oldest year with a main span feet of 1,640 in South Korea?
### Context:
CREATE TABLE table_name_52 (year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT MIN(year_opened) FROM table_name_52 WHERE main_span_feet = "1,640" AND country = "south korea" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game when the record was 39โ21โ4?
### Context:
CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_49 WHERE record = "39โ21โ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 was the date of the game with a score of 2โ1?
### Context:
CREATE TABLE table_name_60 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_60 WHERE score = "2โ1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the earliest week that the Texans played at the Cleveland Browns Stadium?
### Context:
CREATE TABLE table_name_10 (week INTEGER, game_site VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_10 WHERE game_site = "cleveland browns stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the Texans play at LP Field?
### Context:
CREATE TABLE table_name_90 (date VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_90 WHERE game_site = "lp field" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 quarterback had an Avg/G of 195.8?
### Context:
CREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_11 WHERE avg_g = 195.8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which royal house corresponds to Polyxenos Epiphanes Soter?
### Context:
CREATE TABLE table_name_84 (royal_house VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT royal_house FROM table_name_84 WHERE name = "polyxenos epiphanes soter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mark, when Name is Dmytro Hlushchenko?
### Context:
CREATE TABLE table_name_19 (mark VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT mark FROM table_name_19 WHERE name = "dmytro hlushchenko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country, when Lane is 5, and when React is greater than 0.166?
### Context:
CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, react VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lane, when Country is France, and when React is less than 0.14100000000000001?
### Context:
CREATE TABLE table_name_28 (lane INTEGER, country VARCHAR, react VARCHAR) [/INST]
### Response:
SELECT MIN(lane) FROM table_name_28 WHERE country = "france" AND react < 0.14100000000000001 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Heat, when Mark is 6.69?
### Context:
CREATE TABLE table_name_42 (heat VARCHAR, mark VARCHAR) [/INST]
### Response:
SELECT heat FROM table_name_42 WHERE mark = "6.69" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of points for a song ranked 2nd with a draw greater than 3?
### Context:
CREATE TABLE table_name_35 (points INTEGER, rank VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_35 WHERE rank = "2nd" AND draw > 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 total number of draws for songs performed by Miranda with fewer than 48 points?
### Context:
CREATE TABLE table_name_64 (draw VARCHAR, performer VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(draw) FROM table_name_64 WHERE performer = "miranda" AND points < 48 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 HDTV when the content shows a timeshift +1 di disney junior?
### Context:
CREATE TABLE table_name_54 (hdtv VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT hdtv FROM table_name_54 WHERE content = "timeshift +1 di disney junior" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country when the language is italian english, and the television service is disney xd +1?
### Context:
CREATE TABLE table_name_12 (country VARCHAR, language VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_12 WHERE language = "italian english" AND television_service = "disney xd +1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1?
### Context:
CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What shows as Content for the Television service of nickelodeon +1?
### Context:
CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
### Context:
CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER) [/INST]
### Response:
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what day was the game that ended in a score of 97-38?
### Context:
CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_17 WHERE score = "97-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 was the home team of the game at the time of 14:00?
### Context:
CREATE TABLE table_name_53 (home VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_53 WHERE time = "14:00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the home team of the game at the time of 15:00?
### Context:
CREATE TABLE table_name_33 (home VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_33 WHERE time = "15:00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what day was the game that ended in a score of 97-38?
### Context:
CREATE TABLE table_name_1 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_1 WHERE score = "97-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 was the away team of the game at the time 15:00?
### Context:
CREATE TABLE table_name_57 (away VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT away FROM table_name_57 WHERE time = "15:00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what grounds did the away team of the Toronto Rebels play?
### Context:
CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR) [/INST]
### Response:
SELECT ground FROM table_name_5 WHERE away = "toronto rebels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capital has a Hangul of ๊ฒฝ์๋จ๋?
### Context:
CREATE TABLE table_name_97 (capital VARCHAR, hangul_chosongul VARCHAR) [/INST]
### Response:
SELECT capital FROM table_name_97 WHERE hangul_chosongul = "๊ฒฝ์๋จ๋" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country has a city with a Hanja of ๅนณๅฎๅ้?
### Context:
CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_83 WHERE hanja = "ๅนณๅฎๅ้" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 RR Romaja for the province that has Hangul of ๊ฐ์๋ and capital of Wonsan?
### Context:
CREATE TABLE table_name_85 (rr_romaja VARCHAR, hangul_chosongul VARCHAR, capital VARCHAR) [/INST]
### Response:
SELECT rr_romaja FROM table_name_85 WHERE hangul_chosongul = "๊ฐ์๋" AND capital = "wonsan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the area for the province having Hangul of ๊ฒฝ๊ธฐ๋?
### Context:
CREATE TABLE table_name_60 (area VARCHAR, hangul_chosongul VARCHAR) [/INST]
### Response:
SELECT area FROM table_name_60 WHERE hangul_chosongul = "๊ฒฝ๊ธฐ๋" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 M-R Romaja for the province having a capital of Cheongju?
### Context:
CREATE TABLE table_name_34 (m_r_romaja VARCHAR, capital VARCHAR) [/INST]
### Response:
SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheongju" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game that has 32 points and a team rank larger than 4 named montepaschi siena
### Context:
CREATE TABLE table_name_41 (games INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(games) FROM table_name_41 WHERE points = 32 AND team = "montepaschi siena" AND rank > 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 lowest Built, when Floors is greater than 23, and when Rank is 3?
### Context:
CREATE TABLE table_name_38 (built INTEGER, floors VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MIN(built) FROM table_name_38 WHERE floors > 23 AND rank = 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 Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)?
### Context:
CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND built = 2005 AND name = "the edge (c)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Floors, when Built is greater than 1970, and when Name is NV Building 3?
### Context:
CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 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 total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?
### Context:
CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR, floors VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND rank < 8 AND name = "white, mediacityuk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height of the player from Las Vegas, NV?
### Context:
CREATE TABLE table_name_80 (height VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the guard from Cary, NC?
### Context:
CREATE TABLE table_name_44 (name VARCHAR, position VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_44 WHERE position = "guard" AND home_town = "cary, nc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year of school is the forward Iman McFarland?
### Context:
CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tall is the freshman guard Cetera Degraffenreid?
### Context:
CREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_56 WHERE position = "guard" AND year = "freshman" AND name = "cetera degraffenreid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position does the 5-8 player from Grottoes, VA play?
### Context:
CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_10 WHERE height = "5-8" AND home_town = "grottoes, va" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year of school is the player from Fayetteville, NC?
### Context:
CREATE TABLE table_name_52 (year VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a game of more than 56, and the score is l 85โ90 (ot)?
### Context:
CREATE TABLE table_name_76 (team VARCHAR, game VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85โ90 (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:
What is the Record when the high rebounds was Antonio Davis (9)?
### Context:
CREATE TABLE table_name_5 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_5 WHERE high_rebounds = "antonio davis (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:
What is the home score with marek dupnitsa as opponent?
### Context:
CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Label of the B0011141-01 Catalog?
### Context:
CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_60 WHERE catalog = "b0011141-01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Label of the UICI-1069 Catalog?
### Context:
CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_42 WHERE catalog = "uici-1069" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Region of the 1766390 Catalog?
### Context:
CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_71 WHERE catalog = "1766390" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What School/Club did Dominique Wilkins play for?
### Context:
CREATE TABLE table_name_27 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_27 WHERE player = "dominique wilkins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome of the 4โ6, 6โ4, 6โ3, 7โ6 (7โ2) score?
### Context:
CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_7 WHERE score = "4โ6, 6โ4, 6โ3, 7โ6 (7โ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 outcome of the match with Roger Federer as the opponent?
### Context:
CREATE TABLE table_name_89 (outcome VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_89 WHERE opponent = "roger federer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface was the Australian Open (1) played on?
### Context:
CREATE TABLE table_name_84 (surface VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_84 WHERE championship = "australian open (1)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Rank of the player with 362 Matches?
### Context:
CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_name_92 WHERE matches = 362 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank of the player with 158 Goals in more than 362 Matches?
### Context:
CREATE TABLE table_name_85 (rank VARCHAR, goals VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn that has a played more than 12?
### Context:
CREATE TABLE table_name_9 (drawn VARCHAR, played INTEGER) [/INST]
### Response:
SELECT COUNT(drawn) FROM table_name_9 WHERE played > 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 difference has a points greater than 10, and a drawn less than 2?
### Context:
CREATE TABLE table_name_66 (difference VARCHAR, points VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 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 Result of the game with 72,949 in attendance?
### Context:
CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_41 WHERE attendance = "72,949" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance for a Week earlier than 16, and a Date of bye?
### Context:
CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game against the Indianapolis Colts?
### Context:
CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song has more than 66 points, a draw greater than 3, and is ranked 3rd?
### Context:
CREATE TABLE table_name_25 (song VARCHAR, rank VARCHAR, points VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT song FROM table_name_25 WHERE points > 66 AND draw > 3 AND rank = "3rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points when the ranking is 1st?
### Context:
CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of points when the ranking is 7th and the draw is less than 4?
### Context:
CREATE TABLE table_name_63 (points INTEGER, rank VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_63 WHERE rank = "7th" AND draw < 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 total number of points of the honda hr-1 engine?
### Context:
CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of the reynard 2ki chassis before 2002?
### Context:
CREATE TABLE table_name_50 (rank VARCHAR, year VARCHAR, chassis VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_50 WHERE year < 2002 AND chassis = "reynard 2ki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the home team on April 13, 2008 when Itabuna was the away team?
### Context:
CREATE TABLE table_name_80 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_80 WHERE date = "april 13, 2008" AND away_team = "itabuna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the home team with a round of 2nd and Vitรณria da Conquista as the way team?
### Context:
CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitรณria da conquista" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the home team on April 13, 2008 when Itabuna was the away team?
### Context:
CREATE TABLE table_name_48 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_48 WHERE date = "april 13, 2008" AND away_team = "itabuna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team has a score of 5 - 5?
### Context:
CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_30 WHERE score = "5 - 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:
On which date was the score 0 - 0?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_54 WHERE score = "0 - 0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who played as the home team when Vitรณria was the away team?
### Context:
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_89 WHERE away_team = "vitรณria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid is the lowest when the time/retired is + 5 laps and the laps is less than 161?
### Context:
CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_name_30 WHERE time_retired = "+ 5 laps" AND laps < 161 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
### Context:
CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Driver Ricardo Sperafico has what as his average laps?
### Context:
CREATE TABLE table_name_96 (laps INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT AVG(laps) FROM table_name_96 WHERE driver = "ricardo sperafico" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the driver with 6 points?
### Context:
CREATE TABLE table_name_35 (driver VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_35 WHERE points = 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 points that the driver Ryan Hunter-Reay has?
### Context:
CREATE TABLE table_name_54 (points INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_54 WHERE driver = "ryan hunter-reay" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.