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:
Tell me the leading scorer for grizzlies
### Context:
CREATE TABLE table_name_59 (leading_scorer VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT leading_scorer FROM table_name_59 WHERE visitor = "grizzlies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with home of bucks on 24 november 2007
### Context:
CREATE TABLE table_name_76 (record VARCHAR, home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_76 WHERE home = "bucks" AND date = "24 november 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bobcats
### Context:
CREATE TABLE table_name_65 (record VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_65 WHERE home = "bobcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue of Glenferrie Oval, what is the home team score?
### Context:
CREATE TABLE table_name_38 (home_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_38 WHERE venue = "glenferrie oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date of the game in a week earlier than 10 played in Texas stadium agains the Atlanta Falcons?
### Context:
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_92 WHERE week < 10 AND game_site = "texas stadium" AND opponent = "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:
What is the nationality of the player from Round 2, Pick 19 from College of Kansas State?
### Context:
CREATE TABLE table_name_42 (nationality VARCHAR, pick VARCHAR, round VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_42 WHERE round = "2" AND college = "kansas state" AND pick = "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 nationality of the player in Position C from Round 1?
### Context:
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_17 WHERE round = "1" AND position = "c" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team has Pick 13 in Round 2?
### Context:
CREATE TABLE table_name_88 (team VARCHAR, round VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_88 WHERE round = "2" AND pick = "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:
Who is the Pick 7 player?
### Context:
CREATE TABLE table_name_59 (player VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_59 WHERE pick = "7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the opponents in the final in which the score was 6β1, 1β6, 4β6?
### Context:
CREATE TABLE table_name_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT opponents_in_the_final FROM table_name_54 WHERE score_in_the_final = "6β1, 1β6, 4β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:
Tell me the launch date with Institutional authority of ndc and launch vehicle of hatf-xi
### Context:
CREATE TABLE table_name_58 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR) [/INST]
### Response:
SELECT launch_date FROM table_name_58 WHERE institutional_authority = "ndc" AND launch_vehicle = "hatf-xi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 launch vehicle with Institutional authority of ndc
### Context:
CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR) [/INST]
### Response:
SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institutional authority for launch date of october 12, 2004
### Context:
CREATE TABLE table_name_47 (institutional_authority VARCHAR, launch_date VARCHAR) [/INST]
### Response:
SELECT institutional_authority FROM table_name_47 WHERE launch_date = "october 12, 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results for institutional authority of paf
### Context:
CREATE TABLE table_name_73 (results VARCHAR, institutional_authority VARCHAR) [/INST]
### Response:
SELECT results FROM table_name_73 WHERE institutional_authority = "paf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps did Yannick Dalmas do?
### Context:
CREATE TABLE table_name_59 (laps VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_59 WHERE driver = "yannick dalmas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Laps does Eddie Cheever have?
### Context:
CREATE TABLE table_name_39 (laps VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_39 WHERE driver = "eddie cheever" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Constructor with a 19 Grid?
### Context:
CREATE TABLE table_name_98 (constructor VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_98 WHERE grid = 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of NGC number for sagittarius and diffuse nebula with declination of Β°02β²
### Context:
CREATE TABLE table_name_86 (ngc_number VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) [/INST]
### Response:
SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "Β°02β²" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want to know the right ascension which has an NGC less than 6575 and declination of Β°38β²00β³
### Context:
CREATE TABLE table_name_72 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR) [/INST]
### Response:
SELECT right_ascension___j2000__ FROM table_name_72 WHERE ngc_number < 6575 AND declination___j2000__ = "Β°38β²00β³" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of Β°22β²
### Context:
CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR) [/INST]
### Response:
SELECT right_ascension___j2000__ FROM table_name_78 WHERE constellation = "sagittarius" AND ngc_number > 6522 AND object_type = "open cluster" AND declination___j2000__ = "Β°22β²" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many were in attendance for the loss of rekar (4β5)?
### Context:
CREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4β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:
In what year is the status of won?
### Context:
CREATE TABLE table_name_72 (year VARCHAR, status VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_72 WHERE status = "won" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Last Samurai role?
### Context:
CREATE TABLE table_name_70 (role VARCHAR, film VARCHAR) [/INST]
### Response:
SELECT role FROM table_name_70 WHERE film = "the last samurai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 role is role what was the status?
### Context:
CREATE TABLE table_name_14 (status VARCHAR) [/INST]
### Response:
SELECT status FROM table_name_14 WHERE "role" = "role" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ken Watanabe film as nominated?
### Context:
CREATE TABLE table_name_96 (film VARCHAR, status VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT film FROM table_name_96 WHERE status = "nominated" AND name = "ken watanabe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was The Last Samurai nominated?
### Context:
CREATE TABLE table_name_42 (year VARCHAR, status VARCHAR, film VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_42 WHERE status = "nominated" AND film = "the last samurai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year is year what was the film?
### Context:
CREATE TABLE table_name_31 (film VARCHAR) [/INST]
### Response:
SELECT film FROM table_name_31 WHERE "year" = "year" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class has less in quantity than 174 between the years 1921β23?
### Context:
CREATE TABLE table_name_43 (class VARCHAR, quantity VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_43 WHERE quantity < 174 AND date = "1921β23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which type has a quantity of 11?
### Context:
CREATE TABLE table_name_29 (type VARCHAR, quantity VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_29 WHERE quantity = 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:
Which class has less than 3 in quantity with a type of 4-6-0?
### Context:
CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the team with a time of 2:44?
### Context:
CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_8 WHERE time = "2:44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When is the earliest year opened for huff hall that was established after 1974?
### Context:
CREATE TABLE table_name_20 (opened INTEGER, venue VARCHAR, established VARCHAR) [/INST]
### Response:
SELECT MIN(opened) FROM table_name_20 WHERE venue = "huff hall" AND established > 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:
Tell me the sum of earnings for rank less than 1
### Context:
CREATE TABLE table_name_63 (earnings__ INTEGER, rank INTEGER) [/INST]
### Response:
SELECT SUM(earnings__) AS $__ FROM table_name_63 WHERE 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:
Tell me the sum of rank with wins of 17
### Context:
CREATE TABLE table_name_6 (rank INTEGER, wins VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_6 WHERE wins = 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 is the total number of laps where time/retired is +2 laps and the grid number is bigger than 18?
### Context:
CREATE TABLE table_name_5 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT SUM(laps) FROM table_name_5 WHERE time_retired = "+2 laps" AND grid > 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:
What is the mean number of laps where time/retired was +1:05.564?
### Context:
CREATE TABLE table_name_67 (laps INTEGER, time_retired VARCHAR) [/INST]
### Response:
SELECT AVG(laps) FROM table_name_67 WHERE time_retired = "+1:05.564" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lap number had a grid number bigger than 9 and where the driver was Mark Webber?
### Context:
CREATE TABLE table_name_77 (laps VARCHAR, grid VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT laps FROM table_name_77 WHERE grid > 9 AND driver = "mark webber" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the date when Richmond was the home team?
### Context:
CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_66 WHERE home_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tie no when the attendance is 126?
### Context:
CREATE TABLE table_name_66 (tie_no INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT AVG(tie_no) FROM table_name_66 WHERE attendance = 126 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tie no when the home team is stamford a.f.c.?
### Context:
CREATE TABLE table_name_11 (tie_no INTEGER, home_team VARCHAR) [/INST]
### Response:
SELECT AVG(tie_no) FROM table_name_11 WHERE home_team = "stamford a.f.c." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the score when the tie no is 28?
### Context:
CREATE TABLE table_name_97 (score VARCHAR, tie_no VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_97 WHERE tie_no = 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the driver of the Officine Alfieri Maserati with a Tyre of P?
### Context:
CREATE TABLE table_name_21 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR) [/INST]
### Response:
SELECT driver FROM table_name_21 WHERE tyre = "p" AND entrant = "officine alfieri maserati" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrant for driver Giuseppe Farina when he had a Chassis of 625 555 D50 and a tyre of E?
### Context:
CREATE TABLE table_name_87 (entrant VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR) [/INST]
### Response:
SELECT entrant FROM table_name_87 WHERE tyre = "e" AND chassis = "625 555 d50" AND driver = "giuseppe farina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructed Mike Sparken's car with a tyre of E?
### Context:
CREATE TABLE table_name_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_79 WHERE tyre = "e" AND driver = "mike sparken" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds did Gordini participate in?
### Context:
CREATE TABLE table_name_74 (rounds VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT rounds FROM table_name_74 WHERE constructor = "gordini" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructed the car in round 1 with a Chassis of 250F?
### Context:
CREATE TABLE table_name_86 (constructor VARCHAR, chassis VARCHAR, rounds VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_name_86 WHERE chassis = "250f" AND rounds = "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 lowest attendance at Glenferrie Oval?
### Context:
CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "glenferrie oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 North Melbourne play as the away team?
### Context:
CREATE TABLE table_name_56 (venue VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_56 WHERE away_team = "north melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Footscray's score as the away team?
### Context:
CREATE TABLE table_name_94 (away_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_94 WHERE away_team = "footscray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away teams score at Glenferrie Oval?
### Context:
CREATE TABLE table_name_92 (away_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_92 WHERE venue = "glenferrie oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head coach of the team located in Mudgeeraba?
### Context:
CREATE TABLE table_name_53 (head_coach VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 President of the team that has the Head Coach Mark Wakeling?
### Context:
CREATE TABLE table_name_37 (president VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT president FROM table_name_37 WHERE head_coach = "mark wakeling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Head Coach of the team whose President is Mario Volarevic?
### Context:
CREATE TABLE table_name_86 (head_coach VARCHAR, president VARCHAR) [/INST]
### Response:
SELECT head_coach FROM table_name_86 WHERE president = "mario volarevic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's Head Coach is Steve Beever?
### Context:
CREATE TABLE table_name_68 (team VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_68 WHERE head_coach = "steve beever" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people attended the match on 1/11?
### Context:
CREATE TABLE table_name_45 (attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_45 WHERE date = "1/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 leading scorer in the match when the Golden State Warriors were visiting the Dallas Mavericks?
### Context:
CREATE TABLE table_name_43 (leading_scorer VARCHAR, visitor VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT leading_scorer FROM table_name_43 WHERE visitor = "golden state warriors" AND home = "dallas mavericks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL Team has a Position of dl?
### Context:
CREATE TABLE table_name_54 (cfl_team VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_name_54 WHERE position = "dl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CFL Team has a College of montreal, and a Player of marc trepanier?
### Context:
CREATE TABLE table_name_12 (cfl_team VARCHAR, college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT cfl_team FROM table_name_12 WHERE college = "montreal" AND player = "marc trepanier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Translated Title of Steinulven?
### Context:
CREATE TABLE table_name_31 (translated_title VARCHAR, norwegian_title VARCHAR) [/INST]
### Response:
SELECT translated_title FROM table_name_31 WHERE norwegian_title = "steinulven" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Norwegian title has 218 pages and Translated Title of Breaking Dawn?
### Context:
CREATE TABLE table_name_37 (norwegian_title VARCHAR, pages VARCHAR, translated_title VARCHAR) [/INST]
### Response:
SELECT norwegian_title FROM table_name_37 WHERE pages = 218 AND translated_title = "breaking dawn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the constituency which has a swing to gain less than 6.05 and a rank of 2
### Context:
CREATE TABLE table_name_4 (constituency VARCHAR, swing_to_gain VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT constituency FROM table_name_4 WHERE swing_to_gain < 6.05 AND rank = 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:
Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham
### Context:
CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR) [/INST]
### Response:
SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 box score has a Loss of capuano (5β5)?
### Context:
CREATE TABLE table_name_82 (boxscore VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT boxscore FROM table_name_82 WHERE loss = "capuano (5β5)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which opponent has a Score of 2β5?
### Context:
CREATE TABLE table_name_23 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_23 WHERE score = "2β5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the record for june 10?
### Context:
CREATE TABLE table_name_28 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_28 WHERE date = "june 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:
Which box score has an Attendance of 54,773?
### Context:
CREATE TABLE table_name_32 (boxscore VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT boxscore FROM table_name_32 WHERE attendance = "54,773" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 loss happened june 8?
### Context:
CREATE TABLE table_name_43 (loss VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT loss FROM table_name_43 WHERE date = "june 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:
Which record has a Boxscore of w2, and a Loss of kline (2β3)?
### Context:
CREATE TABLE table_name_89 (record VARCHAR, boxscore VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_89 WHERE boxscore = "w2" AND loss = "kline (2β3)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the PCT when the total number of games is less than 944?
### Context:
CREATE TABLE table_name_84 (pct VARCHAR, total_games INTEGER) [/INST]
### Response:
SELECT pct FROM table_name_84 WHERE total_games < 944 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost when the number tied is more than 42, the years are less than 132, and the PCT is less than 0.5729000000000001?
### Context:
CREATE TABLE table_name_57 (lost INTEGER, pct VARCHAR, tied VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT MAX(lost) FROM table_name_57 WHERE tied > 42 AND years < 132 AND pct < 0.5729000000000001 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost when the PCT is more than 0.7334 and the total number of games is larger than 48?
### Context:
CREATE TABLE table_name_22 (lost INTEGER, pct VARCHAR, total_games VARCHAR) [/INST]
### Response:
SELECT AVG(lost) FROM table_name_22 WHERE pct > 0.7334 AND total_games > 48 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tied games when Old Dominion is the independent and the years is more than 4?
### Context:
CREATE TABLE table_name_41 (tied INTEGER, independent VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT SUM(tied) FROM table_name_41 WHERE independent = "old dominion" AND years > 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 lowest PCT when Old Dominion is the independent and the years is more than 4?
### Context:
CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR) [/INST]
### Response:
SELECT MIN(pct) FROM table_name_54 WHERE independent = "old dominion" AND years > 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:
how many laps was the driver jacques villeneuve and the grid more than 7?
### Context:
CREATE TABLE table_name_55 (laps VARCHAR, driver VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jacques villeneuve" AND grid > 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the high assists score of Nick Collison (11)?
### Context:
CREATE TABLE table_name_85 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_name_85 WHERE high_rebounds = "nick collison (11)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Time/Retired with a Grid of 12?
### Context:
CREATE TABLE table_name_23 (time_retired VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_23 WHERE grid = 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps?
### Context:
CREATE TABLE table_name_8 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) [/INST]
### Response:
SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many laps have a Time/Retired of +1:35.553?
### Context:
CREATE TABLE table_name_84 (laps VARCHAR, time_retired VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_84 WHERE time_retired = "+1:35.553" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fitzroy was the home team what date did they play?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_48 WHERE home_team = "fitzroy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game with 4 goals?
### Context:
CREATE TABLE table_name_46 (score VARCHAR, goal VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_46 WHERE goal = 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 score of the friendly competition with 1 goal?
### Context:
CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR, goal VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_25 WHERE competition = "friendly" AND goal = 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 Illinois Derby purse?
### Context:
CREATE TABLE table_name_32 (purse___us$__ VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT purse___us$__ FROM table_name_32 WHERE race = "illinois derby" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much money did Crafty Bear wins with a dist of 1 mile?
### Context:
CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR) [/INST]
### Response:
SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track did they race on at the Fountain of Youth Stakes?
### Context:
CREATE TABLE table_name_69 (track VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT track FROM table_name_69 WHERE race = "fountain of youth stakes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid total for alain prost with over 14 laps?
### Context:
CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = "alain prost" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Digital/analog signal with a Chipset based on with radeon 8500?
### Context:
CREATE TABLE table_name_50 (digital_analog_signal VARCHAR, chipset_based_on VARCHAR) [/INST]
### Response:
SELECT digital_analog_signal FROM table_name_50 WHERE chipset_based_on = "radeon 8500" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Retail name with a Chipset based on with radeon 9200?
### Context:
CREATE TABLE table_name_1 (retail_name VARCHAR, chipset_based_on VARCHAR) [/INST]
### Response:
SELECT retail_name FROM table_name_1 WHERE chipset_based_on = "radeon 9200" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chipset based on with a Digital/analog signal of analog, with an Available interface of agp, with Retail name with all-in-wonder 9800?
### Context:
CREATE TABLE table_name_18 (chipset_based_on VARCHAR, retail_name VARCHAR, digital_analog_signal VARCHAR, available_interface VARCHAR) [/INST]
### Response:
SELECT chipset_based_on FROM table_name_18 WHERE digital_analog_signal = "analog" AND available_interface = "agp" AND retail_name = "all-in-wonder 9800" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Retail name with an Available interface with pci express 2.0?
### Context:
CREATE TABLE table_name_24 (retail_name VARCHAR, available_interface VARCHAR) [/INST]
### Response:
SELECT retail_name FROM table_name_24 WHERE available_interface = "pci express 2.0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Digital/analog signal with an Available interface with pci express, with Retail name with all-in-wonder x600 pro?
### Context:
CREATE TABLE table_name_71 (digital_analog_signal VARCHAR, available_interface VARCHAR, retail_name VARCHAR) [/INST]
### Response:
SELECT digital_analog_signal FROM table_name_71 WHERE available_interface = "pci express" AND retail_name = "all-in-wonder x600 pro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600?
### Context:
CREATE TABLE table_name_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR) [/INST]
### Response:
SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = "analog" AND chipset_based_on = "radeon 9600" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match on 11/2/01?
### Context:
CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_94 WHERE date = "11/2/01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Did the Bulls win or lose at Valley Parade?
### Context:
CREATE TABLE table_name_84 (result VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_84 WHERE venue = "valley parade" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the Vikings won the championship at Namyangju Stadium?
### Context:
CREATE TABLE table_name_86 (score VARCHAR, champion VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_86 WHERE champion = "vikings" AND stadium = "namyangju stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the label for formats of cd and album and year of 2008
### Context:
CREATE TABLE table_name_48 (label VARCHAR, year VARCHAR, formats VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_48 WHERE formats = "cd" AND format = "album" AND year = 2008 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the label for digital format with nebula remixes
### Context:
CREATE TABLE table_name_9 (label VARCHAR, formats VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_9 WHERE formats = "digital" AND title = "nebula remixes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want to know the catalog number for album and seed records label for cd and title of grey
### Context:
CREATE TABLE table_name_66 (catalog_number VARCHAR, title VARCHAR, formats VARCHAR, format VARCHAR, label VARCHAR) [/INST]
### Response:
SELECT catalog_number FROM table_name_66 WHERE format = "album" AND label = "seed records" AND formats = "cd" AND title = "grey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the format with year more than 2000 and label of myuzyk with catalog number of mzykn08
### Context:
CREATE TABLE table_name_48 (format VARCHAR, catalog_number VARCHAR, year VARCHAR, label VARCHAR) [/INST]
### Response:
SELECT format FROM table_name_48 WHERE year > 2000 AND label = "myuzyk" AND catalog_number = "mzykn08" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue was kardinia park what was the highest Crowd attended?
### Context:
CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MAX(crowd) FROM table_name_12 WHERE venue = "kardinia park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home team of collingwood was playing, what was the Away team?
### Context:
CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_45 WHERE home_team = "collingwood" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.