<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 proteins are associated with an institution in a building with at least 20 floors?

### Context:
CREATE TABLE institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 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 Democrat: Carl Levin, when Lead Margin is 22?

### Context:
CREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR)

### Response:

### Response:
SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who's the incumbent in the district first elected in 1976?

### Context:
CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor for the VII Race of Champions?

### Context:
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of player picked no. 168?

### Context:
CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_2679061_9 WHERE pick__number = 168</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2-0 l?

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

### Response:

### Response:
SELECT opponent FROM table_name_10 WHERE result = "2-0 l"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufacturer for 2011

### Context:
CREATE TABLE table_24193494_3 (manufacturer VARCHAR, order_year VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_24193494_3 WHERE order_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 MLS Cup has another larger than 9, and a Total smaller than 72?

### Context:
CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning driver was jacques villeneuve what was the fastest lap driven?

### Context:
CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finish for start of 28

### Context:
CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_76 WHERE start = "28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which capitals have an area of exactly 377930 square km?

### Context:
CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR)

### Response:

### Response:
SELECT capital FROM table_19605700_1 WHERE area_km² = 377930</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 source shows Blackberry at 2.9%?

### Context:
CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)

### Response:

### Response:
SELECT source FROM table_11381701_3 WHERE blackberry = "2.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 date was the game against manchester city when they had a league position of 2nd?

### Context:
CREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_22 WHERE h___a = "a" AND league_position = "2nd" AND opponents = "manchester 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's the nickname of the students of the school founded in 1933?

### Context:
CREATE TABLE table_1973816_1 (nickname VARCHAR, founded VARCHAR)

### Response:

### Response:
SELECT nickname FROM table_1973816_1 WHERE founded = 1933</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 RECNet with a Class of B and the City of License of Rouyn-Noranda?

### Context:
CREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT recnet FROM table_name_51 WHERE class = "b" AND city_of_license = "rouyn-noranda"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date of 13 july 2007?

### Context:
CREATE TABLE table_name_41 (player VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_41 WHERE date = "13 july 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:
What is the highest W of the 0 L?

### Context:
CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)

### Response:

### Response:
SELECT MAX(w) FROM table_29542147_2 WHERE l = 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 earpads does the headphone with plastic contruction and was succeeded by igrado have?

### Context:
CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR)

### Response:

### Response:
SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ends lost for 67 pa

### Context:
CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR)

### Response:

### Response:
SELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 age of the friend of Zach with longest year relationship?

### Context:
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, year VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, name VARCHAR); CREATE TABLE Person (age VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the game that has a record of 1-1?

### Context:
CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_53 WHERE record = "1-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 smallest goal during the 2006 fifa world cup qualification competition?

### Context:
CREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR)

### Response:

### Response:
SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1?

### Context:
CREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 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 player has +2 to par?

### Context:
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_29 WHERE to_par = "+2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of Year, when Title is "Mnet Director's Cut"?

### Context:
CREATE TABLE table_name_53 (year INTEGER, title VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_53 WHERE title = "mnet director's cut"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the player from the saskatchewan roughriders (via toronto) play?

### Context:
CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_31 WHERE cfl_team = "saskatchewan roughriders (via toronto)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when Pittsburgh was the visitor?

### Context:
CREATE TABLE table_name_42 (score VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_42 WHERE visitor = "pittsburgh"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 head coach for the team that has finke as the shirt sponsor?

### Context:
CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR)

### Response:

### Response:
SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Liu Limin's time in heat 4?

### Context:
CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total score for january 18?

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

### Response:

### Response:
SELECT COUNT(score) FROM table_22883210_7 WHERE date = "January 18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of game played on 10-05-2012?

### Context:
CREATE TABLE table_name_23 (result VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_23 WHERE date = "10-05-2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the umbr of creators for flash of two worlds

### Context:
CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)

### Response:

### Response:
SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 votes did Wales cast when Northern England cast 6?

### Context:
CREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR)

### Response:

### Response:
SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 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:
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?

### Context:
CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR)

### Response:

### Response:
SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 set 3 when the total is 45–31?

### Context:
CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT set_3 FROM table_name_24 WHERE total = "45–31"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st prize for may 21

### Context:
CREATE TABLE table_name_19 (date VARCHAR)

### Response:

### Response:
SELECT SUM(1 AS st_prize___) AS $__ FROM table_name_19 WHERE date = "may 21"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 an Air Date of august 30, 2008?

### Context:
CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_73 WHERE air_date = "august 30, 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:
Where was d: 25~70nm, l: 10~20 μm geometry researched?

### Context:
CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)

### Response:

### Response:
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μ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's the record of the game in which Carlos Delfino (17) did the most high points?

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

### Response:

### Response:
SELECT record FROM table_22871316_6 WHERE high_points = "Carlos Delfino (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 was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011?

### Context:
CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR)

### Response:

### Response:
SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?

### Context:
CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 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 percentage was the others vote when McCain had 52.9% and less than 45205.0 voters?

### Context:
CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)

### Response:

### Response:
SELECT others_percentage FROM table_20693870_1 WHERE mccain_percentage = "52.9%" AND mccain_number < 45205.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 is the away team against the home team Ashington?

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

### Response:

### Response:
SELECT away_team FROM table_name_76 WHERE home_team = "ashington"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest number of losses?

### Context:
CREATE TABLE table_1644876_2 (l INTEGER)

### Response:

### Response:
SELECT MIN(l) FROM table_1644876_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 score has january 15, 2005 as the date?

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

### Response:

### Response:
SELECT score FROM table_name_8 WHERE date = "january 15, 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:
Where did Geelong play as the home team?

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

### Response:

### Response:
SELECT venue FROM table_name_4 WHERE home_team = "geelong"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Australia's role in the UN operation Unama?

### Context:
CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)

### Response:

### Response:
SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least value for average attendance when average on previous season is +644?

### Context:
CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)

### Response:

### Response:
SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+644"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's score when footscray is the away team?

### Context:
CREATE TABLE table_name_74 (away_team VARCHAR)

### Response:

### Response:
SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the attendance was 78,793?

### Context:
CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_53 WHERE attendance = "78,793"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st(m) score for the Person who had a total points of 272.7

### Context:
CREATE TABLE table_14407512_9 (points VARCHAR)

### Response:

### Response:
SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.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 city is 103.3 FM licensed in?

### Context:
CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date has a round more than 9?

### Context:
CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)

### Response:

### Response:
SELECT date FROM table_name_85 WHERE round > 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 document type codes do we have?

### Context:
CREATE TABLE Ref_Document_Types (document_type_code VARCHAR)

### Response:

### Response:
SELECT document_type_code FROM Ref_Document_Types</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue on October 13, 2007?

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

### Response:

### Response:
SELECT venue FROM table_name_60 WHERE date = "october 13, 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:
How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?

### Context:
CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR)

### Response:

### Response:
SELECT COUNT(germany) FROM table_28562675_3 WHERE italy = "Naples LL Naples" AND england = "London Area Youth London"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school are the Red Devils from?

### Context:
CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_24 WHERE team_name = "red devils"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 conference held at School of whiting?

### Context:
CREATE TABLE table_name_49 (previous_conference VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT previous_conference FROM table_name_49 WHERE school = "whiting"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wheel arrangement 0-6-0 and a class 302?

### Context:
CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)

### Response:

### Response:
SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of port adelaide

### Context:
CREATE TABLE table_1161065_27 (total INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MAX(total) FROM table_1161065_27 WHERE team = "Port Adelaide"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 June playmate with the November playmate Lorraine Olivia?

### Context:
CREATE TABLE table_name_3 (june VARCHAR, november VARCHAR)

### Response:

### Response:
SELECT june FROM table_name_3 WHERE november = "lorraine olivia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 catalogue has a formate of "CD Remastered with 3 bonus tracks"?

### Context:
CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR)

### Response:

### Response:
SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cannot handle non-empty timestamp argument! 2007 is released what is the no.?

### Context:
CREATE TABLE table_18442691_2 (no VARCHAR, released VARCHAR)

### Response:

### Response:
SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 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:
List the total number of years that have a score of 3–6, 4–6, 2–6.

### Context:
CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of people in attendance when the game was at TD Banknorth Garden, in a game higher than 31?

### Context:
CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_20 WHERE location = "td banknorth garden" AND game > 31</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 timeslot for the episode that aired April 28, 2009?

### Context:
CREATE TABLE table_name_26 (timeslot VARCHAR, air_date VARCHAR)

### Response:

### Response:
SELECT timeslot FROM table_name_26 WHERE air_date = "april 28, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the FCC info of the translator with an Irmo, South Carolina city license?

### Context:
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 spouse of the consort who was born as rania al yassin?

### Context:
CREATE TABLE table_name_27 (spouse_to VARCHAR, born_as VARCHAR)

### Response:

### Response:
SELECT spouse_to FROM table_name_27 WHERE born_as = "rania al yassin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest loss before game 14?

### Context:
CREATE TABLE table_name_31 (loss INTEGER, game INTEGER)

### Response:

### Response:
SELECT MAX(loss) FROM table_name_31 WHERE game < 14</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parks are there in Atlanta city?

### Context:
CREATE TABLE park (city VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM park WHERE city = 'Atlanta'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 deputy took office in 1976?

### Context:
CREATE TABLE table_name_97 (name VARCHAR, took_office VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_97 WHERE took_office = "1976"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class?

### Context:
CREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 division north in 2007–08

### Context:
CREATE TABLE table_17881033_1 (division_north VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT division_north FROM table_17881033_1 WHERE season = "2007–08"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest year of a gratitude type mission with 99 in the entourage?

### Context:
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1 (5) is the races what is the team name?

### Context:
CREATE TABLE table_22737506_1 (team_name VARCHAR, races VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_22737506_1 WHERE races = "1 (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:
Name the number of rank for 9.52 profits

### Context:
CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
One 6 November 2007 what was the manner of departure for the coach release in football league one?

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

### Response:

### Response:
SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 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:
What constellation has a Declination ( J2000 ) of °32′39″?

### Context:
CREATE TABLE table_name_57 (constellation VARCHAR, declination___j2000__ VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_name_57 WHERE declination___j2000__ = "°32′39″"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2nd event aired on 8 June 2008?

### Context:
CREATE TABLE table_name_32 (event_2 VARCHAR, air_date VARCHAR)

### Response:

### Response:
SELECT event_2 FROM table_name_32 WHERE air_date = "8 june 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Location has a Home Ground of Mong kok stadium?

### Context:
CREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_14 WHERE home_ground = "mong kok 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 day was the opponent Austria?

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

### Response:

### Response:
SELECT date FROM table_name_8 WHERE opponent = "austria"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opposing team at Schaefer Stadium later in the season than week 7?

### Context:
CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = "schaefer 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:
 how many reverse with series being iii series

### Context:
CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 award for candida scott knight

### Context:
CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR)

### Response:

### Response:
SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country has OF-1 Locotenent?

### Context:
CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_40 WHERE of_1 = "locotenent"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Race 2, when Driver is "Paul Radisich"?

### Context:
CREATE TABLE table_name_5 (race_2 VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT race_2 FROM table_name_5 WHERE driver = "paul radisich"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bush# with others% being 1.57%

### Context:
CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)

### Response:

### Response:
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest week that shows a record of 8–5?

### Context:
CREATE TABLE table_name_40 (week INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MIN(week) FROM table_name_40 WHERE 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:
Was diary for my loves nominated?

### Context:
CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR)

### Response:

### Response:
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mobile phone number of the student named Timmothy Ward ?

### Context:
CREATE TABLE students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)

### Response:

### Response:
SELECT cell_mobile_number FROM students WHERE first_name = 'timmothy' AND last_name = 'ward'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 appointment for paco chaparro's replacement?

### Context:
CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points have a Game larger than 25, and an Opponent of dallas stars?

### Context:
CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_75 WHERE game > 25 AND opponent = "dallas stars"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 flange thickness (mm) for the weight (kg/m) 6.0?Wg

### Context:
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)

### Response:

### Response:
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "6.0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is maximum and minimum death toll caused each time?

### Context:
CREATE TABLE death (killed INTEGER)

### Response:

### Response:
SELECT MAX(killed), MIN(killed) FROM death</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class has a peak named fountains fell south top?

### Context:
CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_31 WHERE peak = "fountains fell south top"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee and punches)?

### Context:
CREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_2 WHERE event = "sb 24 - return of the heavyweights 2" AND method = "tko (knee and punches)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 candidates for texas 1

### Context:
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 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 district has 98 constituencies?

### Context:
CREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR)

### Response:

### Response:
SELECT district FROM table_name_54 WHERE constituency_number = "98"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of game 5 with Los Angeles as the home team?

### Context:
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 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:
In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]?

### Context:
CREATE TABLE table_name_65 (year VARCHAR, outcome VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_65 WHERE outcome = "runner-up" AND score = "4–6, 6–4, [8–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:
Which sport has 94kg men's weightlifting as one of its events?

### Context:
CREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT sport FROM table_name_22 WHERE 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:
Which constructor had laps amounting to more than 21 where the driver was John Surtees?

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

### Response:

### Response:
SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = "john surtees"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team was the winner when the runner-up shows both teams awarded championship after a draw.?

### Context:
CREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw."</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 exaltation has a domicile of Saturn and Capricorn as a sign?

### Context:
CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR)

### Response:

### Response:
SELECT exaltation FROM table_name_10 WHERE domicile = "saturn" AND sign = "capricorn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 doeas Mascot of blue devils in Gary Froebel School?

### Context:
CREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT joined FROM table_name_74 WHERE mascot = "blue devils"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much does the champion get for stadthalle dinslaken, dinslaken?

### Context:
CREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT champion FROM table_18828487_1 WHERE venue = "Stadthalle Dinslaken, Dinslaken"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Food World 250?

### Context:
CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_14 WHERE race = "food world 250"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model number has part number cl8064701510101?

### Context:
CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR)

### Response:

### Response:
SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away score when the home team was Melbourne?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_84 WHERE home_team = "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:
what is the section where gordon lee ran

### Context:
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT district FROM table_1342393_10 WHERE incumbent = "Gordon Lee"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weeks was France at #1?

### Context:
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = "France"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record of 4-2?

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

### Response:

### Response:
SELECT opponent FROM table_name_55 WHERE record = "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:
To which party does Frank T. Bow belong?

### Context:
CREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position has a pick greater than 28?

### Context:
CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)

### Response:

### Response:
SELECT position FROM table_name_31 WHERE pick > 28</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did a game have a time of 3:44?

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

### Response:

### Response:
SELECT date FROM table_name_55 WHERE time = "3: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 is the Paper Type with an Illustration with martin dee, ubc public affairs?

### Context:
CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR)

### Response:

### Response:
SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 succesor that was formally installed on November 8, 1978?

### Context:
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)

### Response:

### Response:
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 (s) won was +2 the To par, and t22 the finish?

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

### Response:

### Response:
SELECT year_s__won FROM table_name_5 WHERE to_par = "+2" AND finish = "t22"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elector from pisa elevated?

### Context:
CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT elevated FROM table_name_13 WHERE nationality = "pisa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finish of Australia?

### Context:
CREATE TABLE table_name_52 (finish VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_52 WHERE country = "australia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tries for are for 473 points for?

### Context:
CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Tongyong is Hanyu Sanmin?

### Context:
CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)

### Response:

### Response:
SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the states that have entry times of 49years, 29days

### Context:
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)

### Response:

### Response:
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game, when the attendance was higher than 56,040?

### Context:
CREATE TABLE table_name_46 (game INTEGER, attendance INTEGER)

### Response:

### Response:
SELECT AVG(game) FROM table_name_46 WHERE attendance > 56 OFFSET 040</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Australia's time in the heat more than 4?

### Context:
CREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = "australia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent in Week 8?

### Context:
CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_24814477_2 WHERE week = 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:
Name the team for june 20

### Context:
CREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT team FROM table_2139390_2 WHERE date = "June 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:
If the team is Worcestershire and the Matched had were 5, what is the highest score?

### Context:
CREATE TABLE table_27268238_4 (highest_score VARCHAR, matches VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT highest_score FROM table_27268238_4 WHERE matches = 5 AND team = "Worcestershire"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Picks have a Round larger than 8, and a College of fresno state?

### Context:
CREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = "fresno state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Spain with a total of more than 4 medals is in what rank?

### Context:
CREATE TABLE table_name_15 (rank VARCHAR, total VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_15 WHERE total > 4 AND nation = "spain"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mystic arte have hisui (jadeite) hearts 1 as the character?

### Context:
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 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 shows for Southbridge when the Model number is amd-640 chipset?

### Context:
CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR)

### Response:

### Response:
SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 collingwood played as the home team who was the away team?

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

### Response:

### Response:
SELECT away_team FROM table_name_88 WHERE home_team = "collingwood"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 company collaborated with non-hodgkin lymphoma?

### Context:
CREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR)

### Response:

### Response:
SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?

### Context:
CREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)

### Response:

### Response:
SELECT guest_2 FROM table_20466963_4 WHERE guest_4 = "Iyare Igiehon" AND guest_3 = "John Oliver"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name and phone number of patients who had more than one appointment?

### Context:
CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)

### Response:

### Response:
SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient 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 were the Results for 25,000 Attendance?

### Context:
CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_91 WHERE attendance = "25,000"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Area km 2 has an Official Name of southampton, and a Population larger than 1,601?

### Context:
CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT MIN(area_km_2) FROM table_name_61 WHERE official_name = "southampton" AND population > 1 OFFSET 601</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 starts for 1987?

### Context:
CREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(starts) FROM table_13026799_3 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 career win-loss for the ATP Masters Series?

### Context:
CREATE TABLE table_name_3 (career_win_loss VARCHAR)

### Response:

### Response:
SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class had 110 points?

### Context:
CREATE TABLE table_name_23 (class VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_23 WHERE points = 110</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Total matches is the lowest one that has a Total W-L-H of 1-2-0?

### Context:
CREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR)

### Response:

### Response:
SELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = "1-2-0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the notes when the displacement is 220cid (3,604cc)?

### Context:
CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 young rider classification for jesper worre and stage 3

### Context:
CREATE TABLE table_name_66 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT young_rider_classification FROM table_name_66 WHERE mountains_classification = "jesper worre" AND stage = "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 time/retired of Driver Masten Gregory Carroll Shelby when the constructor was Maserati, the Grid was larger than 10 and there were more than 2 laps?

### Context:
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_30 WHERE grid > 10 AND laps > 2 AND constructor = "maserati" AND driver = "masten gregory carroll shelby"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the overall attendance 17807?

### Context:
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)

### Response:

### Response:
SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 caps figures are there for Norwich City, Coventry City?

### Context:
CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)

### Response:

### Response:
SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Norwich City, Coventry 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:
Who did the fastest lap in the dutch grand prix?

### Context:
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the weeks on a chart a song with a position less than 1 haas?

### Context:
CREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER)

### Response:

### Response:
SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which song released on heavenly (hvn152)?

### Context:
CREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR)

### Response:

### Response:
SELECT song FROM table_name_86 WHERE release_info = "heavenly (hvn152)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?

### Context:
CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)

### Response:

### Response:
SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-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:
What is every year born for height of 1.88?

### Context:
CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)

### Response:

### Response:
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average draft pick number from Carson-Newman College before Round 7?

### Context:
CREATE TABLE table_name_21 (pick__number INTEGER, college VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT AVG(pick__number) FROM table_name_21 WHERE college = "carson-newman" AND round < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Coombe Road time with a Selsdon evening peak?

### Context:
CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR)

### Response:

### Response:
SELECT coombe_road FROM table_name_17 WHERE selsdon = "evening peak"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class was the 2nd - portillo?

### Context:
CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)

### Response:

### Response:
SELECT class FROM table_20626467_1 WHERE winner_2nd = "2nd - Portillo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film for award of £3,740

### Context:
CREATE TABLE table_name_98 (film VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT film FROM table_name_98 WHERE award = "£3,740"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 founded for yankton

### Context:
CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)

### Response:

### Response:
SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Played has a Points of 2, and a Position smaller than 8?

### Context:
CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 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 Constructor has 56 Laps?

### Context:
CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_13 WHERE laps = 56</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Call sign of the Omni television network with a Digitial PSIP of 14.1?

### Context:
CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR)

### Response:

### Response:
SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.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 skaters have a Rank in FS of 3, and a Rank in SP larger than 4?

### Context:
CREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR)

### Response:

### Response:
SELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 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 record when the visitor is Buffalo?

### Context:
CREATE TABLE table_name_69 (record VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_69 WHERE visitor = "buffalo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who's the wrestler with an elimination of 1?

### Context:
CREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR)

### Response:

### Response:
SELECT wrestler FROM table_name_6 WHERE elimination = "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 received the reward on the episode where the finish was "3rd voted out day 8"?

### Context:
CREATE TABLE table_1272844_2 (reward VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT reward FROM table_1272844_2 WHERE finish = "3rd voted Out Day 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:
FOR AUGUST 13 WHAT IS THE RND ?

### Context:
CREATE TABLE table_16732659_2 (rnd INTEGER, date VARCHAR)

### Response:

### Response:
SELECT MAX(rnd) FROM table_16732659_2 WHERE date = "August 13"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average of points for 8th place with draw more than 8?

### Context:
CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 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 directed/undirected for mfinder, which has a network-centric basis?

### Context:
CREATE TABLE table_name_83 (directed___undirected VARCHAR, name VARCHAR, basis VARCHAR)

### Response:

### Response:
SELECT directed___undirected FROM table_name_83 WHERE name = "mfinder" AND basis = "network-centric"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what round did opponent Joe Lauzon play?

### Context:
CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_39 WHERE opponent = "joe lauzon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 which district is the incumbent Marcia C. Kaptur?

### Context:
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Patricia Mcgourty nominated for a Tony award?

### Context:
CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country ireland and points more than 4?

### Context:
CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 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 average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s?

### Context:
CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR)

### Response:

### Response:
SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55°__seconds_ > 16.3 AND m_v_ft_s = 2200</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team of vitali yeremeyev

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

### Response:

### Response:
SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Player is "Bob Murphy"?

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

### Response:

### Response:
SELECT score FROM table_name_9 WHERE player = "bob murphy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps recorded in 2001?

### Context:
CREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT laps FROM table_17802778_1 WHERE year = 2001</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name has a Winning constructor of ansaldo?

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

### Response:

### Response:
SELECT name FROM table_name_56 WHERE winning_constructor = "ansaldo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are start dates (1st night) for the season of 1966?

### Context:
CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournaments ended with a score of 204 (-12)?

### Context:
CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the ministers and the time they took and left office, listed by the time they left office.

### Context:
CREATE TABLE party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR)

### Response:

### Response:
SELECT minister, took_office, left_office FROM party ORDER BY left_office</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for  D 44 √ when D 47 √ is r 7?

### Context:
CREATE TABLE table_name_19 (d_44_√ VARCHAR, d_47_√ VARCHAR)

### Response:

### Response:
SELECT d_44_√ FROM table_name_19 WHERE d_47_√ = "r 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:
Who had the high rebounds on February 24?

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

### Response:

### Response:
SELECT high_rebounds FROM table_name_36 WHERE date = "february 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the score when the home team is cairns taipans?

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

### Response:

### Response:
SELECT score FROM table_name_23 WHERE home_team = "cairns taipans"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Deutsche Telekom's accreditation type?

### Context:
CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR)

### Response:

### Response:
SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Round smaller than 3, and an Opponent of bao quach?

### Context:
CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of innings with less than 342 runs and more than 4 matches?

### Context:
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)

### Response:

### Response:
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 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 was the results for top 12?

### Context:
CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR)

### Response:

### Response:
SELECT result FROM table_26250176_1 WHERE week__number = "Top 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest average number in attendance when the most in attendance is 5,078?

### Context:
CREATE TABLE table_name_87 (average INTEGER, highest VARCHAR)

### Response:

### Response:
SELECT MAX(average) FROM table_name_87 WHERE highest = 5 OFFSET 078</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 world rank by QS in 2013 for the University of Otago?

### Context:
CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)

### Response:

### Response:
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nickname of the college established in 1773?

### Context:
CREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR)

### Response:

### Response:
SELECT nickname FROM table_name_65 WHERE established = 1773</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 power provided where transfer speed mb/s is 300 and max cable length of 10

### Context:
CREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR, max_cable_length__m_ VARCHAR)

### Response:

### Response:
SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "300" AND max_cable_length__m_ = "10"</s>