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 field goals for a player that had less than 3 touchdowns, had 4 points, and had less than 4 extra points?
### Context:
CREATE TABLE table_name_99 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(field_goals) FROM table_name_99 WHERE touchdowns < 3 AND points = 4 AND extra_points < 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 number of draws of the NTFA Div 2 Lilydale?
### Context:
CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR) [/INST]
### Response:
SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of draws of the team with 9 wins and less than 0 byes?
### Context:
CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR) [/INST]
### Response:
SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 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 lowest number of against of NTFA Div 2 Fingal Valley?
### Context:
CREATE TABLE table_name_38 (against INTEGER, ntfa_div_2 VARCHAR) [/INST]
### Response:
SELECT MIN(against) FROM table_name_38 WHERE ntfa_div_2 = "fingal valley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest rank with 2,080 area?
### Context:
CREATE TABLE table_name_34 (rank INTEGER, area__sqmi_ VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_name_34 WHERE area__sqmi_ = 2 OFFSET 080 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest area in Alaska with a population of 39 and rank over 19?
### Context:
CREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR) [/INST]
### Response:
SELECT MAX(area__km_2__) FROM table_name_41 WHERE location = "alaska" AND population__2000_ = "39" AND rank > 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:
How many events are in South Africa?
### Context:
CREATE TABLE table_name_25 (events INTEGER, country VARCHAR) [/INST]
### Response:
SELECT SUM(events) FROM table_name_25 WHERE country = "south africa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was game 2 played?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE game = "game 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:
Which game had Philadelphia as its home team and was played on April 23?
### Context:
CREATE TABLE table_name_55 (game VARCHAR, home_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_55 WHERE home_team = "philadelphia" AND date = "april 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 games had Philadelphia as home team?
### Context:
CREATE TABLE table_name_20 (game VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_20 WHERE home_team = "philadelphia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the game played on April 16 with Philadelphia as home team?
### Context:
CREATE TABLE table_name_64 (result VARCHAR, home_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_64 WHERE home_team = "philadelphia" AND date = "april 16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the April 16 game?
### Context:
CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_94 WHERE date = "april 16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which game had a result of 126-95?
### Context:
CREATE TABLE table_name_88 (game VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_88 WHERE result = "126-95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Services have a Local authority of chiltern, and a Zone 2010 of 9?
### Context:
CREATE TABLE table_name_94 (services VARCHAR, local_authority VARCHAR, zone_2010 VARCHAR) [/INST]
### Response:
SELECT services FROM table_name_94 WHERE local_authority = "chiltern" AND zone_2010 = "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:
Which Station has a Zone 2010 of 7?
### Context:
CREATE TABLE table_name_65 (station VARCHAR, zone_2010 VARCHAR) [/INST]
### Response:
SELECT station FROM table_name_65 WHERE zone_2010 = "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:
Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?
### Context:
CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR) [/INST]
### Response:
SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Local authority has Services of greater anglia?
### Context:
CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR) [/INST]
### Response:
SELECT local_authority FROM table_name_33 WHERE services = "greater anglia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Station has a Zone 2008 of 8, and a Zone 2007 of outside zones, and Services of london overground?
### Context:
CREATE TABLE table_name_73 (station VARCHAR, services VARCHAR, zone_2008 VARCHAR, zone_2007 VARCHAR) [/INST]
### Response:
SELECT station FROM table_name_73 WHERE zone_2008 = "8" AND zone_2007 = "outside zones" AND services = "london overground" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Zone 2008 has Services of greater anglia, and a Station of cheshunt?
### Context:
CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT zone_2008 FROM table_name_17 WHERE services = "greater anglia" AND station = "cheshunt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 touchdowns are there when there were 0 extra points and Hal Weeks had left halfback?
### Context:
CREATE TABLE table_name_71 (touchdowns VARCHAR, player VARCHAR, extra_points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT touchdowns FROM table_name_71 WHERE extra_points = 0 AND position = "left halfback" AND player = "hal weeks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 field goals did duncan thompson have?
### Context:
CREATE TABLE table_name_8 (field_goals VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 field goals when there were more than 1 touchdown and 0 extra points?
### Context:
CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) [/INST]
### Response:
SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 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 lowest number of field goals when the points were less than 5?
### Context:
CREATE TABLE table_name_53 (field_goals INTEGER, points INTEGER) [/INST]
### Response:
SELECT MIN(field_goals) FROM table_name_53 WHERE points < 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 HAAT of devils lake
### Context:
CREATE TABLE table_name_94 (haat VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date with a winner of km (mi)?
### Context:
CREATE TABLE table_name_20 (date VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_20 WHERE winner = "km (mi)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W of an 89.1 frequency translator?
### Context:
CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR) [/INST]
### Response:
SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.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 class of the translator with 10 ERP W and a call sign of w273bl?
### Context:
CREATE TABLE table_name_57 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info of the translator with an Irmo, South Carolina city license?
### Context:
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign of the translator in Spring Valley, Nevada?
### Context:
CREATE TABLE table_name_16 (call_sign VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT call_sign FROM table_name_16 WHERE city_of_license = "spring valley, nevada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign of the translator with an ERP W greater than 38 and a city license from Great Falls, Montana?
### Context:
CREATE TABLE table_name_60 (call_sign VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT call_sign FROM table_name_60 WHERE erp_w > 38 AND city_of_license = "great falls, montana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W for frequency of 92.7
### Context:
CREATE TABLE table_name_66 (erp_w VARCHAR, frequency_mhz VARCHAR) [/INST]
### Response:
SELECT erp_w FROM table_name_66 WHERE frequency_mhz = 92.7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the ERP W for glens falls, new york
### Context:
CREATE TABLE table_name_56 (erp_w VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT erp_w FROM table_name_56 WHERE city_of_license = "glens falls, new york" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info for frequency Mhz less than 97.3 and call sign of w237br
### Context:
CREATE TABLE table_name_37 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT fcc_info FROM table_name_37 WHERE frequency_mhz < 97.3 AND call_sign = "w237br" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average ERP W and call sign of w237br
### Context:
CREATE TABLE table_name_36 (erp_w INTEGER, call_sign VARCHAR) [/INST]
### Response:
SELECT AVG(erp_w) FROM table_name_36 WHERE call_sign = "w237br" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has Points of 64, and a Game of 49?
### Context:
CREATE TABLE table_name_5 (score VARCHAR, points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_5 WHERE points = 64 AND game = 49 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have a Score of 4–1, and a Record of 18–10–8–1, and a January larger than 2?
### Context:
CREATE TABLE table_name_71 (points INTEGER, january VARCHAR, score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_71 WHERE score = "4–1" AND record = "18–10–8–1" AND january > 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Points have a January of 18?
### Context:
CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_88 WHERE january = 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:
How many Games have a Score of 5–4, and Points smaller than 49?
### Context:
CREATE TABLE table_name_96 (game VARCHAR, score VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_96 WHERE score = "5–4" AND points < 49 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals?
### Context:
CREATE TABLE table_name_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT AVG(gold) FROM table_name_64 WHERE bronze = 1 AND type = "winter" AND silver < 3 AND total < 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 highest total medals winter athlete Clara Hughes has?
### Context:
CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT MAX(total) FROM table_name_41 WHERE type = "winter" AND athlete = "clara hughes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of bronze a short track athlete with 0 gold medals has?
### Context:
CREATE TABLE table_name_47 (bronze INTEGER, sport VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(bronze) FROM table_name_47 WHERE sport = "short track" AND gold = 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 Project Name with a Country that is kazakhstan and a Peak that is 150?
### Context:
CREATE TABLE table_name_90 (project_name VARCHAR, country VARCHAR, peak VARCHAR) [/INST]
### Response:
SELECT project_name FROM table_name_90 WHERE country = "kazakhstan" AND peak = "150" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Peak with a Project Name that is talakan ph 1?
### Context:
CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR) [/INST]
### Response:
SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 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 Project Name with a Country that is opec?
### Context:
CREATE TABLE table_name_36 (project_name VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT project_name FROM table_name_36 WHERE country = "opec" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Operator with a Peak that is 55?
### Context:
CREATE TABLE table_name_47 (operator VARCHAR, peak VARCHAR) [/INST]
### Response:
SELECT operator FROM table_name_47 WHERE peak = "55" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 they had a 25-41-9 record?
### Context:
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_84 WHERE record = "25-41-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 game associated with a score of 4 - 2, and a record of 25-39-9?
### Context:
CREATE TABLE table_name_81 (game INTEGER, score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_81 WHERE score = "4 - 2" AND record = "25-39-9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many attendances have w 48-10 as the result?
### Context:
CREATE TABLE table_name_6 (attendance INTEGER, result VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_6 WHERE result = "w 48-10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many attendances have 9 as the week?
### Context:
CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_78 WHERE week = 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 lowest attendance that has a week less than 4, and w 13-7 as the result?
### Context:
CREATE TABLE table_name_98 (attendance INTEGER, week VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_98 WHERE week < 4 AND result = "w 13-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 psd-pc for 18-22/04/2009?
### Context:
CREATE TABLE table_name_65 (psd___pc VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT psd___pc FROM table_name_65 WHERE date = "18-22/04/2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date has the others of 2%?
### Context:
CREATE TABLE table_name_74 (date VARCHAR, others VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_74 WHERE others = "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 UDMR for 18-22/04/2009?
### Context:
CREATE TABLE table_name_75 (udmr VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT udmr FROM table_name_75 WHERE date = "18-22/04/2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the other is n/a and the psc-pc is 30% what is the date?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the polling firm with others of 1%?
### Context:
CREATE TABLE table_name_25 (polling_firm VARCHAR, others VARCHAR) [/INST]
### Response:
SELECT polling_firm FROM table_name_25 WHERE others = "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 elena basescu when the poling firm of gallup?
### Context:
CREATE TABLE table_name_98 (elena_băsescu VARCHAR, polling_firm VARCHAR) [/INST]
### Response:
SELECT elena_băsescu FROM table_name_98 WHERE polling_firm = "gallup" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Game smaller than 34, and a December smaller than 14, and a Score of 10 - 6 has what opponent?
### Context:
CREATE TABLE table_name_46 (opponent VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_46 WHERE game < 34 AND december < 14 AND score = "10 - 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:
Game larger than 34, and a December smaller than 23 had what record?
### Context:
CREATE TABLE table_name_20 (record VARCHAR, game VARCHAR, december VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_20 WHERE game > 34 AND december < 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:
Record of 15-12-4, and a Game larger than 31 involves what highest December?
### Context:
CREATE TABLE table_name_68 (december INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(december) FROM table_name_68 WHERE record = "15-12-4" AND game > 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Points have a Record of 45–21–4, and a Game larger than 70?
### Context:
CREATE TABLE table_name_77 (points INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_77 WHERE record = "45–21–4" AND game > 70 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which March is the lowest one that has a Score of 5–6, and Points smaller than 100?
### Context:
CREATE TABLE table_name_88 (march INTEGER, score VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MIN(march) FROM table_name_88 WHERE score = "5–6" AND points < 100 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a March larger than 15, and Points larger than 96, and a Game smaller than 76, and an Opponent of @ washington capitals?
### Context:
CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_65 WHERE march > 15 AND points > 96 AND game < 76 AND opponent = "@ washington capitals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record of 45–21–4?
### Context:
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_51 WHERE record = "45–21–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 year was the building completed that has 10 floors?
### Context:
CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR) [/INST]
### Response:
SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the name of the building with 10 floors?
### Context:
CREATE TABLE table_name_13 (name VARCHAR, floors VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_13 WHERE floors = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How tall is the florida life building, completed before 1990?
### Context:
CREATE TABLE table_name_44 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT height_ft___m FROM table_name_44 WHERE year_completed < 1990 AND name = "florida life building" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of 86-87 (2-4) is what game?
### Context:
CREATE TABLE table_name_28 (game VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_28 WHERE result = "86-87 (2-4)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of 88-85 ot (1-0) involves what game?
### Context:
CREATE TABLE table_name_16 (game VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_16 WHERE result = "88-85 ot (1-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:
Game of game 5 had what result?
### Context:
CREATE TABLE table_name_83 (result VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_83 WHERE game = "game 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:
Road Team of utah jazz, and a Result of 81-83 (3-2) involved what game?
### Context:
CREATE TABLE table_name_27 (game VARCHAR, road_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_27 WHERE road_team = "utah jazz" AND result = "81-83 (3-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:
Home Team of chicago bulls, and a Result of 81-83 (3-2) involved what game?
### Context:
CREATE TABLE table_name_33 (game VARCHAR, home_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game FROM table_name_33 WHERE home_team = "chicago bulls" AND result = "81-83 (3-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:
Result of 86-87 (2-4) involves what home team?
### Context:
CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-4)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the fewest wins that has fewer than 23 goals scored, team of 2 de Mayo, and fewer than 7 draws?
### Context:
CREATE TABLE table_name_16 (wins INTEGER, draws VARCHAR, scored VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MIN(wins) FROM table_name_16 WHERE scored < 23 AND team = "2 de mayo" AND draws < 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 number of draws for the team with more than 8 losses and 13 points?
### Context:
CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much March has Points of 85?
### Context:
CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(march) FROM table_name_24 WHERE points = 85 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game is the lowest one that has a Score of 2–3 ot, and Points larger than 76?
### Context:
CREATE TABLE table_name_46 (game INTEGER, score VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_name_46 WHERE score = "2–3 ot" AND points > 76 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games have a March of 19, and Points smaller than 83?
### Context:
CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Almali village with the Süskən village zərnə?
### Context:
CREATE TABLE table_name_77 (almalı__qax_ VARCHAR, süskən VARCHAR) [/INST]
### Response:
SELECT almalı__qax_ FROM table_name_77 WHERE süskən = "zərnə" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Almali village with the Malax village qaxingiloy?
### Context:
CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) [/INST]
### Response:
SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Süskən village with a Malax village meşəbaş?
### Context:
CREATE TABLE table_name_25 (süskən VARCHAR, malax VARCHAR) [/INST]
### Response:
SELECT süskən FROM table_name_25 WHERE malax = "meşəbaş" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Qaxmuğal village with a Malax village meşəbaş?
### Context:
CREATE TABLE table_name_90 (qaxmuğal VARCHAR, malax VARCHAR) [/INST]
### Response:
SELECT qaxmuğal FROM table_name_90 WHERE malax = "meşəbaş" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Qaxmuğal village with a Fistiqli village keşqutan?
### Context:
CREATE TABLE table_name_81 (qaxmuğal VARCHAR, fıstıqlı VARCHAR) [/INST]
### Response:
SELECT qaxmuğal FROM table_name_81 WHERE fıstıqlı = "keşqutan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the highest championships where the club is Springfield Cardinals?
### Context:
CREATE TABLE table_name_54 (championships INTEGER, club VARCHAR) [/INST]
### Response:
SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum torque that has 2,445 CC Displacement, and an Iveco 8144.61 engine?
### Context:
CREATE TABLE table_name_36 (max_torque_at_rpm VARCHAR, displacement VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT max_torque_at_rpm FROM table_name_36 WHERE displacement = "2,445 cc" AND engine = "iveco 8144.61" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Valvetrain has a fuel system made up of petrol engines?
### Context:
CREATE TABLE table_name_77 (valvetrain VARCHAR, fuel_system VARCHAR) [/INST]
### Response:
SELECT valvetrain FROM table_name_77 WHERE fuel_system = "petrol engines" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Population has an Altitude (mslm) larger than 98, and a Density (inhabitants/km 2) larger than 5869, and a Rank of 1st?
### Context:
CREATE TABLE table_name_22 (population INTEGER, rank VARCHAR, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR) [/INST]
### Response:
SELECT SUM(population) FROM table_name_22 WHERE altitude__mslm_ > 98 AND density__inhabitants_km_2__ > 5869 AND rank = "1st" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Population is the highest one that has a Density (inhabitants/km 2) larger than 2805.8, and a Rank of 1st, and an Altitude (mslm) smaller than 122?
### Context:
CREATE TABLE table_name_99 (population INTEGER, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MAX(population) FROM table_name_99 WHERE density__inhabitants_km_2__ > 2805.8 AND rank = "1st" AND altitude__mslm_ < 122 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869?
### Context:
CREATE TABLE table_name_20 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT MAX(altitude__mslm_) FROM table_name_20 WHERE area__km_2__ < 13.01 AND population = 74536 AND density__inhabitants_km_2__ > 5869 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492?
### Context:
CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = "legnano" AND population > 59492 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Motor that has a Focuses bigger than 62, and a Participant of rebaque?
### Context:
CREATE TABLE table_name_73 (engine VARCHAR, points VARCHAR, entrant VARCHAR) [/INST]
### Response:
SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = "rebaque" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Focus that has a Year bigger than 1977?
### Context:
CREATE TABLE table_name_1 (points VARCHAR, year INTEGER) [/INST]
### Response:
SELECT points FROM table_name_1 WHERE year > 1977 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Hans Hartmann drive?
### Context:
CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 second that has jordan moulton as the lead?
### Context:
CREATE TABLE table_name_97 (second VARCHAR, lead VARCHAR) [/INST]
### Response:
SELECT second FROM table_name_97 WHERE lead = "jordan moulton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip has martina baumann as the third?
### Context:
CREATE TABLE table_name_22 (skip VARCHAR, third VARCHAR) [/INST]
### Response:
SELECT skip FROM table_name_22 WHERE third = "martina baumann" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip has switzerland as the country?
### Context:
CREATE TABLE table_name_15 (skip VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT skip FROM table_name_15 WHERE country = "switzerland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip has angela tuvaeva as the lead?
### Context:
CREATE TABLE table_name_13 (skip VARCHAR, lead VARCHAR) [/INST]
### Response:
SELECT skip FROM table_name_13 WHERE lead = "angela tuvaeva" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip has norway as the country?
### Context:
CREATE TABLE table_name_66 (skip VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT skip FROM table_name_66 WHERE country = "norway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 skip has denmark as the country?
### Context:
CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT skip FROM table_name_58 WHERE country = "denmark" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visitor has a Los Angeles home?
### Context:
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_20 WHERE home = "los angeles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponent of edmonton oilers, and a Game of 3 is what series?
### Context:
CREATE TABLE table_name_95 (series VARCHAR, opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT series FROM table_name_95 WHERE opponent = "edmonton oilers" AND game = 3 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.