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 Type has a Capacity of 10 tons, and a Number of 24-27?
### Context:
CREATE TABLE table_name_22 (type VARCHAR, capacity VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_22 WHERE capacity = "10 tons" AND number = "24-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:
How many Dates have a Builder of laconia car company, and a Number of 63-68?
### Context:
CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_name_8 WHERE builder = "laconia car company" AND number = "63-68" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for Billy Andrade?
### Context:
CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_73 WHERE player = "billy andrade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is Nick Price from?
### Context:
CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_35 WHERE player = "nick price" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the player with score of 67-67=134?
### Context:
CREATE TABLE table_name_53 (to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_53 WHERE score = 67 - 67 = 134 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Team 1, Everton, has what as a 1st leg?
### Context:
CREATE TABLE table_name_6 (team_1 VARCHAR) [/INST]
### Response:
SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = "everton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg is what for the Atlético Madrid as Team 1?
### Context:
CREATE TABLE table_name_68 (team_1 VARCHAR) [/INST]
### Response:
SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Fulham as Team 1 has the 2nd leg score of what?
### Context:
CREATE TABLE table_name_44 (team_1 VARCHAR) [/INST]
### Response:
SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What name is for the period 1945-1949 & 1953-1954 1949-1952?
### Context:
CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name is on the of fc sète olympique de marseille?
### Context:
CREATE TABLE table_name_39 (name VARCHAR, teams VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_39 WHERE teams = "fc sète olympique de marseille" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What role has the team of Troyes AC Grenoble Foot?
### Context:
CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) [/INST]
### Response:
SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What name has the role of midfielder for 1999-2003?
### Context:
CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-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 period has the team CS Sedan?
### Context:
CREATE TABLE table_name_99 (period VARCHAR, teams VARCHAR) [/INST]
### Response:
SELECT period FROM table_name_99 WHERE teams = "cs sedan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the team with the name Boumediene Abderahmane?
### Context:
CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT teams FROM table_name_48 WHERE name = "boumediene abderahmane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finishing position with 13 points?
### Context:
CREATE TABLE table_name_93 (fin_pos VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT fin_pos FROM table_name_93 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 Driver had 50+3 Points?
### Context:
CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_99 WHERE points = "50+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:
When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4?
### Context:
CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–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 did he play on a hard surface?
### Context:
CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_name_99 WHERE surface = "hard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 his first game on a clay surface where he scored 0–6, 3–6?
### Context:
CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–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 highest wickets when the matches is less than 5, player is jim laker and average is more than 52.44?
### Context:
CREATE TABLE table_name_89 (wickets INTEGER, average VARCHAR, matches VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_name_89 WHERE matches < 5 AND player = "jim laker" AND average > 52.44 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when matches is less than 5 and wickets is more than 9?
### Context:
CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR) [/INST]
### Response:
SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 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 sum of matches when the player is jim laker and wikets is less than 9?
### Context:
CREATE TABLE table_name_25 (matches INTEGER, player VARCHAR, wickets VARCHAR) [/INST]
### Response:
SELECT SUM(matches) FROM table_name_25 WHERE player = "jim laker" AND wickets < 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 highest wickets when the best bowling is 2/32 and matches is less than 5?
### Context:
CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the highest wickets when best bowling is 5/40 and average is less than 33.09?
### Context:
CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = "5/40" AND average < 33.09 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick# over 47?
### Context:
CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER) [/INST]
### Response:
SELECT player FROM table_name_87 WHERE pick__number > 47 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with a FB position?
### Context:
CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_2 WHERE position = "fb" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has a To standard of –3, and a Player of Jim Furyk?
### Context:
CREATE TABLE table_name_15 (score VARCHAR, to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Country that has a Player of Scott Hoch?
### Context:
CREATE TABLE table_name_31 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_31 WHERE player = "scott hoch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player that has a To standard of –4, and a Score of 74-70-68=212?
### Context:
CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_45 WHERE to_par = "–4" AND score = 74 - 70 - 68 = 212 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has a To standard of –2, and a Country of Spain?
### Context:
CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has a Player of Ernie Els?
### Context:
CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_28 WHERE player = "ernie els" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player that has a Place of t2, and a Score of 74-70-68=212?
### Context:
CREATE TABLE table_name_64 (player VARCHAR, place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_64 WHERE place = "t2" AND score = 74 - 70 - 68 = 212 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the date when the nationality is united kingdom, the type is freighter and the displacement is 5,145 t?
### Context:
CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_14 WHERE nationality = "united kingdom" AND type = "freighter" AND displacement = "5,145 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 name when the displacement is 8,305 t?
### Context:
CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_12 WHERE displacement = "8,305 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 name when the type is freighter, nationality is united kingdom on 3 may 1940?
### Context:
CREATE TABLE table_name_61 (name VARCHAR, date VARCHAR, type VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_61 WHERE type = "freighter" AND nationality = "united kingdom" AND date = "3 may 1940" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the date for tirrana?
### Context:
CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_18 WHERE name = "tirrana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the nationality total:?
### Context:
CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_1 WHERE nationality = "total:" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 republican Jon Huntsman that was administered June 19, 2008?
### Context:
CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) [/INST]
### Response:
SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the most minimal Final year that has a North or east end of covington?
### Context:
CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR) [/INST]
### Response:
SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Final year that has a Notes of replaced by i-96?
### Context:
CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) [/INST]
### Response:
SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926?
### Context:
CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR) [/INST]
### Response:
SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_year > 1926 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 First year that has a Notes of replaced by us 12 when i-94 replaced us 12, and a Final year larger than 1961?
### Context:
CREATE TABLE table_name_31 (first_year INTEGER, notes VARCHAR, final_year VARCHAR) [/INST]
### Response:
SELECT AVG(first_year) FROM table_name_31 WHERE notes = "replaced by us 12 when i-94 replaced us 12" AND final_year > 1961 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
### Context:
CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR) [/INST]
### Response:
SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.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 outcome of the election with edward mahama as a candidate and 73,494 votes?
### Context:
CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR) [/INST]
### Response:
SELECT outcome_of_election FROM table_name_31 WHERE candidate = "edward mahama" AND number_of_votes = "73,494" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earlest election with a 0.9% share of votes?
### Context:
CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) [/INST]
### Response:
SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.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:
Who is the candidate with 73,494 votes?
### Context:
CREATE TABLE table_name_41 (candidate VARCHAR, number_of_votes VARCHAR) [/INST]
### Response:
SELECT candidate FROM table_name_41 WHERE number_of_votes = "73,494" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 share of votes in the 2008 election?
### Context:
CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) [/INST]
### Response:
SELECT share_of_votes FROM table_name_44 WHERE election = 2008 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of votes of candidate edward mahama, who had 0.9% share of votes?
### Context:
CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR) [/INST]
### Response:
SELECT number_of_votes FROM table_name_82 WHERE candidate = "edward mahama" AND share_of_votes = "0.9%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Ages have a Capacity larger than 21, and an Ofsted of 106168?
### Context:
CREATE TABLE table_name_90 (ages VARCHAR, capacity VARCHAR, ofsted VARCHAR) [/INST]
### Response:
SELECT ages FROM table_name_90 WHERE capacity > 21 AND ofsted = 106168 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ages have an Ofsted larger than 106172, and a School of oakgrove school?
### Context:
CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ofsted has a Capacity smaller than 56, and Ages of 11-16?
### Context:
CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR) [/INST]
### Response:
SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = "11-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:
Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
### Context:
CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR) [/INST]
### Response:
SELECT SUM(capacity) FROM table_name_63 WHERE school = "windlehurst school" AND ofsted < 131889 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people attended the game when sydney spirit was at home?
### Context:
CREATE TABLE table_name_58 (crowd VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT crowd FROM table_name_58 WHERE home_team = "sydney spirit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the crowd was greater than 19,498 who was the away team?
### Context:
CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) [/INST]
### Response:
SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result?
### Context:
CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid 8 finish?
### Context:
CREATE TABLE table_name_66 (time_retired VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_66 WHERE grid = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Location has a Game greater than 20 and a Date of Wed. Dec. 26?
### Context:
CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_79 WHERE game > 20 AND date = "wed. dec. 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:
On what date is the Score 94-109?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_54 WHERE score = "94-109" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location has a Game greater than 27 and a Record of 18-10?
### Context:
CREATE TABLE table_name_58 (location VARCHAR, game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_58 WHERE game > 27 AND record = "18-10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of losses for the team with a points difference of -25?
### Context:
CREATE TABLE table_name_24 (lost VARCHAR, points_difference VARCHAR) [/INST]
### Response:
SELECT lost FROM table_name_24 WHERE points_difference = "-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 number of draws for the team with a points difference of -210?
### Context:
CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_name_12 WHERE points_difference = "-210" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the points difference for the team that has allowed 615 points against?
### Context:
CREATE TABLE table_name_39 (points_difference VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT points_difference FROM table_name_39 WHERE points_against = "615" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 matches played for the team with 0 draws and 33 points?
### Context:
CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "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:
What is the number of points for the team with 2 matches drawn and 577 points for?
### Context:
CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when home was fc luzern (asl)?
### Context:
CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 guest on 24.11.07 when the result was 0:1 at 16:00?
### Context:
CREATE TABLE table_name_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT guest FROM table_name_25 WHERE date = "24.11.07" AND result = "0:1" AND time = "16: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 day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)?
### Context:
CREATE TABLE table_name_44 (date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gues on 25.11.07 when home was stade nyonnais (1.l)?
### Context:
CREATE TABLE table_name_67 (guest VARCHAR, date VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT guest FROM table_name_67 WHERE date = "25.11.07" AND home = "stade nyonnais (1.l)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 guest when the result was 0:3?
### Context:
CREATE TABLE table_name_56 (guest VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT guest FROM table_name_56 WHERE result = "0: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 was the result when the guest was fc zürich (asl)?
### Context:
CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_93 WHERE guest = "fc zürich (asl)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000?
### Context:
CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR) [/INST]
### Response:
SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What tournament had a black of Kramnik and an opening of B66 Sicilian Defence?
### Context:
CREATE TABLE table_name_28 (tournament VARCHAR, black VARCHAR, opening VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_28 WHERE black = "kramnik" AND opening = "b66 sicilian defence" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½?
### Context:
CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 38 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year had 32 moves?
### Context:
CREATE TABLE table_name_23 (year INTEGER, moves VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_23 WHERE moves = 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year has 14 moves and an opening of C54 Italian Game?
### Context:
CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round2 when round5 is 71 and round4 is more than 64?
### Context:
CREATE TABLE table_name_88 (round2 INTEGER, round5 VARCHAR, round4 VARCHAR) [/INST]
### Response:
SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round1 when round3 is less than 51, total points is less than 273, round2 is less than 98 and round5 is less than 24?
### Context:
CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR) [/INST]
### Response:
SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66?
### Context:
CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands?
### Context:
CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR) [/INST]
### Response:
SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the lowest round3 when round4 is 37?
### Context:
CREATE TABLE table_name_73 (round3 INTEGER, round4 VARCHAR) [/INST]
### Response:
SELECT MIN(round3) FROM table_name_73 WHERE round4 = 37 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the team that has a shooting guard that played for the Grizzlies in 2000-2001?
### Context:
CREATE TABLE table_name_98 (school_club_team VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_98 WHERE position = "shooting guard" AND years_for_grizzlies = "2000-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's the United States team that played for the Grizzlies in 1995-1996?
### Context:
CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are years that Obinna Ekezie played for the Grizzlies?
### Context:
CREATE TABLE table_name_94 (years_for_grizzlies VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT years_for_grizzlies FROM table_name_94 WHERE player = "obinna ekezie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school that played for the Grizzlie from 1995-1998?
### Context:
CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position does Wayne Ellington play?
### Context:
CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_24 WHERE player = "wayne ellington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 premier league number when the position is forward, and the total is more than 22?
### Context:
CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 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:
What is the total when the league cup is less than 1, and the fa cup is less than 1?
### Context:
CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR) [/INST]
### Response:
SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 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 lowest league cup with a premier League of 1, and the total is less than 5?
### Context:
CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 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 lowest FA Cup when the league cup is 1, and the total is more than 23?
### Context:
CREATE TABLE table_name_16 (fa_cup INTEGER, league_cup VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MIN(fa_cup) FROM table_name_16 WHERE league_cup = 1 AND total > 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 lowest grid for Roberto Rolfo with more than 26 laps?
### Context:
CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT MIN(grid) FROM table_name_87 WHERE rider = "roberto rolfo" AND laps > 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 was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps?
### Context:
CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the highest laps for Marco Melandri?
### Context:
CREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR) [/INST]
### Response:
SELECT MAX(laps) FROM table_name_67 WHERE rider = "marco melandri" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost more than 12?
### Context:
CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER) [/INST]
### Response:
SELECT COUNT(lost) FROM table_name_54 WHERE played > 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the player that lost more than 4?
### Context:
CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) [/INST]
### Response:
SELECT name FROM table_name_69 WHERE lost > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which name has a lane less than 8, russia as the country, with a mark of 8.07?
### Context:
CREATE TABLE table_name_88 (name VARCHAR, mark VARCHAR, lane VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_88 WHERE lane < 8 AND country = "russia" AND mark = "8.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have 2 as the heat, and susanna kallur as the name?
### Context:
CREATE TABLE table_name_77 (lane INTEGER, heat VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT SUM(lane) FROM table_name_77 WHERE heat = 2 AND name = "susanna kallur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What name has 8.19 as the mark, with 3 as the lane?
### Context:
CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_32 WHERE mark = "8.19" 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:
In which discipline was non-championship under Championship?
### Context:
CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT discipline FROM table_name_45 WHERE championship = "non-championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What type of motorsport has a session of pre-race test?
### Context:
CREATE TABLE table_name_93 (discipline VARCHAR, session VARCHAR) [/INST]
### Response:
SELECT discipline FROM table_name_93 WHERE session = "pre-race test" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Championship of 1959 USAC Championship Car Season what is the event?
### Context:
CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.