text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3?
### Context:
CREATE TABLE table_name_6 (Id VARCHAR) [/INST]
### Response:
SELECT AVG(1940) FROM table_name_6 WHERE 1929 = 101.4 AND 1933 > 68.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 highest 1937 value that has a 1940 value over 126?
### Context:
CREATE TABLE table_name_60 (Id VARCHAR) [/INST]
### Response:
SELECT MAX(1937) FROM table_name_60 WHERE 1940 > 126 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what time is the ბრაზილიის უბანი shown?
### Context:
CREATE TABLE table_name_43 (timeslot VARCHAR, translation VARCHAR) [/INST]
### Response:
SELECT timeslot FROM table_name_43 WHERE translation = "ბრაზილიის უბანი" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country was the series finale present and was shown Monday to Sunday at 18:45-21:00?
### Context:
CREATE TABLE table_name_70 (country VARCHAR, timeslot VARCHAR, series_finale VARCHAR, weekly_schedule VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_70 WHERE series_finale = "present" AND weekly_schedule = "monday to sunday" AND timeslot = "18:45-21: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:
What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო?
### Context:
CREATE TABLE table_name_56 (series_finale VARCHAR, translation VARCHAR) [/INST]
### Response:
SELECT series_finale FROM table_name_56 WHERE translation = "ოჰ ეს ცრემლები / პარალელური საიდუმლო" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What days of the week is the show aired on that runs at 16:45?
### Context:
CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR) [/INST]
### Response:
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which days of the week does the telenovela play that is aired at 11:00?
### Context:
CREATE TABLE table_name_75 (weekly_schedule VARCHAR, timeslot VARCHAR) [/INST]
### Response:
SELECT weekly_schedule FROM table_name_75 WHERE timeslot = "11: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:
Which Tournament was on 2 October 2006?
### Context:
CREATE TABLE table_name_98 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_98 WHERE date = "2 october 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final on 4 April 2011?
### Context:
CREATE TABLE table_name_16 (opponent_in_the_final VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_name_16 WHERE date = "4 april 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 Surface was used on 2 June 2003?
### Context:
CREATE TABLE table_name_94 (surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_94 WHERE date = "2 june 2003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category?
### Context:
CREATE TABLE table_name_54 (award VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_54 WHERE category = "teen pick show: comedy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 award show nominated Cole Sprouse for the Favorite TV Actor category?
### Context:
CREATE TABLE table_name_49 (award VARCHAR, category VARCHAR, recipient VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_49 WHERE category = "favorite tv actor" AND recipient = "cole sprouse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What category was The Suite Life on Deck nominated for later than 2010?
### Context:
CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the 2010 Kids' Choice Awards?
### Context:
CREATE TABLE table_name_30 (recipient VARCHAR, award VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT recipient FROM table_name_30 WHERE award = "2010 kids' choice awards" 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:
What was the Rd. Time for October 3, 2009?
### Context:
CREATE TABLE table_name_86 (rd VARCHAR, _time VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT rd, _time FROM table_name_86 WHERE date = "october 3, 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the greatest lost where played is less than 9?
### Context:
CREATE TABLE table_name_51 (lost INTEGER, played INTEGER) [/INST]
### Response:
SELECT MAX(lost) FROM table_name_51 WHERE played < 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 greatest played with a drawn less than 1 and a position of less than 1?
### Context:
CREATE TABLE table_name_99 (played INTEGER, drawn VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT MAX(played) FROM table_name_99 WHERE drawn < 1 AND position < 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 smallest drawn when the points are less than 7 and the against greater than 31?
### Context:
CREATE TABLE table_name_79 (drawn INTEGER, points VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT MIN(drawn) FROM table_name_79 WHERE points < 7 AND against > 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:
What is the name of the team that has 13 points?
### Context:
CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_47 WHERE points = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Nominated Work earlier than 2003?
### Context:
CREATE TABLE table_name_85 (nominated_work VARCHAR, year INTEGER) [/INST]
### Response:
SELECT nominated_work FROM table_name_85 WHERE year < 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nominated Work earlier than 2003?
### Context:
CREATE TABLE table_name_62 (nominated_work VARCHAR, year INTEGER) [/INST]
### Response:
SELECT nominated_work FROM table_name_62 WHERE year < 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nominated Work earlier than 2003?
### Context:
CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER) [/INST]
### Response:
SELECT nominated_work FROM table_name_95 WHERE year < 2003 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method's event was flawless fighting championship 1: the beginning?
### Context:
CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method's opponent was chris clark?
### Context:
CREATE TABLE table_name_11 (method VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_11 WHERE opponent = "chris clark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record's round was 3 when the event was fight festival 27?
### Context:
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fourth place with a Year that is 1978?
### Context:
CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT fourth_place FROM table_name_58 WHERE year = 1978 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fourth place with a Year that is 1966?
### Context:
CREATE TABLE table_name_11 (fourth_place VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT fourth_place FROM table_name_11 WHERE year = 1966 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Champion with a Year that is 2008?
### Context:
CREATE TABLE table_name_65 (champion VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT champion FROM table_name_65 WHERE year = 2008 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent for the game played on September 19, 1994?
### Context:
CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_15 WHERE date = "september 19, 1994" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which week was attendance at 50,814?
### Context:
CREATE TABLE table_name_10 (week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_name_10 WHERE attendance = "50,814" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 after Week 6 was a Bye?
### Context:
CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "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 subjunctive also has an inverse subjunctive of måchadns?
### Context:
CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR) [/INST]
### Response:
SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What imperative has måcha as 3.sg?
### Context:
CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR) [/INST]
### Response:
SELECT imperative FROM table_name_94 WHERE måcha = "3.sg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The indicative of si måchan has what as the inverse subjunctive?
### Context:
CREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR) [/INST]
### Response:
SELECT inverse_subjunctive FROM table_name_8 WHERE indicative = "si måchan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What inverse subjunctive has — as the imperative and a subjunctive of se måchadn?
### Context:
CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR) [/INST]
### Response:
SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subjunctive of du måchast what is the imperative?
### Context:
CREATE TABLE table_name_37 (imperative VARCHAR, subjunctive VARCHAR) [/INST]
### Response:
SELECT imperative FROM table_name_37 WHERE subjunctive = "du måchast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What subjunctive has the indicative of se måchan(t)?
### Context:
CREATE TABLE table_name_77 (subjunctive VARCHAR, indicative VARCHAR) [/INST]
### Response:
SELECT subjunctive FROM table_name_77 WHERE indicative = "se måchan(t)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Win % in the Span of 2011–2013 with a Lost of less than 1?
### Context:
CREATE TABLE table_name_91 (win__percentage INTEGER, span VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT AVG(win__percentage) FROM table_name_91 WHERE span = "2011–2013" AND lost < 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
### Context:
CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR) [/INST]
### Response:
SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date were sheets issued in Tallahassee, Florida?
### Context:
CREATE TABLE table_name_40 (date_of_issue VARCHAR, place_of_issue VARCHAR) [/INST]
### Response:
SELECT date_of_issue FROM table_name_40 WHERE place_of_issue = "tallahassee, florida" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 printer issued sheets on October 5, 2006?
### Context:
CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR) [/INST]
### Response:
SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver medals won by Total with more than 1 bronze and more than 18 total medals won?
### Context:
CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT MIN(silver) FROM table_name_8 WHERE bronze > 1 AND nation = "total" AND "total" > 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:
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
### Context:
CREATE TABLE table_name_7 (position VARCHAR, played VARCHAR, against VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_name_7 WHERE against < 28 AND team = "americano-sp" AND played > 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:
How many losses have points against less than 15?
### Context:
CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER) [/INST]
### Response:
SELECT COUNT(lost) FROM table_name_1 WHERE against < 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What average played has an against less than 15?
### Context:
CREATE TABLE table_name_40 (played INTEGER, against INTEGER) [/INST]
### Response:
SELECT AVG(played) FROM table_name_40 WHERE against < 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?
### Context:
CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 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 lost has a position greater than 2, a drawn greater than 0, with an against greater than 15?
### Context:
CREATE TABLE table_name_24 (lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT lost FROM table_name_24 WHERE position > 2 AND drawn > 0 AND against > 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
### Context:
CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR) [/INST]
### Response:
SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points were there when there more than 6 losses and less than 14 matches?
### Context:
CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 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:
How few losses were the least number of losses and points higher than 23?
### Context:
CREATE TABLE table_name_67 (lost INTEGER, points INTEGER) [/INST]
### Response:
SELECT MIN(lost) FROM table_name_67 WHERE points > 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of matches with more than 18 points and more than 1 draw?
### Context:
CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 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 champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
### Context:
CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?
### Context:
CREATE TABLE table_name_21 (score VARCHAR, venue VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_21 WHERE venue = "royal liverpool golf club" AND champion = "willie hunter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
### Context:
CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champion in the match where C.A. Palmer was the runner-up?
### Context:
CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player was the champion in the match where E.A. Lassen was the runner-up?
### Context:
CREATE TABLE table_name_60 (champion VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
### Context:
CREATE TABLE table_name_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 federal state has 6 representatives of national average?
### Context:
CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR) [/INST]
### Response:
SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "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:
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
### Context:
CREATE TABLE table_name_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER) [/INST]
### Response:
SELECT population__on_the_census_also_called_censo_2010_ FROM table_name_47 WHERE deputies_required_ignoring_the_limits < -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 lowest number of blocks for players with height of 206 and more than 356 spikes?
### Context:
CREATE TABLE table_name_69 (block INTEGER, height VARCHAR, spike VARCHAR) [/INST]
### Response:
SELECT MIN(block) FROM table_name_69 WHERE height = 206 AND spike > 356 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weight values associated with 340 blocks and more than 353 spikes?
### Context:
CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR) [/INST]
### Response:
SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What award did Forest Whitaker win in 1989?
### Context:
CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 motion picture did Samuel L. Jackson win the best supporting actor award before 1997?
### Context:
CREATE TABLE table_name_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR) [/INST]
### Response:
SELECT motion_picture FROM table_name_42 WHERE award = "best supporting actor" AND actor = "samuel l. jackson" AND year < 1997 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which actor won in 1966?
### Context:
CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT actor FROM table_name_43 WHERE year = 1966 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP?
### Context:
CREATE TABLE table_name_58 (influence INTEGER, inhabitants_per_mep VARCHAR, population_millions VARCHAR, meps VARCHAR) [/INST]
### Response:
SELECT MIN(influence) FROM table_name_58 WHERE population_millions < 60.64 AND meps < 22 AND inhabitants_per_mep = 454 OFFSET 059 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population in the millions that has an influence of 1.02?
### Context:
CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR) [/INST]
### Response:
SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
### Context:
CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR) [/INST]
### Response:
SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = "latvia" AND inhabitants_per_mep > 286 OFFSET 875 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?
### Context:
CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR) [/INST]
### Response:
SELECT MAX(inhabitants_per_mep) FROM table_name_26 WHERE meps > 50 AND member_state = "germany" AND population_millions < 82.43 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which World Rank has a Year smaller than 1977, and a Location of eugene?
### Context:
CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT world_rank FROM table_name_81 WHERE year < 1977 AND location = "eugene" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
### Context:
CREATE TABLE table_name_65 (year INTEGER, world_rank VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_65 WHERE world_rank = "5th" AND result > 20.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:
Which Year has a Result smaller than 20.26, and a Location of eugene?
### Context:
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a Location of brussels?
### Context:
CREATE TABLE table_name_96 (result VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_name_96 WHERE location = "brussels" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Year has a Result smaller than 20.31, and a World Rank of 5th?
### Context:
CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nuggets are the home team?
### Context:
CREATE TABLE table_name_33 (record VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_33 WHERE home = "nuggets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of points for Drivers that have raced in more than 16 Races?
### Context:
CREATE TABLE table_name_35 (points INTEGER, races INTEGER) [/INST]
### Response:
SELECT MIN(points) FROM table_name_35 WHERE races > 16 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Races for a Racer with less than 0 Points?
### Context:
CREATE TABLE table_name_31 (races INTEGER, points INTEGER) [/INST]
### Response:
SELECT MIN(races) FROM table_name_31 WHERE points < 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 Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?
### Context:
CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = "adrian quaife-hobbs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city contains the KPIX station?
### Context:
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 station has channel TV (DT) of 3 (26)?
### Context:
CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR) [/INST]
### Response:
SELECT station FROM table_name_74 WHERE channel_tv___dt__ = "3 (26)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the current affiliation when the years owned is between 1955–1995?
### Context:
CREATE TABLE table_name_62 (current_affiliation VARCHAR, years_owned VARCHAR) [/INST]
### Response:
SELECT current_affiliation FROM table_name_62 WHERE years_owned = "1955–1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city containing the KDKA-TV station?
### Context:
CREATE TABLE table_name_61 (city_of_license__market VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Channel TV is located in Baltimore?
### Context:
CREATE TABLE table_name_88 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) [/INST]
### Response:
SELECT channel_tv___dt__ FROM table_name_88 WHERE city_of_license__market = "baltimore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals scored in the play-offs among the players that have scored 2 in the FA Cup?
### Context:
CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR) [/INST]
### Response:
SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
### Context:
CREATE TABLE table_name_57 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR) [/INST]
### Response:
SELECT AVG(fa_cup) FROM table_name_57 WHERE total > 20 AND fa_trophy < 1 AND league < 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the latitude and longitude for Surveyor 3?
### Context:
CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR) [/INST]
### Response:
SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 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 largest mass for Tycho Crater?
### Context:
CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR) [/INST]
### Response:
SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Field was Commissioned in 1958, 2005?
### Context:
CREATE TABLE table_name_24 (field VARCHAR, commissioned VARCHAR) [/INST]
### Response:
SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Annual Generation at Kawerau (Bope)?
### Context:
CREATE TABLE table_name_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 power station with a Capacity of 25 MW?
### Context:
CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Name of the power station in the Field of Mokai?
### Context:
CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_22 WHERE field = "mokai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals were scored in 2004 when the gp/gs was "did not play"?
### Context:
CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT goals FROM table_name_25 WHERE gp_gs = "did not play" AND year = "2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 assists were there when the total points was 2?
### Context:
CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR) [/INST]
### Response:
SELECT assists FROM table_name_36 WHERE total_points = "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 total number of points when there were 7 assists?
### Context:
CREATE TABLE table_name_98 (total_points VARCHAR, assists VARCHAR) [/INST]
### Response:
SELECT total_points FROM table_name_98 WHERE assists = "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 was the gp/gs when the assists was 1?
### Context:
CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR) [/INST]
### Response:
SELECT gp_gs FROM table_name_4 WHERE assists = "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 gp/gs in 2003 when the total points was "did not play"?
### Context:
CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outcome for Jan Pisecky and his partner?
### Context:
CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player weight 235?
### Context:
CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_29 WHERE weight = 235 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 F who weighs less than 195?
### Context:
CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does F Trey Gilder play for?
### Context:
CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player plays for the Dakota Wizards?
### Context:
CREATE TABLE table_name_73 (player VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_73 WHERE team = "dakota wizards" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.