text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Opponent of the game after October 28?
### Context:
CREATE TABLE table_name_56 (opponent VARCHAR, october INTEGER) [/INST]
### Response:
SELECT opponent FROM table_name_56 WHERE october > 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
### Context:
CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR, october VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_52 WHERE october < 31 AND game > 5 AND record = "2-3-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 opponent had a record of 37-27?
### Context:
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_19 WHERE record = "37-27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the game played at the Delta Center?
### Context:
CREATE TABLE table_name_9 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_9 WHERE location = "delta center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total games played at the Staples Center?
### Context:
CREATE TABLE table_name_56 (game INTEGER, location VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_56 WHERE location = "staples center" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score if the record was 38-30?
### Context:
CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_52 WHERE record = "38-30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the lowest Long that has the Yards 293, and the Returns smaller than 16?
### Context:
CREATE TABLE table_name_56 (long INTEGER, yards VARCHAR, returns VARCHAR) [/INST]
### Response:
SELECT MIN(long) FROM table_name_56 WHERE yards = 293 AND returns < 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:
Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
### Context:
CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date of the match against western province?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, opposing_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_52 WHERE opposing_team = "western province" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Rank has a Total larger than 30, and a Bronze of 14?
### Context:
CREATE TABLE table_name_61 (rank INTEGER, total VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT AVG(rank) FROM table_name_61 WHERE total > 30 AND bronze = 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:
How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1?
### Context:
CREATE TABLE table_name_26 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?
### Context:
CREATE TABLE table_name_80 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(gold) FROM table_name_80 WHERE silver < 14 AND rank > 8 AND bronze = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?
### Context:
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR) [/INST]
### Response:
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 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 Attendance, when Date is "26 December 2004"?
### Context:
CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_56 WHERE date = "26 december 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"?
### Context:
CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Venue, when Result is "0-0"?
### Context:
CREATE TABLE table_name_65 (venue VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_65 WHERE result = "0-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 Attendance, when Result is "2-4"?
### Context:
CREATE TABLE table_name_62 (attendance VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_62 WHERE result = "2-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's the total attendance of games against the New York Giants after week 13?
### Context:
CREATE TABLE table_name_51 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_51 WHERE week > 13 AND opponent = "new york giants" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest number of innings with less than 342 runs and more than 4 matches?
### Context:
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 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 average value in the 100s category when the high score is 196?
### Context:
CREATE TABLE table_name_86 (highest_score VARCHAR) [/INST]
### Response:
SELECT AVG(100 AS s) FROM table_name_86 WHERE highest_score = "196" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
### Context:
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
A Pick # larger than 339 and the College that has a Round of 14 is what?
### Context:
CREATE TABLE table_name_52 (college VARCHAR, round VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_52 WHERE round = 14 AND pick__number > 339 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Pick # of 331 went to which college?
### Context:
CREATE TABLE table_name_36 (college VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_36 WHERE pick__number = 331 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Pick # of 203 went to which college?
### Context:
CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_16 WHERE pick__number = 203 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 width feet in meeters for the truss with a source of nbi (2009)?
### Context:
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR) [/INST]
### Response:
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 width for hte truss with a source of zacher (1994)?
### Context:
CREATE TABLE table_name_8 (width_feet__m_ VARCHAR, source__year_ VARCHAR) [/INST]
### Response:
SELECT width_feet__m_ FROM table_name_8 WHERE source__year_ = "zacher (1994)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Articulatory class has and Aspirated stop of ㅍ?
### Context:
CREATE TABLE table_name_34 (articulatory_class VARCHAR, aspirated_stop VARCHAR) [/INST]
### Response:
SELECT articulatory_class FROM table_name_34 WHERE aspirated_stop = "ㅍ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Non- stop has an Aspirated stop of ㅎ?
### Context:
CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR) [/INST]
### Response:
SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the Non- stop is (ㆁ), what is the Articulatory Class?
### Context:
CREATE TABLE table_name_27 (articulatory_class VARCHAR, non__stop VARCHAR) [/INST]
### Response:
SELECT articulatory_class FROM table_name_27 WHERE non__stop = "(ㆁ)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the Plain stop is ㄷ, what is the Non- stop?
### Context:
CREATE TABLE table_name_92 (non__stop VARCHAR, plain_stop VARCHAR) [/INST]
### Response:
SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What round was Joe Sims picked?
### Context:
CREATE TABLE table_name_24 (round INTEGER, player VARCHAR) [/INST]
### Response:
SELECT AVG(round) FROM table_name_24 WHERE player = "joe sims" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Moe Gardner's pick?
### Context:
CREATE TABLE table_name_36 (pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pick FROM table_name_36 WHERE player = "moe gardner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round that had northwestern?
### Context:
CREATE TABLE table_name_18 (round INTEGER, school VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_name_18 WHERE school = "northwestern" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population (2010 census) has an Area (km 2) smaller than 147,307.00?
### Context:
CREATE TABLE table_name_11 (total_population__2010_census_ INTEGER, area__km_2__ INTEGER) [/INST]
### Response:
SELECT MAX(total_population__2010_census_) FROM table_name_11 WHERE area__km_2__ < 147 OFFSET 307.00 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Total population (2005 estimate) has a Province of west kalimantan (kalimantan barat), and an Area (km 2) smaller than 147,307.00?
### Context:
CREATE TABLE table_name_78 (total_population__2005_estimate_ INTEGER, province VARCHAR, area__km_2__ VARCHAR) [/INST]
### Response:
SELECT AVG(total_population__2005_estimate_) FROM table_name_78 WHERE province = "west kalimantan (kalimantan barat)" AND area__km_2__ < 147 OFFSET 307.00 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who is the opponent after march 21 and the game is 75?
### Context:
CREATE TABLE table_name_93 (opponent VARCHAR, march VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_93 WHERE march > 21 AND game = 75 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the game when march is 15?
### Context:
CREATE TABLE table_name_12 (game INTEGER, march VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_12 WHERE march = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game is higher than 66 on march 28?
### Context:
CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR, march VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_82 WHERE game > 66 AND march = 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the report for an away team of Sydney Spirit and score of 96-87?
### Context:
CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team with a score of 101-93?
### Context:
CREATE TABLE table_name_92 (home_team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_92 WHERE score = "101-93" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the Perth Wildcats as away team?
### Context:
CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_38 WHERE away_team = "perth wildcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date were the Melbourne Tigers the home team?
### Context:
CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_83 WHERE home_team = "melbourne tigers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which challenge loser has a Challenge Winner of roseny?
### Context:
CREATE TABLE table_name_81 (challenge_loser VARCHAR, challenge_winner VARCHAR) [/INST]
### Response:
SELECT challenge_loser FROM table_name_81 WHERE challenge_winner = "roseny" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode has a Challenge Winner of berto?
### Context:
CREATE TABLE table_name_50 (episode VARCHAR, challenge_winner VARCHAR) [/INST]
### Response:
SELECT episode FROM table_name_50 WHERE challenge_winner = "berto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner has a Challenge Loser of alexcy?
### Context:
CREATE TABLE table_name_44 (challenge_winner VARCHAR, challenge_loser VARCHAR) [/INST]
### Response:
SELECT challenge_winner FROM table_name_44 WHERE challenge_loser = "alexcy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner has a Challenge Loser of gisel?
### Context:
CREATE TABLE table_name_19 (challenge_winner VARCHAR, challenge_loser VARCHAR) [/INST]
### Response:
SELECT challenge_winner FROM table_name_19 WHERE challenge_loser = "gisel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the 2007 WCC when Sun Yue was the alternate?
### Context:
CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What event has the result of 7th (5-6)?
### Context:
CREATE TABLE table_name_82 (event VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_82 WHERE result = "7th (5-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:
Who was the lead for the 2008 WCC?
### Context:
CREATE TABLE table_name_5 (lead VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT lead FROM table_name_5 WHERE event = "2008 wcc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lead for the 2009 WCC when Wang Bingyu news was the skip?
### Context:
CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What event had Wang Bingyu for the skip?
### Context:
CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_14 WHERE skip = "wang bingyu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What event was Sun Yue the alternate and wang bingyu(3rd) the skip?
### Context:
CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
### Context:
CREATE TABLE table_name_27 (team_2 VARCHAR) [/INST]
### Response:
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FIRST LEG OF TUILLA?
### Context:
CREATE TABLE table_name_79 (team_1 VARCHAR) [/INST]
### Response:
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Game of 49?
### Context:
CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_18 WHERE game = 49 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High points for Team @ portland?
### Context:
CREATE TABLE table_name_75 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_name_75 WHERE team = "@ portland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High assists for Team houston?
### Context:
CREATE TABLE table_name_40 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_name_40 WHERE team = "houston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High assists for February 2?
### Context:
CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_name_12 WHERE date = "february 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 game did the Buffalo Bills' opponents earn more than 28 points?
### Context:
CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER) [/INST]
### Response:
SELECT game FROM table_name_59 WHERE opponents > 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the year that China will have a building completed?
### Context:
CREATE TABLE table_name_79 (year_completion_expected VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT year_completion_expected FROM table_name_79 WHERE country = "china" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 buildings for China?
### Context:
CREATE TABLE table_name_15 (name VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_15 WHERE country = "china" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names for projects that will be completed after 2016?
### Context:
CREATE TABLE table_name_65 (name VARCHAR, year_completion_expected INTEGER) [/INST]
### Response:
SELECT name FROM table_name_65 WHERE year_completion_expected > 2016 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high is the Goldin Finance 117 building currently being build in China?
### Context:
CREATE TABLE table_name_4 (pinnacle_height_planned VARCHAR, country VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT pinnacle_height_planned FROM table_name_4 WHERE country = "china" AND name = "goldin finance 117" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 City / State, when Series is ATCC Round 3?
### Context:
CREATE TABLE table_name_56 (city___state VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT city___state FROM table_name_56 WHERE series = "atcc round 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Date, when Series is Amscar Round 3?
### Context:
CREATE TABLE table_name_36 (date VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_36 WHERE series = "amscar round 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Winner, when Circuit is Mallala Motor Sport Park, and when Series is ASTC Round 6?
### Context:
CREATE TABLE table_name_95 (winner VARCHAR, circuit VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT winner FROM table_name_95 WHERE circuit = "mallala motor sport park" AND series = "astc round 6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is City / State, when Winner is Mal Rose, and when Date is 20 Jul?
### Context:
CREATE TABLE table_name_93 (city___state VARCHAR, winner VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT city___state FROM table_name_93 WHERE winner = "mal rose" AND date = "20 jul" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 City / State, when Circuit is Eastern Creek Raceway, and when Winner is Michael Donaher?
### Context:
CREATE TABLE table_name_83 (city___state VARCHAR, circuit VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT city___state FROM table_name_83 WHERE circuit = "eastern creek raceway" AND winner = "michael donaher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Series is ATCC Round 5?
### Context:
CREATE TABLE table_name_1 (date VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_1 WHERE series = "atcc round 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 sum of wins for casey mears when the player ranked 22nd and was in teh top fives 3 times?
### Context:
CREATE TABLE table_name_35 (wins INTEGER, rank VARCHAR, top_fives VARCHAR) [/INST]
### Response:
SELECT SUM(wins) FROM table_name_35 WHERE rank = "22nd" AND top_fives = 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 top fives in 2010 when casey mears had more than 0 wins?
### Context:
CREATE TABLE table_name_29 (top_fives VARCHAR, year VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT COUNT(top_fives) FROM table_name_29 WHERE year = "2010" AND wins > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of wins when casey mears ranked 36th and had more than 0 top fives?
### Context:
CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_name_62 WHERE rank = "36th" AND top_fives > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of top fives when casey mears had more than 1 poles and top tens less than 9?
### Context:
CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR) [/INST]
### Response:
SELECT SUM(top_fives) FROM table_name_54 WHERE poles > 1 AND top_tens < 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's k. j. choi's to par?
### Context:
CREATE TABLE table_name_2 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_2 WHERE player = "k. j. choi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smaller than 69, and a Place of t1?
### Context:
CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player of emlyn aubrey?
### Context:
CREATE TABLE table_name_22 (to_par VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_22 WHERE player = "emlyn aubrey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Score has a Place of t1, and a Player of scott simpson?
### Context:
CREATE TABLE table_name_30 (score VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_name_30 WHERE place = "t1" AND player = "scott simpson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 larger than 68?
### Context:
CREATE TABLE table_name_42 (to_par VARCHAR, score INTEGER) [/INST]
### Response:
SELECT to_par FROM table_name_42 WHERE score > 68 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games were on December 5?
### Context:
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_80 WHERE date = "december 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 day did Phoenix play?
### Context:
CREATE TABLE table_name_32 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_32 WHERE team = "phoenix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Site, when Date is "November 13"?
### Context:
CREATE TABLE table_name_15 (site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT site FROM table_name_15 WHERE date = "november 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 SIte, when Date is "September 13"?
### Context:
CREATE TABLE table_name_67 (site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT site FROM table_name_67 WHERE date = "september 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 Attendance, when Opponent is "At Syracuse"?
### Context:
CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_79 WHERE opponent = "at syracuse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Site, when Opponent is "All times are in eastern."?
### Context:
CREATE TABLE table_name_13 (site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT site FROM table_name_13 WHERE opponent = "all times are in eastern." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Site is "Louisiana Superdome • New Orleans, LA"?
### Context:
CREATE TABLE table_name_65 (date VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_65 WHERE site = "louisiana superdome • new orleans, la" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 January, when Game is less than 46, when Score is "5 - 3", and when Record is "15-22-8"?
### Context:
CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-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 total number of Game, when Record is "11-17-7"?
### Context:
CREATE TABLE table_name_34 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Opponent, when January is greater than 19, and when Score is "7 - 2"?
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, january VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_94 WHERE january > 19 AND score = "7 - 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 are the notes with a less than 3 rank at Yuvileiny Stadium (sumy)?
### Context:
CREATE TABLE table_name_9 (notes VARCHAR, rank VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT notes FROM table_name_9 WHERE rank < 3 AND stadium = "yuvileiny stadium (sumy)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total of 160?
### Context:
CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_19 WHERE total = 160 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does charles coody play for?
### Context:
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_21 WHERE player = "charles coody" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division titles does the team with 23 playoff appearances and more than 1 conference titles have?
### Context:
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR) [/INST]
### Response:
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 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 average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?
### Context:
CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR) [/INST]
### Response:
SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 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 hame has points larger than 81?
### Context:
CREATE TABLE table_name_44 (game INTEGER, points INTEGER) [/INST]
### Response:
SELECT SUM(game) FROM table_name_44 WHERE points > 81 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round values are associated with Cleveland McCrae?
### Context:
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team is after 1998 with a start of dnq?
### Context:
CREATE TABLE table_name_87 (team VARCHAR, year VARCHAR, start VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_87 WHERE year > 1998 AND start = "dnq" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 start when the finish is 1?
### Context:
CREATE TABLE table_name_63 (start VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT start FROM table_name_63 WHERE finish = "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's the latest year with a start of 3 and a finish of 40 for the morgan-mcclure team?
### Context:
CREATE TABLE table_name_1 (year INTEGER, finish VARCHAR, start VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_1 WHERE start = "3" AND team = "morgan-mcclure" AND finish = "40" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals were scored on the goalkeeper with fewer than 37 matches and an average of 1.5?
### Context:
CREATE TABLE table_name_24 (goals VARCHAR, matches VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT goals FROM table_name_24 WHERE matches < 37 AND average = 1.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:
How many matches did Carlos Kameni play in, who had an average larger than 1.27?
### Context:
CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.