text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Player has a Pick larger than 20?
### Context:
CREATE TABLE table_name_79 (player VARCHAR, pick INTEGER) [/INST]
### Response:
SELECT player FROM table_name_79 WHERE pick > 20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Position has a Pick smaller than 14, and a Player of tyrone bogues?
### Context:
CREATE TABLE table_name_1 (position VARCHAR, pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_1 WHERE pick < 14 AND player = "tyrone bogues" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Player of bernard thompson?
### Context:
CREATE TABLE table_name_64 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_64 WHERE player = "bernard thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Former Team of denver nuggets?
### Context:
CREATE TABLE table_name_54 (nationality VARCHAR, former_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_54 WHERE former_team = "denver nuggets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Player has a Pick larger than 2, and a Position of forward?
### Context:
CREATE TABLE table_name_37 (player VARCHAR, pick VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_37 WHERE pick > 2 AND position = "forward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did they play on March 11?
### Context:
CREATE TABLE table_name_7 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_7 WHERE date = "march 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:
Who had the high rebounds, and how many, when they played Denver?
### Context:
CREATE TABLE table_name_62 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_name_62 WHERE team = "denver" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?
### Context:
CREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_30 WHERE name = "steve hamilton" AND round > 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT WAS THE OVERALL NUMBER WITH A POSITON OF DB, AND ROUND GREATER THAN 8?
### Context:
CREATE TABLE table_name_27 (overall VARCHAR, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(overall) FROM table_name_27 WHERE position = "db" AND round > 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 chris jones' location?
### Context:
CREATE TABLE table_name_77 (location VARCHAR, wrestler VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_77 WHERE wrestler = "chris jones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of october 11, 2008?
### Context:
CREATE TABLE table_name_41 (wrestler VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT wrestler FROM table_name_41 WHERE date = "october 11, 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the highest reign on march 10, 2007?
### Context:
CREATE TABLE table_name_66 (reign INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(reign) FROM table_name_66 WHERE date = "march 10, 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 competition for goal 8?
### Context:
CREATE TABLE table_name_73 (competition VARCHAR, goal VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_73 WHERE goal = 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 venue had more than 9 goals and a final result of 4-1?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, goal VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_82 WHERE goal > 9 AND result = "4-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record for game 59?
### Context:
CREATE TABLE table_name_61 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_61 WHERE game = 59 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was paid to Andy North when he placed t10?
### Context:
CREATE TABLE table_name_94 (money___ INTEGER, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT AVG(money___) AS $__ FROM table_name_94 WHERE place = "t10" AND player = "andy north" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Calvin Peete of the United States place?
### Context:
CREATE TABLE table_name_82 (place VARCHAR, country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_82 WHERE country = "united states" AND player = "calvin peete" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of goals when the position is DF, the nationality is England, and the Crewe Alexandra career is 1948–1951?
### Context:
CREATE TABLE table_name_76 (goals VARCHAR, crewe_alexandra_career VARCHAR, position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT COUNT(goals) FROM table_name_76 WHERE position = "df" AND nationality = "england" AND crewe_alexandra_career = "1948–1951" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position when the Crewe Alexandra career is 1988–1990, with 31 goals?
### Context:
CREATE TABLE table_name_25 (position VARCHAR, crewe_alexandra_career VARCHAR, goals VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_25 WHERE crewe_alexandra_career = "1988–1990" AND goals = 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of Goals with a nationality of England, and position of DF, and a Crewe Alexandra career is 1958–1962, and less than 170 appearances?
### Context:
CREATE TABLE table_name_98 (goals VARCHAR, appearances VARCHAR, crewe_alexandra_career VARCHAR, nationality VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(goals) FROM table_name_98 WHERE nationality = "england" AND position = "df" AND crewe_alexandra_career = "1958–1962" AND appearances < 170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the score when the date is february 3?
### Context:
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_92 WHERE date = "february 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 game when the opponent is new york knickerbockers?
### Context:
CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_96 WHERE opponent = "new york knickerbockers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the score on february 18?
### Context:
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_84 WHERE date = "february 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the game when the opponent is @ chicago stags?
### Context:
CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the score on february 16?
### Context:
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_76 WHERE date = "february 16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Total number of laps at a time of +56.977?
### Context:
CREATE TABLE table_name_31 (laps VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_31 WHERE time = "+56.977" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Release Date, when Format is CD, and when Title is Tsar Wars?
### Context:
CREATE TABLE table_name_84 (release_date VARCHAR, format VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_name_84 WHERE format = "cd" AND title = "tsar wars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish?
### Context:
CREATE TABLE table_name_87 (title VARCHAR, doctor VARCHAR, company VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_87 WHERE doctor = "06 sixth doctor" AND company = "big finish" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Doctor, when Format is CD, and when Title is The Relics Of Time?
### Context:
CREATE TABLE table_name_98 (doctor VARCHAR, format VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of 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:
What is Release Date, when Title is Aladdin Time?
### Context:
CREATE TABLE table_name_31 (release_date VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_name_31 WHERE title = "aladdin 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:
What is Title, when Release Date is 2011-12-01 December 2011?
### Context:
CREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 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 lowest Share, when Rating is greater than 1.3, and when Air Date is May 28, 2008?
### Context:
CREATE TABLE table_name_63 (share INTEGER, rating VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT MIN(share) FROM table_name_63 WHERE rating > 1.3 AND air_date = "may 28, 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3?
### Context:
CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR) [/INST]
### Response:
SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 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 total number of Rating(s), when Weekly Rank is 76/88?
### Context:
CREATE TABLE table_name_7 (rating VARCHAR, weekly_rank VARCHAR) [/INST]
### Response:
SELECT COUNT(rating) FROM table_name_7 WHERE weekly_rank = "76/88" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times did the team with an average start of 18.9 make the top 10?
### Context:
CREATE TABLE table_name_82 (top_10 INTEGER, avg_start VARCHAR) [/INST]
### Response:
SELECT SUM(top_10) FROM table_name_82 WHERE avg_start = 18.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 was the attendance of the game in week 13?
### Context:
CREATE TABLE table_name_11 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_11 WHERE week = 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:
When did Sydney Barnes debut in England?
### Context:
CREATE TABLE table_name_35 (debut VARCHAR, country VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT debut FROM table_name_35 WHERE country = "england" AND name = "sydney barnes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points with more than 5 losses and more than 14 played?
### Context:
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, played VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_67 WHERE lost > 5 AND played > 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 name was in a position less than 4 with 2 losses?
### Context:
CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_78 WHERE position < 4 AND lost = 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 name has more than 14 points with less than 1 draw?
### Context:
CREATE TABLE table_name_99 (name VARCHAR, points VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_99 WHERE points > 14 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:
What is the largest number played with 16 points in a position over 4?
### Context:
CREATE TABLE table_name_40 (played INTEGER, points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT MAX(played) FROM table_name_40 WHERE points = 16 AND position > 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 lowest heat for the United states with a mark of 51.85 pb and lane higher than 6?
### Context:
CREATE TABLE table_name_43 (heat INTEGER, lane VARCHAR, country VARCHAR, mark VARCHAR) [/INST]
### Response:
SELECT MIN(heat) FROM table_name_43 WHERE country = "united states" AND mark = "51.85 pb" AND lane > 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average lane racheal nachula has when the heat is less than 2?
### Context:
CREATE TABLE table_name_80 (lane INTEGER, heat VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT AVG(lane) FROM table_name_80 WHERE heat < 2 AND name = "racheal nachula" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 heat that has 52.83 sb mark and lane less than 4?
### Context:
CREATE TABLE table_name_28 (heat INTEGER, mark VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT AVG(heat) FROM table_name_28 WHERE mark = "52.83 sb" AND lane < 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 Record, when November is less than 10, and when Game is less than 13?
### Context:
CREATE TABLE table_name_19 (record VARCHAR, november VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_19 WHERE november < 10 AND game < 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 example for did- is shown for a Consonant final stem of -ø?
### Context:
CREATE TABLE table_name_84 (example VARCHAR, consonant_final_stem VARCHAR) [/INST]
### Response:
SELECT example AS :_did_ FROM table_name_84 WHERE consonant_final_stem = "-ø" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Stadium against Bye?
### Context:
CREATE TABLE table_name_41 (stadium VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_name_41 WHERE opponent = "bye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Attendance on November 26?
### Context:
CREATE TABLE table_name_98 (attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_98 WHERE date = "november 26" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Week on December 17?
### Context:
CREATE TABLE table_name_12 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_12 WHERE date = "december 17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Result on September 24?
### Context:
CREATE TABLE table_name_21 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_21 WHERE date = "september 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 Stadium had a Result of w 20–16?
### Context:
CREATE TABLE table_name_25 (stadium VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_name_25 WHERE result = "w 20–16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which College has a Round of 11, and a Pick of 14?
### Context:
CREATE TABLE table_name_53 (college VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_53 WHERE round = 11 AND pick = 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 Name has a Round smaller than 11, and a Pick of 13?
### Context:
CREATE TABLE table_name_15 (name VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_15 WHERE round < 11 AND pick = 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:
Which Overall has a Round larger than 7, a Pick larger than 13, and a Name of tony hall?
### Context:
CREATE TABLE table_name_88 (overall INTEGER, name VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT AVG(overall) FROM table_name_88 WHERE round > 7 AND pick > 13 AND name = "tony hall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Round of 11, and a Position of wr?
### Context:
CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_42 WHERE round = 11 AND position = "wr" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 MUSIC WITH SAMBA?
### Context:
CREATE TABLE table_name_6 (music VARCHAR, style VARCHAR) [/INST]
### Response:
SELECT music FROM table_name_6 WHERE style = "samba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hometown of Devon Bookert who is 6-3 tall?
### Context:
CREATE TABLE table_name_62 (hometown VARCHAR, height VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_name_62 WHERE height = "6-3" AND name = "devon bookert" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 raymond floyd's lowest $?
### Context:
CREATE TABLE table_name_77 (money___ INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(money___) AS $__ FROM table_name_77 WHERE player = "raymond floyd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Player has a Score of 67-72-71-75=285?
### Context:
CREATE TABLE table_name_22 (player VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_22 WHERE score = 67 - 72 - 71 - 75 = 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money is the highest one that has a To par of –1, and a Score of 73-70-73-71=287?
### Context:
CREATE TABLE table_name_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT MAX(money___) AS $__ FROM table_name_56 WHERE to_par = "–1" AND score = 73 - 70 - 73 - 71 = 287 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To par has a Score of 67-72-71-75=285?
### Context:
CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Spain's score?
### Context:
CREATE TABLE table_name_24 (score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_24 WHERE country = "spain" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country is Jay Haas from when he had a to par of E?
### Context:
CREATE TABLE table_name_92 (country VARCHAR, to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_92 WHERE to_par = "e" AND player = "jay haas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country had a score of 72-67=139?
### Context:
CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_32 WHERE score = 72 - 67 = 139 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player was from England with a to par of +1?
### Context:
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_32 WHERE to_par = "+1" 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 was the to par when the score was 69-69=138?
### Context:
CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_35 WHERE score = 69 - 69 = 138 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par when South Africa was in T4 place?
### Context:
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_16 WHERE place = "t4" 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:
What is Location, when Result is 28-21?
### Context:
CREATE TABLE table_name_93 (location VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_93 WHERE result = "28-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 Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948?
### Context:
CREATE TABLE table_name_70 (date VARCHAR, year VARCHAR, location VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_70 WHERE location = "polo grounds" AND winner = "philadelphia eagles" AND 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 is Year, when Location is Philadelphia Municipal Stadium?
### Context:
CREATE TABLE table_name_89 (year VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_89 WHERE location = "philadelphia municipal stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Winner, when Location is Connie Mack Stadium, and when Year is 1946?
### Context:
CREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Result is 16-0?
### Context:
CREATE TABLE table_name_8 (date VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_8 WHERE result = "16-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 Result, when Year is 1948, and when Date is November 7?
### Context:
CREATE TABLE table_name_31 (result VARCHAR, year VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_31 WHERE year = 1948 AND date = "november 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:
Who did the Rangers play in a game that was later than 72 when the team record was 39-27-9?
### Context:
CREATE TABLE table_name_93 (opponent VARCHAR, game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_93 WHERE game > 72 AND record = "39-27-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 was the score at the game earlier than 66?
### Context:
CREATE TABLE table_name_56 (score VARCHAR, game INTEGER) [/INST]
### Response:
SELECT score FROM table_name_56 WHERE game < 66 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the largest number of Gold medals won when bronze won are 2 and total won are over 7 by Hungary?
### Context:
CREATE TABLE table_name_13 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT MAX(gold) FROM table_name_13 WHERE bronze = 2 AND nation = "hungary" AND total > 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's the average amount of Gold medals won when there were more than 1 silver medal won and less than 2 bronze medals won.
### Context:
CREATE TABLE table_name_53 (gold INTEGER, silver VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT AVG(gold) FROM table_name_53 WHERE silver > 1 AND bronze < 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:
With a gain of 1,380, what is the highest Avg/G?
### Context:
CREATE TABLE table_name_35 (avg_g INTEGER, gain VARCHAR) [/INST]
### Response:
SELECT MAX(avg_g) FROM table_name_35 WHERE gain = 1 OFFSET 380 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Thomas Clayton had a gain less than 71, what was the highest long value?
### Context:
CREATE TABLE table_name_40 (long INTEGER, name VARCHAR, gain VARCHAR) [/INST]
### Response:
SELECT MAX(long) FROM table_name_40 WHERE name = "thomas clayton" AND gain < 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:
What is the date of the game where Inter Milan was the opponent.
### Context:
CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_90 WHERE opponent = "inter milan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lanes used that had a winner from Ireland?
### Context:
CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lanes used for races with winners from Austria?
### Context:
CREATE TABLE table_name_75 (lane VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(lane) FROM table_name_75 WHERE country = "austria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lanes used in races with more than 1 heat and a winning mark of 7.25?
### Context:
CREATE TABLE table_name_60 (lane INTEGER, heat VARCHAR, mark VARCHAR) [/INST]
### Response:
SELECT MAX(lane) FROM table_name_60 WHERE heat > 1 AND mark = "7.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 mark set by Laura Turner?
### Context:
CREATE TABLE table_name_65 (mark VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT mark FROM table_name_65 WHERE name = "laura turner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did John Mahaffey have?
### Context:
CREATE TABLE table_name_52 (score VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_52 WHERE player = "john mahaffey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of the player with a score of 72-72-67=211?
### Context:
CREATE TABLE table_name_38 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_38 WHERE score = 72 - 72 - 67 = 211 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What place did Keith Clearwater get?
### Context:
CREATE TABLE table_name_99 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_99 WHERE player = "keith clearwater" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team at the Football Park match?
### Context:
CREATE TABLE table_name_18 (away_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_18 WHERE ground = "football park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round was Jerry Butler chosen?
### Context:
CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_58 WHERE player = "jerry butler" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the dance which had a style of contemporary jazz?
### Context:
CREATE TABLE table_name_1 (results VARCHAR, style VARCHAR) [/INST]
### Response:
SELECT results FROM table_name_1 WHERE style = "contemporary jazz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of the Pick # that has the CFL Team of edmonton?
### Context:
CREATE TABLE table_name_69 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT SUM(pick__number) FROM table_name_69 WHERE cfl_team = "edmonton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of Pick # that has the Position of sb, and the College of minnesota?
### Context:
CREATE TABLE table_name_20 (pick__number INTEGER, position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT SUM(pick__number) FROM table_name_20 WHERE position = "sb" AND college = "minnesota" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position that has the CFL Team of toronto?
### Context:
CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_31 WHERE cfl_team = "toronto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbent for Glenn Nye?
### Context:
CREATE TABLE table_name_62 (incumbent VARCHAR, democratic VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_62 WHERE democratic = "glenn nye" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 other party nominee that ran against Democratic Rick Boucher?
### Context:
CREATE TABLE table_name_98 (other_party VARCHAR, democratic VARCHAR) [/INST]
### Response:
SELECT other_party FROM table_name_98 WHERE democratic = "rick boucher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 other party nominee for district 3?
### Context:
CREATE TABLE table_name_35 (other_party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT other_party FROM table_name_35 WHERE district = 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:
The Home team of Sydney had which ground?
### Context:
CREATE TABLE table_name_1 (ground VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT ground FROM table_name_1 WHERE home_team = "sydney" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away team Kangaroos Crowd totals?
### Context:
CREATE TABLE table_name_56 (crowd INTEGER, away_team VARCHAR) [/INST]
### Response:
SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ground was Optus Oval, what is the Home team score?
### Context:
CREATE TABLE table_name_28 (home_team VARCHAR, ground VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_28 WHERE ground = "optus oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the court surface is clay and began in 1892?
### Context:
CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_46 WHERE court_surface = "clay" AND began = 1892 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.