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 name in the UK, with a release date of December 1966?
### Context:
CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 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 away team scored 107-104?
### Context:
CREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_84 WHERE score = "107-104" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team for the New Zealand breakers?
### Context:
CREATE TABLE table_name_59 (report VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT report FROM table_name_59 WHERE away_team = "new zealand breakers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team that scored 63-69?
### Context:
CREATE TABLE table_name_73 (away_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_73 WHERE score = "63-69" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the player Davis Love III?
### Context:
CREATE TABLE table_name_82 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_82 WHERE player = "davis love iii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081?
### Context:
CREATE TABLE table_name_31 (qual_2 VARCHAR, team VARCHAR, qual_1 VARCHAR) [/INST]
### Response:
SELECT qual_2 FROM table_name_31 WHERE team = "dale coyne racing" AND qual_1 = "1:00.081" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team had a second qualifying time of 58.539?
### Context:
CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_71 WHERE qual_2 = "58.539" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 best time from patrick carpentier from the forsythe racing team?
### Context:
CREATE TABLE table_name_33 (best VARCHAR, team VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 best time for a team with a first-qualifying time of 59.448?
### Context:
CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR) [/INST]
### Response:
SELECT best FROM table_name_6 WHERE qual_1 = "59.448" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 racer with a best time of 57.546?
### Context:
CREATE TABLE table_name_34 (name VARCHAR, best VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_34 WHERE best = "57.546" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 racer with a first-qualifying time of 58.991?
### Context:
CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_76 WHERE qual_1 = "58.991" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average Points, when Played is greater than 126?
### Context:
CREATE TABLE table_name_3 (points INTEGER, played INTEGER) [/INST]
### Response:
SELECT AVG(points) FROM table_name_3 WHERE played > 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:
What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126?
### Context:
CREATE TABLE table_name_64 (average INTEGER, played VARCHAR) [/INST]
### Response:
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 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:
What is 2006, when Team is "Tacuary"?
### Context:
CREATE TABLE table_name_13 (team VARCHAR) [/INST]
### Response:
SELECT 2006 FROM table_name_13 WHERE team = "tacuary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank has a Bronze of 3?
### Context:
CREATE TABLE table_name_94 (rank VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_94 WHERE bronze = 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 are the Runner(s)-up of the 1956 Championship?
### Context:
CREATE TABLE table_name_52 (runner_s__up VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_52 WHERE year = "1956" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Runner(s)-up of the 1972 Championship?
### Context:
CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_41 WHERE year = "1972" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Country of the Championship with a Score of 293?
### Context:
CREATE TABLE table_name_12 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_12 WHERE score = "293" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment at the school that has the nickname of the Fightin' Blue Hens?
### Context:
CREATE TABLE table_name_52 (enrollment VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_name_52 WHERE nickname = "fightin' blue hens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for set 3 when set 1 was 14–25?
### Context:
CREATE TABLE table_name_1 (set_3 VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT set_3 FROM table_name_1 WHERE set_1 = "14–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 time when the set 3 score is 31–29?
### Context:
CREATE TABLE table_name_23 (time VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_23 WHERE set_3 = "31–29" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total when the score for set 1 is 14–25?
### Context:
CREATE TABLE table_name_75 (total VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_75 WHERE set_1 = "14–25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total when the score for set 2 is 20–25?
### Context:
CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_21 WHERE set_2 = "20–25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total when the score for set 2 is 25–22?
### Context:
CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_86 WHERE set_2 = "25–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 price of 150 mbps downstread?
### Context:
CREATE TABLE table_name_20 (price VARCHAR, downstream VARCHAR) [/INST]
### Response:
SELECT price FROM table_name_20 WHERE downstream = "150 mbps" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 upstream with the price 65 chf?
### Context:
CREATE TABLE table_name_1 (upstream VARCHAR, price VARCHAR) [/INST]
### Response:
SELECT upstream FROM table_name_1 WHERE price = "65 chf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 price of the internet 150 plans?
### Context:
CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR) [/INST]
### Response:
SELECT price FROM table_name_63 WHERE internet_plan = "internet 150" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 upstream for the 100 mbps downstream?
### Context:
CREATE TABLE table_name_82 (upstream VARCHAR, downstream VARCHAR) [/INST]
### Response:
SELECT upstream FROM table_name_82 WHERE downstream = "100 mbps" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 price of 60 mbps downstream?
### Context:
CREATE TABLE table_name_22 (price VARCHAR, downstream VARCHAR) [/INST]
### Response:
SELECT price FROM table_name_22 WHERE downstream = "60 mbps" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 upstream for the internet 100 plans?
### Context:
CREATE TABLE table_name_42 (upstream VARCHAR, internet_plan VARCHAR) [/INST]
### Response:
SELECT upstream FROM table_name_42 WHERE internet_plan = "internet 100" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which club team was the player from who was selected in a round under 4?
### Context:
CREATE TABLE table_name_12 (club_team VARCHAR, round INTEGER) [/INST]
### Response:
SELECT club_team FROM table_name_12 WHERE round < 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the club team for Kyle de Coste?
### Context:
CREATE TABLE table_name_98 (club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT club_team FROM table_name_98 WHERE player = "kyle de coste" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?
### Context:
CREATE TABLE table_name_99 (w_plyf INTEGER, w_l_percentage VARCHAR, first_yr VARCHAR, g_plyf VARCHAR, g_ VARCHAR, _500 VARCHAR) [/INST]
### Response:
SELECT MAX(w_plyf) FROM table_name_99 WHERE first_yr < 1960 AND g_plyf > 0 AND g_ > _500 < 43 AND w_l_percentage < 0.578 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yr plyf of coach ed robinson, who has a G plyf of 0?
### Context:
CREATE TABLE table_name_6 (yr_plyf INTEGER, g_plyf VARCHAR, coach VARCHAR) [/INST]
### Response:
SELECT SUM(yr_plyf) FROM table_name_6 WHERE g_plyf = 0 AND coach = "ed robinson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of yr plyf with a G plyf less than 0?
### Context:
CREATE TABLE table_name_56 (yr_plyf VARCHAR, g_plyf INTEGER) [/INST]
### Response:
SELECT COUNT(yr_plyf) FROM table_name_56 WHERE g_plyf < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967?
### Context:
CREATE TABLE table_name_51 (coach VARCHAR, last_yr VARCHAR, yr_plyf VARCHAR, w_l_percentage VARCHAR, first_yr VARCHAR) [/INST]
### Response:
SELECT coach FROM table_name_51 WHERE w_l_percentage > 0.516 AND first_yr < 1925 AND yr_plyf > 2 AND last_yr = 1967 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last yr with an l plyf less than 0?
### Context:
CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER) [/INST]
### Response:
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 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 earliest last year with a yr plyf less than 0?
### Context:
CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER) [/INST]
### Response:
SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 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 To par of the Player with a Score of 69-70=139?
### Context:
CREATE TABLE table_name_59 (to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_59 WHERE score = 69 - 70 = 139 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bob Gilder in Place T3's To par?
### Context:
CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob 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 is High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"?
### Context:
CREATE TABLE table_name_19 (high_points VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_19 WHERE game < 82 AND location_attendance = "quicken loans arena 20,562" AND high_rebounds = "žydrūnas ilgauskas (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 is the lowest Game, when High Assists is "Maurice Williams (8)"?
### Context:
CREATE TABLE table_name_11 (game INTEGER, high_assists VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_name_11 WHERE high_assists = "maurice williams (8)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest Game, when Date is "April 12"?
### Context:
CREATE TABLE table_name_95 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_name_95 WHERE date = "april 12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Winner, when Date is 5 Sep?
### Context:
CREATE TABLE table_name_43 (winner VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_43 WHERE date = "5 sep" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?
### Context:
CREATE TABLE table_name_96 (team VARCHAR, circuit VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_96 WHERE circuit = "queensland raceway" AND winner = "garth tander" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?
### Context:
CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_40 WHERE team = "holden racing team" AND circuit = "eastern creek raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Team, when Circuit is Phillip Island Grand Prix Circuit?
### Context:
CREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_1 WHERE circuit = "phillip island grand prix circuit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Circuit, when Series is ASTC Round 4?
### Context:
CREATE TABLE table_name_26 (circuit VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_26 WHERE series = "astc round 4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?
### Context:
CREATE TABLE table_name_78 (react VARCHAR, name VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT COUNT(react) FROM table_name_78 WHERE name = "sean wroe" AND lane > 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 highest Lane, when Mark is 46.65, and when React is greater than 0.251?
### Context:
CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR) [/INST]
### Response:
SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?
### Context:
CREATE TABLE table_name_61 (react INTEGER, mark VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT MIN(react) FROM table_name_61 WHERE mark = "46.26 sb" AND lane > 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 Mark, when Lane is greater than 2, and when Country is Bahamas?
### Context:
CREATE TABLE table_name_44 (mark VARCHAR, lane VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT mark FROM table_name_44 WHERE lane > 2 AND country = "bahamas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 belarusian language?
### Context:
CREATE TABLE table_name_11 (number VARCHAR, language VARCHAR) [/INST]
### Response:
SELECT number FROM table_name_11 WHERE language = "belarusian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with an 80.62 percentage?
### Context:
CREATE TABLE table_name_91 (number VARCHAR, percentage___percentage_ VARCHAR) [/INST]
### Response:
SELECT number FROM table_name_91 WHERE percentage___percentage_ = "80.62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 males have a percentage of 80.62?
### Context:
CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR) [/INST]
### Response:
SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
### Context:
CREATE TABLE table_name_8 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_8 WHERE team = "new york knicks" AND wsu_year_s_ = "1965-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 Name, when WSU Year(s) is 1981-82?
### Context:
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WSU Year(s), when Pro Year(s) is 1974-77?
### Context:
CREATE TABLE table_name_88 (wsu_year_s_ VARCHAR, pro_year_s_ VARCHAR) [/INST]
### Response:
SELECT wsu_year_s_ FROM table_name_88 WHERE pro_year_s_ = "1974-77" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pro Year(s), when Team is Cincinnati Royals?
### Context:
CREATE TABLE table_name_79 (pro_year_s_ VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT pro_year_s_ FROM table_name_79 WHERE team = "cincinnati royals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position, when Team is Cincinnati Royals?
### Context:
CREATE TABLE table_name_77 (position VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_77 WHERE team = "cincinnati royals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?
### Context:
CREATE TABLE table_name_3 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_3 WHERE team = "detroit pistons" AND wsu_year_s_ = "1979-82" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position, when Overallis less than 314, and when Pick is less than 8?
### Context:
CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?
### Context:
CREATE TABLE table_name_8 (overall INTEGER, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT AVG(overall) FROM table_name_8 WHERE round > 11 AND pick > 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 Name, when Overall is greater than 132, and when Round is 12?
### Context:
CREATE TABLE table_name_59 (name VARCHAR, overall VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_59 WHERE overall > 132 AND round = 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 College, when Pick is 20?
### Context:
CREATE TABLE table_name_18 (college VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_18 WHERE pick = 20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is average Overall, when Pick is 19?
### Context:
CREATE TABLE table_name_80 (overall INTEGER, pick VARCHAR) [/INST]
### Response:
SELECT AVG(overall) FROM table_name_80 WHERE pick = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick for Princeton after round 3?
### Context:
CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the earliest round Clark was in?
### Context:
CREATE TABLE table_name_86 (round INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_86 WHERE college = "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:
What is the tie number when the home team was gillingham?
### Context:
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT tie_no FROM table_name_12 WHERE home_team = "gillingham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score when the home team was goole town?
### Context:
CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_84 WHERE home_team = "goole town" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had the home team as brentford?
### Context:
CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_30 WHERE home_team = "brentford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie number when bradford park avenue was the away team?
### Context:
CREATE TABLE table_name_96 (tie_no VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT tie_no FROM table_name_96 WHERE away_team = "bradford park avenue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What shows for House 1950 when the Governors 1950 show governors 1995?
### Context:
CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR) [/INST]
### Response:
SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 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 shows for House 1950 when the General 1950 is general 1986?
### Context:
CREATE TABLE table_name_19 (house_1950 VARCHAR, general_1950 VARCHAR) [/INST]
### Response:
SELECT house_1950 FROM table_name_19 WHERE general_1950 = "general 1986" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Governors 1950 when the General 1950 is general 1979?
### Context:
CREATE TABLE table_name_46 (governors_1950 VARCHAR, general_1950 VARCHAR) [/INST]
### Response:
SELECT governors_1950 FROM table_name_46 WHERE general_1950 = "general 1979" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?
### Context:
CREATE TABLE table_name_17 (house_1950 VARCHAR, governors_1950 VARCHAR) [/INST]
### Response:
SELECT house_1950 FROM table_name_17 WHERE 1950 < 1980 AND governors_1950 = "governors 1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What month before 1973 is listed for the album united we stand?
### Context:
CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR) [/INST]
### Response:
SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 river found in Madhya Pradesh, India?
### Context:
CREATE TABLE table_name_31 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR) [/INST]
### Response:
SELECT name_of_the_river FROM table_name_31 WHERE name_of_the_state_where_found_in_india = "madhya pradesh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 deity that the state of Bihar was named after?
### Context:
CREATE TABLE table_name_29 (name_of_deity VARCHAR, name_of_the_state_where_found_in_india VARCHAR) [/INST]
### Response:
SELECT name_of_deity FROM table_name_29 WHERE name_of_the_state_where_found_in_india = "bihar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 diety for the river of sone?
### Context:
CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR) [/INST]
### Response:
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stone found in Andhra Pradesh, India?
### Context:
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR) [/INST]
### Response:
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the game score 103-94?
### Context:
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_26 WHERE score = "103-94" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the away team that played home team of Perth Wildcats?
### Context:
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_12 WHERE home_team = "perth wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the game that was played on 29 November at State Sports Centre?
### Context:
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_29 WHERE date = "29 november" AND venue = "state sports centre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did home team Gold Coast Blaze play?
### Context:
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?
### Context:
CREATE TABLE table_name_89 (report VARCHAR, date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT report FROM table_name_89 WHERE date = "29 november" AND away_team = "melbourne tigers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team that played home team Perth Wildcats?
### Context:
CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_82 WHERE home_team = "perth wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who did they play in week 11?
### Context:
CREATE TABLE table_name_79 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_79 WHERE week = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day did they play in week 6?
### Context:
CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_36 WHERE week = 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:
Name the Date which has a Score of 3-1 and Attendances of 32 590?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, score VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_52 WHERE score = "3-1" AND attendance = "32 590" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue is on 2004-07-24?
### Context:
CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_68 WHERE date = "2004-07-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:
Which Score has a Venue of idrottsparken?
### Context:
CREATE TABLE table_name_31 (score VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_31 WHERE venue = "idrottsparken" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Comp is on 2004-10-17?
### Context:
CREATE TABLE table_name_84 (comp VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT comp FROM table_name_84 WHERE date = "2004-10-17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue has a Opponents of halmstad and a Score of 1-1?
### Context:
CREATE TABLE table_name_84 (venue VARCHAR, opponents VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_84 WHERE opponents = "halmstad" AND score = "1-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:
Which Attendance that has a Venue of ryavallen?
### Context:
CREATE TABLE table_name_66 (attendance VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_66 WHERE venue = "ryavallen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament, when Outcome is Winner, and when Date is 13 July 2013?
### Context:
CREATE TABLE table_name_63 (tournament VARCHAR, outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_63 WHERE outcome = "winner" AND date = "13 july 2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach?
### Context:
CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Score, when Date is 10 July 2011?
### Context:
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_65 WHERE date = "10 july 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 network has a Play-by-play by Jack Edwards in 2000?
### Context:
CREATE TABLE table_name_3 (network VARCHAR, play_by_play VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT network FROM table_name_3 WHERE play_by_play = "jack edwards" AND year = 2000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pregame host when Bold was the network?
### Context:
CREATE TABLE table_name_98 (pregame_host VARCHAR, network VARCHAR) [/INST]
### Response:
SELECT pregame_host FROM table_name_98 WHERE network = "bold" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.