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:
Name the gs for points being 12.1
### Context:
CREATE TABLE table_17309500_1 (gs VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT gs FROM table_17309500_1 WHERE points = "12.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:
Name the assists for 157 games
### Context:
CREATE TABLE table_17309500_1 (assists VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT assists FROM table_17309500_1 WHERE games = 157 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 steals for season 2007/2008
### Context:
CREATE TABLE table_17309500_1 (steals VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT steals FROM table_17309500_1 WHERE season = "2007/2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of assists for 77 blocks
### Context:
CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "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:
When mike bibby (8) had the highest amount of assists what is the record?
### Context:
CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (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:
When mike bibby (9) has the highest amount of assists what is the location and attendance?
### Context:
CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (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:
Who was the team played on January 23?
### Context:
CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_17311759_6 WHERE date = "January 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:
Where was the game held and what was the attendance when they played Orlando?
### Context:
CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17311759_6 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:
In what game did Miami play Charlotte?
### Context:
CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_17311783_8 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:
Who had the high points on February 6?
### Context:
CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17311797_8 WHERE date = "February 6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of laps led with 16 points?
### Context:
CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "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:
How many drivers were there for Samax Motorsport?
### Context:
CREATE TABLE table_17319931_1 (driver VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_17319931_1 WHERE team = "SAMAX Motorsport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 whose driver Jeff Simmons?
### Context:
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivers where there when the time/retired +3 laps and points were 24?
### Context:
CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = "+3 laps" AND points = "24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of laps for Darren Manning?
### Context:
CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 car numbers were recorded when the time/retired is +4.0019?
### Context:
CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 January 28?
### Context:
CREATE TABLE table_17311812_7 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game FROM table_17311812_7 WHERE date = "January 28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the high amount of points on February 11?
### Context:
CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17311812_8 WHERE date = "February 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who has the most assists on Denver?
### Context:
CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17311812_8 WHERE team = "Denver" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location attendance for april 13
### Context:
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 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:
Name the location attendance for april 5
### Context:
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 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 the high points on December 17?
### Context:
CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17323042_6 WHERE date = "December 17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many scores are listed for the game against Houston
### Context:
CREATE TABLE table_17323042_7 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_17323042_7 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 was the location and attendance of the game when High Assists were Andre Miller (7)?
### Context:
CREATE TABLE table_17323042_11 (location_attendance VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17323042_11 WHERE high_assists = "Andre Miller (7)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the High Assist in game 1?
### Context:
CREATE TABLE table_17323042_11 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17323042_11 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:
Who was the High Assist when the High Rebounds was andre iguodala (8)?
### Context:
CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (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 was the W-L record when HIgh Points was andre miller (30)?
### Context:
CREATE TABLE table_17323042_11 (record VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_17323042_11 WHERE high_points = "Andre Miller (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:
What was the score and game outcome when High Points was andre miller (17)?
### Context:
CREATE TABLE table_17323042_11 (score VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT score FROM table_17323042_11 WHERE high_points = "Andre Miller (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 games was High Points andre iguodala (29)?
### Context:
CREATE TABLE table_17323042_11 (game VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (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 games were played on March 15?
### Context:
CREATE TABLE table_17323042_9 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_17323042_9 WHERE date = "March 15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team's record when they faced orlando?
### Context:
CREATE TABLE table_17323042_5 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_17323042_5 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:
Whic teams scored l 97–107 (ot)
### Context:
CREATE TABLE table_17323092_5 (team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (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 team was @ Minnesota?
### Context:
CREATE TABLE table_17323092_7 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17323092_7 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:
On what date did the Team Minnesota play?
### Context:
CREATE TABLE table_17323092_7 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17323092_7 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:
Who had the high points on the date February 10?
### Context:
CREATE TABLE table_17323092_7 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17323092_7 WHERE date = "February 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 players had high points in the location/attendance FedexForum 11,498 respectively?
### Context:
CREATE TABLE table_17323092_7 (high_points VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_17323092_7 WHERE location_attendance = "FedExForum 11,498" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high assists were Shawn Marion (6) who had high rebounds?
### Context:
CREATE TABLE table_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (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 dates did they play Miami?
### Context:
CREATE TABLE table_17323092_8 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17323092_8 WHERE team = "Miami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What dates did Chris Bosh (18) score the high points?
### Context:
CREATE TABLE table_17323092_8 (date VARCHAR, high_points VARCHAR) [/INST]
### Response:
SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (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:
Where was the location and what was the attendance in the game that Anthony Parker (7) earned high assists?
### Context:
CREATE TABLE table_17323092_8 (location_attendance VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17323092_8 WHERE high_assists = "Anthony Parker (7)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who earned high points in game 69?
### Context:
CREATE TABLE table_17323092_8 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17323092_8 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:
What is the total number of high points on January 21?
### Context:
CREATE TABLE table_17323092_6 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and attendance for the Orlando team?
### Context:
CREATE TABLE table_17323092_6 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17323092_6 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 final score of the game versus Milwaukee?
### Context:
CREATE TABLE table_17325580_5 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_17325580_5 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:
What is the record against Boston?
### Context:
CREATE TABLE table_17323529_8 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_17323529_8 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:
What is every high point when the team is Washington?
### Context:
CREATE TABLE table_17325580_6 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17325580_6 WHERE team = "Washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 occur on the date December 12?
### Context:
CREATE TABLE table_17325580_6 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_17325580_6 WHERE date = "December 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 assist are on the date December 13?
### Context:
CREATE TABLE table_17325580_6 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_17325580_6 WHERE date = "December 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every location attendance on the date December 12?
### Context:
CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 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 high rebounds on November 26?
### Context:
CREATE TABLE table_17325937_5 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17325937_5 WHERE date = "November 26" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the high assists on November 14?
### Context:
CREATE TABLE table_17325937_5 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17325937_5 WHERE date = "November 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 the most assists in the game against Miami?
### Context:
CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17325937_8 WHERE team = "Miami" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 assists were made in the game against San Antonio?
### Context:
CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most high rebounds in the game played on November 1?
### Context:
CREATE TABLE table_17326036_5 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 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 team was the game on November 21 played against?
### Context:
CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_17326036_5 WHERE date = "November 21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the game against Boston?
### Context:
CREATE TABLE table_17326036_5 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_17326036_5 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:
Name the date of appointment for petrik sander
### Context:
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_17327264_3 WHERE replaced_by = "Petrik Sander" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of appointment for sacked and 14th position replaced by marco kostmann
### Context:
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location attendance was recorded for December 5?
### Context:
CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_17326036_6 WHERE date = "December 5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance and location on December 15?
### Context:
CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17326036_6 WHERE date = "December 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:
How many games were recorded when the team was @ Memphis?
### Context:
CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the high rebounds Jeff Foster (10)?
### Context:
CREATE TABLE table_17326036_6 (score VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT score FROM table_17326036_6 WHERE high_rebounds = "Jeff Foster (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 team appointed a manager on 12 June?
### Context:
CREATE TABLE table_17327458_1 (team VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT team FROM table_17327458_1 WHERE date_of_appointment = "12 June" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 replaced on 11 July?
### Context:
CREATE TABLE table_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 left a position on 29 May?
### Context:
CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 left a position on 24 January?
### Context:
CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "24 January" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacancies happened on 25 May?
### Context:
CREATE TABLE table_17327458_1 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT COUNT(manner_of_departure) FROM table_17327458_1 WHERE date_of_vacancy = "25 May" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points is 15, what is the fin. pos?
### Context:
CREATE TABLE table_17330069_1 (fin_pos VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(fin_pos) FROM table_17330069_1 WHERE points = "15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the car number for driver Hélio Castroneves
### Context:
CREATE TABLE table_17330069_1 (car_no INTEGER, driver VARCHAR) [/INST]
### Response:
SELECT MIN(car_no) FROM table_17330069_1 WHERE driver = "Hélio Castroneves" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid is 2, what is the minimum fin. pos number?
### Context:
CREATE TABLE table_17330069_1 (fin_pos INTEGER, grid VARCHAR) [/INST]
### Response:
SELECT MIN(fin_pos) FROM table_17330069_1 WHERE grid = 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:
If there are 28 points, what is the time/retired?
### Context:
CREATE TABLE table_17330069_1 (time_retired VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_17330069_1 WHERE points = "28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many winning scores were there in the rr donnelley lpga founders cup?
### Context:
CREATE TABLE table_17335602_1 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT COUNT(winning_score) FROM table_17335602_1 WHERE tournament = "RR Donnelley LPGA Founders Cup" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mcdonald's lpga championship?
### Context:
CREATE TABLE table_17335602_1 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner's share in the wegmans lpga championship?
### Context:
CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR) [/INST]
### Response:
SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kerry # for others# is 44
### Context:
CREATE TABLE table_1733457_1 (kerry_number VARCHAR, others_number VARCHAR) [/INST]
### Response:
SELECT kerry_number FROM table_1733457_1 WHERE others_number = 44 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum kerry # for bush % for 50.9%
### Context:
CREATE TABLE table_1733457_1 (kerry_number INTEGER, bush_percentage VARCHAR) [/INST]
### Response:
SELECT MIN(kerry_number) FROM table_1733457_1 WHERE bush_percentage = "50.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:
Name the others % for johnson
### Context:
CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_1733457_1 WHERE county = "Johnson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum kerry # for where others is 47
### Context:
CREATE TABLE table_1733457_1 (kerry_number INTEGER, others_number VARCHAR) [/INST]
### Response:
SELECT MAX(kerry_number) FROM table_1733457_1 WHERE others_number = 47 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bush% for where others # is 90
### Context:
CREATE TABLE table_1733457_1 (bush_percentage VARCHAR, others_number VARCHAR) [/INST]
### Response:
SELECT bush_percentage FROM table_1733457_1 WHERE others_number = 90 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 others % for cleveland
### Context:
CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percentage of others when the number of others is 2286?
### Context:
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, others_number VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_1733513_1 WHERE others_number = 2286 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percentage of others when the number for Bush was 3196?
### Context:
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 3196 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percentage of others when the number for Bush is 1329?
### Context:
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 by team milwaukee
### Context:
CREATE TABLE table_17340355_6 (game VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT game FROM table_17340355_6 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 made high points on games of score w 106–104 (ot)
### Context:
CREATE TABLE table_17340355_6 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17340355_6 WHERE score = "W 106–104 (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 are the records of games where high rebounds is amar'e stoudemire (11)
### Context:
CREATE TABLE table_17340355_6 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_17340355_6 WHERE high_rebounds = "Amar'e Stoudemire (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 is the location of the the game on december 10
### Context:
CREATE TABLE table_17340355_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17340355_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:
List the all the scores where the high assis is b. shaw (5)
### Context:
CREATE TABLE table_17344582_11 (score VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT score FROM table_17344582_11 WHERE high_assists = "B. Shaw (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:
List of high assists with high rebounds for k. mchale (10)
### Context:
CREATE TABLE table_17344582_11 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17344582_11 WHERE high_rebounds = "K. McHale (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:
List all location attendance for series 1-1.
### Context:
CREATE TABLE table_17344582_11 (location_attendance VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17344582_11 WHERE series = "1-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 day(s) did the team play indiana?
### Context:
CREATE TABLE table_17340355_7 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_17340355_7 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:
Who had the high assist total on january 2?
### Context:
CREATE TABLE table_17340355_7 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17340355_7 WHERE date = "January 2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)?
### Context:
CREATE TABLE table_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = "Bābǎi zhuàngshì (八百壯士)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the year when Chūnqiū Cháshì (春秋茶室) was submitted?
### Context:
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17350255_1 WHERE original_title = "Chūnqiū cháshì (春秋茶室)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Old Mo's Second Spring was the film title used in nomination in what year?
### Context:
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17350255_1 WHERE film_title_used_in_nomination = "Old Mo's Second Spring" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the year when My Mother's Teahouse was not nominated?
### Context:
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17350255_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "My Mother's Teahouse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What titles were released in 2006?
### Context:
CREATE TABLE table_173475_1 (title VARCHAR, release VARCHAR) [/INST]
### Response:
SELECT title FROM table_173475_1 WHERE release = 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 year(s) was axis & allies: d-day released?
### Context:
CREATE TABLE table_173475_1 (release VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT release FROM table_173475_1 WHERE title = "Axis & Allies: D-Day" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was on May 25?
### Context:
CREATE TABLE table_17355408_12 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game FROM table_17355408_12 WHERE date = "May 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 game was the record 2-3?
### Context:
CREATE TABLE table_17355408_12 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_17355408_12 WHERE record = "2-3" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.