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 highest Feb value having an opponent of the Philadelphia Flyers and is after game 63?
### Context:
CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(february) FROM table_name_43 WHERE opponent = "philadelphia flyers" AND game > 63 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4?
### Context:
CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-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:
Which Year has a Genre of rock (track)?
### Context:
CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_3 WHERE genre = "rock (track)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Year Inducted is the highest one that has a Year smaller than 1965?
### Context:
CREATE TABLE table_name_28 (year INTEGER) [/INST]
### Response:
SELECT MAX(year) AS Inducted FROM table_name_28 WHERE year < 1965 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson?
### Context:
CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?
### Context:
CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the Record on September 21?
### Context:
CREATE TABLE table_name_78 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_78 WHERE date = "september 21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record the day David Weathers (15) had a save?
### Context:
CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_10 WHERE save = "david weathers (15)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had a save on September 2?
### Context:
CREATE TABLE table_name_49 (save VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT save FROM table_name_49 WHERE date = "september 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 loss on September 2?
### Context:
CREATE TABLE table_name_16 (loss VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT loss FROM table_name_16 WHERE date = "september 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 is the total number of byes that are associated with 1 draw, 5 wins, and fewer than 12 losses?
### Context:
CREATE TABLE table_name_70 (byes INTEGER, losses VARCHAR, draws VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT SUM(byes) FROM table_name_70 WHERE draws = 1 AND wins = 5 AND losses < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of byes associated with fewer than 8 wins and fewer than 1 draw?
### Context:
CREATE TABLE table_name_67 (byes VARCHAR, draws VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT COUNT(byes) FROM table_name_67 WHERE draws < 1 AND wins < 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the NTFA Div 1 team that has 15 wins and less than 1 draw?
### Context:
CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average number of losses for teams with 0 draws and 0 byes?
### Context:
CREATE TABLE table_name_78 (losses INTEGER, draws VARCHAR, byes VARCHAR) [/INST]
### Response:
SELECT AVG(losses) FROM table_name_78 WHERE draws = 0 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 most number of losses for teams with 5 wins and an against value under 1607?
### Context:
CREATE TABLE table_name_65 (losses INTEGER, wins VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_name_65 WHERE wins = 5 AND against < 1607 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many number of races?
### Context:
CREATE TABLE table_name_72 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(race) FROM table_name_72 WHERE podium > 1 AND season = "1982" AND flap < 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:
Pole smaller than 0 had what lowest podium?
### Context:
CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER) [/INST]
### Response:
SELECT MIN(podium) FROM table_name_92 WHERE pole < 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:
Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what average podium?
### Context:
CREATE TABLE table_name_10 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = "1989" AND pole < 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 was the record on august 24?
### Context:
CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_73 WHERE date = "august 24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Elevation of 11,158 feet 3401 m had what route?
### Context:
CREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR) [/INST]
### Response:
SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Route larger than 24, and a Highway of trail ridge road had what elevation?
### Context:
CREATE TABLE table_name_24 (elevation VARCHAR, route VARCHAR, highway VARCHAR) [/INST]
### Response:
SELECT elevation FROM table_name_24 WHERE route > 24 AND highway = "trail ridge road" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Elevation of 12,183 feet 3713 m is what average route?
### Context:
CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR) [/INST]
### Response:
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 m" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent has a Results¹ of 1:3?
### Context:
CREATE TABLE table_name_28 (opponent VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_28 WHERE results¹ = "1: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:
On what Date was the Results¹ 1:2?
### Context:
CREATE TABLE table_name_76 (date VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_76 WHERE results¹ = "1: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 City had Results¹ of 1:2?
### Context:
CREATE TABLE table_name_39 (city VARCHAR, results¹ VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_39 WHERE results¹ = "1: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:
On what Date was Wales the Opponent?
### Context:
CREATE TABLE table_name_76 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_76 WHERE opponent = "wales" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 City was Bulgaria the Opponent with Results¹ of 1:0?
### Context:
CREATE TABLE table_name_6 (city VARCHAR, results¹ VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_6 WHERE results¹ = "1:0" AND opponent = "bulgaria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Vancouver canucks game was on a date closest to November 4?
### Context:
CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, november VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_60 WHERE opponent = "vancouver canucks" AND november < 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:
Name the year for jerry sichting
### Context:
CREATE TABLE table_name_26 (year VARCHAR, color_commentator_s_ VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_26 WHERE color_commentator_s_ = "jerry sichting" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 studio host for glenn ordway and jerry sichting with year of 1993-94
### Context:
CREATE TABLE table_name_91 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR) [/INST]
### Response:
SELECT studio_host FROM table_name_91 WHERE play_by_play = "glenn ordway" AND color_commentator_s_ = "jerry sichting" AND year = "1993-94" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 flagship station for cedric maxwell and year of 1995-96
### Context:
CREATE TABLE table_name_74 (flagship_station VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT flagship_station FROM table_name_74 WHERE color_commentator_s_ = "cedric maxwell" AND year = "1995-96" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 architect of the 10 floor building with a height of 42 M?
### Context:
CREATE TABLE table_name_68 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR) [/INST]
### Response:
SELECT architect FROM table_name_68 WHERE height_[m] = 42 AND 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 is the height of the building built by architects Ross and Macfarlane?
### Context:
CREATE TABLE table_name_27 (height_ VARCHAR, m VARCHAR, architect VARCHAR) [/INST]
### Response:
SELECT height_[m] FROM table_name_27 WHERE architect = "ross and macfarlane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 architect that built the Electric Railway Chambers before 1915?
### Context:
CREATE TABLE table_name_43 (architect VARCHAR, built VARCHAR, building VARCHAR) [/INST]
### Response:
SELECT architect FROM table_name_43 WHERE built < 1915 AND building = "electric railway chambers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Time on july 18 that has a Loss of lilly (3-3)?
### Context:
CREATE TABLE table_name_34 (time VARCHAR, date VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-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:
Which Opponent has a Record of 43-56?
### Context:
CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_75 WHERE record = "43-56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on July 18 that has Record of 41-51?
### Context:
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_71 WHERE date = "july 18" AND record = "41-51" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is on july 31?
### Context:
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_23 WHERE date = "july 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 Opponent has a Loss of weaver (9-9)?
### Context:
CREATE TABLE table_name_18 (opponent VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_18 WHERE loss = "weaver (9-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 Season was the Poles greater than 14?
### Context:
CREATE TABLE table_name_27 (season VARCHAR, poles INTEGER) [/INST]
### Response:
SELECT season FROM table_name_27 WHERE poles > 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver?
### Context:
CREATE TABLE table_name_7 (season INTEGER, percentage VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT MAX(season) FROM table_name_7 WHERE percentage = "67%" AND driver = "alberto ascari" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Driver that has Races greater than 16?
### Context:
CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER) [/INST]
### Response:
SELECT driver FROM table_name_16 WHERE races > 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 is the average Long that has a GP-GS less than 14, a AVg/G less than 0.8 and a Gain less than 3 and a Loss greater than 8?
### Context:
CREATE TABLE table_name_34 (long INTEGER, loss VARCHAR, gain VARCHAR, gp_gs VARCHAR, avg_g VARCHAR) [/INST]
### Response:
SELECT AVG(long) FROM table_name_34 WHERE gp_gs < 14 AND avg_g < 0.8 AND gain < 3 AND loss > 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest Avg/G with a Long less than 0?
### Context:
CREATE TABLE table_name_99 (avg_g INTEGER, long INTEGER) [/INST]
### Response:
SELECT MIN(avg_g) FROM table_name_99 WHERE long < 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 amount of Avg/G with a Name of blaine gabbert and a Long greater than 30?
### Context:
CREATE TABLE table_name_79 (avg_g INTEGER, name VARCHAR, long VARCHAR) [/INST]
### Response:
SELECT SUM(avg_g) FROM table_name_79 WHERE name = "blaine gabbert" AND long > 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 is the total number of Long with a Av/g of 124.9 but Loss greater than 0?
### Context:
CREATE TABLE table_name_3 (long VARCHAR, loss VARCHAR, avg_g VARCHAR) [/INST]
### Response:
SELECT COUNT(long) FROM table_name_3 WHERE loss > 0 AND avg_g = 124.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 date has parlophone as the label, and lp as a format?
### Context:
CREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school has oregon as the state, and ashland as the city?
### Context:
CREATE TABLE table_name_37 (school VARCHAR, state VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_37 WHERE state = "oregon" AND city = "ashland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conference has mayville state as the school?
### Context:
CREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT conference FROM table_name_71 WHERE school = "mayville state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school has belleville as the city?
### Context:
CREATE TABLE table_name_37 (school VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_37 WHERE city = "belleville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city has trojans as the team, and taylor as the school?
### Context:
CREATE TABLE table_name_43 (city VARCHAR, team VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_43 WHERE team = "trojans" AND school = "taylor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team has great plains as the conference, and concordia (ne) as the school?
### Context:
CREATE TABLE table_name_58 (team VARCHAR, conference VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_58 WHERE conference = "great plains" AND school = "concordia (ne)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is in hillsboro city?
### Context:
CREATE TABLE table_name_53 (school VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_53 WHERE city = "hillsboro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 February larger than 11, and a Record of 23-7-8?
### Context:
CREATE TABLE table_name_92 (game VARCHAR, february VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_92 WHERE february > 11 AND record = "23-7-8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much February has a Game larger than 37, and an Opponent of chicago black hawks?
### Context:
CREATE TABLE table_name_95 (february VARCHAR, game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(february) FROM table_name_95 WHERE game > 37 AND opponent = "chicago black hawks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 February has a Game of 40?
### Context:
CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT february FROM table_name_91 WHERE game = 40 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 February smaller than 8, and an Opponent of montreal canadiens?
### Context:
CREATE TABLE table_name_51 (record VARCHAR, february VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_51 WHERE february < 8 AND opponent = "montreal canadiens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game larger than 40, and a Record of 25-10-8?
### Context:
CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_81 WHERE game > 40 AND record = "25-10-8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the team performance in 1977?
### Context:
CREATE TABLE table_name_28 (team_performance VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT team_performance FROM table_name_28 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:
What was the position of the player whose team lost super bowl xxv before 1992, with a team defense rank larger than 3?
### Context:
CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_47 WHERE team_defense_rank > 3 AND year < 1992 AND team_performance = "lost super bowl xxv" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What round was Joe Patton selected with a pick over 68?
### Context:
CREATE TABLE table_name_94 (round VARCHAR, pick VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_94 WHERE pick > 68 AND player = "joe patton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sail number has a Position smaller than 2?
### Context:
CREATE TABLE table_name_47 (sail_number VARCHAR, position INTEGER) [/INST]
### Response:
SELECT sail_number FROM table_name_47 WHERE position < 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHICH State/country that has ray roberts?
### Context:
CREATE TABLE table_name_43 (state_country VARCHAR, skipper VARCHAR) [/INST]
### Response:
SELECT state_country FROM table_name_43 WHERE skipper = "ray roberts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface did Smeets play on during the Kuwait tournament?
### Context:
CREATE TABLE table_name_30 (surface VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_30 WHERE tournament = "kuwait" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament did Smeets play against Mark nielsen?
### Context:
CREATE TABLE table_name_11 (tournament VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_11 WHERE opponent_in_the_final = "mark nielsen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent during the tournament in Kuwait?
### Context:
CREATE TABLE table_name_91 (opponent_in_the_final VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT opponent_in_the_final FROM table_name_91 WHERE tournament = "kuwait" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight of the player from the vk primorac kotor club?
### Context:
CREATE TABLE table_name_42 (weight VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT weight FROM table_name_42 WHERE club = "vk primorac kotor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weight of the player from pvk jadran club?
### Context:
CREATE TABLE table_name_96 (weight VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT weight FROM table_name_96 WHERE club = "pvk jadran" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player from club pro recco?
### Context:
CREATE TABLE table_name_87 (name_v_t_e VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT name_v_t_e FROM table_name_87 WHERE club = "pro recco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height of the player from club vk primorac kotor who plays gk?
### Context:
CREATE TABLE table_name_96 (height VARCHAR, pos VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_96 WHERE pos = "gk" AND club = "vk primorac kotor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Team 1 where Team 2 is gombe united f.c.?
### Context:
CREATE TABLE table_name_23 (team_1 VARCHAR, team_2 VARCHAR) [/INST]
### Response:
SELECT team_1 FROM table_name_23 WHERE team_2 = "gombe united 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 Team 1 where Team 2 is al tahrir?
### Context:
CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) [/INST]
### Response:
SELECT team_1 FROM table_name_13 WHERE team_2 = "al tahrir" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg where Team 2 is fc 105 libreville?
### Context:
CREATE TABLE table_name_9 (team_2 VARCHAR) [/INST]
### Response:
SELECT 2 AS nd_leg FROM table_name_9 WHERE team_2 = "fc 105 libreville" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 course called that had an Edition of 117th?
### Context:
CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT course FROM table_name_68 WHERE edition = "117th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest year that had a location of Brookline, Massachusetts?
### Context:
CREATE TABLE table_name_78 (year INTEGER, location VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_78 WHERE location = "brookline, massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had an edition of 115th?
### Context:
CREATE TABLE table_name_21 (year INTEGER, edition VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_21 WHERE edition = "115th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did ginger have when she was ranked 5th on a 350cc class bike?
### Context:
CREATE TABLE table_name_73 (points VARCHAR, class VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_73 WHERE class = "350cc" AND rank = "5th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 she ranked 16th with over 12 points?
### Context:
CREATE TABLE table_name_29 (year VARCHAR, rank VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_29 WHERE rank = "16th" AND points > 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
### Context:
CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 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:
How many points did she have with team bultaco, ranked 6th?
### Context:
CREATE TABLE table_name_40 (points INTEGER, team VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_40 WHERE team = "bultaco" AND rank = "6th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kashmiri word for the Indonesian word senin?
### Context:
CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR) [/INST]
### Response:
SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Turkish word for the Bangla word shombar সোমবার?
### Context:
CREATE TABLE table_name_51 (turkish VARCHAR, bangla VARCHAR) [/INST]
### Response:
SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pashto word for the Somali word talaado?
### Context:
CREATE TABLE table_name_24 (pashto VARCHAR, somali VARCHAR) [/INST]
### Response:
SELECT pashto FROM table_name_24 WHERE somali = "talaado" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Punjabi (Pakistan) word for the Kurdish word یـــەک شـەمـمـە yak sham?
### Context:
CREATE TABLE table_name_58 (punjabi__pakistan_ VARCHAR, kurdish VARCHAR) [/INST]
### Response:
SELECT punjabi__pakistan_ FROM table_name_58 WHERE kurdish = "یـــەک شـەمـمـە yak sham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Maltese word for the Malay word rabu?
### Context:
CREATE TABLE table_name_6 (maltese VARCHAR, malay VARCHAR) [/INST]
### Response:
SELECT maltese FROM table_name_6 WHERE malay = "rabu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pashto word for the Malayalam word വ്യാഴം vyazham?
### Context:
CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR) [/INST]
### Response:
SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date of june 22?
### Context:
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_80 WHERE date = "june 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 much Attendance has an Opponent of rockies, and a Record of 32-30?
### Context:
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-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:
Who was the opponent in which the bout ended in round 2?
### Context:
CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_71 WHERE round = 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 method of the bout lasting 4:15?
### Context:
CREATE TABLE table_name_82 (method VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_82 WHERE time = "4:15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the record after the bout lasting 4:15?
### Context:
CREATE TABLE table_name_57 (record VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_57 WHERE time = "4:15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Pick has a Round smaller than 13, and a Position of fullback?
### Context:
CREATE TABLE table_name_64 (pick VARCHAR, round VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(pick) FROM table_name_64 WHERE round < 13 AND position = "fullback" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHo has a Position of end and a School/Club Team of oregon state?
### Context:
CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has a Player of brunel christensen and a Pick smaller than 293?
### Context:
CREATE TABLE table_name_38 (round INTEGER, player VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_38 WHERE player = "brunel christensen" AND pick < 293 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score was on July 25?
### Context:
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_26 WHERE date = "july 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which rule has The Event of n/a, The Result of loss, and The Location of winsford england?
### Context:
CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round of 4, and a Rules of thai boxing?
### Context:
CREATE TABLE table_name_16 (opponent VARCHAR, round VARCHAR, rules VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_16 WHERE round = "4" AND rules = "thai boxing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round of 3, a Time of n/a, and a Rules of n/a?
### Context:
CREATE TABLE table_name_38 (opponent VARCHAR, rules VARCHAR, round VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_38 WHERE round = "3" AND time = "n/a" AND rules = "n/a" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford?
### Context:
CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rules has a Method of ko (punch)?
### Context:
CREATE TABLE table_name_26 (rules VARCHAR, method VARCHAR) [/INST]
### Response:
SELECT rules FROM table_name_26 WHERE method = "ko (punch)" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.