<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which venue has a Goal of 3?

### Context:
CREATE TABLE table_name_81 (venue VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_81 WHERE goal = 3</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did the Victoria park home team score?

### Context:
CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_1 WHERE venue = "victoria park"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHERE IS ANDRE PETERSSON FROM?

### Context:
CREATE TABLE table_11803648_17 (nationality VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_11803648_17 WHERE player = "Andre Petersson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?

### Context:
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Race 4, when Race 1 is 28?

### Context:
CREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR)

### Response:

### Response:
SELECT race_4 FROM table_name_51 WHERE race_1 = "28"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the recipient when the show was nominated for Most Popular Drama after 2004?

### Context:
CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the notes for the hypo-meeting tournament in 2012?

### Context:
CREATE TABLE table_name_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_95 WHERE tournament = "hypo-meeting" AND year = 2012</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Sum of cuyo selection as the opposing team?

### Context:
CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR)

### Response:

### Response:
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?

### Context:
CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT moving_to FROM table_name_27 WHERE country = "bel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the title and score of the movie with the lowest rating among all movies directed by each director.

### Context:
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)

### Response:

### Response:
SELECT T2.title, T1.stars, T2.director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many centerfolds were in the 9-98 issue?

### Context:
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = "9-98"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have?

### Context:
CREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)

### Response:

### Response:
SELECT SUM(pages) FROM table_name_30 WHERE vol__number < 8 AND isbn = "1-40122-892-5"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total attendance at rugby park?

### Context:
CREATE TABLE table_26980923_2 (total VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT total FROM table_26980923_2 WHERE stadium = "Rugby Park"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What song has 24 votes?

### Context:
CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)

### Response:

### Response:
SELECT song FROM table_19763199_3 WHERE total_votes = 24</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the position for delaware

### Context:
CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT position FROM table_2508633_6 WHERE college = "Delaware"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the nationality if the appearance is 29?

### Context:
CREATE TABLE table_24565004_8 (nationality² VARCHAR, appearances¹ VARCHAR)

### Response:

### Response:
SELECT nationality² FROM table_24565004_8 WHERE appearances¹ = 29</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t?

### Context:
CREATE TABLE table_name_60 (inchicore_class VARCHAR, gswr_class VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT inchicore_class FROM table_name_60 WHERE gswr_class < 268 AND type = "0-4-2t"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who's the player for the New York Rangers?

### Context:
CREATE TABLE table_1213511_2 (player VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_1213511_2 WHERE nhl_team = "New York Rangers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of goals scored against clubs that have played more than 42 times?

### Context:
CREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER)

### Response:

### Response:
SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which model number does bombardier manufacture?

### Context:
CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR)

### Response:

### Response:
SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?

### Context:
CREATE TABLE table_name_7 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the Ivy League conference tournament?

### Context:
CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)

### Response:

### Response:
SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Season has an Away of 1–2?

### Context:
CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_94 WHERE away = "1–2"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What martin is on july 8–9, 2008?

### Context:
CREATE TABLE table_name_36 (martin VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT martin FROM table_name_36 WHERE date = "july 8–9, 2008"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has a Venue of junction oval?

### Context:
CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_39 WHERE venue = "junction oval"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.

### Context:
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)

### Response:

### Response:
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara")</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many entries are in barony when the townland is derrigra?

### Context:
CREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR)

### Response:

### Response:
SELECT COUNT(barony) FROM table_30121075_1 WHERE townland = "Derrigra"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of game 35?

### Context:
CREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT score FROM table_17102076_7 WHERE game = 35</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What theme has a mintage of 3527?

### Context:
CREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR)

### Response:

### Response:
SELECT theme FROM table_name_91 WHERE mintage = "3527"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was anne of lorraine born?

### Context:
CREATE TABLE table_name_91 (birth VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT birth FROM table_name_91 WHERE name = "anne of lorraine"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the original artist(s) when jack stamp arranged?

### Context:
CREATE TABLE table_28715942_2 (original_artist VARCHAR, arranger_s_ VARCHAR)

### Response:

### Response:
SELECT original_artist FROM table_28715942_2 WHERE arranger_s_ = "Jack Stamp"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which event lasted 1 round and included an opponent of Dan Spychalski?

### Context:
CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_36 WHERE round = "1" AND opponent = "dan spychalski"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank has 123 as the total?

### Context:
CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_96 WHERE total = 123</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?

### Context:
CREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)

### Response:

### Response:
SELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What prefix has Bromo as the group?

### Context:
CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)

### Response:

### Response:
SELECT prefix FROM table_name_78 WHERE group = "bromo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue was round 20 held at?

### Context:
CREATE TABLE table_name_11 (venue VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_11 WHERE round = 20</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who did they play at lincoln financial field at 8:30 (ET) after week 14?

### Context:
CREATE TABLE table_name_88 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = "lincoln financial field" AND time__et_ = "8:30"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### 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)

### Response:

### Response:
SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-2"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average wins in 250cc class for Bultaco with 8 points later than 1966?

### Context:
CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What game was in 2005?

### Context:
CREATE TABLE table_name_85 (game VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_85 WHERE year = 2005</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What kind of Republican ticket has a Prohibition ticket of stephen mead wing?

### Context:
CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)

### Response:

### Response:
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHich Studio analysts has a Studio host of gary tanguay in 2009-10?

### Context:
CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date of the at&t pebble beach national pro-am Tournament?

### Context:
CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_91 WHERE tournament = "at&t pebble beach national pro-am"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the date when the venue is junction oval?

### Context:
CREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_47 WHERE venue = "junction oval"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every reason for change for the date of successors installation is March 16, 1960?

### Context:
CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)

### Response:

### Response:
SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March 16, 1960"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most number when tournament is madrid masters

### Context:
CREATE TABLE table_1590652_4 (no INTEGER, tournament VARCHAR)

### Response:

### Response:
SELECT MAX(no) FROM table_1590652_4 WHERE tournament = "Madrid Masters"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the playoffs 1 result of season 2004-05?

### Context:
CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-05"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player has a total of 8 (24)?

### Context:
CREATE TABLE table_name_8 (name VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_8 WHERE total = "8 (24)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which episode number visited India?

### Context:
CREATE TABLE table_name_56 (episode_no VARCHAR, countries_visited VARCHAR)

### Response:

### Response:
SELECT episode_no FROM table_name_56 WHERE countries_visited = "india"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many golds have a Total of 11, and a Bronze smaller than 3?

### Context:
CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?

### Context:
CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR)

### Response:

### Response:
SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = "ron paul"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the minimum position when points are 32 and wins are greater than 13?

### Context:
CREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the week number for andrew lloyd webber

### Context:
CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Competition has an Event of 4x100 m relay and has the Time of 38.89?

### Context:
CREATE TABLE table_name_77 (competition VARCHAR, event VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Tie No., when Away Team is "Manchester United"?

### Context:
CREATE TABLE table_name_32 (tie_no VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT tie_no FROM table_name_32 WHERE away_team = "manchester united"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What type is the 105/107e Block from a year prior to 1960?

### Context:
CREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_50 WHERE block = "105/107e" AND year < 1960</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest game for a record of 32-12-3?

### Context:
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What label uses the stereo LP for catalog scyl-934,623?

### Context:
CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011?

### Context:
CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)

### Response:

### Response:
SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = "march 31" AND super_b_capacity_reached_[_citation_needed_] = "february 17" AND year > 2011</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the college where player terry moss attended?

### Context:
CREATE TABLE table_26996293_7 (college VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college FROM table_26996293_7 WHERE player = "Terry Moss"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment?

### Context:
CREATE TABLE table_name_3 (rank INTEGER, sites VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_3 WHERE sites > 62 AND circuit = "cineplex entertainment"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average week of a game on November 12, 1989?

### Context:
CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(week) FROM table_name_26 WHERE date = "november 12, 1989"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"

### Context:
CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)

### Response:

### Response:
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?

### Context:
CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)

### Response:

### Response:
SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest rank for Chris Brown with react greater than 0.244?

### Context:
CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the outcome for the game that was played on 07-Jun-2010?

### Context:
CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Location of the Frequency with a Callsign of DXBL?

### Context:
CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_89 WHERE callsign = "dxbl"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the result for ursinus college

### Context:
CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the constructor for grid less than 20 and Laps of 6

### Context:
CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the D 46 √ when the D 44 √ is ← majority?

### Context:
CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR)

### Response:

### Response:
SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = "← majority"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What change caused a change of staff in March 9, 1865?

### Context:
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)

### Response:

### Response:
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?

### Context:
CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = "3T7051"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which prime mover had a Model of rs-18?

### Context:
CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)

### Response:

### Response:
SELECT prime_mover FROM table_name_61 WHERE model = "rs-18"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record of the game played on 2/17/1974?

### Context:
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_55 WHERE date = "2/17/1974"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is two medicine formation?

### Context:
CREATE TABLE table_name_46 (location VARCHAR, unit VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_46 WHERE unit = "two medicine formation"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When interjection is the subject who are the lyrics by?

### Context:
CREATE TABLE table_191105_2 (lyrics_by VARCHAR, subject VARCHAR)

### Response:

### Response:
SELECT lyrics_by FROM table_191105_2 WHERE subject = "interjection"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the game is listed as 2, what is the score?

### Context:
CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_81 WHERE game = 2</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?

### Context:
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the first episode of the season that begin on february 27, 1954?

### Context:
CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT title FROM table_15824796_3 WHERE original_air_date = "February 27, 1954"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Team has the Player of A.J. Moye?

### Context:
CREATE TABLE table_name_81 (team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_81 WHERE player = "a.j. moye"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location for the club trophy?

### Context:
CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_69 WHERE type = "club trophy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the original title for the Korean language film?

### Context:
CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR)

### Response:

### Response:
SELECT original_title FROM table_name_24 WHERE language = "korean"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was born in Porsgrunn?

### Context:
CREATE TABLE table_name_27 (name VARCHAR, place_of_birth VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_27 WHERE place_of_birth = "porsgrunn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average silver medals a team ranked 12 with less than 2 bronze has?

### Context:
CREATE TABLE table_name_28 (silver INTEGER, rank VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT AVG(silver) FROM table_name_28 WHERE rank = 12 AND bronze < 2</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the number of locations for the team known as the billikens.

### Context:
CREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = "Billikens"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The Brisbane airport is located in which country?

### Context:
CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_85 WHERE airport = "brisbane airport"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Jack Nicklaus finished in what place?

### Context:
CREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year had a total of 2 and LA matches of 0?

### Context:
CREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which driver had a grid of 22?

### Context:
CREATE TABLE table_name_43 (driver VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_43 WHERE grid = "22"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the death is none what is the number of major hurricanes?

### Context:
CREATE TABLE table_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)

### Response:

### Response:
SELECT COUNT(number_of_major_hurricanes) FROM table_2930244_3 WHERE deaths = "None"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won the Men's Doubles when Guo Xin won the Women's Singles?

### Context:
CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR)

### Response:

### Response:
SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When do all the researcher role staff start to work, and when do they stop working?

### Context:
CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR)

### Response:

### Response:
SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which title was directed by Joyce Bernal?

### Context:
CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_76 WHERE director = "joyce bernal"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who played against Carlton as the home team?

### Context:
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_62 WHERE away_team = "carlton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the department name of the students with lowest gpa belongs to?

### Context:
CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)

### Response:

### Response:
SELECT T2.dept_name FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code ORDER BY stu_gpa LIMIT 1</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number played with 1 drawn, and less than 7 points?

### Context:
CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers?

### Context:
CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.

### Context:
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The entrepreneur Layla Bennett was featured in which episode?

### Context:
CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR)

### Response:

### Response:
SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps were driven in 2:54:23.8?

### Context:
CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR)

### Response:

### Response:
SELECT SUM(laps) FROM table_name_45 WHERE time_retired = "2:54:23.8"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total point for the year listed in 1988?

### Context:
CREATE TABLE table_name_58 (points INTEGER, year VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_58 WHERE year = 1988</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?

### Context:
CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)

### Response:

### Response:
SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the transfer fee for the summer transfer involving the SCO named Crainey?

### Context:
CREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who left office on January 9, 1893

### Context:
CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the team with 3:42.162 on day 2, what was the behind?

### Context:
CREATE TABLE table_name_72 (behind VARCHAR, day_2 VARCHAR)

### Response:

### Response:
SELECT behind FROM table_name_72 WHERE day_2 = "3:42.162"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Comp which has a Name of smith?

### Context:
CREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT comp FROM table_name_71 WHERE name = "smith"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?

### Context:
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)

### Response:

### Response:
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the hometowns of gymnasts and the corresponding number of gymnasts?

### Context:
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)

### Response:

### Response:
SELECT T2.Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did the West Indies win the match?

### Context:
CREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT match_date FROM table_22384475_1 WHERE winner = "West Indies"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest year that had the Legend of Zelda: Twilight Princess game?

### Context:
CREATE TABLE table_name_90 (year INTEGER, game VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_90 WHERE game = "the legend of zelda: twilight princess"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What province in Tumbes has less than 11 districts and a UBIGEO of 2401?

### Context:
CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the most assists and how many did they have on October 7?

### Context:
CREATE TABLE table_27722408_2 (high_assists VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_27722408_2 WHERE date = "October 7"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points did the Ford V8 with a Tyrrell 007 have?

### Context:
CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_3 WHERE engine = "ford v8" AND chassis = "tyrrell 007"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the profession of the housemate from Leskovac city?

### Context:
CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT profession FROM table_name_87 WHERE city = "leskovac"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?

### Context:
CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)

### Response:

### Response:
SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "1"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the mascot when the school is warsaw?

### Context:
CREATE TABLE table_name_25 (mascot VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT mascot FROM table_name_25 WHERE school = "warsaw"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes were written only by William N. Fordes?

### Context:
CREATE TABLE table_12159115_3 (series__number VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = "William N. Fordes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the black with 24 moves in the dortmund tournament?

### Context:
CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the title is The Way Through The Woods, what is the release date?

### Context:
CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the nationality of school/club team of barton cc (ks)?

### Context:
CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_65 WHERE school_club_team = "barton cc (ks)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament was on Jan 29, 2012?

### Context:
CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Competition, when Date is "1999-08-07"?

### Context:
CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_13 WHERE date = "1999-08-07"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which record has a score of 7–6 (12)?

### Context:
CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_77 WHERE score = "7–6 (12)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent at the game that had a loss of Saarloos (7-7)?

### Context:
CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the attendance for august 29?

### Context:
CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_9 WHERE date = "august 29"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Emerson has what transfer window?

### Context:
CREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT transfer_window FROM table_name_90 WHERE name = "emerson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What fuel system was used in 1960-62?

### Context:
CREATE TABLE table_name_95 (fuel_system VARCHAR, years VARCHAR)

### Response:

### Response:
SELECT fuel_system FROM table_name_95 WHERE years = "1960-62"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the average silver with total less than 1

### Context:
CREATE TABLE table_name_5 (silver INTEGER, total INTEGER)

### Response:

### Response:
SELECT AVG(silver) FROM table_name_5 WHERE total < 1</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many games have the New York Islanders as an opponent before February 7?

### Context:
CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)

### Response:

### Response:
SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date was the location attendance at&t center 18,797, and a game earlier than 57?

### Context:
CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 what's the record where result is l 24-10

### Context:
CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT record FROM table_11406866_2 WHERE result = "L 24-10"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the opponent with score of 1–6, 6–4, 6–4

### Context:
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_7 WHERE score = "1–6, 6–4, 6–4"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the numbers for the order number 713096-713119?

### Context:
CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR)

### Response:

### Response:
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who constructed the car that retired due to brakes with a grid larger than 17?

### Context:
CREATE TABLE table_name_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_58 WHERE grid > 17 AND time_retired = "brakes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country came in third when there were 13 teams in 1996?

### Context:
CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Cyrillic name for Novi Vladimirovac?

### Context:
CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)

### Response:

### Response:
SELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = "Novi Vladimirovac"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average pick number of Pennsylvania?

### Context:
CREATE TABLE table_name_97 (pick INTEGER, school_club_team VARCHAR)

### Response:

### Response:
SELECT AVG(pick) FROM table_name_97 WHERE school_club_team = "pennsylvania"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?

### Context:
CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?

### Context:
CREATE TABLE table_name_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)

### Response:

### Response:
SELECT SUM(events) FROM table_name_47 WHERE tournament = "u.s. open" AND top_25 < 1</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which home team plays at Punt Road Oval?

### Context:
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_40 WHERE venue = "punt road oval"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?

### Context:
CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)

### Response:

### Response:
SELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = "1957" AND location_of_the_church = "stavang"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the name of the player that played position 3b?

### Context:
CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_54 WHERE position = "3b"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
After 1983, what was the Position in Seoul, South Korea?

### Context:
CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the results in the election where Albert Wynn was the incumbent?

### Context:
CREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How large was the total when the E Score was greater than 9.35 and T Score was less than 4?

### Context:
CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)

### Response:

### Response:
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Day & Age rank in the Rolling Stone in 2008?

### Context:
CREATE TABLE table_name_60 (rank INTEGER, publication VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_60 WHERE publication = "rolling stone" AND year = 2008</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is 2004 when the tournament is paris masters?

### Context:
CREATE TABLE table_name_49 (tournament VARCHAR)

### Response:

### Response:
SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is The Author of zhou clarke zhang?

### Context:
CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?

### Context:
CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the altitude of the event on 1962-07-09?

### Context:
CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which round was 2:30?

### Context:
CREATE TABLE table_name_45 (round VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_45 WHERE time = "2:30"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of bronze for the United States with more than 1 silver?

### Context:
CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_13 WHERE nation = "united states" AND silver > 1</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?

### Context:
CREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_96 WHERE sspec_number = "sl5xl, sl657, sl6by, sl6jp"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when deland is the fcsl team and 2008 is the year played who is the mlb team?

### Context:
CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)

### Response:

### Response:
SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much is the population density with a GDP at $188,112?

### Context:
CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR)

### Response:

### Response:
SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was Jamboree made?

### Context:
CREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_26 WHERE movie_title = "jamboree"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Years in Senate  has a Years in Assembly of 2010–present, and toni atkins?

### Context:
CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest loss with points less than 7?

### Context:
CREATE TABLE table_name_16 (lost INTEGER, points INTEGER)

### Response:

### Response:
SELECT MAX(lost) FROM table_name_16 WHERE points < 7</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total number of films directy and written by john callaghan?

### Context:
CREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result for the Toscane Horse in the freestyle test?

### Context:
CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year(s) were the CLASS T14 trains withdrawn from service?

### Context:
CREATE TABLE table_name_86 (year_s__withdrawn VARCHAR, class VARCHAR)

### Response:

### Response:
SELECT year_s__withdrawn FROM table_name_86 WHERE class = "t14"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Outcome of the game with a Score of 6–4, 6–4?

### Context:
CREATE TABLE table_name_45 (outcome VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_45 WHERE score = "6–4, 6–4"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school had an enrollment in 2005 of 69?

### Context:
CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR)

### Response:

### Response:
SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the deputy in 1992–93?

### Context:
CREATE TABLE table_name_41 (deputy VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT deputy FROM table_name_41 WHERE year = "1992–93"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are all the reports where Paul Tracy had the fastest lap?

### Context:
CREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the game in week 3?

### Context:
CREATE TABLE table_21761882_4 (date VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT date FROM table_21761882_4 WHERE week = 3</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?

### Context:
CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the region for the date November 18, 2002?

### Context:
CREATE TABLE table_name_76 (region VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_76 WHERE date = "november 18, 2002"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the new adherents per year for buddhism

### Context:
CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)

### Response:

### Response:
SELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = "Buddhism"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Games↑ is the lowest one that has a Position of wlb?

### Context:
CREATE TABLE table_name_88 (games INTEGER, position VARCHAR)

### Response:

### Response:
SELECT MIN(games) AS ↑ FROM table_name_88 WHERE position = "wlb"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which record has an attendance larger than 28,459?

### Context:
CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER)

### Response:

### Response:
SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?

### Context:
CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)

### Response:

### Response:
SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest Wins with a Top-10 that is larger than 9?

### Context:
CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)

### Response:

### Response:
SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?

### Context:
CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the height of representative #6?

### Context:
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)

### Response:

### Response:
SELECT height FROM table_28062822_3 WHERE represent = 6</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes had their first air date on March 6, 2008?

### Context:
CREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)

### Response:

### Response:
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 2008"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Nationality has a Position of right wing, with a #20 pick?

### Context:
CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_79 WHERE position = "right wing" AND pick__number = "20"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Churai has what as the fewest number of electorates?

### Context:
CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the BSU head coach of the tournament after 1994 with louisville as the opponent?

### Context:
CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT bsu_head_coach FROM table_name_76 WHERE opponent = "louisville" AND year > 1994</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What location did the episode that aired originally on August 26, 2009 take place at?

### Context:
CREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR)

### Response:

### Response:
SELECT location FROM table_24798489_2 WHERE original_airdate = "August 26, 2009"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?

### Context:
CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)

### Response:

### Response:
SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Name of the power station in the Field of Mokai?

### Context:
CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_22 WHERE field = "mokai"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When galaxy angel aa is the title what was the series?

### Context:
CREATE TABLE table_1714685_1 (series VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT series FROM table_1714685_1 WHERE title = "Galaxy Angel AA"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country has 50 supermarkets?

### Context:
CREATE TABLE table_name_19 (country VARCHAR, supermarkets VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_19 WHERE supermarkets = "50"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Player has a Place of t10, a Country of united states, and a Score of 67-73=140?

### Context:
CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_54 WHERE place = "t10" AND country = "united states" AND score = 67 - 73 = 140</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the constructor for divina galica rounds of 1-2

### Context:
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?

### Context:
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)

### Response:

### Response:
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20</s>