<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 had a run 4 of 1:24.4?

### Context:
CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_7 WHERE run_4 = "1:24.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:
How many losses have points less than 3, with a drawn greater than 0?

### Context:
CREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR)

### Response:

### Response:
SELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 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:
who directed the production code 2t5710?

### Context:
CREATE TABLE table_21726793_1 (directed_by VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT directed_by FROM table_21726793_1 WHERE production_code = "2T5710"</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 and genders of players with a coach starting after 2011.

### Context:
CREATE TABLE player (Player_name VARCHAR, gender VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR, Starting_year INTEGER); CREATE TABLE coach (Coach_ID VARCHAR)

### Response:

### Response:
SELECT T3.Player_name, T3.gender FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T1.Starting_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:
Which Time has Laps smaller than 28, and a Rider of nicky hayden?

### Context:
CREATE TABLE table_name_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_40 WHERE laps < 28 AND rider = "nicky hayden"</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 average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76</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 place of the record on 1996-05-25 with a mark greater than 90.73?

### Context:
CREATE TABLE table_name_38 (place VARCHAR, mark VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_38 WHERE mark > 90.73 AND date = "1996-05-25"</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 number of candidates for first elected in 1948 , 1964

### Context:
CREATE TABLE table_1341472_15 (candidates VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT COUNT(candidates) FROM table_1341472_15 WHERE first_elected = "1948 , 1964"</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 game against the Lizards with a result of w 18-17?

### Context:
CREATE TABLE table_name_18 (date VARCHAR, opponent VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_18 WHERE opponent = "lizards" AND result = "w 18-17"</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 game with pittsburgh as the home team and boston as the visitor team?

### Context:
CREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_32 WHERE home = "pittsburgh" AND visitor = "boston"</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 where the round is R3?

### Context:
CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_40 WHERE round = "r3"</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 position did he finish in 1987?

### Context:
CREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT position FROM table_2387790_2 WHERE year = 1987</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 round that has an overall of 143 and a pick greater than 6?

### Context:
CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT MAX(round) FROM table_name_36 WHERE overall = 143 AND pick > 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:
Which highest rank belongs to the palestinian territories?

### Context:
CREATE TABLE table_name_85 (rank INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_85 WHERE country = "palestinian territories"</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 Set 2, when Total is "52:44"?

### Context:
CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT set_2 FROM table_name_81 WHERE total = "52:44"</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 attendance when St Kilda played as the away team?

### Context:
CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR)

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_79 WHERE away_team = "st kilda"</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 the opponent Arsenal?

### Context:
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_62 WHERE opponent = "arsenal"</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 regions are owned by estado de tabasco?

### Context:
CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)

### Response:

### Response:
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"</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 Engine with 3 as the start in the year of 2007?

### Context:
CREATE TABLE table_name_8 (engine VARCHAR, start VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_8 WHERE start = "3" AND year = 2007</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:
Date of april 9 had what score?

### Context:
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_11 WHERE date = "april 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 smallest number of episodes in a season?

### Context:
CREATE TABLE table_2113721_7 (episodes INTEGER)

### Response:

### Response:
SELECT MIN(episodes) FROM table_2113721_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:
On what day in January was the record 15-29-3?

### Context:
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-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 date did the Ravens play the buffalo bills?

### Context:
CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_97 WHERE opponent = "buffalo bills"</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 January 5?

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

### Response:

### Response:
SELECT high_assists FROM table_29556461_7 WHERE date = "January 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:
Which ship had a tonnage over 8,782?

### Context:
CREATE TABLE table_name_8 (name_of_ship VARCHAR, tonnage INTEGER)

### Response:

### Response:
SELECT name_of_ship FROM table_name_8 WHERE tonnage > 8 OFFSET 782</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:
At which games was a bronze medal won in the 94kg men's weightlifting event?

### Context:
CREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting"</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 did she win with a final score of 4–6, 7–5, 6–2?

### Context:
CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–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:
Find the first names of all the authors who have written a paper with title containing the word "Functional".

### Context:
CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)

### Response:

### Response:
SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"</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 were there before 1979 with a ferrari 312b2 chassis?

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

### Response:

### Response:
SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2"</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 English title listed that has an Original title of The Crying Game?

### Context:
CREATE TABLE table_name_95 (english_title VARCHAR, original_title VARCHAR)

### Response:

### Response:
SELECT english_title FROM table_name_95 WHERE original_title = "the crying game"</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 all role codes with at least 3 employees.

### Context:
CREATE TABLE Employees (role_code VARCHAR)

### Response:

### Response:
SELECT role_code FROM Employees GROUP BY role_code HAVING COUNT(*) >= 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 1994 finish for the Miami tournament?

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

### Response:

### Response:
SELECT 1994 FROM table_name_14 WHERE tournament = "miami"</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 years was the chassis a Coloni C3?

### Context:
CREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_51 WHERE chassis = "coloni c3"</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 total number of list votes for 20.95%

### Context:
CREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR)

### Response:

### Response:
SELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = "20.95%"</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 number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?

### Context:
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-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 country was the race in on April 27?

### Context:
CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_53 WHERE date = "april 27"</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 wrote the episode with the production code of 942A?

### Context:
CREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_16432167_1 WHERE production_code = "942A"</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 pole position when matt davies had the fastest lap?

### Context:
CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_29162856_1 WHERE fastest_lap = "Matt Davies"</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 match at 6:00?

### Context:
CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_84 WHERE time = "6:00"</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 ranking for a react of 0.17300000000000001 and less than 5 lanes?

### Context:
CREATE TABLE table_name_78 (rank INTEGER, react VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_78 WHERE react = 0.17300000000000001 AND lane < 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 are the student ids of students who don't have any allergies?

### Context:
CREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)

### Response:

### Response:
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy</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 took third-place when there were 4 total wins?

### Context:
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)

### Response:

### Response:
SELECT third_place FROM table_17632217_2 WHERE total_wins = 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 is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"?

### Context:
CREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"</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 reserved in the district that has 169 constituents?

### Context:
CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)

### Response:

### Response:
SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169"</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 has the highest Long with 59 Car?

### Context:
CREATE TABLE table_name_91 (long INTEGER, car VARCHAR)

### Response:

### Response:
SELECT MAX(long) FROM table_name_91 WHERE car = 59</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 the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?

### Context:
CREATE TABLE table_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_23285761_7 WHERE high_rebounds = "Amar'e Stoudemire (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 Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?

### Context:
CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)

### Response:

### Response:
SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"</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 series number of the episode that aired March 25, 2010?

### Context:
CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)

### Response:

### Response:
SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 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:
which part on the team does rick schuhwerk play

### Context:
CREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_2781227_10 WHERE player = "Rick Schuhwerk"</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 NFL Teams have the player Aaron Williams?

### Context:
CREATE TABLE table_2508633_11 (nfl_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nfl_team FROM table_2508633_11 WHERE player = "Aaron Williams"</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 affiliation for candidate Daren Ireland?

### Context:
CREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR)

### Response:

### Response:
SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren Ireland"</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 YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?

### Context:
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300)</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 gold when Bertil Ahlin Sweden won the silver?

### Context:
CREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_48 WHERE silver = "bertil ahlin sweden"</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 drew in 3.35 million viewers in the United States?

### Context:
CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.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 place did Jerry Barber of the United States come in at?

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

### Response:

### Response:
SELECT place FROM table_name_92 WHERE country = "united states" AND player = "jerry barber"</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 sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?

### Context:
CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 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's the total number of final epbeingode count with character being rick stetler

### Context:
CREATE TABLE table_11210576_4 (final_episode VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT COUNT(final_episode) AS Count FROM table_11210576_4 WHERE character = "Rick Stetler"</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 College, when Pick is less than 145, and when Player is Jeff Wilkins?

### Context:
CREATE TABLE table_name_34 (college VARCHAR, pick VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_34 WHERE pick < 145 AND player = "jeff wilkins"</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 with 6 goals?

### Context:
CREATE TABLE table_name_61 (date VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_61 WHERE goal = 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 YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?

### Context:
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_18 WHERE competition = "world championships" AND notes = 39.01</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 score for Greg Norman

### Context:
CREATE TABLE table_name_84 (score VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_84 WHERE player = "greg norman"</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 week for Result of w 28-17?

### Context:
CREATE TABLE table_name_70 (week VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_70 WHERE result = "w 28-17"</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 pick did the Minnesota Twins have?

### Context:
CREATE TABLE table_name_68 (pick INTEGER, team VARCHAR)

### Response:

### Response:
SELECT AVG(pick) FROM table_name_68 WHERE team = "minnesota twins"</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 name of the stadium that has the maximum capacity.

### Context:
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR)

### Response:

### Response:
SELECT name FROM stadium ORDER BY capacity DESC 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 largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1?

### Context:
CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT MAX(gold) FROM table_name_16 WHERE total < 3 AND rank = "5" 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 total number of silver medals of the nation with more than 16 total medals?

### Context:
CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER)

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_40 WHERE total > 16</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 of the athlete from sri lanka who has a lane greater than 8?

### Context:
CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 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 2006 total with a 2010 value greater than 417.9?

### Context:
CREATE TABLE table_name_95 (Id VARCHAR)

### Response:

### Response:
SELECT COUNT(2006) FROM table_name_95 WHERE 2010 > 417.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 re-elected Incumbent Jerry Costello's First elected date?

### Context:
CREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT MIN(first_elected) FROM table_name_36 WHERE results = "re-elected" AND incumbent = "jerry costello"</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 played in the Boston Garden when the final score was L 118-130?

### Context:
CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130"</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 Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?

### Context:
CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)

### Response:

### Response:
SELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = "1989–1995 1997–2001" AND europe < 11</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 events where the rank is smaller than 2 and wins are smaller than 5?

### Context:
CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 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:
How many events did clay win?

### Context:
CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"</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 Elimination number is listed againt Eliminated by Sonjay Dutt?

### Context:
CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)

### Response:

### Response:
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"</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 th eswimming status for the school that has yes on indoor track, soccer and tennis?

### Context:
CREATE TABLE table_name_80 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR)

### Response:

### Response:
SELECT swimming FROM table_name_80 WHERE indoor_track = "yes" AND soccer = "yes" AND tennis = "yes"</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 second on the North America team for which Cathy Overton-Clapham the third?

### Context:
CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR)

### Response:

### Response:
SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham"</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 for the match where the home team was Leicester City?

### Context:
CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_16 WHERE home_team = "leicester city"</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 area of the province with a density of 533.59?

### Context:
CREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR)

### Response:

### Response:
SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59"</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 Brand, when Frequency is "640"?

### Context:
CREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT brand FROM table_name_68 WHERE frequency = 640</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 position has round less than 2?

### Context:
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)

### Response:

### Response:
SELECT position FROM table_name_86 WHERE round < 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:
How many feet per second does a shell move where the height range is 23500?

### Context:
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR)

### Response:

### Response:
SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500</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 got a Behind outcome and had an opponent of Brisbane Bears?

### Context:
CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears"</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 week has a result showing L 24-10?

### Context:
CREATE TABLE table_name_82 (week VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_82 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:
What did the tournament that got an A in 1945 get in 1949?

### Context:
CREATE TABLE table_name_22 (Id VARCHAR)

### Response:

### Response:
SELECT 1949 FROM table_name_22 WHERE 1945 = "a"</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 athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?

### Context:
CREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = "b" AND nationality = "great britain"</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 jim dutcher's hometown?

### Context:
CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher"</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 most league cup goals for David Beresford having less than 0 FA Cup Goals?

### Context:
CREATE TABLE table_name_62 (league_cup_goals INTEGER, name VARCHAR, fa_cup_goals VARCHAR)

### Response:

### Response:
SELECT MAX(league_cup_goals) FROM table_name_62 WHERE name = "david beresford" AND fa_cup_goals < 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 was the Result in 2013?

### Context:
CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_48 WHERE year = 2013</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:
Before 1957, what was the largest in Attendance at Varsity Stadium?

### Context:
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"</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 Total which has a Silver larger than 19?

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

### Response:

### Response:
SELECT MAX(total) FROM table_name_70 WHERE silver > 19</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 React, when Name is "Candice Davis", and when Lane is less than 3?

### Context:
CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 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:
Name the player for ol

### Context:
CREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT player FROM table_20649850_1 WHERE position = "OL"</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 times is the ethnic group other: total?

### Context:
CREATE TABLE table_282413_3 (ethnic_group VARCHAR)

### Response:

### Response:
SELECT COUNT(2001 AS __percentage) FROM table_282413_3 WHERE ethnic_group = "Other: Total"</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 least fa cup goals with fa cup apps being 2 and fw

### Context:
CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW"</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 title directed by charles beeson by jeremy carver

### Context:
CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver"</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 venue does Mardan sponsor?

### Context:
CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)

### Response:

### Response:
SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan"</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 HDTV, when Television service is cartello promozionale sky hd?

### Context:
CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"</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 depravitiy of earnings where international sales was 2470?

### Context:
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)

### Response:

### Response:
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470</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 had an election day in 1980

### Context:
CREATE TABLE table_1602620_1 (type VARCHAR, elected VARCHAR)

### Response:

### Response:
SELECT type FROM table_1602620_1 WHERE elected = 1980</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 does the club with a try bonus of 10 have?

### Context:
CREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR)

### Response:

### Response:
SELECT points FROM table_14070062_3 WHERE try_bonus = "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 record has  c. j. miles (20) in the high points?

### Context:
CREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (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:
What is the country of the player whose score is 71-69-70-69=279?

### Context:
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279</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:
Tell me the location for win with record of 8-5

### Context:
CREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_52 WHERE res = "win" AND record = "8-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 is tthe lowest number on team 3g?

### Context:
CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G"</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 Malta vessel built after 2010 that is a GL class Panamax vessel?

### Context:
CREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT vessel_name FROM table_name_56 WHERE flag = "malta" AND type = "panamax" AND class = "gl" AND built > 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 was the event where justin robbins had a record of 9-4-1?

### Context:
CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_54 WHERE record = "9-4-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:
Who was the leading scorer on the game played on February 25?

### Context:
CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT leading_scorer FROM table_name_28 WHERE date = "february 25"</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 names of departments that are either in division AS or in division EN and in Building NEB.

### Context:
CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)

### Response:

### Response:
SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB"</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 Spanish voice actor does the same character as French voice actor Dennis Boileau?

### Context:
CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)

### Response:

### Response:
SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = "dennis boileau"</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 Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"?

### Context:
CREATE TABLE table_name_85 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = "1952 , 1963"</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 has 5/1 odds?

### Context:
CREATE TABLE table_name_55 (jockey VARCHAR, odds VARCHAR)

### Response:

### Response:
SELECT jockey FROM table_name_55 WHERE odds = "5/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 years was the chassis a lotus-ford 38/7?

### Context:
CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/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 Doucet when Lawrance is 36?

### Context:
CREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR)

### Response:

### Response:
SELECT doucet FROM table_11447995_2 WHERE lawrance = "36"</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 names for all employees who do not have certificate of Boeing 737-800.

### Context:
CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"</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 players and names of their coaches.

### Context:
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)

### Response:

### Response:
SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID</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 general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?

### Context:
CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker"</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 Rich Savage percentage in the poll with Jody Wagner at 30%?

### Context:
CREATE TABLE table_name_90 (rich_savage VARCHAR, jody_wagner VARCHAR)

### Response:

### Response:
SELECT rich_savage FROM table_name_90 WHERE jody_wagner = "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 maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?

### Context:
CREATE TABLE table_name_88 (Id VARCHAR)

### Response:

### Response:
SELECT MAX(1985) FROM table_name_88 WHERE 1990 < 267 AND 2000 = 333 AND 2005 < 658</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 pick was used on Ian Hazlett?

### Context:
CREATE TABLE table_name_8 (pick INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MIN(pick) FROM table_name_8 WHERE player = "ian hazlett"</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 day is carlton the home side?

### Context:
CREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_87 WHERE home_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 Away team of Tie no 1?

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

### Response:

### Response:
SELECT away_team FROM table_name_68 WHERE tie_no = "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 name of chapter 8 of season 4?

### Context:
CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR)

### Response:

### Response:
SELECT title FROM table_26429771_1 WHERE no_in_season = 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 change in population since 1993 in the region where the % of country's population was 4.2?

### Context:
CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)

### Response:

### Response:
SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.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:
Name the opponent in the final for 3–6, 1–6

### Context:
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–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:
At a longitude of 321.9e, what is the latitude of the features found?

### Context:
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E"</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 Case Length has a Base of 14.96 (.589)?

### Context:
CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR)

### Response:

### Response:
SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)"</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 winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?

### Context:
CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes"</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 teams have been in Topperserien for 8 seasons?

### Context:
CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR)

### Response:

### Response:
SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 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 manner of departure is listed with an appointment date of 13 march 2008

### Context:
CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)

### Response:

### Response:
SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 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 the highest gold when bronze is 1, and rank is 5?

### Context:
CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 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:
Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?

### Context:
CREATE TABLE table_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)

### Response:

### Response:
SELECT rider FROM table_29218221_2 WHERE fri_3_june = "18' 19.68 123.516mph"</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 number of the game in which Carlos Boozer (8) did the high rebounds?

### Context:
CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR)

### Response:

### Response:
SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (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 highest gold for Cambodia when the total is less than 1?

### Context:
CREATE TABLE table_name_94 (gold INTEGER, country VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(gold) FROM table_name_94 WHERE country = "cambodia" AND 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:
What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕?

### Context:
CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR)

### Response:

### Response:
SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕"</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 races have n/a Points, 0 Wins, and 6th Position entries?

### Context:
CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT races FROM table_name_15 WHERE points = "n/a" AND wins = "0" AND position = "6th"</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:
with team #1 as lukoil academic what is team #2?

### Context:
CREATE TABLE table_name_67 (team__number2 VARCHAR, team__number1 VARCHAR)

### Response:

### Response:
SELECT team__number2 FROM table_name_67 WHERE team__number1 = "lukoil academic"</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 Pick # for brent meeke?

### Context:
CREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT pick__number FROM table_name_45 WHERE player = "brent meeke"</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 Opponent has a Result of w 19–10?

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

### Response:

### Response:
SELECT opponent FROM table_name_40 WHERE result = "w 19–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 Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz?

### Context:
CREATE TABLE table_name_2 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT model_number FROM table_name_2 WHERE voltage = "2.0v" AND frequency = "350 mhz"</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 is ranked 3rd in 2008?

### Context:
CREATE TABLE table_name_66 (team VARCHAR, rank VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_66 WHERE rank = "3rd" 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:
Name the years for dannevirke south school

### Context:
CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"</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 percentage for georgia

### Context:
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT percentage FROM table_22825679_1 WHERE team = "Georgia"</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 champion has sentosa golf club as the tournament location?

### Context:
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)

### Response:

### Response:
SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf 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 is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?

### Context:
CREATE TABLE table_name_22 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47</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 2012 (85th) is the year (ceremony) how many results?

### Context:
CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)"</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 has a 2521 cm displacement and b5254 t2 engine?

### Context:
CREATE TABLE table_name_45 (model_name VARCHAR, displacement__cm³_ VARCHAR, engine_code VARCHAR)

### Response:

### Response:
SELECT model_name FROM table_name_45 WHERE displacement__cm³_ = 2521 AND engine_code = "b5254 t2"</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 ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?

### Context:
CREATE TABLE table_10818465_1 (ga_date VARCHAR, processor_frequency VARCHAR)

### Response:

### Response:
SELECT ga_date FROM table_10818465_1 WHERE processor_frequency = "1.0, 1.2, 1.4GHz"</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 total for years won of 1975

### Context:
CREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR)

### Response:

### Response:
SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975"</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:
Whose permanent address is different from his or her current address? List his or her first name.

### Context:
CREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)

### Response:

### Response:
SELECT first_name FROM Students WHERE current_address_id <> permanent_address_id</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 market is KTFK-DT in?

### Context:
CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT"</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 Score of the game with arsenal win 4-2 on penalties in the attendance field?

### Context:
CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_85 WHERE attendance = "arsenal win 4-2 on penalties"</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 customer id with most number of cards, and how many does he have?

### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR)

### Response:

### Response:
SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC 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 number of points for the team with 2 matches drawn and 577 points for?

### Context:
CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577"</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 Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson?

### Context:
CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson"</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 riverfront stadium the game site for the week?

### Context:
CREATE TABLE table_17972136_1 (week INTEGER, game_site VARCHAR)

### Response:

### Response:
SELECT MIN(week) FROM table_17972136_1 WHERE game_site = "Riverfront Stadium"</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 ids, names and genders of the architects who built two bridges or one mill?

### Context:
CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)

### Response:

### Response:
SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 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 was the crowd size on 4 july 1981, and a Away team of essendon?

### Context:
CREATE TABLE table_name_41 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_41 WHERE date = "4 july 1981" AND away_team = "essendon"</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:
Ioannis Christou with a rank smaller than 6 has what notes?

### Context:
CREATE TABLE table_name_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_71 WHERE rank < 6 AND athlete = "ioannis christou"</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 Release Date has a Voltage Range of 1.148 v - 1.196 v?

### Context:
CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v"</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 record when they played the Los Angeles Rams?

### Context:
CREATE TABLE table_13259009_2 (record VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT record FROM table_13259009_2 WHERE opponent = "Los Angeles Rams"</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 people attended when opponent was twins?

### Context:
CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "twins"</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 film title used in nomination has the year (ceremony) 1990 (63rd)?

### Context:
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)

### Response:

### Response:
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)"</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 all season numbers with production codes of 5m21.

### Context:
CREATE TABLE table_23287683_1 (season__number VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT season__number FROM table_23287683_1 WHERE production_code = "5M21"</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 round has 3-4 as the record?

### Context:
CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_49 WHERE record = "3-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 is the yes percentage in the measure that had 35270 yes votes?

### Context:
CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR)

### Response:

### Response:
SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270</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 is the 2004 shake don't stir?

### Context:
CREATE TABLE table_name_67 (year VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir"</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 crowd at victoria park?

### Context:
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT AVG(crowd) 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:
Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–?

### Context:
CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–"</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 score did the home team of north melbourne get?

### Context:
CREATE TABLE table_name_59 (home_team VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_59 WHERE home_team = "north melbourne"</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 seasons was clay regazzoni the driver?

### Context:
CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_10753917_1 WHERE driver = "Clay Regazzoni"</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 number of items that did not receive any review.

### Context:
CREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review)</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 of the countries showed a score of 71-72=143?

### Context:
CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143</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 which date was the opponent ireland and the status Five Nations?

### Context:
CREATE TABLE table_name_67 (date VARCHAR, status VARCHAR, opposing_teams VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_67 WHERE status = "five nations" AND opposing_teams = "ireland"</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 result of the game in halifax?

### Context:
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_34 WHERE city = "halifax"</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 match had 240 points for?

### Context:
CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT matches FROM table_name_81 WHERE points_for = "240"</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 winner when the Score was 274 (–14) in tennessee?

### Context:
CREATE TABLE table_name_40 (winner VARCHAR, score VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_40 WHERE score = "274 (–14)" AND location = "tennessee"</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 Country, when Player is "Tom Watson"?

### Context:
CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_99 WHERE player = "tom watson"</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 played for the Balmain Tigers?

### Context:
CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_98 WHERE club = "balmain tigers"</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 vicinity (km²) where profits magnificence (2007) is 2nd

### Context:
CREATE TABLE table_255812_1 (area__km²_ VARCHAR, income_class__2007_ VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_255812_1 WHERE income_class__2007_ = "2nd"</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:
Tell me the number of weeks for december 5, 2005

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

### Response:

### Response:
SELECT COUNT(week) FROM table_name_83 WHERE date = "december 5, 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:
Which Result has a Score of 1–0, and a Goal of 16?

### Context:
CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_7 WHERE score = "1–0" AND goal = 16</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 Flap is less than 15 and the podium is larger than 11, what is the pole?

### Context:
CREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR)

### Response:

### Response:
SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11</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 losing bonus of 96 points

### Context:
CREATE TABLE table_12792876_4 (losing_bonus VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT losing_bonus FROM table_12792876_4 WHERE points = "96"</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 place did Don Whitt finish?

### Context:
CREATE TABLE table_name_79 (place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_79 WHERE player = "don whitt"</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 2009, how many were runner-up?

### Context:
CREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 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 was the score for Groves High School when the high assist was Giovanni Riley (9)?

### Context:
CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (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:
Which Location has a Mascot of tigers?

### Context:
CREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_34 WHERE mascot = "tigers"</s>