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 college with a position of rb had a pick larger than 6 in round 28?
### Context:
CREATE TABLE table_name_19 (college VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_19 WHERE pick > 6 AND position = "rb" AND round = 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With an overall record of MU, 15-8 what is the at neutral site?
### Context:
CREATE TABLE table_name_87 (at_neutral_site VARCHAR, overall_record VARCHAR) [/INST]
### Response:
SELECT at_neutral_site FROM table_name_87 WHERE overall_record = "mu, 15-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:
For what current streak is KU, 8-2 under last 10 meetings?
### Context:
CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR) [/INST]
### Response:
SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-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 record for the last 10 meetings when the overall record is *as of March 14, 2013?
### Context:
CREATE TABLE table_name_53 (last_10_meetings VARCHAR, overall_record VARCHAR) [/INST]
### Response:
SELECT last_10_meetings FROM table_name_53 WHERE overall_record = "*as of march 14, 2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With an overall record of KSU, 118-117 what is the last 5 meetings?
### Context:
CREATE TABLE table_name_38 (last_5_meetings VARCHAR, overall_record VARCHAR) [/INST]
### Response:
SELECT last_5_meetings FROM table_name_38 WHERE overall_record = "ksu, 118-117" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at Columbia when KU, 4-1 is the record for the last 5 minutes?
### Context:
CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR) [/INST]
### Response:
SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = "ku, 4-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 was the streak at the game at the Miami Orange Bowl?
### Context:
CREATE TABLE table_name_99 (streak VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT streak FROM table_name_99 WHERE stadium = "miami orange bowl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team at Schaefer Stadium later in the season than week 7?
### Context:
CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = "schaefer 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:
What was the result in week 14?
### Context:
CREATE TABLE table_name_77 (result VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_77 WHERE week = 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 team was the opponent when the round was sf?
### Context:
CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_84 WHERE round = "sf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers?
### Context:
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has 5 silvers, less than 5 golds, and less than 7 total medals?
### Context:
CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 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:
What is the least amount of silvers for a team with less than 4 golds and less than 5 total medals?
### Context:
CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(silver) FROM table_name_17 WHERE total < 5 AND gold < 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 was the opponent for the 2003 davis cup europe/africa group ii?
### Context:
CREATE TABLE table_name_23 (opponent VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_23 WHERE edition = "2003 davis cup europe/africa group ii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round when the match was against sergis kyratzis?
### Context:
CREATE TABLE table_name_21 (round VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_21 WHERE opponent = "sergis kyratzis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972?
### Context:
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) [/INST]
### Response:
SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE ENROLLMENT FOR école saint-therèse AFTER 1954?
### Context:
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) [/INST]
### Response:
SELECT MIN(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école saint-therèse" AND year_open > 1954 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fuzzy Zoeller's score in the United States?
### Context:
CREATE TABLE table_name_82 (score VARCHAR, country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_82 WHERE country = "united states" AND player = "fuzzy zoeller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is Miller Barber from?
### Context:
CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_52 WHERE player = "miller barber" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Craig Stadler's score?
### Context:
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_80 WHERE player = "craig stadler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par for Leonard Thompson from the United States with a place of T6?
### Context:
CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_3 WHERE place = "t6" AND country = "united states" AND player = "leonard thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what position did the player play who had a number of 15 who played in 1987?
### Context:
CREATE TABLE table_name_88 (position VARCHAR, jersey_number_s_ VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_88 WHERE jersey_number_s_ = "15" AND years = "1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the week 1 game?
### Context:
CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_9 WHERE week = 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:
Who was the opponent in the 1 round fight in the Ultimate Fighter 2 Finale?
### Context:
CREATE TABLE table_name_4 (opponent VARCHAR, round VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_4 WHERE round = "1" AND event = "the ultimate fighter 2 finale" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the opponent in the fight of 1 round when the record is 18-7?
### Context:
CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-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:
What is the record at the UW: Ultimate Fight Minnesota?
### Context:
CREATE TABLE table_name_48 (record VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_48 WHERE event = "uw: ultimate fight minnesota" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the 2 round fight that ended by submission (injury)?
### Context:
CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_70 WHERE round = "2" AND method = "submission (injury)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the opponent at the IFA: Clash of the Champions?
### Context:
CREATE TABLE table_name_71 (opponent VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_71 WHERE event = "ifa: clash of the champions" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that resulted in a loss at the RSF: Shooto Challenge 2?
### Context:
CREATE TABLE table_name_80 (record VARCHAR, res VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_80 WHERE res = "loss" AND event = "rsf: shooto challenge 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 B (max) average when the C (max) is greater than 156, the taper is 1:19.231, and the D (max) is less than 34.9?
### Context:
CREATE TABLE table_name_22 (b__max_ INTEGER, d__max_ VARCHAR, c__max_ VARCHAR, taper VARCHAR) [/INST]
### Response:
SELECT AVG(b__max_) FROM table_name_22 WHERE c__max_ > 156 AND taper = "1:19.231" AND d__max_ < 34.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:
With a Morse Taper number less than 3 and a C (max) of 59.5 what is the total of D (max)?
### Context:
CREATE TABLE table_name_59 (d__max_ VARCHAR, morse_taper_number VARCHAR, c__max_ VARCHAR) [/INST]
### Response:
SELECT COUNT(d__max_) FROM table_name_59 WHERE morse_taper_number < 3 AND c__max_ = 59.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's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94?
### Context:
CREATE TABLE table_name_1 (morse_taper_number INTEGER, d__max_ VARCHAR, b__max_ VARCHAR) [/INST]
### Response:
SELECT SUM(morse_taper_number) FROM table_name_1 WHERE d__max_ = 20 AND b__max_ > 94 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5?
### Context:
CREATE TABLE table_name_17 (d__max_ INTEGER, taper VARCHAR, c__max_ VARCHAR) [/INST]
### Response:
SELECT SUM(d__max_) FROM table_name_17 WHERE taper = "1:20.047" AND c__max_ > 65.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 minimum D (max) when the Morse Taper number is less than 0?
### Context:
CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER) [/INST]
### Response:
SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 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 average React, when Mark is less than 7.93?
### Context:
CREATE TABLE table_name_53 (react INTEGER, mark INTEGER) [/INST]
### Response:
SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 React, when Name is "Candice Davis", and when Lane is less than 3?
### Context:
CREATE TABLE table_name_79 (react INTEGER, name VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT MIN(react) FROM table_name_79 WHERE name = "candice davis" AND lane < 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 Lane, when Mark is "7.93", and when React is less than 0.145?
### Context:
CREATE TABLE table_name_8 (lane VARCHAR, mark VARCHAR, react VARCHAR) [/INST]
### Response:
SELECT COUNT(lane) FROM table_name_8 WHERE mark = 7.93 AND react < 0.145 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 React, when Name is "Candice Davis", and when Lane is less than 3?
### Context:
CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 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 Mark, when Country is "Russia", and when React is less than 0.165?
### Context:
CREATE TABLE table_name_65 (mark VARCHAR, country VARCHAR, react VARCHAR) [/INST]
### Response:
SELECT COUNT(mark) FROM table_name_65 WHERE country = "russia" AND react < 0.165 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round, when Method is "submission (reverse armbar)"?
### Context:
CREATE TABLE table_name_40 (round VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_40 WHERE method = "submission (reverse armbar)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"?
### Context:
CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_75 WHERE time = "n/a" AND location = "canton, ohio, usa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Location, when Opponent is "Jonathan Goulet"?
### Context:
CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_12 WHERE opponent = "jonathan goulet" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record, when Method is "submission (triangle choke)", and when Time is 0:48?
### Context:
CREATE TABLE table_name_96 (record VARCHAR, method VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_96 WHERE method = "submission (triangle choke)" AND time = "0: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:
When was the premiere of the show that had a rank of #7?
### Context:
CREATE TABLE table_name_30 (premiere VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT premiere FROM table_name_30 WHERE rank = "#7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the finale played when the show premiered on September 24, 2002?
### Context:
CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) [/INST]
### Response:
SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the minimum number of views that watched the show when there was more than 22 episodes and the finale was on May 23, 1995?
### Context:
CREATE TABLE table_name_54 (viewers__in_households_ INTEGER, finale VARCHAR, episodes VARCHAR) [/INST]
### Response:
SELECT MIN(viewers__in_households_) FROM table_name_54 WHERE finale = "may 23, 1995" AND episodes > 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which title was created in 2001 by Mellow?
### Context:
CREATE TABLE table_name_73 (title VARCHAR, date VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_73 WHERE date = 2001 AND artist = "mellow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 artist has a serial number of ATM24016?
### Context:
CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT artist FROM table_name_41 WHERE number = "atm24016" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest date that has a serial number of Infec 107CDSX?
### Context:
CREATE TABLE table_name_56 (date INTEGER, number VARCHAR) [/INST]
### Response:
SELECT MAX(date) FROM table_name_56 WHERE number = "infec 107cdsx" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 artist has a serial number of BOONCD1?
### Context:
CREATE TABLE table_name_68 (artist VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT artist FROM table_name_68 WHERE number = "booncd1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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, when Streak is "Win 1", and when Date is "February 18"?
### Context:
CREATE TABLE table_name_11 (game INTEGER, streak VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_11 WHERE streak = "win 1" AND date = "february 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:
Which Away team has a Home team of walsall?
### Context:
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_3 WHERE home_team = "walsall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Score of 2–2, and an Away team of aylesbury united?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Tie no of 33?
### Context:
CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_56 WHERE tie_no = "33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home team has a Tie no of replay, a Date of 19 november 1985, and an Away team of tranmere rovers?
### Context:
CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_25 WHERE tie_no = "replay" AND date = "19 november 1985" AND away_team = "tranmere rovers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Home team of windsor & eton?
### Context:
CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_30 WHERE home_team = "windsor & eton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Home team of rochdale?
### Context:
CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_60 WHERE home_team = "rochdale" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the game that has a score of 71-71-70-73=285 what is the to par?
### Context:
CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score of the game that was at a paace of t4, and had the player Butch Baird?
### Context:
CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_36 WHERE place = "t4" AND player = "butch baird" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the player Johnny Miller?
### Context:
CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_58 WHERE player = "johnny miller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player has a score of 70-68-69-73=280 and a place of t4?
### Context:
CREATE TABLE table_name_28 (player VARCHAR, place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_28 WHERE place = "t4" AND score = 70 - 68 - 69 - 73 = 280 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1994-1995, when Points is 145, and when Played is less than 114?
### Context:
CREATE TABLE table_name_2 (points VARCHAR, played VARCHAR) [/INST]
### Response:
SELECT MIN(1994 AS _1995) FROM table_name_2 WHERE points = 145 AND played < 114 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that was the league position was 1st, and the result F– A was 5 – 0?
### Context:
CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_29 WHERE league_position = "1st" AND result_f___a = "5 – 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 date was the opponent Nottingham Forest, and the H/A was A?
### Context:
CREATE TABLE table_name_7 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_7 WHERE opponents = "nottingham forest" AND h___a = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notts County the opponent and the league position was 1st?
### Context:
CREATE TABLE table_name_96 (date VARCHAR, opponents VARCHAR, league_position VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_96 WHERE opponents = "notts county" AND league_position = "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 mark for the runner in lanes under 2 and heats under 5?
### Context:
CREATE TABLE table_name_83 (mark VARCHAR, lane VARCHAR, heat VARCHAR) [/INST]
### Response:
SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 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:
Who is in heat 5 from Guyana?
### Context:
CREATE TABLE table_name_64 (name VARCHAR, heat VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_64 WHERE heat = 5 AND country = "guyana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lanes was Khadevis Robinson in for heats over 2?
### Context:
CREATE TABLE table_name_21 (lane VARCHAR, heat VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(lane) FROM table_name_21 WHERE heat > 2 AND name = "khadevis robinson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ICB Sector had a ticker symbol of pp?
### Context:
CREATE TABLE table_name_47 (icb_sector VARCHAR, ticker_symbol VARCHAR) [/INST]
### Response:
SELECT icb_sector FROM table_name_47 WHERE ticker_symbol = "pp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ICB Sector belongs to vallourec?
### Context:
CREATE TABLE table_name_81 (icb_sector VARCHAR, company VARCHAR) [/INST]
### Response:
SELECT icb_sector FROM table_name_81 WHERE company = "vallourec" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week is the highest one that has a Result of w 23-20, and an Attendance smaller than 34,127?
### Context:
CREATE TABLE table_name_92 (week INTEGER, result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_92 WHERE result = "w 23-20" AND attendance < 34 OFFSET 127 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average attendance on october 3, 1976?
### Context:
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_68 WHERE date = "october 3, 1976" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366?
### Context:
CREATE TABLE table_name_30 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT SUM(week) FROM table_name_30 WHERE date = "december 4, 1976" AND attendance > 57 OFFSET 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:
What was the total number of aircrafts in 2011 for sydney airport that was ranked number 1?
### Context:
CREATE TABLE table_name_48 (airport VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(2011) FROM table_name_48 WHERE airport = "sydney airport" AND rank < 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 result for November 25, 2001?
### Context:
CREATE TABLE table_name_45 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_45 WHERE date = "november 25, 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result for week 12 against the Green Bay Packers?
### Context:
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_94 WHERE week > 12 AND opponent = "green bay packers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 like for week 8?
### Context:
CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_45 WHERE week = 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 passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?
### Context:
CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR) [/INST]
### Response:
SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.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:
For how many years did Detroit have a passenger fare of $307.29?
### Context:
CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.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 passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55?
### Context:
CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR) [/INST]
### Response:
SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = "$378.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:
Before the year 2010, and when Kalamazoo had a passenger fare of $517.32, what was the passenger fare for Detroit?
### Context:
CREATE TABLE table_name_36 (detroit__dtw_ VARCHAR, year VARCHAR, kalamazoo__azo_ VARCHAR) [/INST]
### Response:
SELECT detroit__dtw_ FROM table_name_36 WHERE year < 2010 AND kalamazoo__azo_ = "$517.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:
Which Club has a League goals of 21?
### Context:
CREATE TABLE table_name_66 (club VARCHAR, league_goals VARCHAR) [/INST]
### Response:
SELECT club FROM table_name_66 WHERE league_goals = "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:
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw?
### Context:
CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR) [/INST]
### Response:
SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FA Cup goals have a League goals of 18, and a Club of sheffield united?
### Context:
CREATE TABLE table_name_20 (fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = "18" AND club = "sheffield united" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0?
### Context:
CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR) [/INST]
### Response:
SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the home team when the away team was Bristol Rovers?
### Context:
CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_1 WHERE away_team = "bristol rovers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team when the away team was Frickley Athletic?
### Context:
CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Reading play at home?
### Context:
CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_2 WHERE home_team = "reading" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 association for Indonesian Idol after 2005 with a Nominated Result?
### Context:
CREATE TABLE table_name_39 (association VARCHAR, result VARCHAR, nominee VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT association FROM table_name_39 WHERE nominee = "indonesian idol" AND year > 2005 AND result = "nominated" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest year that Indonesian Idol won?
### Context:
CREATE TABLE table_name_74 (year INTEGER, nominee VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_74 WHERE nominee = "indonesian idol" AND result = "won" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 association that Daniel Mananta belonged to after 2011?
### Context:
CREATE TABLE table_name_54 (association VARCHAR, nominee VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT association FROM table_name_54 WHERE nominee = "daniel mananta" AND year > 2011 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result in a year before 2013 that the nomination category was Presenter Talent Show?
### Context:
CREATE TABLE table_name_52 (result VARCHAR, year VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_52 WHERE year < 2013 AND category = "presenter talent show" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What competition had a score of 8-1?
### Context:
CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_78 WHERE score = "8-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the away team for the game with a score of 139-119?
### Context:
CREATE TABLE table_name_75 (away_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_75 WHERE score = "139-119" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date had a venue of the Gold Coast Convention Centre?
### Context:
CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_36 WHERE venue = "gold coast convention centre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date had a venue of the State Sports Centre?
### Context:
CREATE TABLE table_name_88 (date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_88 WHERE venue = "state sports centre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest shot % with ends won larger than 29 and ends lost smaller than 26?
### Context:
CREATE TABLE table_name_1 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR) [/INST]
### Response:
SELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 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:
How many ends lost when skip is Kevin Koe and stolen ends are more than 6?
### Context:
CREATE TABLE table_name_62 (ends_lost VARCHAR, skip VARCHAR, stolen_ends VARCHAR) [/INST]
### Response:
SELECT COUNT(ends_lost) FROM table_name_62 WHERE skip = "kevin koe" AND stolen_ends > 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 ends lost when shot % is 88 and ends won are 31?
### Context:
CREATE TABLE table_name_72 (ends_lost VARCHAR, shot_pct VARCHAR, ends_won VARCHAR) [/INST]
### Response:
SELECT COUNT(ends_lost) FROM table_name_72 WHERE shot_pct = 88 AND ends_won = 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ends lost for Alberta when stolen ends are greater than 7?
### Context:
CREATE TABLE table_name_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) [/INST]
### Response:
SELECT SUM(ends_lost) FROM table_name_62 WHERE province = "alberta" AND stolen_ends > 7 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.