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 manner of departure when the date of vacancy is 28 september 2010?
### Context:
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of appointment when the date of vacancy is 24 november 2010?
### Context:
CREATE TABLE table_27683516_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_27683516_3 WHERE date_of_vacancy = "24 November 2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing manager when the date of vacancy is 10 october 2010?
### Context:
CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_27683516_3 WHERE date_of_vacancy = "10 October 2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 table when the team is slovan bratislava?
### Context:
CREATE TABLE table_27683516_3 (table VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT table FROM table_27683516_3 WHERE team = "Slovan Bratislava" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 come to visit when the 1654 exhibitions
### Context:
CREATE TABLE table_27685921_1 (visitors__total_ VARCHAR, exhibitors__total_ VARCHAR) [/INST]
### Response:
SELECT COUNT(visitors__total_) FROM table_27685921_1 WHERE exhibitors__total_ = 1654 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time where exhibitions is 1701
### Context:
CREATE TABLE table_27685921_1 (year INTEGER, exhibitors__total_ VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high points on march 14?
### Context:
CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27700375_10 WHERE date = "March 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:
who had high rebounds at game 69?
### Context:
CREATE TABLE table_27700375_10 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27700375_10 WHERE game = 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 were the 76ers opponents on January 17?
### Context:
CREATE TABLE table_27698941_8 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_27698941_8 WHERE date = "January 17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many players held the high point records for game 34?
### Context:
CREATE TABLE table_27698941_8 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_27698941_8 WHERE game = 34 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What the win - loss recored for January 7?
### Context:
CREATE TABLE table_27698941_8 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27698941_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:
How many people led in points during the game on October 5?
### Context:
CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 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:
Name the date for the palace of auburn hills 14,554
### Context:
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game for l 109β116 (ot)
### Context:
CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109β116 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 charlotte
### Context:
CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27700375_11 WHERE team = "Charlotte" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wells fargo center 16,695
### Context:
CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got the high rebounds if Brook Lopez (15) earned the high points?
### Context:
CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27700375_8 WHERE high_points = "Brook Lopez (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:
Who got high assists for team @ Indiana?
### Context:
CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record data were written when Devin Harris (6) was High Assists?
### Context:
CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_27700375_8 WHERE high_assists = "Devin Harris (6)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games were held on January 5?
### Context:
CREATE TABLE table_27700375_8 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_27700375_8 WHERE date = "January 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:
Who had highest assists at the game against Houston?
### Context:
CREATE TABLE table_27700530_11 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27700530_11 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 is the date of the game 23?
### Context:
CREATE TABLE table_27700375_7 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_27700375_7 WHERE game = 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:
If the high points were by Anthony Morrow (24), what was the team?
### Context:
CREATE TABLE table_27700375_6 (team VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT team FROM table_27700375_6 WHERE high_points = "Anthony Morrow (24)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In how many games were the high rebounds made by Derrick Favors (8)?
### Context:
CREATE TABLE table_27700375_6 (game VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_27700375_6 WHERE high_rebounds = "Derrick Favors (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:
If the location attendance was Quicken Loans Arena 20,562, who had the High Assists?
### Context:
CREATE TABLE table_27700375_6 (high_assists VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27700375_6 WHERE location_attendance = "Quicken Loans Arena 20,562" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number was located in Prudential Center 15,086?
### Context:
CREATE TABLE table_27700375_6 (game INTEGER, location_attendance VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27700375_6 WHERE location_attendance = "Prudential Center 15,086" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games did Terrence Williams (9) have High assists?
### Context:
CREATE TABLE table_27700375_6 (score VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (9)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and attendance of the game when gilbert arenas (9) had the high assists?
### Context:
CREATE TABLE table_27700530_10 (location_attendance VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (9)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date where the record was 18β12?
### Context:
CREATE TABLE table_27700530_10 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_27700530_10 WHERE record = "18β12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date when jameer nelson (10) had the high assists?
### Context:
CREATE TABLE table_27700530_10 (date VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT date FROM table_27700530_10 WHERE high_assists = "Jameer Nelson (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 record when jameer nelson (19) had the high points?
### Context:
CREATE TABLE table_27700530_10 (record VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_27700530_10 WHERE high_points = "Jameer Nelson (19)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location and attendance on March 9?
### Context:
CREATE TABLE table_27700530_13 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27700530_13 WHERE date = "March 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:
How many games were numbered 13?
### Context:
CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team's record when they played minnesota?
### Context:
CREATE TABLE table_27700530_9 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_27700530_9 WHERE team = "Minnesota" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team's record on november 10?
### Context:
CREATE TABLE table_27700530_9 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27700530_9 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:
Who had the high assists on March 26?
### Context:
CREATE TABLE table_27704187_10 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27704187_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 season record when the team played against Milwaukee?
### Context:
CREATE TABLE table_27704187_10 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_27704187_10 WHERE team = "Milwaukee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points in game is 81?
### Context:
CREATE TABLE table_27703902_9 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27703902_9 WHERE game = 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:
What game number was played on april 8?
### Context:
CREATE TABLE table_27704187_11 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27704187_11 WHERE date = "April 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 had the high rebounds on april 8?
### Context:
CREATE TABLE table_27704187_11 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27704187_11 WHERE date = "April 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:
Where did they play and how many attended game number 75?
### Context:
CREATE TABLE table_27704187_11 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27704187_11 WHERE 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:
Who did the high rebounds in the game against Boston?
### Context:
CREATE TABLE table_27704187_7 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27704187_7 WHERE team = "Boston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 against Detroit played?
### Context:
CREATE TABLE table_27704187_7 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27704187_7 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:
What was the date of game #3?
### Context:
CREATE TABLE table_27712180_13 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_27712180_13 WHERE game = 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 was the name of the opposing team on the May 6 game?
### Context:
CREATE TABLE table_27712180_13 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_27712180_13 WHERE date = "May 6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many data were given on 2010/2011 in Brazil?
### Context:
CREATE TABLE table_27712_2 (country VARCHAR) [/INST]
### Response:
SELECT COUNT(2010 AS _11) FROM table_27712_2 WHERE country = "Brazil" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall goals were scored at moses mabhida stadium?
### Context:
CREATE TABLE table_27708484_3 (overall_goals_scored INTEGER, stadium VARCHAR) [/INST]
### Response:
SELECT MAX(overall_goals_scored) FROM table_27708484_3 WHERE stadium = "Moses Mabhida stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many matches were played that average goals scored 1.25?
### Context:
CREATE TABLE table_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR) [/INST]
### Response:
SELECT COUNT(matches_played) FROM table_27708484_3 WHERE average_goals_scored_per_match = "1.25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the minimum overall attendance where the goals scored were 19?
### Context:
CREATE TABLE table_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR) [/INST]
### Response:
SELECT MIN(overall_attendance) FROM table_27708484_3 WHERE overall_goals_scored = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elevation for port elizabeth?
### Context:
CREATE TABLE table_27708484_3 (elevation VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT elevation FROM table_27708484_3 WHERE city = "Port Elizabeth" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 per match wheree the elevation is 1500 m?
### Context:
CREATE TABLE table_27708484_3 (average_attendance_per_match VARCHAR, elevation VARCHAR) [/INST]
### Response:
SELECT average_attendance_per_match FROM table_27708484_3 WHERE elevation = "1500 m" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the date november 19?
### Context:
CREATE TABLE table_27712180_6 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27712180_6 WHERE date = "November 19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for w 90β77 (ot)
### Context:
CREATE TABLE table_27712180_7 (high_points VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27712180_7 WHERE score = "W 90β77 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for december 18
### Context:
CREATE TABLE table_27712180_7 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_27712180_7 WHERE date = "December 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high assists against detroit?
### Context:
CREATE TABLE table_27712702_11 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27712702_11 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:
Who was the other team on march 27?
### Context:
CREATE TABLE table_27712702_11 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_27712702_11 WHERE date = "March 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 was the game number where the record was 46β24?
### Context:
CREATE TABLE table_27712702_11 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27712702_11 WHERE record = "46β24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the game number on march 27?
### Context:
CREATE TABLE table_27712702_11 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_27712702_11 WHERE date = "March 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 largest game number?
### Context:
CREATE TABLE table_27712702_11 (game INTEGER) [/INST]
### Response:
SELECT MAX(game) FROM table_27712702_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:
How many high rebounds took place on December 8?
### Context:
CREATE TABLE table_27712451_6 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 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 are December 10's high points?
### Context:
CREATE TABLE table_27712451_6 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27712451_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:
How many entries are shown for high rebounds for the philips arena 20,024 game?
### Context:
CREATE TABLE table_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game with a score of w 94β88 (ot)?
### Context:
CREATE TABLE table_27713030_11 (team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT team FROM table_27713030_11 WHERE score = "W 94β88 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record for the location and attendance of american airlines arena 19,825?
### Context:
CREATE TABLE table_27713030_11 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_27713030_11 WHERE location_attendance = "American Airlines Arena 19,825" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the high points on April 8?
### Context:
CREATE TABLE table_27713030_12 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27713030_12 WHERE date = "April 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:
How many different items appear in the high rebounds column in game 80?
### Context:
CREATE TABLE table_27713030_12 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_27713030_12 WHERE game = 80 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date when Boston was the team?
### Context:
CREATE TABLE table_27713030_12 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_27713030_12 WHERE team = "Boston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was played on October 13?
### Context:
CREATE TABLE table_27713030_3 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_27713030_3 WHERE date = "October 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and attendance on October 18?
### Context:
CREATE TABLE table_27713030_3 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27713030_3 WHERE date = "October 18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opposing team in game 6?
### Context:
CREATE TABLE table_27713030_3 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_27713030_3 WHERE game = 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 game in the season does this list start?
### Context:
CREATE TABLE table_27713030_7 (game INTEGER) [/INST]
### Response:
SELECT MIN(game) FROM table_27713030_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 was the team's score against detroit?
### Context:
CREATE TABLE table_27713030_8 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_27713030_8 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 games were held on March 12?
### Context:
CREATE TABLE table_27715173_10 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_27715173_10 WHERE date = "March 12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team score when Tim Duncan (12) got the high rebounds?
### Context:
CREATE TABLE table_27715173_10 (score VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT score FROM table_27715173_10 WHERE high_rebounds = "Tim Duncan (12)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the high rebounder on game 1?
### Context:
CREATE TABLE table_27715173_12 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27715173_12 WHERE game = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for series 2β3?
### Context:
CREATE TABLE table_27715173_12 (score VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT score FROM table_27715173_12 WHERE series = "2β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:
who are the directors of the episode that had 20.5 millions of north american viewers?
### Context:
CREATE TABLE table_27714573_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27714573_1 WHERE us_viewers__millions_ = "20.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 millions of north american viewers had the episode whose director was Michael Lembeck?
### Context:
CREATE TABLE table_27714573_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_27714573_1 WHERE directed_by = "Michael Lembeck" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the writers of the episode whose production code(s) is 225560?
### Context:
CREATE TABLE table_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27714573_1 WHERE production_code_s_ = 225560 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the last episode in the series written by Gregory S. Malins?
### Context:
CREATE TABLE table_27714985_1 (no_s__in_series INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_s__in_series) FROM table_27714985_1 WHERE written_by = "Gregory S. Malins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 broadcast date of episodes that were watched by 23.2 million viewers?
### Context:
CREATE TABLE table_27714985_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_27714985_1 WHERE us_viewers__millions_ = "23.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 maximum production code of an episode written by Patty Lin?
### Context:
CREATE TABLE table_27714985_1 (production_code_s_ INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode number of the episode whose production code is 226407?
### Context:
CREATE TABLE table_27714985_1 (no_s__in_season INTEGER, production_code_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_s__in_season) FROM table_27714985_1 WHERE production_code_s_ = 226407 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Wha episode number in the series had 24.8 million u.s. viewers?
### Context:
CREATE TABLE table_27713890_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_27713890_1 WHERE us_viewers__millions_ = "24.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 production code that had 24.8 million u.s. viewers?
### Context:
CREATE TABLE table_27713890_1 (production_code INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(production_code) FROM table_27713890_1 WHERE us_viewers__millions_ = "24.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 production code for the episode that had 23.9 million u.s. viewers?
### Context:
CREATE TABLE table_27713890_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_27713890_1 WHERE us_viewers__millions_ = "23.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:
Where was the game played where the record was 10-1?
### Context:
CREATE TABLE table_27715173_6 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27715173_6 WHERE record = "10-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for game 3?
### Context:
CREATE TABLE table_27715173_6 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_27715173_6 WHERE game = 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 many records are there for the game on november 24?
### Context:
CREATE TABLE table_27715173_6 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_27715173_6 WHERE date = "November 24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the game with a score of w 116β93 (ot)?
### Context:
CREATE TABLE table_27715173_6 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_27715173_6 WHERE score = "W 116β93 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the score was w 107β95 (ot)?
### Context:
CREATE TABLE table_27715173_6 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27715173_6 WHERE score = "W 107β95 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 put on the show where the numbers were 227412
### Context:
CREATE TABLE table_27716091_1 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27716091_1 WHERE production_code = 227412 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 put on the show where the numbers were 227424
### Context:
CREATE TABLE table_27716091_1 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27716091_1 WHERE production_code = 227424 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high rebounds of team @ Detroit?
### Context:
CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27721131_10 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:
What was the location attendance when Andray Blatche (9) got high rebounds?
### Context:
CREATE TABLE table_27721131_10 (location_attendance VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27721131_10 WHERE high_rebounds = "Andray Blatche (9)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the game record on March 6?
### Context:
CREATE TABLE table_27721131_10 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_27721131_10 WHERE date = "March 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 got high rebounds when Jordan Crawford (27) got high points?
### Context:
CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_27721131_10 WHERE high_points = "Jordan Crawford (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:
Who's in the high assists with a w 97β94 (ot) score?
### Context:
CREATE TABLE table_27721131_2 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27721131_2 WHERE score = "W 97β94 (OT)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum game in the javale mcgee (5) high rebounds?
### Context:
CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the score in andray blatche (17) high points?
### Context:
CREATE TABLE table_27721131_2 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_27721131_2 WHERE high_points = "Andray Blatche (17)" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.