text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the record in the game where Greg Monroe (8) did the high rebounds?
### Context:
CREATE TABLE table_27755603_2 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT record FROM table_27755603_2 WHERE high_rebounds = "Greg Monroe (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:
Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?
### Context:
CREATE TABLE table_27755603_2 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (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:
Who was the opponent in the game in which Austin Daye (16) did the most high points?
### Context:
CREATE TABLE table_27755603_2 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT team FROM table_27755603_2 WHERE high_points = "Austin Daye (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:
Where was the game in which Will Bynum (5) did the high assists played?
### Context:
CREATE TABLE table_27755603_2 (location_attendance VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27755603_2 WHERE high_assists = "Will Bynum (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 team when the high assists was stephen curry (7) and the high points was monta ellis (27)?
### Context:
CREATE TABLE table_27755784_10 (team VARCHAR, high_assists VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT team FROM table_27755784_10 WHERE high_assists = "Stephen Curry (7)" AND high_points = "Monta Ellis (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 is the highest game number?
### Context:
CREATE TABLE table_27755784_10 (game INTEGER) [/INST]
### Response:
SELECT MAX(game) FROM table_27755784_10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score when the team is @ dallas?
### Context:
CREATE TABLE table_27755784_10 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_27755784_10 WHERE team = "@ Dallas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the high rebounds for january 14
### Context:
CREATE TABLE table_27755603_8 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27755603_8 WHERE date = "January 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:
Name the number of score for january 12
### Context:
CREATE TABLE table_27755603_8 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_27755603_8 WHERE date = "January 12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)
### Context:
CREATE TABLE table_27755603_8 (location_attendance VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27755603_8 WHERE high_points = "Austin Daye , Tracy McGrady , Tayshaun Prince (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:
Name the number of date for stephen curry , dorell wright (27)
### Context:
CREATE TABLE table_27755784_11 (date VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_27755784_11 WHERE high_points = "Stephen Curry , Dorell Wright (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:
Name the high rebounds for 77 game
### Context:
CREATE TABLE table_27755784_11 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27755784_11 WHERE game = 77 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record after the game on November 10?
### Context:
CREATE TABLE table_27755784_6 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27755784_6 WHERE date = "November 10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score when the hight points is Monta Ellis (29)?
### Context:
CREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT score FROM table_27755784_8 WHERE high_points = "Monta Ellis (29)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many teams have hight points listed as David Lee (31)?
### Context:
CREATE TABLE table_27755784_8 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_27755784_8 WHERE high_points = "David Lee (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 record when the high points is listed as Stephen Curry (32)?
### Context:
CREATE TABLE table_27755784_8 (record VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_27755784_8 WHERE high_points = "Stephen Curry (32)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record when the date is January 7?
### Context:
CREATE TABLE table_27755784_8 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27755784_8 WHERE date = "January 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date when the team is listed as New Orleans?
### Context:
CREATE TABLE table_27755784_8 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_27755784_8 WHERE team = "New Orleans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team where Darren Collison (7) scored high assists?
### Context:
CREATE TABLE table_27756164_11 (team VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT team FROM table_27756164_11 WHERE high_assists = "Darren Collison (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:
When did the Roy Hibbert (27) did the high points?
### Context:
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (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:
In how many different games did Roy Hibbert (16) did the most high rebounds?
### Context:
CREATE TABLE table_27756164_2 (game VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_27756164_2 WHERE high_rebounds = "Roy Hibbert (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:
What was the score of the game in which Danny Granger (30) did the high points?
### Context:
CREATE TABLE table_27756164_2 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT score FROM table_27756164_2 WHERE high_points = "Danny Granger (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:
Who scored the most points when the Bucks played against Houston?
### Context:
CREATE TABLE table_27756014_6 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27756014_6 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 date was game number 22 on?
### Context:
CREATE TABLE table_27756014_6 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_27756014_6 WHERE game = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people scored the most points during the game on December 10?
### Context:
CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the team is chicago what is the location attendence?
### Context:
CREATE TABLE table_27756164_8 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27756164_8 WHERE team = "Chicago" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score when the team is Orlando?
### Context:
CREATE TABLE table_27756164_8 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_27756164_8 WHERE team = "Orlando" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the game on March 26?
### Context:
CREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_27756572_10 WHERE date = "March 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 record when the Clippers played Philadelphia?
### Context:
CREATE TABLE table_27756572_10 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_27756572_10 WHERE team = "Philadelphia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What location and attendance were there for game 5?
### Context:
CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27756474_2 WHERE game = 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:
Which game did rudy gay (12) have the highest points?
### Context:
CREATE TABLE table_27756474_2 (game VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT game FROM table_27756474_2 WHERE high_points = "Rudy Gay (12)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many high assists where there for the team of caja laboral?
### Context:
CREATE TABLE table_27756474_2 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_27756474_2 WHERE team = "Caja Laboral" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which game did marc gasol (10) have the high rebounds?
### Context:
CREATE TABLE table_27756474_2 (game VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT game FROM table_27756474_2 WHERE high_rebounds = "Marc Gasol (10)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high assists on october 6?
### Context:
CREATE TABLE table_27756474_2 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27756474_2 WHERE date = "October 6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of high assists for fedexforum 11,283
### Context:
CREATE TABLE table_27756474_6 (high_assists VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_27756474_6 WHERE location_attendance = "FedExForum 11,283" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most game for us airways center 16,470
### Context:
CREATE TABLE table_27756474_6 (game INTEGER, location_attendance VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27756474_6 WHERE location_attendance = "US Airways Center 16,470" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 and what were the high points player for the game against Detroit?
### Context:
CREATE TABLE table_27756572_6 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27756572_6 WHERE team = "Detroit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Centurions play the Rhein Fire?
### Context:
CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(game_site) FROM table_27764201_2 WHERE opponent = "Rhein Fire" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the Centurions play the Hamburg Sea Devils?
### Context:
CREATE TABLE table_27764201_2 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_27764201_2 WHERE opponent = "Hamburg Sea Devils" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What time was the kickoff against the Frankfurt Galaxy?
### Context:
CREATE TABLE table_27764201_2 (kickoff VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT kickoff FROM table_27764201_2 WHERE opponent = "Frankfurt Galaxy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total catches did the player with no. 46 have?
### Context:
CREATE TABLE table_27770426_1 (catches VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(catches) FROM table_27770426_1 WHERE no = 46 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the manager who was replaced by Jakob Michelsen depart?
### Context:
CREATE TABLE table_27782699_3 (manner_of_departure VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_27782699_3 WHERE replaced_by = "Jakob Michelsen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 AB team's position in table?
### Context:
CREATE TABLE table_27782699_3 (position_in_table VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_27782699_3 WHERE team = "AB" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date did Kim Fogh replace the previous manager?
### Context:
CREATE TABLE table_27782699_3 (date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_27782699_3 WHERE replaced_by = "Kim Fogh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vacancy date for Thomas Thomasberg?
### Context:
CREATE TABLE table_27782699_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_27782699_3 WHERE outgoing_manager = "Thomas Thomasberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manager was replaced by Thomas Thomasberg?
### Context:
CREATE TABLE table_27782699_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_27782699_3 WHERE replaced_by = "Thomas Thomasberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total dismissals did the player for Guyana have?
### Context:
CREATE TABLE table_27771406_1 (total_dismissals INTEGER, club VARCHAR) [/INST]
### Response:
SELECT MAX(total_dismissals) FROM table_27771406_1 WHERE club = "Guyana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for what club had 2 tests?
### Context:
CREATE TABLE table_27771406_1 (club VARCHAR, tests VARCHAR) [/INST]
### Response:
SELECT club FROM table_27771406_1 WHERE tests = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the most amount of stumpings any player had?
### Context:
CREATE TABLE table_27771406_1 (stumpings INTEGER) [/INST]
### Response:
SELECT MAX(stumpings) FROM table_27771406_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 club did Cyril Christiani play for?
### Context:
CREATE TABLE table_27771406_1 (club VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT club FROM table_27771406_1 WHERE player = "Cyril Christiani" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catches did Clifford McWatt have?
### Context:
CREATE TABLE table_27771406_1 (catches INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(catches) FROM table_27771406_1 WHERE player = "Clifford McWatt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the points for top tens being 24 and ownder david pearson
### Context:
CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR) [/INST]
### Response:
SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the starts for bobby labonte
### Context:
CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT starts FROM table_27786562_1 WHERE driver = "Bobby Labonte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the poles for season 2006
### Context:
CREATE TABLE table_27786562_1 (poles VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT poles FROM table_27786562_1 WHERE season = 2006 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the production code of the episode no. 55 in the series?
### Context:
CREATE TABLE table_27776266_1 (production_code VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_27776266_1 WHERE no_in_series = 55 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production code of the episode with an audience of 14.79 million in the US?
### Context:
CREATE TABLE table_27776266_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_27776266_1 WHERE us_viewers__million_ = "14.79" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode with an audience of 14.11 million?
### Context:
CREATE TABLE table_27776266_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27776266_1 WHERE us_viewers__million_ = "14.11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the title of the episode with a production code of 3x6404?
### Context:
CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_27776266_1 WHERE production_code = "3X6404" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school players have a number of 255
### Context:
CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 255 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what educational institute does wes swinson attend
### Context:
CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_10 WHERE player = "Wes Swinson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part on the team does rick schuhwerk play
### Context:
CREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_2781227_10 WHERE player = "Rick Schuhwerk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For college/junior/club team is brandon wheat kings (whl) mention all the player name
### Context:
CREATE TABLE table_2781227_4 (player VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2781227_4 WHERE college_junior_club_team = "Brandon Wheat Kings (WHL)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For player is jamal mayers mention the minimum pick
### Context:
CREATE TABLE table_2781227_4 (pick INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(pick) FROM table_2781227_4 WHERE player = "Jamal Mayers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For player is john jakopin mention the total number of position
### Context:
CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For nhl team is san jose sharks mention all the college/junior/club team
### Context:
CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_4 WHERE nhl_team = "San Jose Sharks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For player is adam wiesel mention all the college/junior/club team
### Context:
CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_4 WHERE player = "Adam Wiesel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values are displayed under pick for Vlastimil Kroupa?
### Context:
CREATE TABLE table_2781227_2 (pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_2781227_2 WHERE player = "Vlastimil Kroupa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions does Janne Niinimaa play?
### Context:
CREATE TABLE table_2781227_2 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_2781227_2 WHERE player = "Janne Niinimaa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams does Lee Sorochan play for?
### Context:
CREATE TABLE table_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(college_junior_club_team) FROM table_2781227_2 WHERE player = "Lee Sorochan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What player belongs to the Chicago Blackhawks?
### Context:
CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams does Maxim Bets play for?
### Context:
CREATE TABLE table_2781227_2 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(nhl_team) FROM table_2781227_2 WHERE player = "Maxim Bets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum pick by the Florida Panthers?
### Context:
CREATE TABLE table_2781227_11 (pick INTEGER, nhl_team VARCHAR) [/INST]
### Response:
SELECT MIN(pick) FROM table_2781227_11 WHERE nhl_team = "Florida Panthers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What NHL team picked Ryan Meade for the draft?
### Context:
CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_2781227_7 WHERE player = "Ryan Meade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college team did Ryan Golden come from?
### Context:
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different nationalities is pick number 179?
### Context:
CREATE TABLE table_2781227_7 (nationality VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT COUNT(nationality) FROM table_2781227_7 WHERE pick = 179 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college team did the pick for Pittsburgh Penguins come from?
### Context:
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_7 WHERE nhl_team = "Pittsburgh Penguins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What NHL team picked Tom White?
### Context:
CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_2781227_7 WHERE player = "Tom White" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many weeks in the top 10 was spent by a song performed by Peter Kay?
### Context:
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR) [/INST]
### Response:
SELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = "Peter Kay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long has the longest song spent in the top 10?
### Context:
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER) [/INST]
### Response:
SELECT MAX(weeks_in_top_10) FROM table_27813010_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 college/junior/club team did dmitri gorenko play for?
### Context:
CREATE TABLE table_2781227_9 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2781227_9 WHERE player = "Dmitri Gorenko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position does krylja sovetov (russia) play?
### Context:
CREATE TABLE table_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_2781227_9 WHERE college_junior_club_team = "Krylja Sovetov (Russia)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position(s) does barrie moore play?
### Context:
CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pac-12 sports are shown for california polytechnic state university?
### Context:
CREATE TABLE table_27816698_2 (pac_12_sports VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(pac_12_sports) FROM table_27816698_2 WHERE institution = "California Polytechnic State University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the institution in boise, idaho founded?
### Context:
CREATE TABLE table_27816698_2 (founded VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT founded FROM table_27816698_2 WHERE location = "Boise, Idaho" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference did boise state university play at?
### Context:
CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT current_conference FROM table_27816698_2 WHERE institution = "Boise State University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the Titans founded?
### Context:
CREATE TABLE table_27816698_2 (founded INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = "Titans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution was founded in 1932?
### Context:
CREATE TABLE table_27816698_2 (institution VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT institution FROM table_27816698_2 WHERE founded = 1932 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution was located in bakersfield, california?
### Context:
CREATE TABLE table_27816698_2 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_27816698_2 WHERE location = "Bakersfield, California" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least games played for 6 points
### Context:
CREATE TABLE table_27816332_2 (games_played INTEGER, total_points VARCHAR) [/INST]
### Response:
SELECT MIN(games_played) FROM table_27816332_2 WHERE total_points = 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 is the manufacturer is no.50?
### Context:
CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_27821519_1 WHERE no = 50 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes did Katie Palmer write?
### Context:
CREATE TABLE table_27823058_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_27823058_1 WHERE written_by = "Katie Palmer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series number ?
### Context:
CREATE TABLE table_27823058_1 (series__number INTEGER) [/INST]
### Response:
SELECT MAX(series__number) FROM table_27823058_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:
when changsha 長沙 is the commandery what is the commandery capital?
### Context:
CREATE TABLE table_278229_1 (commandery VARCHAR) [/INST]
### Response:
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yidu 宜都 is the commandery what is the lowest number of countries?
### Context:
CREATE TABLE table_278229_1 (no_of_counties INTEGER, commandery VARCHAR) [/INST]
### Response:
SELECT MIN(no_of_counties) FROM table_278229_1 WHERE commandery = "Yidu 宜都" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nanhai 南海 is the commandery what is the commandery capital?
### Context:
CREATE TABLE table_278229_1 (commandery VARCHAR) [/INST]
### Response:
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Nanhai 南海" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gaoliang 高涼 is the commandery what is the commandery capital?
### Context:
CREATE TABLE table_278229_1 (commandery VARCHAR) [/INST]
### Response:
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Gaoliang 高涼" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title of episode number 9-10?
### Context:
CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT title FROM table_27832075_2 WHERE episode__number = "9-10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many million U.S. viewers wtched episode 69 of the series?
### Context:
CREATE TABLE table_27832075_2 (us_viewers__millions_ VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_27832075_2 WHERE series__number = 69 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed episode number 23 in the season?
### Context:
CREATE TABLE table_27832075_2 (directed_by VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of episode number 12 of the season?
### Context:
CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR) [/INST]
### Response:
SELECT title FROM table_27832075_2 WHERE episode__number = "12" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.