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 total number of population in the land with an area of 149.32 km2?
### Context:
CREATE TABLE table_170958_2 (population VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_170958_2 WHERE area_km_2 = "149.32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum population of the land with an area of 276.84 km2?
### Context:
CREATE TABLE table_170958_2 (population INTEGER, area_km_2 VARCHAR) [/INST]
### Response:
SELECT MAX(population) FROM table_170958_2 WHERE area_km_2 = "276.84" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 land area of Hopewell parish in km2?
### Context:
CREATE TABLE table_170958_2 (area_km_2 VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT area_km_2 FROM table_170958_2 WHERE official_name = "Hopewell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 march 27-29 for november 3 being 133
### Context:
CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, november_3 VARCHAR) [/INST]
### Response:
SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 march 27-29 where january 15-16 is january 15, 1991
### Context:
CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, january_15_16 VARCHAR) [/INST]
### Response:
SELECT march_27_29 FROM table_1708610_3 WHERE january_15_16 = "January 15, 1991" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 january 15-16 where march 27-29 where march 29, 2006
### Context:
CREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR) [/INST]
### Response:
SELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = "March 29, 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:
Name the number of location attendance for l 141–143 (ot)
### Context:
CREATE TABLE table_17102076_10 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_17102076_10 WHERE score = "L 141–143 (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 record for april 1
### Context:
CREATE TABLE table_17102076_10 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17102076_10 WHERE date = "April 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 high assists for score being l 98–118 (ot)
### Context:
CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (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 least game for arco arena 13,330
### Context:
CREATE TABLE table_17102076_10 (game INTEGER, location_attendance VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_17102076_10 WHERE location_attendance = "ARCO Arena 13,330" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game 11
### Context:
CREATE TABLE table_17102076_5 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17102076_5 WHERE game = 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:
Name the high points for score being l 92–100 (ot)
### Context:
CREATE TABLE table_17102076_5 (high_points VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17102076_5 WHERE score = "L 92–100 (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 arco arena 13,685
### Context:
CREATE TABLE table_17102076_5 (team VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT team FROM table_17102076_5 WHERE location_attendance = "ARCO Arena 13,685" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game 35?
### Context:
CREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17102076_7 WHERE game = 35 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score of 65-72
### Context:
CREATE TABLE table_17103645_10 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17103645_10 WHERE score = "65-72" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for july 18
### Context:
CREATE TABLE table_17103645_10 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17103645_10 WHERE date = "July 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:
Name the number of high assists for july 1
### Context:
CREATE TABLE table_17103645_10 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_17103645_10 WHERE date = "July 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 score when game is 19
### Context:
CREATE TABLE table_17103645_10 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17103645_10 WHERE game = 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 result when team 1 is ICL Pakistan?
### Context:
CREATE TABLE table_17103566_1 (result VARCHAR, team_1 VARCHAR) [/INST]
### Response:
SELECT result FROM table_17103566_1 WHERE team_1 = "ICL Pakistan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match number where the result is ICL World by 8 wickets?
### Context:
CREATE TABLE table_17103566_1 (match_number VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT match_number FROM table_17103566_1 WHERE result = "ICL World by 8 wickets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team 2 where the result is ICL world by 8 wickets?
### Context:
CREATE TABLE table_17103566_1 (team_2 VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT team_2 FROM table_17103566_1 WHERE result = "ICL World by 8 wickets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is man of the match when Team 1 is ICL Pakistan?
### Context:
CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, team_1 VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17103566_1 WHERE team_1 = "ICL Pakistan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates have a Match number of 5?
### Context:
CREATE TABLE table_17103566_1 (date VARCHAR, match_number VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_17103566_1 WHERE match_number = 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 is man of the match for match number 5?
### Context:
CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, match_number VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17103566_1 WHERE match_number = 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:
With a score of 68-85, what is the location and attendance?
### Context:
CREATE TABLE table_17103729_7 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17103729_7 WHERE score = "68-85" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of 64-74
### Context:
CREATE TABLE table_17103729_8 (location_attendance VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17103729_8 WHERE score = "64-74" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for game for 25
### Context:
CREATE TABLE table_17103729_8 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_17103729_8 WHERE game = 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:
Name the record for attendance location of palace of auburn hills 15,210
### Context:
CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_17103729_8 WHERE location_attendance = "Palace of Auburn Hills 15,210" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score of 64-74
### Context:
CREATE TABLE table_17103729_8 (high_rebounds VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_17103729_8 WHERE score = "64-74" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Namethe score for july 16
### Context:
CREATE TABLE table_17103729_8 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_17103729_8 WHERE date = "July 16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which people had the best 10-year period when Fischer had best 15-year period?
### Context:
CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR) [/INST]
### Response:
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Fischer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people had the best 10-year period when Capablanca had the best 15-year period?
### Context:
CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR) [/INST]
### Response:
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Capablanca" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for june 7
### Context:
CREATE TABLE table_17104539_9 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_17104539_9 WHERE date = "June 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:
Name the date for the score of w 83-69
### Context:
CREATE TABLE table_17104539_9 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_17104539_9 WHERE score = "W 83-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:
Name the record for score of w 76-67
### Context:
CREATE TABLE table_17104539_9 (record VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT record FROM table_17104539_9 WHERE score = "W 76-67" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores for games played on september 9?
### Context:
CREATE TABLE table_17104539_12 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_17104539_12 WHERE date = "September 9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of the game played when the team was 16-17?
### Context:
CREATE TABLE table_17104539_12 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_17104539_12 WHERE record = "16-17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location and where did the team play game number 32?
### Context:
CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17104539_12 WHERE game = 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had a high rebound where the associated record is 11-13?
### Context:
CREATE TABLE table_17104539_10 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17104539_10 WHERE record = "11-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:
On July 8, what was the score?
### Context:
CREATE TABLE table_17104539_10 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_17104539_10 WHERE date = "July 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 was the oppenent what the score was L 68-60?
### Context:
CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_17104539_10 WHERE score = "L 68-60" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high assists are under Canty (6) how much would the record be?
### Context:
CREATE TABLE table_17118657_10 (record VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT record FROM table_17118657_10 WHERE high_assists = "Canty (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:
If the score is 62-70, what are the high points?
### Context:
CREATE TABLE table_17118657_10 (high_points VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_17118657_10 WHERE score = "62-70" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which date was the location/attendance UIC Pavilion 3,829 respectively?
### Context:
CREATE TABLE table_17118657_10 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_17118657_10 WHERE location_attendance = "UIC Pavilion 3,829" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which date is high assists Dupree (6)?
### Context:
CREATE TABLE table_17118657_10 (date VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT date FROM table_17118657_10 WHERE high_assists = "Dupree (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 was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?
### Context:
CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR) [/INST]
### Response:
SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = "912,185" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 farmers were included by the department with 32 projects?
### Context:
CREATE TABLE table_17118006_2 (farmers INTEGER, projects VARCHAR) [/INST]
### Response:
SELECT MAX(farmers) FROM table_17118006_2 WHERE projects = 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What department irrigated 2170 Ha?
### Context:
CREATE TABLE table_17118006_2 (department VARCHAR, irrigated_ha VARCHAR) [/INST]
### Response:
SELECT department FROM table_17118006_2 WHERE irrigated_ha = 2170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects?
### Context:
CREATE TABLE table_17118006_2 (bid_pronar_investment__us$_ VARCHAR, farmers VARCHAR) [/INST]
### Response:
SELECT bid_pronar_investment__us$_ FROM table_17118006_2 WHERE farmers = 1326 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 department that got $626,798 in local investments?
### Context:
CREATE TABLE table_17118006_2 (department VARCHAR, local_investment__us$_ VARCHAR) [/INST]
### Response:
SELECT department FROM table_17118006_2 WHERE local_investment__us$_ = "626,798" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number was the game resulting in a 5-11 record?
### Context:
CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-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 assists are listed for the game with a score of 68-60?
### Context:
CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the game resulting in a 5-11 record, who scored the high rebounds?
### Context:
CREATE TABLE table_17118657_8 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_17118657_8 WHERE record = "5-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 was the opponent of the game with final score won 4-1?
### Context:
CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance at the game where Neil Liddiard was Man of the Match?
### Context:
CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_17120964_8 WHERE man_of_the_match = "Neil Liddiard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue of the game that was lost 3-4?
### Context:
CREATE TABLE table_17120964_8 (venue VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_8 WHERE result = "Lost 3-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the venue of the game with Man of the Match Vaclav Zavoral?
### Context:
CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance figures are given for the game where the final score was lost 5-3?
### Context:
CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-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:
Name the opponent for 4th
### Context:
CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_17120964_5 WHERE date = "4th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue for 19th date
### Context:
CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_5 WHERE date = "19th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for lukas smital and home
### Context:
CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT result FROM table_17120964_5 WHERE man_of_the_match = "Lukas Smital" AND venue = "Home" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 man of the match for 24th
### Context:
CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 man of the maatch for sheffield scimitars
### Context:
CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17120964_5 WHERE opponent = "Sheffield Scimitars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the 19th, where was the venue?
### Context:
CREATE TABLE table_17120964_6 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_6 WHERE date = "19th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the total attendance during the home game against the Swindon Wildcats?
### Context:
CREATE TABLE table_17120964_6 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_17120964_6 WHERE opponent = "Swindon Wildcats" AND venue = "Home" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was Stuart Potts the Man of the Match?
### Context:
CREATE TABLE table_17120964_6 (date VARCHAR, man_of_the_match VARCHAR) [/INST]
### Response:
SELECT date FROM table_17120964_6 WHERE man_of_the_match = "Stuart Potts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what venue did Alex Mettam/Mark Williams be named Man of the Match?
### Context:
CREATE TABLE table_17120964_6 (venue VARCHAR, man_of_the_match VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_6 WHERE man_of_the_match = "Alex Mettam/Mark Williams" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates did David Savage get man of the match?
### Context:
CREATE TABLE table_17120964_7 (date VARCHAR, man_of_the_match VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match = "David Savage" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance was 1568, who was man of the match?
### Context:
CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17120964_7 WHERE attendance = 1568 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 man of the match when they lost 2-4?
### Context:
CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT man_of_the_match FROM table_17120964_7 WHERE result = "Lost 2-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what was the competitoin where the opponent is sheffield scimitars?
### Context:
CREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT competition FROM table_17120964_9 WHERE opponent = "Sheffield Scimitars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue where the attendance was 702?
### Context:
CREATE TABLE table_17120964_9 (venue VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_9 WHERE attendance = "702" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue where the date was the 22nd?
### Context:
CREATE TABLE table_17120964_9 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_17120964_9 WHERE date = "22nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where the date was the 21st?
### Context:
CREATE TABLE table_17120964_9 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_17120964_9 WHERE date = "21st" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score for Milwaukee?
### Context:
CREATE TABLE table_17121262_5 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_17121262_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 was the record against Washington?
### Context:
CREATE TABLE table_17121262_10 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_17121262_10 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:
If the census ranking is 231 of 5,008, what was the population?
### Context:
CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR) [/INST]
### Response:
SELECT population FROM table_171236_1 WHERE census_ranking = "231 of 5,008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area is 59.73, what is the official name?
### Context:
CREATE TABLE table_171236_1 (official_name VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT official_name FROM table_171236_1 WHERE area_km_2 = "59.73" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 census ranking is 693 of 5,008, what is the status?
### Context:
CREATE TABLE table_171236_1 (status VARCHAR, census_ranking VARCHAR) [/INST]
### Response:
SELECT status FROM table_171236_1 WHERE census_ranking = "693 of 5,008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
With the official name Quispamsis, what is the census ranking?
### Context:
CREATE TABLE table_171236_1 (census_ranking VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171236_1 WHERE official_name = "Quispamsis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population for census ranking 782 of 5,008?
### Context:
CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR) [/INST]
### Response:
SELECT population FROM table_171236_1 WHERE census_ranking = "782 of 5,008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area is 34.73, what is the census ranking?
### Context:
CREATE TABLE table_171236_1 (census_ranking VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171236_1 WHERE area_km_2 = "34.73" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 census ranking(s) for a population of 284?
### Context:
CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171250_2 WHERE population = 284 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 census ranking(s) that have an area of 369.25 km2?
### Context:
CREATE TABLE table_171250_2 (census_ranking VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171250_2 WHERE area_km_2 = "369.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 population that has an area of 715.58?
### Context:
CREATE TABLE table_171250_2 (population VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT population FROM table_171250_2 WHERE area_km_2 = "715.58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that status(es) of saint-jacques?
### Context:
CREATE TABLE table_171250_2 (status VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT status FROM table_171250_2 WHERE official_name = "Saint-Jacques" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area(s) (km2) for saint-joseph?
### Context:
CREATE TABLE table_171250_2 (area_km_2 VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT area_km_2 FROM table_171250_2 WHERE official_name = "Saint-Joseph" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank is the parish with 482.81 km^2?
### Context:
CREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171356_2 WHERE area_km_2 = "482.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 status doe the area with a census ranking of 2,290 of 5,008 have?
### Context:
CREATE TABLE table_171356_2 (status VARCHAR, census_ranking VARCHAR) [/INST]
### Response:
SELECT status FROM table_171356_2 WHERE census_ranking = "2,290 of 5,008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 statuses are listed for the parish officially named Gagetown?
### Context:
CREATE TABLE table_171356_2 (status VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT COUNT(status) FROM table_171356_2 WHERE official_name = "Gagetown" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Petersville's census ranking?
### Context:
CREATE TABLE table_171356_2 (census_ranking VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_171356_2 WHERE official_name = "Petersville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population of each community with city status?
### Context:
CREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR) [/INST]
### Response:
SELECT population FROM table_171361_1 WHERE status = "City" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the community with an area of 30.75 sq. km.?
### Context:
CREATE TABLE table_171361_1 (official_name VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT official_name FROM table_171361_1 WHERE area_km_2 = "30.75" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the area of the community with a population of 1209?
### Context:
CREATE TABLE table_171361_1 (area_km_2 VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT area_km_2 FROM table_171361_1 WHERE population = 1209 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population values are listed for the community with an area of 10.25 sq.km.?
### Context:
CREATE TABLE table_171361_1 (population VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = "10.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:
Name the region 1 where region 4 for april 2, 2009
### Context:
CREATE TABLE table_171320_3 (region_1 VARCHAR, region_4 VARCHAR) [/INST]
### Response:
SELECT region_1 FROM table_171320_3 WHERE region_4 = "April 2, 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the region 1 for episode number 13
### Context:
CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR) [/INST]
### Response:
SELECT region_1 FROM table_171320_3 WHERE ep__number = 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:
How many episodes have the season number of 1?
### Context:
CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 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 director of the film with the original title of "The Patience Stone"?
### Context:
CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_17155250_1 WHERE original_title = "The Patience Stone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For what ceremony was "Fire Dancer" not nominated?
### Context:
CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_17155250_1 WHERE original_title = "Fire Dancer" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.