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:
When was petter ronnquist picked?
### Context:
CREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT overall FROM table_name_49 WHERE player = "petter ronnquist" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which venue has a Result of 1–0?
### Context:
CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_96 WHERE result = "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:
Which venue has a Result of 1–2?
### Context:
CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_98 WHERE result = "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 is the highest score with a Result of 1–1 on 4 march 2001?
### Context:
CREATE TABLE table_name_59 (scored INTEGER, result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT MAX(scored) FROM table_name_59 WHERE result = "1–1" AND date = "4 march 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result of 2003 eaff championship preliminary on 2 march 2003?
### Context:
CREATE TABLE table_name_70 (result VARCHAR, competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_70 WHERE competition = "2003 eaff championship preliminary" AND date = "2 march 2003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the engine for luigi villoresi
### Context:
CREATE TABLE table_name_44 (engine VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT engine FROM table_name_44 WHERE driver = "luigi villoresi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want the chassis for entrant of ecurie lutetia
### Context:
CREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the game played at princes park?
### Context:
CREATE TABLE table_name_8 (date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_8 WHERE venue = "princes park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score of the away team when the game was played at vfl park?
### Context:
CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_83 WHERE venue = "vfl park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the kaz hayashi for block A being bushi
### Context:
CREATE TABLE table_name_43 (kaz_hayashi VARCHAR, block_a VARCHAR) [/INST]
### Response:
SELECT kaz_hayashi FROM table_name_43 WHERE block_a = "bushi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minoru for block A being koji kanemoto
### Context:
CREATE TABLE table_name_38 (minoru VARCHAR, block_a VARCHAR) [/INST]
### Response:
SELECT minoru FROM table_name_38 WHERE block_a = "koji kanemoto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 BUSHI when it has kenny omega of yang (7:27)
### Context:
CREATE TABLE table_name_45 (bushi VARCHAR, kenny_omega VARCHAR) [/INST]
### Response:
SELECT bushi FROM table_name_45 WHERE kenny_omega = "yang (7:27)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the BUSHI that has kaz hayashi of kai (14:01)
### Context:
CREATE TABLE table_name_50 (bushi VARCHAR, kaz_hayashi VARCHAR) [/INST]
### Response:
SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the Kaz Hayashi which has BUSHI of yang (9:43)
### Context:
CREATE TABLE table_name_49 (kaz_hayashi VARCHAR, bushi VARCHAR) [/INST]
### Response:
SELECT kaz_hayashi FROM table_name_49 WHERE bushi = "yang (9:43)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver for the Dutch Grand Prix?
### Context:
CREATE TABLE table_name_25 (winning_driver VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_name_25 WHERE race = "dutch grand prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii
### Context:
CREATE TABLE table_name_23 (song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR) [/INST]
### Response:
SELECT song FROM table_name_23 WHERE year < 2013 AND music_director = "yuvan shankar raja" AND film = "billa ii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title aired on March 19, 1998?
### Context:
CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the show with the production code k2708?
### Context:
CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_name_1 WHERE production_code = "k2708" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season for series 81?
### Context:
CREATE TABLE table_name_52 (season__number VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT season__number FROM table_name_52 WHERE series__number = 81 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date was a match played at Lake Oval?
### Context:
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_4 WHERE venue = "lake oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At the home game in Collingwood, how much did the away team score?
### Context:
CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_62 WHERE home_team = "collingwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In the game at Victoria Park, what was the number of people in the crowd?
### Context:
CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the tournament that happened in 1974 in gothenburg , sweden?
### Context:
CREATE TABLE table_name_84 (tournament VARCHAR, year VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_84 WHERE year = 1974 AND venue = "gothenburg , sweden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MLB division has a win record of 76?
### Context:
CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT division FROM table_name_26 WHERE wins = "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:
What was the final rank of the Brewers in 1980?
### Context:
CREATE TABLE table_name_63 (finish VARCHAR, team_season VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_63 WHERE team_season = "1980" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final rank of the Brewers when they achieved a win percentage of .585?
### Context:
CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR) [/INST]
### Response:
SELECT finish FROM table_name_79 WHERE win__percentage = ".585" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division were the Brewers a part of in the 1987 season?
### Context:
CREATE TABLE table_name_23 (division VARCHAR, team_season VARCHAR) [/INST]
### Response:
SELECT division FROM table_name_23 WHERE team_season = "1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division of the Brewers had a 5th place ranking and a loss record of 87?
### Context:
CREATE TABLE table_name_98 (division VARCHAR, finish VARCHAR, losses VARCHAR) [/INST]
### Response:
SELECT division FROM table_name_98 WHERE finish = "5th" AND losses = "87" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
where was the game site when the opponent was san diego chargers?
### Context:
CREATE TABLE table_name_52 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_name_52 WHERE opponent = "san diego chargers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the week was 9?
### Context:
CREATE TABLE table_name_44 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_44 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 venue features geelong as the away side?
### Context:
CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_29 WHERE away_team = "geelong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue features essendon at home?
### Context:
CREATE TABLE table_name_65 (venue VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_65 WHERE home_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the nominee for best director?
### Context:
CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT nominee FROM table_name_86 WHERE category = "best director" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ceremony was leela chitnis nominated at?
### Context:
CREATE TABLE table_name_45 (ceremony VARCHAR, outcome VARCHAR, nominee VARCHAR) [/INST]
### Response:
SELECT ceremony FROM table_name_45 WHERE outcome = "nominated" AND nominee = "leela chitnis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number of the CFL team, the winnipeg blue bombers?
### Context:
CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_name_42 WHERE cfl_team = "winnipeg blue bombers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college has 41 picks?
### Context:
CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_86 WHERE pick__number = 41 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player plays for the college of manitoba?
### Context:
CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_96 WHERE college = "manitoba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Unami Delaware value for a Thomas value of nacha?
### Context:
CREATE TABLE table_name_18 (unami_delaware VARCHAR, thomas__1698_ VARCHAR) [/INST]
### Response:
SELECT unami_delaware FROM table_name_18 WHERE thomas__1698_ = "nacha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Campanius term for an Unami Delaware term of palé·naxk?
### Context:
CREATE TABLE table_name_43 (campanius__ca_1645_ VARCHAR, unami_delaware VARCHAR) [/INST]
### Response:
SELECT campanius__ca_1645_ FROM table_name_43 WHERE unami_delaware = "palé·naxk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 De Laet term for a Munsee Delaware term of ní·ša?
### Context:
CREATE TABLE table_name_12 (de_laet__1633_ VARCHAR, munsee_delaware VARCHAR) [/INST]
### Response:
SELECT de_laet__1633_ FROM table_name_12 WHERE munsee_delaware = "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:
What is the name of the player picked before round 2?
### Context:
CREATE TABLE table_name_75 (player VARCHAR, round INTEGER) [/INST]
### Response:
SELECT player FROM table_name_75 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 is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?
### Context:
CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 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 name of the player with an Overall larger than 227?
### Context:
CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER) [/INST]
### Response:
SELECT player FROM table_name_14 WHERE overall > 227 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest overall for a round larger than 8 for pavol demitra?
### Context:
CREATE TABLE table_name_40 (overall INTEGER, round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = "pavol demitra" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 description does Livery of ews have?
### Context:
CREATE TABLE table_name_61 (description VARCHAR, livery VARCHAR) [/INST]
### Response:
SELECT description FROM table_name_61 WHERE livery = "ews" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Position has a Super League 1 Competition?
### Context:
CREATE TABLE table_name_85 (position VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_85 WHERE competition = "super league 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 Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?
### Context:
CREATE TABLE table_name_54 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_54 WHERE captain = "robbie paul" AND lost < 5 AND main_article = "bradford bulls 1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Captain has Lost 13?
### Context:
CREATE TABLE table_name_28 (captain VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT captain FROM table_name_28 WHERE lost = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Drawn did Coach Francis Cummins have with less than 4 Lost?
### Context:
CREATE TABLE table_name_99 (drawn INTEGER, lost VARCHAR, coach VARCHAR) [/INST]
### Response:
SELECT SUM(drawn) FROM table_name_99 WHERE lost < 4 AND coach = "francis cummins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 horse did not start and had a total of over 16.16?
### Context:
CREATE TABLE table_name_10 (horse VARCHAR, faults VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT horse FROM table_name_10 WHERE faults = "did not start" AND total > 16.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 total for christina liebherr?
### Context:
CREATE TABLE table_name_4 (total INTEGER, rider VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_4 WHERE rider = "christina liebherr" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the population of the year featuring an 87.5% German population?
### Context:
CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR) [/INST]
### Response:
SELECT population FROM table_name_51 WHERE germans = "87.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:
How tall is the player from Chicago, IL?
### Context:
CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT height FROM table_name_48 WHERE hometown = "chicago, il" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What college does Dennis Scott attend?
### Context:
CREATE TABLE table_name_26 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_26 WHERE player = "dennis scott" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's from Bay City, TX?
### Context:
CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_20 WHERE hometown = "bay city, tx" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NBA Draft had Labradford Smith?
### Context:
CREATE TABLE table_name_61 (nba_draft VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the lowest attendance at Windy Hill?
### Context:
CREATE TABLE table_name_77 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team's score at Princes Park?
### Context:
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_6 WHERE venue = "princes park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much did the home team Geelong score?
### Context:
CREATE TABLE table_name_50 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_50 WHERE home_team = "geelong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team that played Carlton?
### Context:
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_86 WHERE away_team = "carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status with builder of orenstein and koppel
### Context:
CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR) [/INST]
### Response:
SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 builder for joffre
### Context:
CREATE TABLE table_name_60 (builder VARCHAR, name_number VARCHAR) [/INST]
### Response:
SELECT builder FROM table_name_60 WHERE name_number = "joffre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where did Carlton play as the home team?
### Context:
CREATE TABLE table_name_14 (venue VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_14 WHERE home_team = "carlton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team when Melbourne was the away team?
### Context:
CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_98 WHERE away_team = "melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result on November 20, 1988?
### Context:
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_49 WHERE date = "november 20, 1988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What time was the kickoff on week 5?
### Context:
CREATE TABLE table_name_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT kickoff_[a_] FROM table_name_60 WHERE week = "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:
Where was the game that had an attendance of 39,889?
### Context:
CREATE TABLE table_name_64 (game_site VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_name_64 WHERE attendance = "39,889" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the attendance was 43,502?
### Context:
CREATE TABLE table_name_95 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_95 WHERE attendance = "43,502" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label released a CD in 1988?
### Context:
CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the United Kingdom have a catalog of FT 507?
### Context:
CREATE TABLE table_name_86 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_86 WHERE region = "united kingdom" AND catalog = "ft 507" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Catalog FT 507?
### Context:
CREATE TABLE table_name_93 (date VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_93 WHERE catalog = "ft 507" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label had a catalog of 54513 in 1988?
### Context:
CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR) [/INST]
### Response:
SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Fantasy Records release a CD format of catalog FCD-4513-2?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_54 WHERE label = "fantasy records" AND format = "cd" AND catalog = "fcd-4513-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 John Watson's total laps with a grid of less than 7?
### Context:
CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_21 WHERE driver = "john watson" AND grid < 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many laps were there with #9 grid?
### Context:
CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT COUNT(laps) FROM table_name_44 WHERE grid = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the time/retired with laps less than 33 and a grid of 14?
### Context:
CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was John Watson's time/retired?
### Context:
CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT time_retired FROM table_name_46 WHERE driver = "john watson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with the no. 14?
### Context:
CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_41 WHERE no_s_ = "14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the height of the player from Benetton Treviso, Italy?
### Context:
CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
I want to know the pens with conv of 6
### Context:
CREATE TABLE table_name_10 (pens VARCHAR, conv VARCHAR) [/INST]
### Response:
SELECT pens FROM table_name_10 WHERE conv = "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:
Which pens has 1 tries and matt alexander as a player with conv of 4?
### Context:
CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "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 venue that has conv of 5 players on 20 points
### Context:
CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 names of those who made less than 3 wins in 15 matches?
### Context:
CREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 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 highest amount of points when the game is less than 2?
### Context:
CREATE TABLE table_name_31 (high_points VARCHAR, game INTEGER) [/INST]
### Response:
SELECT high_points FROM table_name_31 WHERE 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:
What was the score on April 20?
### Context:
CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_3 WHERE date = "april 20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the surface on june 11, 1995
### Context:
CREATE TABLE table_name_70 (surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_70 WHERE date = "june 11, 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the score for september 12, 1993
### Context:
CREATE TABLE table_name_34 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_34 WHERE date = "september 12, 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface for score of 7–6(4), 6–1
### Context:
CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date that had a score of 7–6(4), 6–1
### Context:
CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–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 result for the world group, semifinals after the year 1997?
### Context:
CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team played against south Melbourne?
### Context:
CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average crowd size for the home team essendon?
### Context:
CREATE TABLE table_name_6 (crowd INTEGER, home_team VARCHAR) [/INST]
### Response:
SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team score when north Melbourne was the away team?
### Context:
CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_49 WHERE away_team = "north melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average grid with brm and under 63 laps?
### Context:
CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR) [/INST]
### Response:
SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 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:
On what circuit is there a class gts-2 race that takes place on May 27?
### Context:
CREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-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 circuit is there a race that lasts 2 hours?
### Context:
CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_69 WHERE length = "2 hours" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class is the dodge dealers grand prix?
### Context:
CREATE TABLE table_name_23 (class VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_23 WHERE race = "the dodge dealers grand prix" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length of the First Union six hours at the Glen?
### Context:
CREATE TABLE table_name_95 (length VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT length FROM table_name_95 WHERE race = "first union six hours at the glen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race that takes place on August 25?
### Context:
CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_20 WHERE date = "august 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score when Montreal was home?
### Context:
CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_94 WHERE home = "montreal" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.