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's the points total when points against was points against?
### Context:
CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT points_for FROM table_name_8 WHERE points_against = "points against" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points were 36 and points against 489 what is the lost?
### Context:
CREATE TABLE table_name_58 (lost VARCHAR, points VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT lost FROM table_name_58 WHERE points = "36" AND points_against = "489" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points against was 387 what was the lost?
### Context:
CREATE TABLE table_name_8 (lost VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT lost FROM table_name_8 WHERE points_against = "387" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for was points for what was the points?
### Context:
CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_86 WHERE points_for = "points for" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1948's pick?
### Context:
CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT pick FROM table_name_72 WHERE year = 1948 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick in 2004?
### Context:
CREATE TABLE table_name_24 (pick VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT pick FROM table_name_24 WHERE year = 2004 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years have a Pick of 12, and a Position of dt, and a College of penn state?
### Context:
CREATE TABLE table_name_20 (year VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_20 WHERE pick = "12" AND position = "dt" AND college = "penn state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scoring average where the wins are 0?
### Context:
CREATE TABLE table_name_56 (scoring_average VARCHAR, wins INTEGER) [/INST]
### Response:
SELECT COUNT(scoring_average) FROM table_name_56 WHERE wins < 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 year has earnings of $557,158?
### Context:
CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have an Opponent of @ florida panthers, and a Game larger than 58?
### Context:
CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 February has a Game of 64?
### Context:
CREATE TABLE table_name_77 (february INTEGER, game VARCHAR) [/INST]
### Response:
SELECT AVG(february) FROM table_name_77 WHERE game = 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:
Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1?
### Context:
CREATE TABLE table_name_99 (points INTEGER, february VARCHAR, game VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_99 WHERE game < 60 AND score = "2–0" AND february > 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 Game is the highest one that has a February of 25?
### Context:
CREATE TABLE table_name_96 (game INTEGER, february VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_96 WHERE february = 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:
Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75?
### Context:
CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much February has a Score of 5–2, and Points of 70?
### Context:
CREATE TABLE table_name_44 (february VARCHAR, score VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(february) FROM table_name_44 WHERE score = "5–2" AND points = 70 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result happened more recently than week 2, and had a date of November 30, 1958?
### Context:
CREATE TABLE table_name_98 (result VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_98 WHERE week > 2 AND date = "november 30, 1958" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what album is 4:30 long
### Context:
CREATE TABLE table_name_95 (album VARCHAR, length VARCHAR) [/INST]
### Response:
SELECT album FROM table_name_95 WHERE length = "4:30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Head Coach of Novy Urengoy?
### Context:
CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR) [/INST]
### Response:
SELECT head_coach FROM table_name_43 WHERE town = "novy urengoy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Arena o Kazan?
### Context:
CREATE TABLE table_name_19 (arena__capacity_ VARCHAR, town VARCHAR) [/INST]
### Response:
SELECT arena__capacity_ FROM table_name_19 WHERE town = "kazan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Website of Head Coach Yuriy Korotkevich?
### Context:
CREATE TABLE table_name_49 (website VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT website FROM table_name_49 WHERE head_coach = "yuriy korotkevich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponents of sebastián decoud santiago giraldo had what surface?
### Context:
CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_71 WHERE opponents = "sebastián decoud santiago giraldo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Partnering of franco ferreiro had what tournament?
### Context:
CREATE TABLE table_name_20 (tournament VARCHAR, partnering VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Date of april 10, 2006 had what surface?
### Context:
CREATE TABLE table_name_51 (surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_51 WHERE date = "april 10, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Surface of clay, and a Partnering of júlio silva had what score?
### Context:
CREATE TABLE table_name_69 (score VARCHAR, surface VARCHAR, partnering VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Date of november 3, 2008 had what score?
### Context:
CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_15 WHERE date = "november 3, 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:
Which Points have a Name of denis kornilov?
### Context:
CREATE TABLE table_name_69 (points INTEGER, name VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_69 WHERE name = "denis kornilov" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that a Name of thomas morgenstern, and Points larger than 288.7?
### Context:
CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the overall number for Louisiana Tech college, and a pick more than 10?
### Context:
CREATE TABLE table_name_59 (overall INTEGER, college VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT SUM(overall) FROM table_name_59 WHERE college = "louisiana tech" AND pick__number > 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 was the pick number for Deji Karim, in a round lower than 6?
### Context:
CREATE TABLE table_name_66 (pick__number INTEGER, name VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT AVG(pick__number) FROM table_name_66 WHERE name = "deji karim" AND round < 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:
Which college had an overall number more than 180?
### Context:
CREATE TABLE table_name_39 (college VARCHAR, overall INTEGER) [/INST]
### Response:
SELECT college FROM table_name_39 WHERE overall > 180 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3?
### Context:
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR, pick__number VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round > 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's the Pick average that has a School/Club Team of Alabama, with a Round that's smaller than 9?
### Context:
CREATE TABLE table_name_22 (pick INTEGER, school_club_team VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT AVG(pick) FROM table_name_22 WHERE school_club_team = "alabama" AND round < 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's the sum of the Pick that has the Player of Robert Ingalls?
### Context:
CREATE TABLE table_name_47 (pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_47 WHERE player = "robert ingalls" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of the Pick that has the Position of Tackle, the Player Woody Adams, and a Round that's larger than 22?
### Context:
CREATE TABLE table_name_69 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_69 WHERE position = "tackle" AND player = "woody adams" AND round > 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 Position has a Round that's larger than 21?
### Context:
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER) [/INST]
### Response:
SELECT position FROM table_name_86 WHERE round > 21 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of the Europe totals for players with other appearances of 0, league appearances under 328, and a position of MF?
### Context:
CREATE TABLE table_name_72 (europe INTEGER, position VARCHAR, others VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT SUM(europe) FROM table_name_72 WHERE others = 0 AND league < 328 AND position = "mf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?
### Context:
CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR) [/INST]
### Response:
SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "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:
Region of eastern england has what investment income?
### Context:
CREATE TABLE table_name_30 (investment_income VARCHAR, region VARCHAR) [/INST]
### Response:
SELECT investment_income FROM table_name_30 WHERE region = "eastern england" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
State pensions of 7%, and a Self employed of 7%, and a Other income sources of 2% has what investment income?
### Context:
CREATE TABLE table_name_67 (investment_income VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR, self_employed VARCHAR) [/INST]
### Response:
SELECT investment_income FROM table_name_67 WHERE state_pensions = "7%" AND self_employed = "7%" AND other_income_sources = "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:
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?
### Context:
CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR) [/INST]
### Response:
SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "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:
Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?
### Context:
CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) [/INST]
### Response:
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Employment ( salaries & wages) of 64%, and a Occupational pensions of 6% has what working tax credit?
### Context:
CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) [/INST]
### Response:
SELECT working_tax_credit FROM table_name_20 WHERE employment___salaries_ & _wages_ = "64%" AND occupational_pensions = "6%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Drawn is which has a Games smaller than 6?
### Context:
CREATE TABLE table_name_61 (drawn INTEGER, games INTEGER) [/INST]
### Response:
SELECT SUM(drawn) FROM table_name_61 WHERE games < 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 Points that has 61 - 15 Point difference and a Drawn larger than 1?
### Context:
CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Drawn has a Games larger than 6?
### Context:
CREATE TABLE table_name_32 (drawn INTEGER, games INTEGER) [/INST]
### Response:
SELECT SUM(drawn) FROM table_name_32 WHERE games > 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 smallest electorate with 78,076 quota and less than 13 candidates?
### Context:
CREATE TABLE table_name_45 (electorate INTEGER, quota VARCHAR, candidates VARCHAR) [/INST]
### Response:
SELECT MIN(electorate) FROM table_name_45 WHERE quota = "78,076" AND candidates < 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 turnout with 15 candidates and more than 377,591 valid poll?
### Context:
CREATE TABLE table_name_81 (turnout VARCHAR, candidates VARCHAR, valid_poll VARCHAR) [/INST]
### Response:
SELECT turnout FROM table_name_81 WHERE candidates = 15 AND valid_poll > 377 OFFSET 591 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ranked 79?
### Context:
CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_19 WHERE rank = 79 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank for an album after 1999 and an Accolade of the 100 greatest indie rock albums of all time?
### Context:
CREATE TABLE table_name_67 (rank INTEGER, year VARCHAR, accolade VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_67 WHERE year > 1999 AND accolade = "the 100 greatest indie rock albums of all time" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Week is on sunday november 28?
### Context:
CREATE TABLE table_name_32 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_32 WHERE date = "sunday november 28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many weeks have an Opponent of at new york giants?
### Context:
CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the Opponent of new england patriots?
### Context:
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which week has a Result of w 23–6?
### Context:
CREATE TABLE table_name_79 (week VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_79 WHERE result = "w 23–6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people did Mayor Olav Martin Vik preside over?
### Context:
CREATE TABLE table_name_87 (innhabitants INTEGER, mayor VARCHAR) [/INST]
### Response:
SELECT AVG(innhabitants) FROM table_name_87 WHERE mayor = "olav martin vik" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area of askøy, with a Municipal code less than 1247?
### Context:
CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR) [/INST]
### Response:
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Mayor is from the KRF Party?
### Context:
CREATE TABLE table_name_97 (mayor VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT mayor FROM table_name_97 WHERE party = "krf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Municipal code of the FRP Party with an area of 100?
### Context:
CREATE TABLE table_name_35 (municipal_code INTEGER, party VARCHAR, area VARCHAR) [/INST]
### Response:
SELECT SUM(municipal_code) FROM table_name_35 WHERE party = "frp" AND area = 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:
How many people does the KRF Party preside over?
### Context:
CREATE TABLE table_name_51 (innhabitants INTEGER, party VARCHAR) [/INST]
### Response:
SELECT AVG(innhabitants) FROM table_name_51 WHERE party = "krf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall draft picks for player whose position is C and was picked after round 9?
### Context:
CREATE TABLE table_name_63 (overall VARCHAR, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(overall) FROM table_name_63 WHERE position = "c" AND round > 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 position was Jafus White who was picked after round 1?
### Context:
CREATE TABLE table_name_87 (position VARCHAR, round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall draft picks for Fred Nixon?
### Context:
CREATE TABLE table_name_37 (overall VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(overall) FROM table_name_37 WHERE player = "fred nixon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete who was picked before round 9, had an overall draft pick after number 143 and plays the position of db?
### Context:
CREATE TABLE table_name_23 (player VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_23 WHERE round < 9 AND overall > 143 AND position = "db" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of the player with an overall of 152?
### Context:
CREATE TABLE table_name_38 (round INTEGER, overall VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_name_38 WHERE overall = 152 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of the defensive back player with a pick # greater than 5 and an overall less than 152?
### Context:
CREATE TABLE table_name_87 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT AVG(round) FROM table_name_87 WHERE pick__number > 5 AND position = "defensive back" AND overall < 152 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall of John Ayres, who had a pick # greater than 4?
### Context:
CREATE TABLE table_name_38 (overall INTEGER, name VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT AVG(overall) FROM table_name_38 WHERE name = "john ayres" AND pick__number > 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 name of the player with a pick # less than 5 and an overall of 284?
### Context:
CREATE TABLE table_name_17 (name VARCHAR, pick__number VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_17 WHERE pick__number < 5 AND overall = 284 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall of Ken Whisenhunt, who has a pick # of 5?
### Context:
CREATE TABLE table_name_77 (overall INTEGER, pick__number VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT AVG(overall) FROM table_name_77 WHERE pick__number = 5 AND name = "ken whisenhunt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick # of John Ayres?
### Context:
CREATE TABLE table_name_15 (pick__number INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_name_15 WHERE name = "john ayres" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team with Palmeiras 4-2 portuguesa as the last match?
### Context:
CREATE TABLE table_name_47 (team VARCHAR, last_match VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manner of departure replaced by tita?
### Context:
CREATE TABLE table_name_34 (manner_of_departure VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_name_34 WHERE replaced_by = "tita" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last match that had a sacked manner of departure and a geninho outgoing manner?
### Context:
CREATE TABLE table_name_8 (last_match VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT last_match FROM table_name_8 WHERE manner_of_departure = "sacked" AND outgoing_manager = "geninho" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last match with a vacancy date of round 2 and Ney Franco as outgoing manager?
### Context:
CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT last_match FROM table_name_26 WHERE date_of_vacancy = "round 2" AND outgoing_manager = "ney franco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last match with a resigned manner of departure and a round 1 date of vacancy?
### Context:
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 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 highest effic with an avg/g of 91.9?
### Context:
CREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR) [/INST]
### Response:
SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.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 att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0?
### Context:
CREATE TABLE table_name_73 (att_cmp_int VARCHAR, effic VARCHAR, gp_gs VARCHAR) [/INST]
### Response:
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-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 sum avg/g with an effic of 858.4?
### Context:
CREATE TABLE table_name_61 (avg_g INTEGER, effic VARCHAR) [/INST]
### Response:
SELECT SUM(avg_g) FROM table_name_61 WHERE effic = 858.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 mascot for the school in 32 Hendricks County?
### Context:
CREATE TABLE table_name_11 (mascot VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT mascot FROM table_name_11 WHERE county = "32 hendricks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lafayette T. Jefferson School in 79 Tippecanoe county?
### Context:
CREATE TABLE table_name_26 (location VARCHAR, county VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_26 WHERE county = "79 tippecanoe" AND school = "lafayette t. jefferson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school with Royals as their mascot?
### Context:
CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_15 WHERE mascot = "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 was the score for the game on February 12?
### Context:
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_79 WHERE date = "february 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 was the score for the game on February 29?
### Context:
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_10 WHERE date = "february 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:
Where was the home team in the game played against Chicago?
### Context:
CREATE TABLE table_name_64 (home VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_64 WHERE visitor = "chicago" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Season has a Game of fcs midwest region, and a Score of 40-33?
### Context:
CREATE TABLE table_name_29 (season INTEGER, game VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_name_29 WHERE game = "fcs midwest region" AND score = "40-33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game has a Result of win, and an Opponent of new hampshire, and a Season smaller than 2008?
### Context:
CREATE TABLE table_name_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_37 WHERE result = "win" AND opponent = "new hampshire" AND season < 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:
Which Season has a Score of 39-27?
### Context:
CREATE TABLE table_name_26 (season INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_name_26 WHERE score = "39-27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What result has a goal of 5?
### Context:
CREATE TABLE table_name_80 (result VARCHAR, goal VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_80 WHERE goal = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the record on May 25?
### Context:
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_42 WHERE date = "may 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's greatest attendance on May 7?
### Context:
CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which January has a Record of 28–14–8?
### Context:
CREATE TABLE table_name_17 (january VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT january FROM table_name_17 WHERE record = "28–14–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 Points is the highest one that has a Game smaller than 43, and a January larger than 8?
### Context:
CREATE TABLE table_name_64 (points INTEGER, game VARCHAR, january VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_64 WHERE game < 43 AND january > 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 mean number of wins for the norton team in 1966, when there are 8 points?
### Context:
CREATE TABLE table_name_8 (wins INTEGER, points VARCHAR, team VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT AVG(wins) FROM table_name_8 WHERE team = "norton" AND year = 1966 AND points = 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 most recent year for the ajs team when there are fewer than 0 wins?
### Context:
CREATE TABLE table_name_57 (year INTEGER, team VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_57 WHERE team = "ajs" AND wins < 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 smallest point amount for years prior to 1958 when the class is 350cc?
### Context:
CREATE TABLE table_name_91 (points INTEGER, year VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?
### Context:
CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game that had a first prize of $161,480?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_64 WHERE first_prize = "$161,480" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won on May 2011?
### Context:
CREATE TABLE table_name_76 (winner VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_76 WHERE date = "may 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 is the general classification with a 13 stage?
### Context:
CREATE TABLE table_name_63 (general_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_name_63 WHERE stage = "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 teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?
### Context:
CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) [/INST]
### Response:
SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 general classification of the stage 3 with Daniele Bennati as the points classification and Morris Possoni as the young rider classification.
### Context:
CREATE TABLE table_name_21 (general_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_name_21 WHERE points_classification = "daniele bennati" AND young_rider_classification = "morris possoni" AND stage = "3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the general classification with riccardo riccò as the young rider classification?
### Context:
CREATE TABLE table_name_37 (general_classification VARCHAR, young_rider_classification VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_name_37 WHERE young_rider_classification = "riccardo riccò" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.