<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game on May 15 and how many were in attendance?

### Context:
CREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_11963601_11 WHERE date = "May 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:
What is the Gross Revenue (1979) of the Venue, lyceum theatre?

### Context:
CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 High points when date was February 11?

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

### Response:

### Response:
SELECT high_points FROM table_name_55 WHERE date = "february 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's the participle when the verbal noun is i-bil-tze?

### Context:
CREATE TABLE table_12784134_1 (participle VARCHAR, verbal_noun VARCHAR)

### Response:

### Response:
SELECT participle FROM table_12784134_1 WHERE verbal_noun = "i-bil-tze"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 presenter of the episode broadcast in the UK on 1996-09-25?

### Context:
CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)

### Response:

### Response:
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the grid total for bruce mclaren with over 73 laps?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What grid for denny hulme?

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

### Response:

### Response:
SELECT grid FROM table_name_12 WHERE driver = "denny hulme"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 up/down at the venue that hosted 7 games?

### Context:
CREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR)

### Response:

### Response:
SELECT up_down FROM table_1161065_28 WHERE hosted = 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's the total number of directors whose episodes have been seen by 9.14 million viewers?

### Context:
CREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)

### Response:

### Response:
SELECT COUNT(director) FROM table_12919003_3 WHERE viewers_millions_ = "9.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 position in table when the date of vacancy was 4 january 2011?

### Context:
CREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)

### Response:

### Response:
SELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = "4 January 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest expenditures on R&D for Poland after 2011?

### Context:
CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = "poland" AND year > 2011</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What 2006 has grand slam tournaments of 2005?

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

### Response:

### Response:
SELECT 2006 FROM table_name_27 WHERE 2005 = "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:
What is the Enterprise for teh memory modules: hot replacement Feature that has a Datacenter of Yes?

### Context:
CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR)

### Response:

### Response:
SELECT enterprise FROM table_name_1 WHERE datacenter = "yes" AND features = "memory modules: hot replacement"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s?

### Context:
CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)

### Response:

### Response:
SELECT production FROM table_name_5 WHERE engine = "2.7l" AND acceleration_0_100km_h__0_62mph_ = "8.5 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:
Which team had more than 15 losses in 1988?

### Context:
CREATE TABLE table_name_23 (team_name VARCHAR, losses VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_name_23 WHERE losses > 15 AND season = "1988"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the game played when their record was 9-1-0?

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

### Response:

### Response:
SELECT location FROM table_name_10 WHERE record = "9-1-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 highest pick number of the CFL's Toronto Argonauts?

### Context:
CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Electricity Grid started its Commercial Operation of 24.03.1973?

### Context:
CREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)

### Response:

### Response:
SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 change with share of 2.9%

### Context:
CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR)

### Response:

### Response:
SELECT change FROM table_name_71 WHERE share = "2.9%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the winning score before 1959, with runner-up Jackie Pung?

### Context:
CREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = "jackie pung"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Silver has a Golf of Li AO?

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

### Response:

### Response:
SELECT silver FROM table_name_20 WHERE gold = "li ao"</s>


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

### Context:
CREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT nba_draft FROM table_name_58 WHERE college = "ohio state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the venue of the team race that was after 2008?

### Context:
CREATE TABLE table_name_23 (venue VARCHAR, year VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_23 WHERE year > 2008 AND notes = "team"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 report shows that Frank Lockhart was a winning driver?

### Context:
CREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR)

### Response:

### Response:
SELECT report FROM table_name_79 WHERE winning_drivers = "frank lockhart"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was the host on september 11?

### Context:
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT host_team FROM table_name_37 WHERE date = "september 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 song is it that artist morena camilleri does and has more than 38 points

### Context:
CREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri"</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_65 WHERE score = "4-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which grid did less than 20 laps in a time of +58.353?

### Context:
CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 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:
How many papers are published in total?

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

### Response:

### Response:
SELECT COUNT(*) FROM papers</s>


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

### Context:
CREATE TABLE table_name_90 (points INTEGER, year INTEGER)

### Response:

### Response:
SELECT MIN(points) FROM table_name_90 WHERE year > 1963</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With a rank of 2 what is the second quarter?

### Context:
CREATE TABLE table_name_69 (second_quarter VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT second_quarter FROM table_name_69 WHERE rank = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most rank for wins outdoor larger than 1 and wins indoor less than 0

### Context:
CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 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 Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?

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

### Response:

### Response:
SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 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:
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?

### Context:
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)

### Response:

### Response:
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471</s>


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

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

### Response:

### Response:
SELECT tie_no FROM table_name_62 WHERE away_team = "watford"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when method is tko (punches) and time is 0:40?

### Context:
CREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_22 WHERE method = "tko (punches)" AND time = "0:40"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 score and average staff number of all shops?

### Context:
CREATE TABLE shop (num_of_staff INTEGER, score INTEGER)

### Response:

### Response:
SELECT AVG(num_of_staff), AVG(score) FROM shop</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?

### Context:
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)

### Response:

### Response:
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6?

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

### Response:

### Response:
SELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = "hillary clinton" AND margin_of_error = 2.6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was being played on Nov 23, 2006?

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

### Response:

### Response:
SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006"</s>


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

### Context:
CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_15 WHERE date = "september 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:
Who won the gold medal in 1998?

### Context:
CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_15 WHERE year = 1998</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist names who didn't have an exhibition in 2004.

### Context:
CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)

### Response:

### Response:
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the loaction attendance that has a game greater than 35, with January 30 as the date?

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

### Response:

### Response:
SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Home Team, when Tie No is 4?

### Context:
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_49 WHERE tie_no = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the result for already famous

### Context:
CREATE TABLE table_21790203_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT result FROM table_21790203_1 WHERE film_title_used_in_nomination = "Already Famous"</s>


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

### Context:
CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR)

### Response:

### Response:
SELECT MIN(mark) FROM table_name_34 WHERE rank = 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:
Report the name of all campuses in Los Angeles county.

### Context:
CREATE TABLE campuses (campus VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT campus FROM campuses WHERE county = "Los Angeles"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Region has a Date of early september 1999?

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

### Response:

### Response:
SELECT region FROM table_name_15 WHERE date = "early september 1999"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_name_72 WHERE date = "july 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:
When was the first cap associated with 39 caps and under 33 goals?

### Context:
CREATE TABLE table_name_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)

### Response:

### Response:
SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On 11 July 2003, which athlete performed?

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

### Response:

### Response:
SELECT athlete FROM table_name_53 WHERE date = "11 july 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:
How many regions had an incarceration rate for females of 63?

### Context:
CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR)

### Response:

### Response:
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63</s>


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

### Context:
CREATE TABLE country (country_id VARCHAR, country VARCHAR); CREATE TABLE city (country_id VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which class has an identifier of CBUA-FM?

### Context:
CREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_50 WHERE identifier = "cbua-fm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest crowd at corio oval?

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

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_20 WHERE venue = "corio 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 counting method for a network-centric basis?

### Context:
CREATE TABLE table_name_89 (counting_method VARCHAR, basis VARCHAR)

### Response:

### Response:
SELECT counting_method FROM table_name_89 WHERE basis = "network-centric"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Geelong play a home game?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was Patty Fendick an opponent?

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

### Response:

### Response:
SELECT date FROM table_name_95 WHERE opponent = "patty fendick"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runners up for the team with under 1 win and a Years runner-up of 1985 , 1996?

### Context:
CREATE TABLE table_name_9 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR)

### Response:

### Response:
SELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = "1985 , 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:
Which Record has a Location/Attendance of palace of auburn hills 8,108?

### Context:
CREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 mean pick when the play is Marc Lewis (lhp) and the round is less than 20?

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

### Response:

### Response:
SELECT AVG(pick) FROM table_name_76 WHERE player = "marc lewis (lhp)" AND round < 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location of the gold medal match?

### Context:
CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_30 WHERE competition = "gold medal match"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rewards are there for air date October 6, 2005?

### Context:
CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR)

### Response:

### Response:
SELECT reward FROM table_1893276_2 WHERE air_date = "October 6, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?

### Context:
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)

### Response:

### Response:
SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Medal had a Games of 2008 beijing, and a Sport of taekwondo?

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

### Response:

### Response:
SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo"</s>


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

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

### Response:

### Response:
SELECT COUNT(*) FROM enzyme</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 campus fee of "San Francisco State University" in year 2000?

### Context:
CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE csu_fees (campusfee VARCHAR, campus VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which venue did 0 pens and 1 try occur?

### Context:
CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the partner for the tournament in Lyon, France?

### Context:
CREATE TABLE table_name_29 (partnering VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT partnering FROM table_name_29 WHERE tournament = "lyon, france"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest number of poles when the fastest laps are less than 0?

### Context:
CREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER)

### Response:

### Response:
SELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 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:
Score of 119-115 (ot) involved what location?

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

### Response:

### Response:
SELECT location FROM table_name_16 WHERE score = "119-115 (ot)"</s>


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

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

### Response:

### Response:
SELECT high_rebounds FROM table_17058178_11 WHERE date = "April 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 High rebounds have High points of chris bosh (34)?

### Context:
CREATE TABLE table_name_29 (high_rebounds VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_29 WHERE high_points = "chris bosh (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:
When did the person born on 3 May 1446 cease to be countess?

### Context:
CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)

### Response:

### Response:
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country was the golfer with a score of 72-72-72=216 representing?

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

### Response:

### Response:
SELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216</s>


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

### Context:
CREATE TABLE table_name_50 (gpu_frequency VARCHAR, part_number_s_ VARCHAR)

### Response:

### Response:
SELECT gpu_frequency FROM table_name_50 WHERE part_number_s_ = "cw8064701470702"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 host year of city "Taizhou ( Zhejiang )"?

### Context:
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)

### Response:

### Response:
SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the date of April 22, which city was a visitor?

### Context:
CREATE TABLE table_name_5 (visitor VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_5 WHERE date = "april 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:
Which highest pick number's name was Adam Podlesh, when the overall was less than 101?

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

### Response:

### Response:
SELECT MAX(pick__number) FROM table_name_2 WHERE name = "adam podlesh" AND overall < 101</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In 1990-2005 what is the lowest Start with Convs smaller than 2?

### Context:
CREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR)

### Response:

### Response:
SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the total apps of player benayoun, who has a PL G greater than 0 and more than 9 CL apps?

### Context:
CREATE TABLE table_name_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = "benayoun" AND cl_apps > 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:
Name the home team for carlton away team

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the person(s) who were canonised before 1988 beatified?

### Context:
CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER)

### Response:

### Response:
SELECT beatified FROM table_name_17 WHERE canonised < 1988</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the rocket a TBD with a satellite of GPS IIIA-1?

### Context:
CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_16 WHERE rocket = "tbd" AND satellite = "gps iiia-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 predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?

### Context:
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)

### Response:

### Response:
SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Sum of m. night shyamalan ranks?

### Context:
CREATE TABLE table_name_41 (rank INTEGER, director_s_ VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_41 WHERE director_s_ = "m. night shyamalan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 information in the item table.

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

### Response:

### Response:
SELECT * FROM item</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_5 WHERE date = "1979-01-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:
When did eleonor magdalene of the palatinate-neuburg become duchess?

### Context:
CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_name_6 WHERE date = "1/13/1974"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 what's the the mole with airdate being 5 january 2012

### Context:
CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)

### Response:

### Response:
SELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = "5 January 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 date was the ship 'Wyandotte' launched?

### Context:
CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_45 WHERE ship = "wyandotte"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Was the result of the supercheap auto bathurst 1000 reported?

### Context:
CREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR)

### Response:

### Response:
SELECT report FROM table_20884160_1 WHERE race_title = "Supercheap Auto Bathurst 1000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the game with a result of 3–2?

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

### Response:

### Response:
SELECT date FROM table_name_3 WHERE result = "3–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 conference has 2009 as the season, with super leg final as the format?

### Context:
CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)

### Response:

### Response:
SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct positions of pilots older than 30.

### Context:
CREATE TABLE pilot (POSITION VARCHAR, Age INTEGER)

### Response:

### Response:
SELECT DISTINCT POSITION FROM pilot WHERE Age > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?

### Context:
CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)

### Response:

### Response:
SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317</s>


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

### Context:
CREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)

### Response:

### Response:
SELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = "35_percentage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total for teams with over 3 bronzes and over 8 golds?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 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 time was there when the bike was Ducati 999 F06 and the grid number was 15?

### Context:
CREATE TABLE table_name_93 (time VARCHAR, bike VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_93 WHERE bike = "ducati 999 f06" AND grid = 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:
What is the score of the match with deportes savio as the away team?

### Context:
CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_57 WHERE away = "deportes savio"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?

### Context:
CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)

### Response:

### Response:
SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = "new york" AND swimsuit > 9.18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What make was the car driven by Jeff Gordon?

### Context:
CREATE TABLE table_27940569_1 (make VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT make FROM table_27940569_1 WHERE driver = "Jeff Gordon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has a Location of Philadelphia Spectrum and an Opponent of New York Knicks?

### Context:
CREATE TABLE table_name_91 (game VARCHAR, location VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_91 WHERE location = "philadelphia spectrum" AND opponent = "new york knicks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 original air date for the episode with production code 1wab06?

### Context:
CREATE TABLE table_20726262_2 (originalairdate VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT originalairdate FROM table_20726262_2 WHERE production_code = "1WAB06"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec?

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

### Response:

### Response:
SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "collision" AND constructor = "arrows - supertec"</s>


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

### Context:
CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_44 WHERE course = "rome to florence"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 households with a median household income of $31,176, and a population of 25,607?

### Context:
CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607</s>


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

### Context:
CREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT COUNT(report) FROM table_2267857_1 WHERE date = "July 23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the college of the afl team of buffalo bills?

### Context:
CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR)

### Response:

### Response:
SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time for the match that had a a home team of HKSSF?

### Context:
CREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_17 WHERE home_team = "hkssf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Type FJ/RN/SC is associated with what class?

### Context:
CREATE TABLE table_21538523_1 (class VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT class FROM table_21538523_1 WHERE type = "FJ/RN/SC"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Features have Yes listed under Datacenter?

### Context:
CREATE TABLE table_name_18 (features VARCHAR, datacenter VARCHAR)

### Response:

### Response:
SELECT features FROM table_name_18 WHERE datacenter = "yes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the horse with faults of 0 when the total is 4.1

### Context:
CREATE TABLE table_name_15 (horse VARCHAR, faults VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT horse FROM table_name_15 WHERE faults = "0" AND total = 4.1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?

### Context:
CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-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:
Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score?

### Context:
CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the series # on airdate September 21, 2002?

### Context:
CREATE TABLE table_2655016_9 (series__number VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT series__number FROM table_2655016_9 WHERE original_air_date = "September 21, 2002"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the nationality of the swimmer with a rank over 2 with a time of 55.77?

### Context:
CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest stage where mountains classifications was awarded to Peter Stetina?

### Context:
CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)

### Response:

### Response:
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 polling average in July 2009 was 7.2%, what was it in May 2009?

### Context:
CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)

### Response:

### Response:
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent was played on week 9?

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

### Response:

### Response:
SELECT opponent FROM table_name_46 WHERE week = 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Poles have Races smaller than 4?

### Context:
CREATE TABLE table_name_59 (poles INTEGER, races INTEGER)

### Response:

### Response:
SELECT AVG(poles) FROM table_name_59 WHERE races < 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:
Which team was founded in 1970?

### Context:
CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_48 WHERE founded = "1970"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the latest year of the album with the release title death valley?

### Context:
CREATE TABLE table_name_98 (year_of_release INTEGER, title VARCHAR)

### Response:

### Response:
SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What years was Lebanon the nationality?

### Context:
CREATE TABLE table_name_82 (years_in_orlando VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT years_in_orlando FROM table_name_82 WHERE nationality = "lebanon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are all distinct country for artists?

### Context:
CREATE TABLE artist (country VARCHAR)

### Response:

### Response:
SELECT DISTINCT country FROM artist</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?

### Context:
CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)

### Response:

### Response:
SELECT package_option FROM table_name_43 WHERE hdtv = "no" AND language = "italian" AND television_service = "cartello promozionale sky hd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Away with a Time that is 14:00?

### Context:
CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT away FROM table_name_28 WHERE time = "14:00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
find the highest support percentage, lowest consider rate and oppose rate of all candidates.

### Context:
CREATE TABLE candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER)

### Response:

### Response:
SELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many games have a score of 85-92?

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

### Response:

### Response:
SELECT COUNT(game) FROM table_name_36 WHERE score = "85-92"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 drawn of the team with a difference of 4 and more than 13 losses?

### Context:
CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT AVG(drawn) FROM table_name_30 WHERE difference = "4" AND lost > 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 sum of Silver, when Total is less than 1?

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

### Response:

### Response:
SELECT SUM(silver) FROM table_name_84 WHERE total < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the became consort for marriage of 4 april 1721

### Context:
CREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR)

### Response:

### Response:
SELECT became_consort FROM table_name_92 WHERE marriage = "4 april 1721"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was Quantum Research's poll conducted?

### Context:
CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)

### Response:

### Response:
SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 h when c max is 99

### Context:
CREATE TABLE table (h VARCHAR, c__max_ VARCHAR)

### Response:

### Response:
SELECT h FROM table WHERE c__max_ = 99</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ngc number when the object type is lenticular galaxy and the constellation is hydra?

### Context:
CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)

### Response:

### Response:
SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 storm name and max speed which affected the greatest number of regions?

### Context:
CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)

### Response:

### Response:
SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is set 3 on week 6?

### Context:
CREATE TABLE table_name_1 (set_3 VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT set_3 FROM table_name_1 WHERE week = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the year with a kurtis kraft 500a chassis?

### Context:
CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percentage of votes with number of deputies being 112

### Context:
CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR)

### Response:

### Response:
SELECT percentage_of_votes FROM table_13746866_2 WHERE number_of_deputies = 112</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the highest year for result of 9th

### Context:
CREATE TABLE table_name_98 (year INTEGER, result VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_98 WHERE result = "9th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the episode that had Louie Spence and Joe Wilkinson on Sean's team?

### Context:
CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)

### Response:

### Response:
SELECT scores FROM table_23292220_13 WHERE seans_team = "Louie Spence and Joe Wilkinson"</s>


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

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

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52?

### Context:
CREATE TABLE table_name_28 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT MIN(draws) FROM table_name_28 WHERE goals_against < 47 AND position < 13 AND goals_for = 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:
What is the number of the model with three parallel printer ports?

### Context:
CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR)

### Response:

### Response:
SELECT model_number FROM table_1300080_1 WHERE printer_ports = "Three Parallel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a two-way tie (8) the high rebound?

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

### Response:

### Response:
SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (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:
Which Score has a Home team of yeovil town won 5–3 on penalties?

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

### Response:

### Response:
SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most Champ Car wins for any driver with a USAC record of 2?

### Context:
CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)

### Response:

### Response:
SELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 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 are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor

### Context:
CREATE TABLE table_255812_1 (income_class__2007_ VARCHAR, mayor VARCHAR)

### Response:

### Response:
SELECT income_class__2007_ FROM table_255812_1 WHERE mayor = "Ma. Ester A. Hamor"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What league is Sun Source in?

### Context:
CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT league_division FROM table_name_6 WHERE club = "sun source"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?

### Context:
CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy bean" AND rank < 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:
Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon?

### Context:
CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR)

### Response:

### Response:
SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more than 2?

### Context:
CREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_33 WHERE rank < 13 AND time > 11.13 AND country = "bahamas" AND heat > 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 total number of Overalls has a round that was smaller than 1?

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

### Response:

### Response:
SELECT COUNT(overall) FROM table_name_86 WHERE round < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which title has a US release of august 1996?

### Context:
CREATE TABLE table_name_56 (title VARCHAR, us_release VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_56 WHERE us_release = "august 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:
Which Country has a To par of –13?

### Context:
CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_12 WHERE to_par = "–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 are the cast members of episode 3-04?

### Context:
CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)

### Response:

### Response:
SELECT cast FROM table_2570269_3 WHERE episode__number = "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 lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has?

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

### Response:

### Response:
SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 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's the airport with total passengers 2009 being 157933

### Context:
CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR)

### Response:

### Response:
SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wins does Ballarat FL of East point have when the against is greater than 1000?

### Context:
CREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = "east point" AND against > 1000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Record has an Event of Pride Shockwave 2004?

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

### Response:

### Response:
SELECT record FROM table_name_22 WHERE event = "pride shockwave 2004"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the 2003 result for the falkirk council?

### Context:
CREATE TABLE table_name_97 (council VARCHAR)

### Response:

### Response:
SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the player with score of 73-69-74-71=287

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

### Response:

### Response:
SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Score of 0–1, and a Tie no of 3?

### Context:
CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "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 nation has 0 as the silver, 1 as the bronze, with 18 as the rank?

### Context:
CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the pennant when the builder is yarrow, scotstoun?

### Context:
CREATE TABLE table_name_23 (pennant VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT pennant FROM table_name_23 WHERE builder = "yarrow, scotstoun"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What club had a score of 18.1?

### Context:
CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_87 WHERE score = "18.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 score on 20/6/97?

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

### Response:

### Response:
SELECT score FROM table_name_83 WHERE date = "20/6/97"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the Beaudesert suburb club founded

### Context:
CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)

### Response:

### Response:
SELECT founded FROM table_name_95 WHERE suburb = "beaudesert"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Elevation of 12,183 feet 3713 m is what average route?

### Context:
CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)

### Response:

### Response:
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 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:
How many economy stats for the player with 2/19 BBI?

### Context:
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)

### Response:

### Response:
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the gp/gs in 2003 when the total points was "did not play"?

### Context:
CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "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:
Name who directed the production code 1l10

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

### Response:

### Response:
SELECT directed_by FROM table_25604014_9 WHERE production_code = "1L10"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 height in meters for a building in Frankfurt that is 850 feet tall?

### Context:
CREATE TABLE table_name_66 (height__m_ VARCHAR, city VARCHAR, height__ft_ VARCHAR)

### Response:

### Response:
SELECT height__m_ FROM table_name_66 WHERE city = "frankfurt" AND height__ft_ = 850</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged

### Context:
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)

### Response:

### Response:
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Home Team, when Date is "28 January 1984", and when Tie No is "4"?

### Context:
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_65 WHERE date = "28 january 1984" AND tie_no = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names of products whose availability equals to 1?

### Context:
CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)

### Response:

### Response:
SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 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 records were there when opponents were 9?

### Context:
CREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Release date has a sSpec number of sr0pk(e1)?

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

### Response:

### Response:
SELECT release_date FROM table_name_55 WHERE sspec_number = "sr0pk(e1)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Timo Lehkonen's highest pick number?

### Context:
CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen"</s>


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

### Context:
CREATE TABLE table_name_94 (team VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_94 WHERE position = "g"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which game did the opponent score more than 103 and the record was 1-3?

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

### Response:

### Response:
SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 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:
What is the Main span of the Qincaobei Bridge

### Context:
CREATE TABLE table_name_64 (main_span_feet VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT main_span_feet FROM table_name_64 WHERE name = "qincaobei bridge"</s>