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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the number of different series names and contents in the TV Channel table.

### Context:
CREATE TABLE TV_Channel (series_name VARCHAR, content VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT series_name), COUNT(DISTINCT content) FROM TV_Channel</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What grade is Kyle in?

### Context:
CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT grade FROM Highschooler WHERE name = "Kyle"</s>


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

### Context:
CREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_17355408_9 WHERE game = 80</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round was jerry corcoran drafted in as pick number 114?

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

### Response:

### Response:
SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 camera lenses have a focal length longer than 15 mm?

### Context:
CREATE TABLE camera_lens (focal_length_mm INTEGER)

### Response:

### Response:
SELECT COUNT(*) FROM camera_lens WHERE focal_length_mm > 15</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded?

### Context:
CREATE TABLE table_name_79 (points INTEGER, mark VARCHAR, react VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_79 WHERE mark = "8.54" AND react > 0.23800000000000002</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people attended the match when Manchester United played against the Hearts?

### Context:
CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_95 WHERE opponents = "hearts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Qual listed on the Year of 1954?

### Context:
CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT qual FROM table_name_38 WHERE year = "1954"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Bronze of 22 has what average silver?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_99 WHERE bronze = 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:
What is the scored figure when the result is 40-22?

### Context:
CREATE TABLE table_name_94 (scored INTEGER, result VARCHAR)

### Response:

### Response:
SELECT SUM(scored) FROM table_name_94 WHERE result = "40-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:
What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?

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

### Response:

### Response:
SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Parts-per example of 2×10 −6?

### Context:
CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR)

### Response:

### Response:
SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2×10 −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:
Find the founder of the company whose name begins with the letter 'S'.

### Context:
CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT founder FROM manufacturers WHERE name LIKE 'S%'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 league established before 1930 with the rayo vallecano club?

### Context:
CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the average points White made with 0 extra points?

### Context:
CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = "white"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes were written by Ross brown?

### Context:
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names of festivals held in year 2007?

### Context:
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT Festival_Name FROM festival_detail WHERE YEAR = 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the distinct last names of the students who have class president votes.

### Context:
CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chassis has a year later than 1964, a Ford engine, and 13 points?

### Context:
CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 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 record with a 3:56 time?

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

### Response:

### Response:
SELECT record FROM table_name_63 WHERE time = "3: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 barony for the Ballintaggart townland?

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

### Response:

### Response:
SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart"</s>


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

### Context:
CREATE TABLE table_name_73 (home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_73 WHERE date = "november 26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?

### Context:
CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)

### Response:

### Response:
SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"</s>


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

### Context:
CREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_63 WHERE points_against = "431"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?

### Context:
CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of losses for teams with under 3 draws and 51 points?

### Context:
CREATE TABLE table_name_49 (loses INTEGER, draws VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(loses) FROM table_name_49 WHERE draws < 3 AND points = 51</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
tell me the writer of production code ad1d09.

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

### Response:

### Response:
SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the team with replaced by being csaba lászló

### Context:
CREATE TABLE table_name_24 (team VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_24 WHERE replaced_by = "csaba lászló"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 march 27-29 whern november 3 is 153?

### Context:
CREATE TABLE table_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR)

### Response:

### Response:
SELECT march_27_29 FROM table_25252080_3 WHERE november_3 = "153"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?

### Context:
CREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)

### Response:

### Response:
SELECT liberal_party FROM table_name_97 WHERE conservative_party = "16 (-1)" AND labour_party = "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 game was played on December 8?

### Context:
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(game) FROM table_name_80 WHERE date = "december 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 sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?

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

### Response:

### Response:
SELECT SUM(week) FROM table_name_20 WHERE date = "october 21, 1974" AND attendance < 50 OFFSET 623</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?

### Context:
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)

### Response:

### Response:
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What away team is based in moorabbin oval?

### Context:
CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the age of the act who is a rapper?

### Context:
CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR)

### Response:

### Response:
SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Opponent, when Record is 17-44?

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

### Response:

### Response:
SELECT opponent FROM table_name_98 WHERE record = "17-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:
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?

### Context:
CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show names of technicians and series of machines they are assigned to repair.

### Context:
CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)

### Response:

### Response:
SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the maximum wins for 68.75%

### Context:
CREATE TABLE table_15829930_5 (wins INTEGER, success_rate VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_15829930_5 WHERE success_rate = "68.75%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the moving from with a transfer and the nationality of Bra?

### Context:
CREATE TABLE table_name_22 (moving_from VARCHAR, type VARCHAR, nat VARCHAR)

### Response:

### Response:
SELECT moving_from FROM table_name_22 WHERE type = "transfer" AND nat = "bra"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rounds that Center position Denis Arkhipov have?

### Context:
CREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_33 WHERE position = "center" AND player = "denis arkhipov"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many seasons had a rank of 16?

### Context:
CREATE TABLE table_1218784_1 (season VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_1218784_1 WHERE rank = 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which grade is studying in classroom 103?

### Context:
CREATE TABLE list (grade VARCHAR, classroom VARCHAR)

### Response:

### Response:
SELECT DISTINCT grade FROM list WHERE classroom = 103</s>


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

### Context:
CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_2 WHERE round = "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:
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all product sizes.

### Context:
CREATE TABLE Products (product_size VARCHAR)

### Response:

### Response:
SELECT DISTINCT product_size FROM Products</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pontyberem RFC that has a Try Bonus of 2, what is the played?

### Context:
CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT played FROM table_name_56 WHERE try_bonus = "2" AND club = "pontyberem rfc"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed under the Years as tallest, that has Floors of 31?

### Context:
CREATE TABLE table_name_83 (years_as_tallest VARCHAR, floors VARCHAR)

### Response:

### Response:
SELECT years_as_tallest FROM table_name_83 WHERE floors = 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 1993 value of the French open?

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

### Response:

### Response:
SELECT 1993 FROM table_name_68 WHERE tournament = "french open"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 zip code of the address in the city Port Chelsea?

### Context:
CREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'</s>


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

### Context:
CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR)

### Response:

### Response:
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 M60A3 that has 40 rounds as Leclerc?

### Context:
CREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR)

### Response:

### Response:
SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drivers had the fastest lap at Silverstone?

### Context:
CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT COUNT(fastest_lap) FROM table_1137718_2 WHERE location = "Silverstone"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Round of 1r, and an away result of 7–1 is what season?

### Context:
CREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7–1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the game that was attended by 80,886 people?

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

### Response:

### Response:
SELECT result FROM table_name_38 WHERE attendance = "80,886"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cornerback has the lowest overall and a pick number smaller than 16?

### Context:
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year has a Producer of viva films, and a Title of magkapatid?

### Context:
CREATE TABLE table_name_41 (year VARCHAR, producer VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_41 WHERE producer = "viva films" AND title = "magkapatid"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47?

### Context:
CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)

### Response:

### Response:
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_ > 47</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of wins for the Terang Club, when there are less than 0 draws?

### Context:
CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT AVG(wins) FROM table_name_43 WHERE club = "terang" AND draws < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance on September 28?

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

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_92 WHERE date = "september 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 body styles have devaux-hall inline 6 as the engine?

### Context:
CREATE TABLE table_name_9 (body_styles VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT body_styles FROM table_name_9 WHERE engine = "devaux-hall inline 6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has Points smaller than 85 and a Game # of 74?

### Context:
CREATE TABLE table_name_36 (date VARCHAR, points VARCHAR, game__number VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What group has 1200 m as the distance?

### Context:
CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)

### Response:

### Response:
SELECT group FROM table_name_82 WHERE distance = "1200 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:
Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?

### Context:
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_78 WHERE result = "won" AND competition = "friendly" AND date = "28 may 2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the match played on 14 October 1998, resulting in more than 10 goals?

### Context:
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What ended up happening in the district Virginia 22?

### Context:
CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT result FROM table_2668329_25 WHERE district = "Virginia 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:
List each language and the number of TV Channels using it.

### Context:
CREATE TABLE TV_Channel (LANGUAGE VARCHAR)

### Response:

### Response:
SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 monarch with the heir thado minsaw?

### Context:
CREATE TABLE table_26460435_8 (monarch VARCHAR, heir VARCHAR)

### Response:

### Response:
SELECT monarch FROM table_26460435_8 WHERE heir = "Thado Minsaw"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player with a 70-75=145 score?

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

### Response:

### Response:
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 scores of the games with a record of 47-34?

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

### Response:

### Response:
SELECT score FROM table_27902171_9 WHERE record = "47-34"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 long in miles (km) was the race that lasted 3:07:53?

### Context:
CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR)

### Response:

### Response:
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team of the game with manu ginóbili (34) as the leading scorer?

### Context:
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all document type codes and document type names.

### Context:
CREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)

### Response:

### Response:
SELECT document_type_code, document_type_name 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 was the result of the competition that had a score of 4-0?

### Context:
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_95 WHERE score = "4-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 Airline when the notes show aoc 135?

### Context:
CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT airline FROM table_name_51 WHERE notes = "aoc 135"</s>


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

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

### Response:

### Response:
SELECT score FROM table_16864968_8 WHERE date = "March 21, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score in round 7?

### Context:
CREATE TABLE table_26847237_1 (score VARCHAR, round__number VARCHAR)

### Response:

### Response:
SELECT score FROM table_26847237_1 WHERE round__number = "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 was the best top five result when the average start is 28.5?

### Context:
CREATE TABLE table_2182573_2 (top_5 INTEGER, avg_start VARCHAR)

### Response:

### Response:
SELECT MAX(top_5) FROM table_2182573_2 WHERE avg_start = "28.5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest season number with a total prize of $108,000?

### Context:
CREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR)

### Response:

### Response:
SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,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:
what is the average silver when the total is more than 20?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_66 WHERE total > 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:
Give me the temperature of Shanghai in January.

### Context:
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)

### Response:

### Response:
SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai"</s>


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

### Context:
CREATE TABLE table_1973729_2 (founded INTEGER)

### Response:

### Response:
SELECT MAX(founded) FROM table_1973729_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:
Who was the nominee having a Tony award?

### Context:
CREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT nominee FROM table_name_16 WHERE 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:
Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?

### Context:
CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_92 WHERE recopa_1994 = "n/a" AND conmebol_1994 = "1st round"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 invoice number and invoice date for the invoice with most number of transactions?

### Context:
CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)

### Response:

### Response:
SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people voted for Obama in the county where McCain got 72.75% of the votes?

### Context:
CREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR)

### Response:

### Response:
SELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = "72.75%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the control trailers for 52 motors

### Context:
CREATE TABLE table_name_71 (Control VARCHAR, motors VARCHAR)

### Response:

### Response:
SELECT Control AS trailers FROM table_name_71 WHERE motors = "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:
Which gene has 4,895,836 base pairs?

### Context:
CREATE TABLE table_name_94 (genes VARCHAR, base_pairs VARCHAR)

### Response:

### Response:
SELECT genes FROM table_name_94 WHERE base_pairs = "4,895,836"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What transfer fee did Birmingham City get on 30 June 2010?

### Context:
CREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)

### Response:

### Response:
SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham 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:
Which nominee won the award for Fourth Best Indian Film?

### Context:
CREATE TABLE table_name_7 (nominee VARCHAR, outcome VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT nominee FROM table_name_7 WHERE outcome = "won" AND category = "fourth best indian film"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lap number had Olivier Panis as a driver?

### Context:
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT laps FROM table_name_98 WHERE driver = "olivier panis"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 had a rank before 3 and primary carrier JetBlue Airways?

### Context:
CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways"</s>


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

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

### Response:

### Response:
SELECT to_par FROM table_name_42 WHERE player = "gene littler"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college, junior, or club team did defence player Rory Fitzpatrick play for?

### Context:
CREATE TABLE table_name_81 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team FROM table_name_81 WHERE position = "defence" AND player = "rory fitzpatrick"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Opponent when the Cavaliers had a Record of 3-9?

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

### Response:

### Response:
SELECT opponent FROM table_name_10 WHERE record = "3-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:
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?

### Context:
CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT AVG(yards) FROM table_name_2 WHERE game_time = "2nd quarter (0:00)" AND date = "november 8, 1971"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 does the player with a first round score of 35.7 play?

### Context:
CREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)

### Response:

### Response:
SELECT pos FROM table_name_21 WHERE first_round = "35.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:
Which 1990-91 has an average number of 1.035?

### Context:
CREATE TABLE table_name_34 (average VARCHAR)

### Response:

### Response:
SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035</s>


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

### Context:
CREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_98 WHERE location = "match reports"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much is the crowd attending at colonial stadium where Hawthorn plays?

### Context:
CREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_9 WHERE ground = "colonial stadium" AND home_team = "hawthorn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 friday day six when thursday day five is پچھمبے pachhambey?

### Context:
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)

### Response:

### Response:
SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points have 88 laps and a grid of 14?

### Context:
CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "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:
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?

### Context:
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 competition was on August 11, 1996?

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

### Response:

### Response:
SELECT competition FROM table_name_42 WHERE date = "august 11, 1996"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?

### Context:
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gray wolves is the team nickname how many institutions are there?

### Context:
CREATE TABLE table_28211213_2 (institution VARCHAR, team_nickname VARCHAR)

### Response:

### Response:
SELECT COUNT(institution) FROM table_28211213_2 WHERE team_nickname = "Gray Wolves"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 release date of the processor with 2.8 ghz of frequency?

### Context:
CREATE TABLE table_name_77 (release_date VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_77 WHERE frequency = "2.8 ghz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 18-50 .360 field goals?

### Context:
CREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR)

### Response:

### Response:
SELECT player FROM table_22875514_3 WHERE field_goals = "18-50 .360"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the total number of Laps for Rubens Barrichello

### Context:
CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT COUNT(laps) FROM table_name_85 WHERE driver = "rubens barrichello"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country named feeney with a bbc sport start source?

### Context:
CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?

### Context:
CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)

### Response:

### Response:
SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 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 date of the game at Olympic Stadium?

### Context:
CREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT date FROM table_24989925_2 WHERE game_site = "Olympic 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 party with candidates being john j. phillips (r) 57.6% n. e. west (d) 42.4%

### Context:
CREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR)

### Response:

### Response:
SELECT COUNT(party) FROM table_1342256_6 WHERE candidates = "John J. Phillips (R) 57.6% N. E. West (D) 42.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 Title, when Release Date is 2011-12-01 December 2011?

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

### Response:

### Response:
SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round was Joe Sims picked?

### Context:
CREATE TABLE table_name_24 (round INTEGER, player VARCHAR)

### Response:

### Response:
SELECT AVG(round) FROM table_name_24 WHERE player = "joe sims"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Result has an Attendance of 60,705?

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

### Response:

### Response:
SELECT result FROM table_name_72 WHERE attendance = "60,705"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_65 WHERE date = "july 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 Away team played when they had a Crowd of over 29,000 people?

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

### Response:

### Response:
SELECT away_team FROM table_name_14 WHERE crowd > 29 OFFSET 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:
What is every value for % 20-39 if  % 0-19 is 21,11%?

### Context:
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)

### Response:

### Response:
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the team from goreville vienna school?

### Context:
CREATE TABLE table_name_80 (team_name VARCHAR, schools VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943?

### Context:
CREATE TABLE table_name_98 (title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_98 WHERE year > 1943 AND studio = "rko" AND role = "dolly"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the original air date for the episoe written by vanessa reisen?

### Context:
CREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 agriculatural panels of the composition with more than 3 National Universities of Ireland?

### Context:
CREATE TABLE table_name_59 (agricultural_panel VARCHAR, national_university_of_ireland INTEGER)

### Response:

### Response:
SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 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 date of the game that the high assists is raymond felton (4)?

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

### Response:

### Response:
SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (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 home country of the player who placed t5 and had a score of 69-71=140?

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

### Response:

### Response:
SELECT country FROM table_name_23 WHERE place = "t5" AND score = 69 - 71 = 140</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the years when decile was less than 7 for waitoa school

### Context:
CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was there an International Friendly competition?

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

### Response:

### Response:
SELECT date FROM table_name_2 WHERE competition = "international friendly"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the umpires when Paul Medhurst (C) won the Simpson Medal?

### Context:
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)

### Response:

### Response:
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Did he win or lose rof 32: respect?

### Context:
CREATE TABLE table_name_47 (res VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT res FROM table_name_47 WHERE event = "rof 32: respect"</s>


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

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

### Response:

### Response:
SELECT loss FROM table_name_91 WHERE date = "august 19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many goals have a goal ration less than 0.8 with 56 games?

### Context:
CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 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 seasons does Nick Lucas appear in?

### Context:
CREATE TABLE table_12441518_1 (recurring_cast_seasons VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT recurring_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"</s>


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

### Context:
CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)

### Response:

### Response:
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What opponent got 44 points in their game?

### Context:
CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_23243769_4 WHERE opp_points = 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 Date of the game with a Score of 4–6, 4–6?

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

### Response:

### Response:
SELECT date FROM table_name_36 WHERE score = "4–6, 4–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 was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?

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

### Response:

### Response:
SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the ids of the movies that are not reviewed by Brittany Harris.

### Context:
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)

### Response:

### Response:
SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris"</s>


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

### Context:
CREATE TABLE table_name_67 (opponent VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_67 WHERE against = "norway"</s>


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

### Context:
CREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR)

### Response:

### Response:
SELECT country FROM table_18888159_1 WHERE events = 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:
What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0?

### Context:
CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)

### Response:

### Response:
SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 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 leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals?

### Context:
CREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_75 WHERE silver > 0 AND rank < 4 AND nation = "jamaica" AND total < 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:
Find the names of the campus which has more faculties in 2002 than every campus in Orange county.

### Context:
CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR); CREATE TABLE faculty (campus VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT MAX(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = "Orange")</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were taken when the outcome was "6th voted out day 12"?

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

### Response:

### Response:
SELECT COUNT(vote) FROM table_1272844_2 WHERE finish = "6th voted Out Day 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 number of the division for the 1st round?

### Context:
CREATE TABLE table_1046071_1 (division VARCHAR, open_cup VARCHAR)

### Response:

### Response:
SELECT COUNT(division) FROM table_1046071_1 WHERE open_cup = "1st Round"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3?

### Context:
CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MIN(react) FROM table_name_90 WHERE lane > 3 AND time < 20.3 AND nationality = "zimbabwe" AND rank > 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 2004 value in the 2011 Grand Slam Tournaments?

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

### Response:

### Response:
SELECT 2004 FROM table_name_46 WHERE 2011 = "grand slam tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Season has a Level of tier 2 and a Position of 1st?

### Context:
CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st"</s>


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

### Context:
CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT host_country___countries FROM table_name_3 WHERE year = "2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average car number of all the drivers with 109 points?

### Context:
CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR)

### Response:

### Response:
SELECT AVG(car__number) FROM table_name_12 WHERE points = "109"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game has an Opponent of @ carolina hurricanes?

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

### Response:

### Response:
SELECT SUM(game) FROM table_name_94 WHERE opponent = "@ carolina hurricanes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 game against the New Jersey Devils with 19 points?

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

### Response:

### Response:
SELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = "new jersey 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:
What is the area of the corporation named the powell river, the corporation of the city of?

### Context:
CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_28367242_1 WHERE corporate_name = "Powell River, The Corporation of the City of"</s>


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

### Context:
CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT method FROM table_name_83 WHERE record = "4-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 fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?

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

### Response:

### Response:
SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the earliest week on September 26, 1965?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_3 WHERE date = "september 26, 1965"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Count the Number of electorates (2009) that has a District of fatehpur and  jahanabad?

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

### Response:

### Response:
SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Non- stop has an Aspirated stop of ㅎ?

### Context:
CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR)

### Response:

### Response:
SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?

### Context:
CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)

### Response:

### Response:
SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.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:
COunt the sum of Diameter (km) which has a Latitude of 62.7n?

### Context:
CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR)

### Response:

### Response:
SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = "62.7n"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score for the game where the home team was Wycombe Wanderers?

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

### Response:

### Response:
SELECT score FROM table_name_73 WHERE home_team = "wycombe wanderers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me opponent for result of w 33-31

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

### Response:

### Response:
SELECT opponent FROM table_name_96 WHERE result = "w 33-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:
How many entrants did the events won by Frank Gary average?

### Context:
CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)

### Response:

### Response:
SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest overall amount of no votes?

### Context:
CREATE TABLE table_256286_13 (no_votes INTEGER)

### Response:

### Response:
SELECT MIN(no_votes) FROM table_256286_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:
Who were the co-drivers in 2008?

### Context:
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT co_drivers FROM table_name_81 WHERE year = 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score when the set 3 is 26–28?

### Context:
CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_5 WHERE set_3 = "26–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 is 2012 that has a winning % of 67%?

### Context:
CREATE TABLE table_name_60 (win__percentage VARCHAR)

### Response:

### Response:
SELECT 2012 FROM table_name_60 WHERE win__percentage = "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:
How much money did Crafty Bear wins with a dist of 1 mile?

### Context:
CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)

### Response:

### Response:
SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear"</s>


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

### Context:
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 final score agains Dynamo Kyiv, when the group position was 1st?

### Context:
CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?

### Context:
CREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND entrant = "hb bewaking alarm systems"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 locale is Ontario, what is the W minimum?

### Context:
CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)

### Response:

### Response:
SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 runner-up results for the years (won in bold) 1984, 2010?

### Context:
CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR)

### Response:

### Response:
SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many places did the artist Big Hit have with less than 2934 votes?

### Context:
CREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR)

### Response:

### Response:
SELECT COUNT(place) FROM table_name_21 WHERE artist = "big hit" AND votes < 2934</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were in attendance for the loss of rekar (4–5)?

### Context:
CREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4–5)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number of different channel owners?

### Context:
CREATE TABLE channel (OWNER VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT OWNER) FROM channel</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show names for all aircraft with at least two flights.

### Context:
CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)

### Response:

### Response:
SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many insurgents have 2003 as a period?

### Context:
CREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR)

### Response:

### Response:
SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = "2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What time does lane 7 have?

### Context:
CREATE TABLE table_name_56 (time VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_56 WHERE lane = 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 category was the movie Working Girl nominated?

### Context:
CREATE TABLE table_18638067_1 (category VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT category FROM table_18638067_1 WHERE film_title_used_in_nomination = "Working Girl"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What opponent has a result of 3–6, 6–2, 4–6?

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

### Response:

### Response:
SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–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 player in the United States had a total of 286 and won in 2003?

### Context:
CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 payment method is used by most customers?

### Context:
CREATE TABLE customers (payment_method VARCHAR)

### Response:

### Response:
SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the coronie for marowijne being 6.8%

### Context:
CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)

### Response:

### Response:
SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.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 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?

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

### Response:

### Response:
SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "1r"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sv neuses is the oberfranken west what is the season?

### Context:
CREATE TABLE table_23224961_2 (season VARCHAR, oberfranken_west VARCHAR)

### Response:

### Response:
SELECT season FROM table_23224961_2 WHERE oberfranken_west = "SV Neuses"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total number of density for the place with a population over 393,390?

### Context:
CREATE TABLE table_name_57 (density VARCHAR, population INTEGER)

### Response:

### Response:
SELECT COUNT(density) FROM table_name_57 WHERE population > 393 OFFSET 390</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufactured the car that won with an average speed of 126.259 mph?

### Context:
CREATE TABLE table_22298383_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_22298383_1 WHERE average_speed__mph_ = "126.259"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up in the Memorial Tournament?

### Context:
CREATE TABLE table_1602858_1 (runner_s__up VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT runner_s__up FROM table_1602858_1 WHERE tournament = "Memorial tournament"</s>