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 overall picks that were after pick 9 and went to Auburn College?
### Context:
CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college?
### Context:
CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "buck mystrom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of rounds for billy hicks who had an overall pick number bigger than 310?
### Context:
CREATE TABLE table_name_1 (round INTEGER, overall VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT AVG(round) FROM table_name_1 WHERE overall > 310 AND name = "billy hicks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of rounds that has a pick of 9 and is named jim pyburn?
### Context:
CREATE TABLE table_name_62 (round INTEGER, pick VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_62 WHERE pick = 9 AND name = "jim pyburn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round number for donnie caraway?
### Context:
CREATE TABLE table_name_6 (round INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_name_6 WHERE name = "donnie caraway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall pick number for george nicula who had a pick smaller than 9?
### Context:
CREATE TABLE table_name_35 (overall INTEGER, name VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT MAX(overall) FROM table_name_35 WHERE name = "george nicula" AND pick < 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the status of the match held on 12/7/1997?
### Context:
CREATE TABLE table_name_31 (status VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT status FROM table_name_31 WHERE date = "12/7/1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue has an against value larger than 21 and had Argentina as an opposing team.
### Context:
CREATE TABLE table_name_91 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_91 WHERE against > 21 AND opposing_team = "argentina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average of againsts on 21/5/1997?
### Context:
CREATE TABLE table_name_45 (against INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(against) FROM table_name_45 WHERE date = "21/5/1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome before 1997?
### Context:
CREATE TABLE table_name_93 (outcome VARCHAR, year INTEGER) [/INST]
### Response:
SELECT outcome FROM table_name_93 WHERE year < 1997 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship after 1997 was the score 1–6, 4–6, 7–5, 5–7?
### Context:
CREATE TABLE table_name_3 (championship VARCHAR, year VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT championship FROM table_name_3 WHERE year > 1997 AND score = "1–6, 4–6, 7–5, 5–7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years was the opponent petr korda?
### Context:
CREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_21 WHERE opponent = "petr korda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface in 1996?
### Context:
CREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_68 WHERE year = 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of total values for Rd 7 less than 8?
### Context:
CREATE TABLE table_name_53 (total INTEGER, rd_7 INTEGER) [/INST]
### Response:
SELECT SUM(total) FROM table_name_53 WHERE rd_7 < 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of values of Rd 7 with RD 6 less than 48 and Rd 8 less than 4 for TC Motorsport in a position greater than 1?
### Context:
CREATE TABLE table_name_97 (rd_7 INTEGER, rd_8 VARCHAR, team VARCHAR, position VARCHAR, rd_6 VARCHAR) [/INST]
### Response:
SELECT SUM(rd_7) FROM table_name_97 WHERE position > 1 AND rd_6 < 48 AND team = "tc motorsport" AND rd_8 < 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average value for Rd 8 in a position less than 2 for Audi Sport Australia?
### Context:
CREATE TABLE table_name_68 (rd_8 INTEGER, team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT AVG(rd_8) FROM table_name_68 WHERE team = "audi sport australia" AND position < 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 position did Luca Sbisa play for the Philadelphia Flyers?
### Context:
CREATE TABLE table_name_53 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_53 WHERE player = "luca sbisa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the home team of Walsall?
### Context:
CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_48 WHERE home_team = "walsall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the away team in tie number 20?
### Context:
CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_55 WHERE tie_no = "20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of tie number 15?
### Context:
CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_6 WHERE tie_no = "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 margin of victory when the tournament is konica san jose classic?
### Context:
CREATE TABLE table_name_23 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_23 WHERE tournament = "konica san jose classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)?
### Context:
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning_score = –9(72 - 68 - 67 = 207) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning score when the tournament is safeco classic?
### Context:
CREATE TABLE table_name_73 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_73 WHERE tournament = "safeco classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament when the winning score is –9 (69-69-70-71=279)?
### Context:
CREATE TABLE table_name_84 (tournament VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_84 WHERE winning_score = –9(69 - 69 - 70 - 71 = 279) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the rider with less than 15 laps, more than 32 grids, and an accident time/retired?
### Context:
CREATE TABLE table_name_44 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_44 WHERE laps < 15 AND grid > 32 AND time_retired = "accident" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time/retired of the honda manufacturer with a grid less than 26, 18 laps, and joan olivé as the rider?
### Context:
CREATE TABLE table_name_71 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_71 WHERE manufacturer = "honda" AND grid < 26 AND laps = 18 AND rider = "joan olivé" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of laps with an accident time/retired, aprilia manufacturer and a grid of 27?
### Context:
CREATE TABLE table_name_84 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR) [/INST]
### Response:
SELECT AVG(laps) FROM table_name_84 WHERE time_retired = "accident" AND manufacturer = "aprilia" AND grid = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Type, when Rank is greater than 6, when Number of Bearers 2008 is greater than 13.815, and when Surname is Eriksen?
### Context:
CREATE TABLE table_name_47 (type VARCHAR, surname VARCHAR, rank VARCHAR, number_of_bearers_2008 VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_47 WHERE rank > 6 AND number_of_bearers_2008 > 13.815 AND surname = "eriksen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bearers 2008, when Surname is Hansen, and when Rank is less than 1?
### Context:
CREATE TABLE table_name_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MAX(number_of_bearers_2008) FROM table_name_32 WHERE surname = "hansen" AND rank < 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Type, when Number of Bearers 2008 is greater than 12.376, when Rank is greater than 3, and when Etymology is Son of Jens?
### Context:
CREATE TABLE table_name_68 (type VARCHAR, etymology VARCHAR, number_of_bearers_2008 VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_68 WHERE number_of_bearers_2008 > 12.376 AND rank > 3 AND etymology = "son of jens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Etymology, when Rank is 14?
### Context:
CREATE TABLE table_name_10 (etymology VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT etymology FROM table_name_10 WHERE rank = 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:
What is Highest Number of Bearers 2008, when Surname is Jacobsen?
### Context:
CREATE TABLE table_name_87 (number_of_bearers_2008 INTEGER, surname VARCHAR) [/INST]
### Response:
SELECT MAX(number_of_bearers_2008) FROM table_name_87 WHERE surname = "jacobsen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT POSITION HAS A ROUND LARGER THAN 2, FOR VALDOSTA COLLEGE?
### Context:
CREATE TABLE table_name_86 (position VARCHAR, round VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_86 WHERE round > 2 AND college = "valdosta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?
### Context:
CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NATIONALITY FOR SOUTHWESTERN OKLAHOMA?
### Context:
CREATE TABLE table_name_53 (nationality VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_53 WHERE college = "southwestern oklahoma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PICK FOR BOSTON COLLEGE?
### Context:
CREATE TABLE table_name_32 (pick VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_32 WHERE college = "boston college" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE?
### Context:
CREATE TABLE table_name_18 (round VARCHAR, position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_18 WHERE position = "guard" AND college = "ohio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date where the round is R3?
### Context:
CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_40 WHERE round = "r3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round of the game at venue H and opponent of Derby County?
### Context:
CREATE TABLE table_name_31 (round VARCHAR, venue VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_31 WHERE venue = "h" AND opponent = "derby county" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of game has an attendance of 18,690?
### Context:
CREATE TABLE table_name_40 (game INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_40 WHERE attendance = 18 OFFSET 690 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average game was held on february 24 and has an attendance smaller than 16,541?
### Context:
CREATE TABLE table_name_7 (game INTEGER, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT AVG(game) FROM table_name_7 WHERE date = "february 24" AND attendance < 16 OFFSET 541 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 having a tie of 1?
### Context:
CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_27 WHERE tie_no = "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 for the game where the away team was Stockport County?
### Context:
CREATE TABLE table_name_1 (attendance VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_1 WHERE away_team = "stockport county" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the name of the away team that had a tie of 2?
### Context:
CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_93 WHERE tie_no = "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 score for the game where the home team was Wycombe Wanderers?
### Context:
CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_73 WHERE home_team = "wycombe wanderers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the match where the home team was Leicester City?
### Context:
CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_16 WHERE home_team = "leicester 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:
Which Home team score has a AEDT Time of 11:00 pm?
### Context:
CREATE TABLE table_name_78 (home_team VARCHAR, aedt_time VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home team is on Wednesday, 25 february 1998?
### Context:
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_65 WHERE date = "wednesday, 25 february 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Away team which has a Ground of waverley park, and a Home team of hawthorn?
### Context:
CREATE TABLE table_name_81 (away_team VARCHAR, ground VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_81 WHERE ground = "waverley park" AND home_team = "hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 AEDT Time which has an Away team of collingwood?
### Context:
CREATE TABLE table_name_62 (aedt_time VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT aedt_time FROM table_name_62 WHERE away_team = "collingwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when they played at Detroit Lions?
### Context:
CREATE TABLE table_name_72 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_72 WHERE opponent = "at detroit lions" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average attendance for games played at Atlanta Falcons?
### Context:
CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_39 WHERE opponent = "at atlanta falcons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week was the game played on December 8, 1974?
### Context:
CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_39 WHERE date = "december 8, 1974" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result before week 13 when they played the Oakland Raiders?
### Context:
CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_33 WHERE week < 13 AND opponent = "oakland raiders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What time did the even tachi palace fights 3 take place?
### Context:
CREATE TABLE table_name_67 (time VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_67 WHERE event = "tachi palace fights 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What location did the event kotc: mortal sins take place?
### Context:
CREATE TABLE table_name_30 (location VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of rounds where freddie mitchell was picked?
### Context:
CREATE TABLE table_name_41 (round INTEGER, player VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_41 WHERE player = "freddie mitchell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player who was pick number 147?
### Context:
CREATE TABLE table_name_40 (player VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_40 WHERE pick = 147 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position did a. j. feeley play who was picked in round 5?
### Context:
CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_70 WHERE round = 5 AND player = "a. j. feeley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position did the player who was picked in round 3 play?
### Context:
CREATE TABLE table_name_18 (position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_18 WHERE round = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Country is Tom Kite from?
### Context:
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_95 WHERE player = "tom kite" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the Player with a Finish of 1?
### Context:
CREATE TABLE table_name_2 (total VARCHAR, finish VARCHAR) [/INST]
### Response:
SELECT COUNT(total) FROM table_name_2 WHERE finish = "1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the 2010 population of frankfort which has a rank smaller than 14?
### Context:
CREATE TABLE table_name_26 (city VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT AVG(2010 AS _pop) FROM table_name_26 WHERE city = "frankfort" AND rank < 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:
What was the class position of the team that was in the 4th position?
### Context:
CREATE TABLE table_name_73 (class VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT class AS pos FROM table_name_73 WHERE pos = "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:
What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
### Context:
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)?
### Context:
CREATE TABLE table_name_58 (year INTEGER, category VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score?
### Context:
CREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_7 WHERE award = "17th bangkok critics assembly awards" AND category = "best original score" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country has a Result of nominated, an Award of 17th bangkok critics assembly awards, and a Category of best screenplay?
### Context:
CREATE TABLE table_name_75 (country VARCHAR, category VARCHAR, result VARCHAR, award VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_75 WHERE result = "nominated" AND award = "17th bangkok critics assembly awards" AND category = "best screenplay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a record of 14-4-1 and has a round of 1?
### Context:
CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_45 WHERE round = "1" AND record = "14-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 is the round in Finland with a draw for method?
### Context:
CREATE TABLE table_name_32 (round VARCHAR, location VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_32 WHERE location = "finland" AND method = "draw" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the location when the record was 6-0-1?
### Context:
CREATE TABLE table_name_17 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_17 WHERE record = "6-0-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 opponent on October 14, 1984?
### Context:
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_62 WHERE date = "october 14, 1984" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result in a week lower than 10 with an opponent of Chicago Bears?
### Context:
CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_21 WHERE week < 10 AND opponent = "chicago bears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of attendance when the result was l 16-13?
### Context:
CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_54 WHERE result = "l 16-13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name when the position was fullback, hooker?
### Context:
CREATE TABLE table_name_85 (name VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_85 WHERE pos = "fullback, hooker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the position is centre?
### Context:
CREATE TABLE table_name_33 (name VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_33 WHERE pos = "centre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show has a character of Rohan?
### Context:
CREATE TABLE table_name_89 (show VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT show FROM table_name_89 WHERE character = "rohan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show was nominated for the ITA Milestone Award at the Indian Television Academy Awards?
### Context:
CREATE TABLE table_name_85 (show VARCHAR, award_ceremony VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT show FROM table_name_85 WHERE award_ceremony = "indian television academy awards" AND category = "ita milestone award" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character was nominated in the 2010 Indian Television Academy Awards?
### Context:
CREATE TABLE table_name_1 (character VARCHAR, year VARCHAR, award_ceremony VARCHAR) [/INST]
### Response:
SELECT character FROM table_name_1 WHERE year = 2010 AND award_ceremony = "indian television academy awards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title with a gross of $26,589,355?
### Context:
CREATE TABLE table_name_21 (rank VARCHAR, gross VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_21 WHERE gross = "$26,589,355" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title ranked lower than 19 has a gross of $11,833,696?
### Context:
CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, gross VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a gross of $35,976,000?
### Context:
CREATE TABLE table_name_44 (rank VARCHAR, gross VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_44 WHERE gross = "$35,976,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank of The Big Doll House?
### Context:
CREATE TABLE table_name_62 (rank INTEGER, title VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_62 WHERE title = "the big doll house" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Equipment that has a Point bigger than 256, and a Position of 3?
### Context:
CREATE TABLE table_name_46 (equipment VARCHAR, points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT equipment FROM table_name_46 WHERE points > 256 AND position = 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Equipment that has a Points littler than 442, and a Position of 9?
### Context:
CREATE TABLE table_name_93 (equipment VARCHAR, points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT equipment FROM table_name_93 WHERE points < 442 AND position = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the most elevated Position that has a Points of 257, and a Bike No littler than 19?
### Context:
CREATE TABLE table_name_96 (position INTEGER, points VARCHAR, bike_no VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_name_96 WHERE points = 257 AND bike_no < 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:
When Bunky Henry of the United States scored higher than 67 and his To par was e, what was his place?
### Context:
CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_par = "e" AND player = "bunky henry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bunky Henry of the United States scored higher than 68 and his To par was e, what was his place?
### Context:
CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, score VARCHAR, to_par VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_14 WHERE score > 68 AND to_par = "e" AND player = "bunky henry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where did Bob Murphy of the United States place?
### Context:
CREATE TABLE table_name_74 (place VARCHAR, country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_74 WHERE country = "united states" AND player = "bob murphy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bunky Henry placed t8, what was his To par?
### Context:
CREATE TABLE table_name_75 (to_par VARCHAR, place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country is George Archer from?
### Context:
CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_22 WHERE player = "george archer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season has Zach Jacobson in third?
### Context:
CREATE TABLE table_name_30 (season VARCHAR, third VARCHAR) [/INST]
### Response:
SELECT season FROM table_name_30 WHERE third = "zach jacobson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the lead with John Shuster as skip in the season of 2009–10?
### Context:
CREATE TABLE table_name_83 (lead VARCHAR, skip VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT lead FROM table_name_83 WHERE skip = "john shuster" AND season = "2009–10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was second when Shane McKinlay was the lead?
### Context:
CREATE TABLE table_name_71 (second VARCHAR, lead VARCHAR) [/INST]
### Response:
SELECT second FROM table_name_71 WHERE lead = "shane mckinlay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005–06?
### Context:
CREATE TABLE table_name_61 (lead VARCHAR, season VARCHAR, skip VARCHAR, second VARCHAR) [/INST]
### Response:
SELECT lead FROM table_name_61 WHERE skip = "pete fenson" AND second = "joe polo" AND season = "2005–06" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the lead with John Shuster as skip, Chris Plys in second, and Jeff Isaacson in third?
### Context:
CREATE TABLE table_name_50 (lead VARCHAR, second VARCHAR, skip VARCHAR, third VARCHAR) [/INST]
### Response:
SELECT lead FROM table_name_50 WHERE skip = "john shuster" AND third = "jeff isaacson" AND second = "chris plys" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TO PAR WITH A FINISH OF T11, FOR DAVID GRAHAM?
### Context:
CREATE TABLE table_name_23 (to_par VARCHAR, finish VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_23 WHERE finish = "t11" AND player = "david graham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 THAT HAS A WIN IN 1982?
### Context:
CREATE TABLE table_name_14 (total INTEGER, year_s__won VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_14 WHERE year_s__won = "1982" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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, OF A TO PAR FOR HUBERT GREEN, AND A TOTAL LARGER THAN 291?
### Context:
CREATE TABLE table_name_96 (to_par VARCHAR, player VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT COUNT(to_par) FROM table_name_96 WHERE player = "hubert green" AND total > 291 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Can you tell me the sum of Area km 2 that has the Official Name of glenelg?
### Context:
CREATE TABLE table_name_75 (area_km_2 INTEGER, official_name VARCHAR) [/INST]
### Response:
SELECT SUM(area_km_2) FROM table_name_75 WHERE official_name = "glenelg" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.