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:
How many constructors are listed for the XVI BRDC international trophy race
### Context:
CREATE TABLE table_1140103_6 (constructor VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT COUNT(constructor) FROM table_1140103_6 WHERE race_name = "XVI BRDC International Trophy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit in which the race name is ii danish grand prix?
### Context:
CREATE TABLE table_1140105_6 (circuit VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_1140105_6 WHERE race_name = "II Danish 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 te name of the constructors dated 26 march?
### Context:
CREATE TABLE table_1140105_6 (constructor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_1140105_6 WHERE date = "26 March" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of circuts dated 22 april?
### Context:
CREATE TABLE table_1140105_6 (circuit VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(circuit) FROM table_1140105_6 WHERE date = "22 April" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the constructor that has the circuit zeltweg airfield?
### Context:
CREATE TABLE table_1140105_6 (constructor VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_1140105_6 WHERE circuit = "Zeltweg Airfield" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning driver where the circuit name is posillipo?
### Context:
CREATE TABLE table_1140105_6 (winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_1140105_6 WHERE circuit = "Posillipo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit where the race xi Syracuse grand prix was held?
### Context:
CREATE TABLE table_1140105_6 (circuit VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_1140105_6 WHERE race_name = "XI Syracuse 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 kind of report is for the Pau circuit?
### Context:
CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT report FROM table_1140111_5 WHERE circuit = "Pau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different kinds of reports are there for races that Juan Manuel Fangio won?
### Context:
CREATE TABLE table_1140111_5 (report VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who constructed the Syracuse circuit?
### Context:
CREATE TABLE table_1140111_5 (constructor VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_1140111_5 WHERE circuit = "Syracuse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race in the Modena circuit?
### Context:
CREATE TABLE table_1140116_5 (race_name VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_name FROM table_1140116_5 WHERE circuit = "Modena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race name in the Monza circuit?
### Context:
CREATE TABLE table_1140116_5 (race_name VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_name FROM table_1140116_5 WHERE circuit = "Monza" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does V Madgwick Cup take place?
### Context:
CREATE TABLE table_1140116_5 (date VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT date FROM table_1140116_5 WHERE race_name = "V Madgwick Cup" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver won the race xiv eläintarhanajot?
### Context:
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_1140116_5 WHERE race_name = "XIV Eläintarhanajot" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the Modena circuit?
### Context:
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_1140116_5 WHERE circuit = "Modena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructors won the III Redex Trophy?
### Context:
CREATE TABLE table_1140113_5 (constructor VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT COUNT(constructor) FROM table_1140113_5 WHERE race_name = "III RedeX Trophy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 report of Mike Hawthorn's winning race?
### Context:
CREATE TABLE table_1140113_5 (report VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT report FROM table_1140113_5 WHERE winning_driver = "Mike Hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the name of the race in Bordeaux?
### Context:
CREATE TABLE table_1140113_5 (race_name VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_name FROM table_1140113_5 WHERE circuit = "Bordeaux" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 report for the race name V Ulster Trophy?
### Context:
CREATE TABLE table_1140117_5 (report VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT report FROM table_1140117_5 WHERE race_name = "V Ulster Trophy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor for the Silverstone circuit?
### Context:
CREATE TABLE table_1140117_5 (constructor VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_1140117_5 WHERE circuit = "Silverstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the report for the Silverstone circuit?
### Context:
CREATE TABLE table_1140117_5 (report VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT report FROM table_1140117_5 WHERE circuit = "Silverstone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the report for the race name, XIII Grand Prix de l'Albigeois?
### Context:
CREATE TABLE table_1140117_5 (report VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT report FROM table_1140117_5 WHERE race_name = "XIII Grand Prix de l'Albigeois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date did the race name XII Pau Grand Prix take place on?
### Context:
CREATE TABLE table_1140117_5 (date VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT date FROM table_1140117_5 WHERE race_name = "XII Pau 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:
Who was the winning driver for the goodwood circuit?
### Context:
CREATE TABLE table_1140117_5 (winning_driver VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_1140117_5 WHERE circuit = "Goodwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of U.S. viewers whatched episodes written by Krystal Houghton?
### Context:
CREATE TABLE table_11411026_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_11411026_2 WHERE written_by = "Krystal Houghton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles were directed in series 79?
### Context:
CREATE TABLE table_11411026_2 (directed_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_11411026_2 WHERE no_in_series = 79 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote an episode watched by 19.01 million US viewers?
### Context:
CREATE TABLE table_11411026_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_11411026_2 WHERE us_viewers__millions_ = "19.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:
What are the titles of the episodes where Rodman Flender is the director?
### Context:
CREATE TABLE table_11404452_1 (episode_title VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT episode_title FROM table_11404452_1 WHERE director = "Rodman Flender" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the Jamie Babbit directed episode?
### Context:
CREATE TABLE table_11404452_1 (original_air_date VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11404452_1 WHERE director = "Jamie Babbit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date when there were 12.81 million u.s viewers?
### Context:
CREATE TABLE table_11404452_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_11404452_1 WHERE us_viewers__millions_ = "12.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:
When did Shelia Lawrence join the series?
### Context:
CREATE TABLE table_11404452_1 (series__number INTEGER, writer_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(series__number) FROM table_11404452_1 WHERE writer_s_ = "Shelia Lawrence" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director when there were 13.66 million u.s viewers?
### Context:
CREATE TABLE table_11404452_1 (director VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage where the amount won was 25
### Context:
CREATE TABLE table_1143966_1 (pct__percentage VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT pct__percentage FROM table_1143966_1 WHERE won = 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:
How many games were won with 2nd oha was standing and there were 62 games?
### Context:
CREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT won FROM table_1143966_1 WHERE standing = "2nd OHA" AND games = 62 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Liscumb when Gauthier is 34?
### Context:
CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR) [/INST]
### Response:
SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bello when Ben-Tahir is 296?
### Context:
CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR) [/INST]
### Response:
SELECT bello FROM table_11447995_2 WHERE ben_tahir = "296" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ben-Tahir when Bello is 51?
### Context:
CREATE TABLE table_11447995_2 (ben_tahir VARCHAR, bello VARCHAR) [/INST]
### Response:
SELECT ben_tahir FROM table_11447995_2 WHERE bello = "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:
What is Haydon when Larter is 11 and Libweshya is 4?
### Context:
CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR) [/INST]
### Response:
SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Liscumb when Haydon is 1632?
### Context:
CREATE TABLE table_11447995_2 (liscumb VARCHAR, haydon VARCHAR) [/INST]
### Response:
SELECT liscumb FROM table_11447995_2 WHERE haydon = "1632" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Doucet when Lawrance is 36?
### Context:
CREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR) [/INST]
### Response:
SELECT doucet FROM table_11447995_2 WHERE lawrance = "36" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tv had the date december 7, 1986?
### Context:
CREATE TABLE table_11449590_2 (tv VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tv FROM table_11449590_2 WHERE date = "December 7, 1986" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kickoff has the opponent at new orleans saints?
### Context:
CREATE TABLE table_11449590_2 (kickoff_ VARCHAR, a_ VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT kickoff_[a_] FROM table_11449590_2 WHERE opponent = "at New Orleans Saints" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 houses are green?
### Context:
CREATE TABLE table_11464746_1 (house_name VARCHAR, colours VARCHAR) [/INST]
### Response:
SELECT COUNT(house_name) FROM table_11464746_1 WHERE colours = "Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was the house named gongola made?
### Context:
CREATE TABLE table_11464746_1 (founded VARCHAR, house_name VARCHAR) [/INST]
### Response:
SELECT founded FROM table_11464746_1 WHERE house_name = "Gongola" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 green house?
### Context:
CREATE TABLE table_11464746_1 (house_name VARCHAR, colours VARCHAR) [/INST]
### Response:
SELECT house_name FROM table_11464746_1 WHERE colours = "Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 green house made of?
### Context:
CREATE TABLE table_11464746_1 (composition VARCHAR, colours VARCHAR) [/INST]
### Response:
SELECT composition FROM table_11464746_1 WHERE colours = "Green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 benue house made of?
### Context:
CREATE TABLE table_11464746_1 (composition VARCHAR, house_name VARCHAR) [/INST]
### Response:
SELECT composition FROM table_11464746_1 WHERE house_name = "Benue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which week was the game against a team with a record of 3-6 played?
### Context:
CREATE TABLE table_11465521_2 (week VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_11465521_2 WHERE record = "3-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 channel had the game against the Minnesota Vikings?
### Context:
CREATE TABLE table_11465521_2 (tv VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents were there at the game with 64,087 people in attendance?
### Context:
CREATE TABLE table_11465521_2 (opponent VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = "64,087" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played when the team's record was 1-3?
### Context:
CREATE TABLE table_11452830_2 (game_site VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_11452830_2 WHERE record = "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:
How many times was there a kickoff in the September 4, 1988 game?
### Context:
CREATE TABLE table_11452830_2 (a_ VARCHAR, kickoff_ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(kickoff_)[a_] FROM table_11452830_2 WHERE date = "September 4, 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:
How many crowds watched the game where the record was 1-3?
### Context:
CREATE TABLE table_11452830_2 (attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_11452830_2 WHERE record = "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:
What year finished with Daniel Zueras as the runner-up?
### Context:
CREATE TABLE table_1149495_1 (year VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_1149495_1 WHERE runner_up = "Daniel Zueras" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people hosted the show in the year when Chenoa ended up in fourth place?
### Context:
CREATE TABLE table_1149495_1 (host VARCHAR, fourth_place VARCHAR) [/INST]
### Response:
SELECT COUNT(host) FROM table_1149495_1 WHERE fourth_place = "Chenoa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fourth places were there in 2003?
### Context:
CREATE TABLE table_1149495_1 (fourth_place VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(fourth_place) FROM table_1149495_1 WHERE year = "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:
What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:?
### Context:
CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR) [/INST]
### Response:
SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine configuration $notes 0-100km/h for the engine type b5244 t2?
### Context:
CREATE TABLE table_1147705_1 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR) [/INST]
### Response:
SELECT engine_configuration_ & _notes_0_100km_h FROM table_1147705_1 WHERE engine_type = "B5244 T2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine displacement for the engine type b5254 t?
### Context:
CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR) [/INST]
### Response:
SELECT engine_displacement FROM table_1147705_1 WHERE engine_type = "B5254 T" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have are model 2.4 awd?
### Context:
CREATE TABLE table_1147705_1 (engine_type VARCHAR, model VARCHAR) [/INST]
### Response:
SELECT COUNT(engine_type) FROM table_1147705_1 WHERE model = "2.4 AWD" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine b5204 t3?
### Context:
CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR) [/INST]
### Response:
SELECT COUNT(engine_displacement) FROM table_1147705_1 WHERE engine_type = "B5204 T3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine b5234 t3?
### Context:
CREATE TABLE table_1147705_1 (model VARCHAR, engine_type VARCHAR) [/INST]
### Response:
SELECT COUNT(model) FROM table_1147705_1 WHERE engine_type = "B5234 T3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the comment with model name being 2.4 (2001-2007)
### Context:
CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR) [/INST]
### Response:
SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-2007)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the model name with engine code being b5204 t5
### Context:
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5204 T5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the model name with engine code being b5254 t4
### Context:
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5254 T4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 torque of the engine is d5244 t5
### Context:
CREATE TABLE table_1147701_5 (torque__nm VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT torque__nm AS @rpm_ FROM table_1147701_5 WHERE engine_code = "D5244 T5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model of the engine d5244 t?
### Context:
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model of the enginge d5252 t?
### Context:
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model of the engine d5244 t7?
### Context:
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) [/INST]
### Response:
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of number 47?
### Context:
CREATE TABLE table_11545282_11 (position VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_11 WHERE no = "47" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of Turkey
### Context:
CREATE TABLE table_11545282_11 (position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_11 WHERE nationality = "Turkey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player number 51?
### Context:
CREATE TABLE table_11545282_11 (player VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_11 WHERE no = "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:
What is the position for the years 1998-99
### Context:
CREATE TABLE table_11545282_11 (position VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_11 WHERE years_for_jazz = "1998-99" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions are for creighton?
### Context:
CREATE TABLE table_11545282_11 (position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_11545282_11 WHERE school_club_team = "Creighton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is from Marshall and played 1974-75?
### Context:
CREATE TABLE table_11545282_12 (player VARCHAR, years_for_jazz VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_12 WHERE years_for_jazz = "1974-75" AND school_club_team = "Marshall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country is the player that went to Oregon?
### Context:
CREATE TABLE table_11545282_12 (nationality VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_12 WHERE school_club_team = "Oregon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which country is Jim Les from?
### Context:
CREATE TABLE table_11545282_12 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_12 WHERE player = "Jim Les" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number is the player from Minnesota?
### Context:
CREATE TABLE table_11545282_12 (no INTEGER, school_club_team VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = "Minnesota" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played for years 2000-02
### Context:
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which school is Kirk Snyder from?
### Context:
CREATE TABLE table_11545282_18 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_11545282_18 WHERE player = "Kirk Snyder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number for years 1985-88
### Context:
CREATE TABLE table_11545282_18 (no INTEGER, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_11545282_18 WHERE years_for_jazz = "1985-88" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position does John Starks play?
### Context:
CREATE TABLE table_11545282_18 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_18 WHERE player = "John Starks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position does Deshawn Stevenson play?
### Context:
CREATE TABLE table_11545282_18 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_18 WHERE player = "DeShawn Stevenson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played 2004-05
### Context:
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2004-05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality who played for 1987-89?
### Context:
CREATE TABLE table_11545282_17 (nationality VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_17 WHERE years_for_jazz = "1987-89" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Wht years did truck robinson play?
### Context:
CREATE TABLE table_11545282_17 (years_for_jazz VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT years_for_jazz FROM table_11545282_17 WHERE player = "Truck Robinson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that played 2004-05?
### Context:
CREATE TABLE table_11545282_17 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_17 WHERE years_for_jazz = "2004-05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of players that played 1987-89?
### Context:
CREATE TABLE table_11545282_17 (no VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT no FROM table_11545282_17 WHERE years_for_jazz = "1987-89" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the nationality of bill robinzine?
### Context:
CREATE TABLE table_11545282_17 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_17 WHERE player = "Bill Robinzine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the nationality of the player named Kelly Tripucka?
### Context:
CREATE TABLE table_11545282_19 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_19 WHERE player = "Kelly Tripucka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What years were the Iowa State school/club team have a jazz club?
### Context:
CREATE TABLE table_11545282_19 (years_for_jazz VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_for_jazz FROM table_11545282_19 WHERE school_club_team = "Iowa 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 player wears the number 6?
### Context:
CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_19 WHERE no = 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 player's position is the shooting guard?
### Context:
CREATE TABLE table_11545282_19 (player VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_19 WHERE position = "Shooting guard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of school/club teams held by BYU?
### Context:
CREATE TABLE table_11545282_19 (no INTEGER, school_club_team VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_11545282_19 WHERE school_club_team = "BYU" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position did the player from maynard evans hs play
### Context:
CREATE TABLE table_11545282_4 (position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_11545282_4 WHERE school_club_team = "Maynard Evans HS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the largest jersey number for the player from maryland
### Context:
CREATE TABLE table_11545282_4 (no INTEGER, school_club_team VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_11545282_4 WHERE school_club_team = "Maryland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the players that played for the jazz from 1979-86
### Context:
CREATE TABLE table_11545282_4 (player VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT player FROM table_11545282_4 WHERE years_for_jazz = "1979-86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What years did number 54 play for the jazz
### Context:
CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 schools did darryl dawkins play for
### Context:
CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the nationality of the player who played during the years 1989-92; 1994-95?
### Context:
CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11545282_5 WHERE years_for_jazz = "1989-92; 1994-95" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.