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 Games, when Points is less than 340, and when Rank is greater than 3?
### Context:
CREATE TABLE table_name_89 (games VARCHAR, points VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT games FROM table_name_89 WHERE points < 340 AND rank > 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 sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
### Context:
CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 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 was the first leg score in the match against Twente?
### Context:
CREATE TABLE table_name_58 (first_leg VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT first_leg FROM table_name_58 WHERE opposition = "twente" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first leg score in the 2nd round?
### Context:
CREATE TABLE table_name_41 (first_leg VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT first_leg FROM table_name_41 WHERE round = "2nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the Bills points on Nov. 11?
### Context:
CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR) [/INST]
### Response:
SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 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 was the Bills first downs on Oct. 29 with more the 23 Bills points?
### Context:
CREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR) [/INST]
### Response:
SELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = "oct. 29" AND bills_points > 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Bill's attendance on December 6?
### Context:
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_86 WHERE date = "december 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:
On what date did the Bills play the Houston Oilers before week 12?
### Context:
CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won on the day when attendance was 42,308?
### Context:
CREATE TABLE table_name_27 (result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_27 WHERE attendance = "42,308" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What week of the season was December 13?
### Context:
CREATE TABLE table_name_3 (week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_3 WHERE date = "december 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 highest Points in Position 2 with more than 3 Drawn games?
### Context:
CREATE TABLE table_name_75 (points INTEGER, position VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_75 WHERE position = 2 AND drawn > 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 goal Difference at Position 5?
### Context:
CREATE TABLE table_name_53 (difference VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT difference FROM table_name_53 WHERE position = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6?
### Context:
CREATE TABLE table_name_3 (played INTEGER, lost VARCHAR, position VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT AVG(played) FROM table_name_3 WHERE position > 3 AND against < 27 AND lost < 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest Points with a Lost total of 8?
### Context:
CREATE TABLE table_name_39 (points INTEGER, lost VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_39 WHERE lost = 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 average Points has a Lost higher than 20?
### Context:
CREATE TABLE table_name_78 (points INTEGER, lost INTEGER) [/INST]
### Response:
SELECT AVG(points) FROM table_name_78 WHERE lost > 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 are the Cuts made with a Top-10 smaller than 2?
### Context:
CREATE TABLE table_name_72 (cuts_made INTEGER, top_10 INTEGER) [/INST]
### Response:
SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 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 Top-25 with a Top-10 of 8, and an Events of 45?
### Context:
CREATE TABLE table_name_63 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT AVG(top_25) FROM table_name_63 WHERE top_10 = 8 AND events = 45 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Top-25 with an Events of 20, and a Wins larger than 2?
### Context:
CREATE TABLE table_name_45 (top_25 INTEGER, events VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT AVG(top_25) FROM table_name_45 WHERE events = 20 AND wins > 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:
Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20?
### Context:
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR) [/INST]
### Response:
SELECT MAX(top_10) FROM table_name_57 WHERE top_25 < 18 AND top_5 = 6 AND cuts_made < 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 Top Par, when Score is less than 68, and when Country is England?
### Context:
CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "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:
What is Sum of Score, when Player is Vijay Singh?
### Context:
CREATE TABLE table_name_18 (score INTEGER, player VARCHAR) [/INST]
### Response:
SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Sum of Score, when Place is T2, and when Player is Justin Leonard?
### Context:
CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Place, when Score is less than 67, and when Country is South Africa?
### Context:
CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_32 WHERE score < 67 AND country = "south africa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the Team that has the Laps of 379?
### Context:
CREATE TABLE table_name_23 (team VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_23 WHERE laps = 379 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament with a Margin of victory that was 4 strokes?
### Context:
CREATE TABLE table_name_57 (tournament VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_57 WHERE margin_of_victory = "4 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1999, when 1998 is 2R?
### Context:
CREATE TABLE table_name_18 (Id VARCHAR) [/INST]
### Response:
SELECT 1999 FROM table_name_18 WHERE 1998 = "2r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1998, when 1994 is Grand Slam Tournaments?
### Context:
CREATE TABLE table_name_86 (Id VARCHAR) [/INST]
### Response:
SELECT 1998 FROM table_name_86 WHERE 1994 = "grand slam tournaments" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009, when 2000 is 1R, and when 1998 is 3R?
### Context:
CREATE TABLE table_name_1 (Id VARCHAR) [/INST]
### Response:
SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009, when 2008 is 1R, and when Tournament is French Open?
### Context:
CREATE TABLE table_name_59 (tournament VARCHAR) [/INST]
### Response:
SELECT 2009 FROM table_name_59 WHERE 2008 = "1r" AND tournament = "french open" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009, when 2004 is 2R, and when 1993 is A?
### Context:
CREATE TABLE table_name_81 (Id VARCHAR) [/INST]
### Response:
SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average amount of gold medals for a country with more than 12 total medals?
### Context:
CREATE TABLE table_name_45 (gold INTEGER, total INTEGER) [/INST]
### Response:
SELECT AVG(gold) FROM table_name_45 WHERE total > 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:
Who were the Visitor when the Nets were the Home team?
### Context:
CREATE TABLE table_name_7 (visitor VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_7 WHERE home = "nets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Leading scorer had a Score of 80–112?
### Context:
CREATE TABLE table_name_98 (leading_scorer VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT leading_scorer FROM table_name_98 WHERE score = "80–112" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes?
### Context:
CREATE TABLE table_name_56 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_56 WHERE margin_of_victory = "2 strokes" AND date = "sep 20, 1981" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the tournament played on Jul 4, 1982, what was the winning score?
### Context:
CREATE TABLE table_name_97 (winning_score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_97 WHERE date = "jul 4, 1982" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score for the Andy Williams-San Diego Open Invitational tournament?
### Context:
CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_60 WHERE tournament = "andy williams-san diego open invitational" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the runner(s)-up for the tournament played on Jun 3, 1973?
### Context:
CREATE TABLE table_name_95 (runner_s__up VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_95 WHERE date = "jun 3, 1973" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score for the tournament played on Jul 14, 1973?
### Context:
CREATE TABLE table_name_96 (winning_score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_96 WHERE date = "jul 14, 1973" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which tournament was Gil Morgan the runner-up?
### Context:
CREATE TABLE table_name_64 (tournament VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_64 WHERE runner_s__up = "gil morgan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest attendance when the Atlanta Falcons played for a week smaller than 10?
### Context:
CREATE TABLE table_name_19 (attendance INTEGER, opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Result when the Theme was by Dolly Parton?
### Context:
CREATE TABLE table_name_42 (result VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_42 WHERE theme = "dolly parton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Theme when the Original artist was carole king, and a Week # shows hollywood?
### Context:
CREATE TABLE table_name_85 (theme VARCHAR, original_artist VARCHAR, week__number VARCHAR) [/INST]
### Response:
SELECT theme FROM table_name_85 WHERE original_artist = "carole king" AND week__number = "hollywood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Song choice when there is an Order # of 4?
### Context:
CREATE TABLE table_name_26 (song_choice VARCHAR, order__number VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_name_26 WHERE order__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 proto-oceanic has louse as the animal?
### Context:
CREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR) [/INST]
### Response:
SELECT proto_oceanic FROM table_name_86 WHERE animal = "louse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 delegate that have 4 counties carries and more than 1,903 state delegates?
### Context:
CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR) [/INST]
### Response:
SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home team with an Away team that is oxford united?
### Context:
CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_87 WHERE away_team = "oxford united" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Home team with an Away team that is wrexham?
### Context:
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_90 WHERE away_team = "wrexham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gold has a Silver of 7, and a Bronze smaller than 7?
### Context:
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT MIN(gold) FROM table_name_24 WHERE silver = 7 AND bronze < 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 Bronze has a Silver of 15, and a Gold smaller than 20?
### Context:
CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 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:
Which Bronze has a Silver of 7, and a Total larger than 25?
### Context:
CREATE TABLE table_name_93 (bronze INTEGER, silver VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MIN(bronze) FROM table_name_93 WHERE silver = 7 AND total > 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 Gold has a Bronze larger than 1, and a Total larger than 80?
### Context:
CREATE TABLE table_name_92 (gold INTEGER, bronze VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20?
### Context:
CREATE TABLE table_name_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_name_93 WHERE silver > 8 AND bronze = 20 AND gold < 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 the total of NA for set 4, a score of 3-0 and a 26-24 for set 2?
### Context:
CREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_62 WHERE set_4 = "na" AND score = "3-0" AND set_2 = "26-24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?
### Context:
CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25?
### Context:
CREATE TABLE table_name_25 (set_5 VARCHAR, set_2 VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT set_5 FROM table_name_25 WHERE set_2 = "26-24" AND set_1 = "27-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:
Who has a total number of 76 silver medals?
### Context:
CREATE TABLE table_name_66 (silver VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(silver) FROM table_name_66 WHERE total = 76 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What score has ipswich town as the home team, and replay as the tie no.?
### Context:
CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_74 WHERE home_team = "ipswich town" AND tie_no = "replay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What score has grays athletic as the home team?
### Context:
CREATE TABLE table_name_27 (score VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_27 WHERE home_team = "grays athletic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date has 6 as the tie no.?
### Context:
CREATE TABLE table_name_73 (date VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_73 WHERE tie_no = "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 Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?
### Context:
CREATE TABLE table_name_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?
### Context:
CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander?
### Context:
CREATE TABLE table_name_81 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne 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 Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse?
### Context:
CREATE TABLE table_name_71 (pole_position VARCHAR, circuit VARCHAR, winning_team VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_name_71 WHERE circuit = "adelaide street circuit" AND winning_team = "piccola scuderia corse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country was the game played in when the location was trestles?
### Context:
CREATE TABLE table_name_18 (country VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_18 WHERE location = "trestles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played when it was located at bells beach?
### Context:
CREATE TABLE table_name_8 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_8 WHERE location = "bells beach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country was the game played when it was played from April 11-April 21?
### Context:
CREATE TABLE table_name_73 (country VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_73 WHERE date = "april 11-april 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:
Who was the Runner-up when the game was played at Bells Beach?
### Context:
CREATE TABLE table_name_31 (runner_up VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_name_31 WHERE location = "bells beach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Accolade had a publication of Under the Radar?
### Context:
CREATE TABLE table_name_44 (accolade VARCHAR, publication VARCHAR) [/INST]
### Response:
SELECT accolade FROM table_name_44 WHERE publication = "under the radar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which year had a publication of Pazz & Jop?
### Context:
CREATE TABLE table_name_99 (year VARCHAR, publication VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_99 WHERE publication = "pazz & jop" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 districts featured the democrat nicholas von stein?
### Context:
CREATE TABLE table_name_57 (district VARCHAR, democratic VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_name_57 WHERE democratic = "nicholas von stein" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent's democratic candidate was mike carroll?
### Context:
CREATE TABLE table_name_21 (incumbent VARCHAR, democratic VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_21 WHERE democratic = "mike carroll" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?
### Context:
CREATE TABLE table_name_68 (democratic_ticket VARCHAR, liberal_ticket VARCHAR) [/INST]
### Response:
SELECT democratic_ticket FROM table_name_68 WHERE liberal_ticket = "edward r. dudley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
### Context:
CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR) [/INST]
### Response:
SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 office up for election when Sylvia Weinstein ran under the Socialist Workers ticket?
### Context:
CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR) [/INST]
### Response:
SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?
### Context:
CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR) [/INST]
### Response:
SELECT socialist_labor_ticket FROM table_name_28 WHERE democratic_ticket = "robert m. morgenthau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?
### Context:
CREATE TABLE table_name_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR) [/INST]
### Response:
SELECT socialist_workers_ticket FROM table_name_99 WHERE republican_ticket = "john p. lomenzo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?
### Context:
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR) [/INST]
### Response:
SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.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 area % of EU with 16.4 population in millions?
### Context:
CREATE TABLE table_name_39 (area__percentage_of_eu VARCHAR, population_in_millions VARCHAR) [/INST]
### Response:
SELECT area__percentage_of_eu FROM table_name_39 WHERE population_in_millions = 16.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 area km2 with a 4.2 population in millions and is a member state of the Czech Republic?
### Context:
CREATE TABLE table_name_8 (area_km_2 VARCHAR, population_in_millions VARCHAR, member_state VARCHAR) [/INST]
### Response:
SELECT COUNT(area_km_2) FROM table_name_8 WHERE population_in_millions > 4.2 AND member_state = "czech republic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?
### Context:
CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR) [/INST]
### Response:
SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?
### Context:
CREATE TABLE table_name_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR) [/INST]
### Response:
SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.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:
Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height
### Context:
CREATE TABLE table_name_22 (height VARCHAR, weight VARCHAR, spike VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_name_22 WHERE spike < 340 AND name = "gilberto godoy filho" AND weight < 85 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance for Opponent Boston Patriots and Week is greater than 14?
### Context:
CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_1 WHERE opponent = "boston patriots" AND week > 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Nominated work has a Year of 1997?
### Context:
CREATE TABLE table_name_96 (nominated_work VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT nominated_work FROM table_name_96 WHERE year = 1997 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Award has a Category of music video acting award?
### Context:
CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_40 WHERE category = "music video acting award" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the league is 84 (4) what is the Canadian Championship?
### Context:
CREATE TABLE table_name_87 (canadian_championship VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT canadian_championship FROM table_name_87 WHERE league = "84 (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 Canadian Championship has 84 (4) as the league?
### Context:
CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR) [/INST]
### Response:
SELECT canadian_championship FROM table_name_85 WHERE league = "84 (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 Canadian Championship has Ashtone Morgan Category:Articles with hcards as the name?
### Context:
CREATE TABLE table_name_45 (canadian_championship VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT canadian_championship FROM table_name_45 WHERE name = "ashtone morgan category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name is Carl Robinson Category:Articles with hcards?
### Context:
CREATE TABLE table_name_15 (total VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_15 WHERE name = "carl robinson category:articles with hcards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Games are less than 38, when Rank is less than 4, and when Points are 357?
### Context:
CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank is greater than 2, and when Points are greater than 259?
### Context:
CREATE TABLE table_name_12 (team VARCHAR, rank VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_12 WHERE rank > 2 AND points > 259 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357?
### Context:
CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(games) FROM table_name_75 WHERE team = "ciudad de la laguna" AND points > 357 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points, when Name is Ondrej Starosta?
### Context:
CREATE TABLE table_name_81 (points VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_81 WHERE name = "ondrej starosta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for Points, when Games is greater than 34, and when Name is Andrew Panko?
### Context:
CREATE TABLE table_name_98 (points INTEGER, games VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_name_98 WHERE games > 34 AND name = "andrew panko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for Points, when Games is 21, and when Rank is greater than 2?
### Context:
CREATE TABLE table_name_52 (points INTEGER, games VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_52 WHERE games = 21 AND rank > 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average rank of the record on 2007-06-21 with a mark less than 91.29?
### Context:
CREATE TABLE table_name_31 (rank INTEGER, date VARCHAR, mark VARCHAR) [/INST]
### Response:
SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.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 lowest mark of the rank 8 record?
### Context:
CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR) [/INST]
### Response:
SELECT MIN(mark) FROM table_name_34 WHERE rank = 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 place of the record on 1996-05-25 with a mark greater than 90.73?
### Context:
CREATE TABLE table_name_38 (place VARCHAR, mark VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_38 WHERE mark > 90.73 AND date = "1996-05-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 place of the rank 6 record, which has a mark greater than 91.29?
### Context:
CREATE TABLE table_name_16 (place VARCHAR, mark VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_16 WHERE mark > 91.29 AND rank = 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 competition has a venue in Hampden Park, Glasgow?
### Context:
CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_55 WHERE venue = "hampden park, glasgow" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.