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

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

### Response:

### Response:
SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?

### Context:
CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different scores did Team Europe get when Mika Koivuniemi played for them?

### Context:
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)

### Response:

### Response:
SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 launch site of the delta iv rocket with an unknown date and a gps iif-10 satellite?

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

### Response:

### Response:
SELECT launch_site FROM table_name_86 WHERE date = "unknown" AND rocket = "delta iv" AND satellite = "gps iif-10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player had 50 balls?

### Context:
CREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_21 WHERE balls = 50</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score for the date of December 7?

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

### Response:

### Response:
SELECT score FROM table_23286112_7 WHERE date = "December 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins were there in 2004-05?

### Context:
CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What 1953 has 2 as a 1949, and 3 as 1952?

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

### Response:

### Response:
SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which publisher is responsible for spec ops: stealth patrol?

### Context:
CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol"</s>


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

### Context:
CREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_71 WHERE icao = "zgha"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Peter Gregg Hurley Haywood's results?

### Context:
CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR)

### Response:

### Response:
SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_53 WHERE score = "6–3 6–4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Genre has a Developer(s) of naughty dog?

### Context:
CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)

### Response:

### Response:
SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 assists for more than 5 games?

### Context:
CREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER)

### Response:

### Response:
SELECT MIN(assists) FROM table_name_24 WHERE games_played > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the locations of schools in descending order of founded year.

### Context:
CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)

### Response:

### Response:
SELECT LOCATION FROM school ORDER BY Founded DESC</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Essendon played away; where did they play?

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

### Response:

### Response:
SELECT venue FROM table_name_50 WHERE away_team = "essendon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result on 26 October 1993?

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

### Response:

### Response:
SELECT result FROM table_name_36 WHERE date = "26 october 1993"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the game when the record is 2-0?

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

### Response:

### Response:
SELECT date FROM table_name_53 WHERE record = "2-0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the names of donors who donated to both school "Glenn" and "Triton."

### Context:
CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)

### Response:

### Response:
SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn?

### Context:
CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)

### Response:

### Response:
SELECT SUM(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player has a total of 160?

### Context:
CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_19 WHERE total = 160</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?

### Context:
CREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT surname FROM table_name_64 WHERE throws = "r" AND position = "p" AND dob = "26 april 1989"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the colors for the enrollment of 2020?

### Context:
CREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR)

### Response:

### Response:
SELECT colors FROM table_27653955_1 WHERE enrollment = 2020</s>


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

### Context:
CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_72 WHERE total = 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the Loss of Plesac (1-5), what is the Record?

### Context:
CREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the margin of victory when the winning score was −12 (66-67-64-71=268)?

### Context:
CREATE TABLE table_name_67 (margin_of_victory VARCHAR, winning_score VARCHAR)

### Response:

### Response:
SELECT margin_of_victory FROM table_name_67 WHERE winning_score = −12(66 - 67 - 64 - 71 = 268)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round did the match go to when the event was Bars - Moscow vs St. Petersburg?

### Context:
CREATE TABLE table_name_92 (round VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_92 WHERE event = "bars - moscow vs st. petersburg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the place of the player with a 71-69-66=206 score?

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

### Response:

### Response:
SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Torque has a Power of HP (KW)?

### Context:
CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR)

### Response:

### Response:
SELECT torque FROM table_name_21 WHERE power = "hp (kw)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallest crowd size for a home game for Richmond?

### Context:
CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_47 WHERE home_team = "richmond"</s>


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

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

### Response:

### Response:
SELECT coach FROM table_name_69 WHERE location = "oakden"</s>


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

### Context:
CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)

### Response:

### Response:
SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Tournament had a Winning score of –6 (73-68-72-69=282)?

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

### Response:

### Response:
SELECT tournament FROM table_name_49 WHERE winning_score = –6(73 - 68 - 72 - 69 = 282)</s>


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

### Context:
CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)

### Response:

### Response:
SELECT stops FROM table_2385460_1 WHERE stations = 36</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times was player brian currie picked?

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

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = "Brian Currie"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Role has a First US National Tour of roger bart?

### Context:
CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR)

### Response:

### Response:
SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart"</s>


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

### Context:
CREATE TABLE table_19439864_2 (ålesund INTEGER, bergen VARCHAR)

### Response:

### Response:
SELECT MIN(ålesund) FROM table_19439864_2 WHERE bergen = 88</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Place of the Player with a To par of –6?

### Context:
CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_96 WHERE to_par = "–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:
On what surface was it the year when the score was 6–1, 4–6, [12–10]?

### Context:
CREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which event had a total of defending champion?

### Context:
CREATE TABLE table_name_39 (event VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_39 WHERE total = "defending champion"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?

### Context:
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years did the soap opera run in which the character Clemens Richter was included?

### Context:
CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT duration FROM table_name_2 WHERE character = "clemens richter"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score when there was a Loss of birkbeck (0–3)?

### Context:
CREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Money of the Player in Place 5?

### Context:
CREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)

### Response:

### Response:
SELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year for Ponce, Puerto Rico events?

### Context:
CREATE TABLE table_name_15 (year INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played have 3 as the drawn, and a position greater than 4?

### Context:
CREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 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 team uses a Cosworth DFV V8 engine and DN9 Chassis?

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

### Response:

### Response:
SELECT entrant FROM table_name_68 WHERE engine = "cosworth dfv v8" AND chassis = "dn9"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 last 5 meetings for a team with an L 1 streak?

### Context:
CREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR)

### Response:

### Response:
SELECT last_5_meetings FROM table_name_85 WHERE current_streak = "l 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:
When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?

### Context:
CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)

### Response:

### Response:
SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.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 player attended avon old farms (ushs-ct)?

### Context:
CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_2897457_5 WHERE college_junior_club_team = "Avon Old Farms (USHS-CT)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the catalog title DP068-07, what formats are available?

### Context:
CREATE TABLE table_name_52 (format VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_52 WHERE catalog = "dp068-07"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell?

### Context:
CREATE TABLE table_name_87 (speed VARCHAR, location VARCHAR, pilot_s_ VARCHAR)

### Response:

### Response:
SELECT speed FROM table_name_87 WHERE location = "coniston water" AND pilot_s_ = "malcolm campbell"</s>


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

### Context:
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?

### Context:
CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the earliest year with 339 pieces and a number smaller than 7198?

### Context:
CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR)

### Response:

### Response:
SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198</s>


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

### Context:
CREATE TABLE table_name_33 (crowd INTEGER, home_team VARCHAR)

### Response:

### Response:
SELECT SUM(crowd) FROM table_name_33 WHERE home_team = "essendon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?

### Context:
CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = "westerns" AND losses > 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:
Which airline has most number of flights?

### Context:
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)

### Response:

### Response:
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline 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 Home Team, when Date is "6 December 1986", and when Tie No is "4"?

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

### Response:

### Response:
SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" 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:
Who was awarded mountains classification when Alessandro petacchi won?

### Context:
CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 session at the circuit of autodrom most?

### Context:
CREATE TABLE table_name_95 (session VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT session FROM table_name_95 WHERE circuit = "autodrom most"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want to know the highest rank with placings more than 123 and points greater than 88.06

### Context:
CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 attendance at Venue H in Round R2?

### Context:
CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of high points for record 5-17

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

### Response:

### Response:
SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the 2009 results that has 0 in 2010?

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

### Response:

### Response:
SELECT 2009 FROM table_name_52 WHERE 2010 = "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 game with a 24-23 record?

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

### Response:

### Response:
SELECT MAX(game) FROM table_name_62 WHERE record = "24-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:
How many wins had Matches greater than 5?

### Context:
CREATE TABLE table_name_82 (wins INTEGER, matches INTEGER)

### Response:

### Response:
SELECT SUM(wins) FROM table_name_82 WHERE matches > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are all the school years where class AAAA is in Gregory-Portland?

### Context:
CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)

### Response:

### Response:
SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?

### Context:
CREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = "arsi mountains" AND mountain = "bada"</s>


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

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

### Response:

### Response:
SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Final has a Team of liechtenstein (lie) liechtenstein i?

### Context:
CREATE TABLE table_name_55 (final VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT final FROM table_name_55 WHERE team = "liechtenstein (lie) liechtenstein i"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What label is after 2004?

### Context:
CREATE TABLE table_name_24 (label VARCHAR, year INTEGER)

### Response:

### Response:
SELECT label FROM table_name_24 WHERE 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:
In what year was Letecke Zavody N.P., Jinonice the manufacturer?

### Context:
CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round has a name of vladimir morozov?

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

### Response:

### Response:
SELECT round FROM table_name_90 WHERE name = "vladimir morozov"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what the the end number where albert rains was running

### Context:
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbent from the Virginia 10 district first elected?

### Context:
CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Position with a round 3 pick for r. jay soward?

### Context:
CREATE TABLE table_name_20 (position VARCHAR, round VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_20 WHERE round < 3 AND name = "r. jay soward"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What nhl team does dwight bialowas play for?

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

### Response:

### Response:
SELECT nhl_team FROM table_1473672_2 WHERE player = "Dwight Bialowas"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FIS Nordic World Ski Championships of 1948, 1950?

### Context:
CREATE TABLE table_name_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = "1948, 1950"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates?

### Context:
CREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_22 WHERE league = "nl" AND percentage < 0.726 AND year > 1897 AND franchise = "pittsburgh pirates"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 seed for lyon (32) was DNQ?

### Context:
CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR)

### Response:

### Response:
SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = "DNQ"</s>


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

### Context:
CREATE TABLE table_name_91 (nation VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_91 WHERE bronze = 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Oxfordshire Area's Ensemble Name?

### Context:
CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR)

### Response:

### Response:
SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did the away team score at Moorabbin Oval?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much money does player ben crenshaw, who has a t4 place, have?

### Context:
CREATE TABLE table_name_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT money___$__ FROM table_name_36 WHERE place = "t4" AND player = "ben crenshaw"</s>


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

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

### Response:

### Response:
SELECT ground FROM table_name_19 WHERE away_team = "essendon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the highest points for the team of marlboro brm with brm p180 as the chassis?

### Context:
CREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is February, when Record is "21-29-11"?

### Context:
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT february FROM table_name_46 WHERE record = "21-29-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:
How many people had a prosecutor background?

### Context:
CREATE TABLE table_1289860_2 (result VARCHAR, background VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_1289860_2 WHERE background = "Prosecutor"</s>


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

### Context:
CREATE TABLE table_name_31 (country VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_31 WHERE year = 1993</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 were the Bulls hosted by on December 7?

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

### Response:

### Response:
SELECT team FROM table_11960610_7 WHERE date = "December 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times is the accession number xp_001843282?

### Context:
CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR)

### Response:

### Response:
SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = "XP_001843282"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 placed sixth during the season where Western Australia placed fourth and Tasmania placed first?

### Context:
CREATE TABLE table_name_91 (sixth VARCHAR, fourth VARCHAR, first VARCHAR)

### Response:

### Response:
SELECT sixth FROM table_name_91 WHERE fourth = "western australia" AND first = "tasmania"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game that put the team at 34-44, what was the attendance?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_95 WHERE record = "34-44"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Place 2 Player?

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

### Response:

### Response:
SELECT player FROM table_name_1 WHERE place = "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:
When the no votes was 322682, what was the max meas. number?

### Context:
CREATE TABLE table_256286_54 (meas_num INTEGER, no_votes VARCHAR)

### Response:

### Response:
SELECT MAX(meas_num) FROM table_256286_54 WHERE no_votes = 322682</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 capital of the province with 양주 in Hangul?

### Context:
CREATE TABLE table_name_21 (capital VARCHAR, hangul VARCHAR)

### Response:

### Response:
SELECT capital FROM table_name_21 WHERE hangul = "양주"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name and id of the good with the highest average rank.

### Context:
CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)

### Response:

### Response:
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) 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:
which party is the newark representative from

### Context:
CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR)

### Response:

### Response:
SELECT party FROM table_29486189_4 WHERE residence = "Newark"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 candidate elected to the democratic party in 1952?

### Context:
CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which pick number attended McMaster College?

### Context:
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30?

### Context:
CREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR)

### Response:

### Response:
SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-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 score has 1/22 as the date?

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

### Response:

### Response:
SELECT score FROM table_name_11 WHERE date = "1/22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the name of the show that had 10.47 million total viewers?

### Context:
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)

### Response:

### Response:
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?

### Context:
CREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)

### Response:

### Response:
SELECT COUNT(geo_id) FROM table_name_28 WHERE water__sqmi_ > 0.587 AND township = "riggin" AND ansi_code > 1759257</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?

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

### Response:

### Response:
SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 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:
How many teams does Jeff Wyler own?

### Context:
CREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR)

### Response:

### Response:
SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Passengers that have an Airport in indonesia, denpasar?

### Context:
CREATE TABLE table_name_31 (passengers INTEGER, airport VARCHAR)

### Response:

### Response:
SELECT AVG(passengers) FROM table_name_31 WHERE airport = "indonesia, denpasar"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 19, and a Start of 14, what was the finish?

### Context:
CREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "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 was the Winning score for the Mynavi ABC Championship Tournament?

### Context:
CREATE TABLE table_name_55 (winning_score VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_name_55 WHERE tournament = "mynavi abc championship"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the name of the station where the metlink code is mata?

### Context:
CREATE TABLE table_3005450_1 (station VARCHAR, metlink_code VARCHAR)

### Response:

### Response:
SELECT station FROM table_3005450_1 WHERE metlink_code = "MATA"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many losses did the team, Sturt, have when they had more than 0 wins?

### Context:
CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team at the game when the Thrashers had a record of 18–18–1?

### Context:
CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_31 WHERE record = "18–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:
Which template type code has most number of templates?

### Context:
CREATE TABLE Templates (template_type_code VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the family friendly status of the punk genre song from the 1970s?

### Context:
CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT family_friendly FROM table_name_8 WHERE decade = "1970s" AND genre = "punk"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find names of all students who took some course and the course description.

### Context:
CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)

### Response:

### Response:
SELECT T1.stu_fname, T1.stu_lname, T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vacator when the date successor seated was august 21, 1973?

### Context:
CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)

### Response:

### Response:
SELECT vacator FROM table_1134091_4 WHERE date_successor_seated = "August 21, 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:
Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?

### Context:
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)

### Response:

### Response:
SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points for the cosworth v8 engine after 1985?

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

### Response:

### Response:
SELECT points FROM table_name_23 WHERE year > 1985 AND engine = "cosworth v8"</s>


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

### Context:
CREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "7-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the area located in Rhode Island with more than 38 sq mi area?

### Context:
CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)

### Response:

### Response:
SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Paul Whiting won the mixed veteran, who won the mixed restricted?

### Context:
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)

### Response:

### Response:
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winning driver of the Kraco Car Stereo 150?

### Context:
CREATE TABLE table_name_78 (winning_driver VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_78 WHERE name = "kraco car stereo 150"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?

### Context:
CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had notes of Prizzi's Honor?

### Context:
CREATE TABLE table_name_72 (director VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_72 WHERE notes = "prizzi's honor"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does the player from kent state play?

### Context:
CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT position FROM table_24540893_6 WHERE school = "Kent 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:
Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?

### Context:
CREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponents FROM table_name_60 WHERE partnering = "alessandro motti" AND date = "12 september 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 is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?

### Context:
CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)

### Response:

### Response:
SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 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 actor plays Marie-Rose De Putter?

### Context:
CREATE TABLE table_name_73 (actor VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT actor FROM table_name_73 WHERE character = "marie-rose de putter"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record with a Score with 80–87, and a Visitor with bucks?

### Context:
CREATE TABLE table_name_12 (record VARCHAR, score VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_12 WHERE score = "80–87" AND visitor = "bucks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record from the 2,500 in attendance?

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

### Response:

### Response:
SELECT record FROM table_name_12 WHERE attendance = "2,500"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?

### Context:
CREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_73 WHERE track_number = "07" AND record_label = "emi" AND release_date = "21 april 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:
Which Democratic incumbent was first elected in 1998?

### Context:
CREATE TABLE table_name_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT incumbent FROM table_name_18 WHERE party = "democratic" AND first_elected = 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:
What is the lowest episode number with an original airdate on 8 June 2008?

### Context:
CREATE TABLE table_name_31 (episode INTEGER, original_airdate VARCHAR)

### Response:

### Response:
SELECT MIN(episode) FROM table_name_31 WHERE original_airdate = "8 june 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did the home team of footscray play?

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

### Response:

### Response:
SELECT date FROM table_name_85 WHERE home_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The tko (doctor stoppage) method was used in a loss against which opponent?

### Context:
CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 first elected year that featured incumbent andrew r. govan?

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

### Response:

### Response:
SELECT first_elected FROM table_2668264_22 WHERE incumbent = "Andrew R. Govan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did Carlton play as the away team?

### Context:
CREATE TABLE table_name_54 (date VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_54 WHERE away_team = "carlton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7?

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

### Response:

### Response:
SELECT home_team FROM table_name_52 WHERE tie_no = "7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is name of the drive with a Time of +13.315?

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

### Response:

### Response:
SELECT driver FROM table_name_85 WHERE time = "+13.315"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Spanish Grand Prix where Emerson Fittipaldi drove?

### Context:
CREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_30 WHERE event = "spanish grand prix" AND driver = "emerson fittipaldi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what season was 577 runs scored?

### Context:
CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_33 WHERE runs = "577"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the location attendance is the Verizon Center 20,173, what is the date?

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

### Response:

### Response:
SELECT date FROM table_23211041_7 WHERE location_attendance = "Verizon Center 20,173"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 retail space of the Stony Point Fashion Park Mall?

### Context:
CREATE TABLE table_name_70 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR)

### Response:

### Response:
SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = "stony point fashion park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Event has an Outcome of other open tournaments?

### Context:
CREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_34 WHERE outcome = "other open tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which operating system has 1GB (mobile ddr) memory (RAM)?

### Context:
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)

### Response:

### Response:
SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode titles aired on September 25, 1967?

### Context:
CREATE TABLE table_25800134_12 (title VARCHAR, airdate VARCHAR)

### Response:

### Response:
SELECT COUNT(title) FROM table_25800134_12 WHERE airdate = "September 25, 1967"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is HDTV, when Language is English, and when Television Service is MTV Dance?

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

### Response:

### Response:
SELECT hdtv FROM table_name_82 WHERE language = "english" AND television_service = "mtv dance"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 average for swimsuits smaller than 9.62 in Colorado?

### Context:
CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What race happened at Iowa Speedway?

### Context:
CREATE TABLE table_name_91 (race VARCHAR, track VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_91 WHERE track = "iowa speedway"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?

### Context:
CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)

### Response:

### Response:
SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 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:
Which Elimination move is listed against Team Orton, Eliminated by Batista against Elimination number 7?

### Context:
CREATE TABLE table_name_25 (elimination VARCHAR, team VARCHAR, eliminated_by VARCHAR)

### Response:

### Response:
SELECT elimination AS Move FROM table_name_25 WHERE team = "team orton" AND eliminated_by = "batista" AND elimination = "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 mole with winner being frédérique huydts

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

### Response:

### Response:
SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What municipality is the Benson Street station located in?

### Context:
CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT municipality FROM table_name_53 WHERE station = "benson street"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday?

### Context:
CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR)

### Response:

### Response:
SELECT wednesday FROM table_18173916_8 WHERE friday = "307 VS."</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?

### Context:
CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 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 city has channel tv (dt) 25 (31)?

### Context:
CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)

### Response:

### Response:
SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What district had someone first elected in 1982?

### Context:
CREATE TABLE table_1341522_41 (district VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT district FROM table_1341522_41 WHERE first_elected = 1982</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college did Jamie Butt go to?

### Context:
CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many losses did the team with 0 wins and more than 72 runs allowed have?

### Context:
CREATE TABLE table_name_1 (losses INTEGER, wins VARCHAR, runs_allowed VARCHAR)

### Response:

### Response:
SELECT SUM(losses) FROM table_name_1 WHERE wins = 0 AND runs_allowed > 72</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the crew chief for the team from Make Motorsports?

### Context:
CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Spoofed title had Mort Drucker as the artist in issue 88?

### Context:
CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)

### Response:

### Response:
SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent in the bout that led to a win in a time of 1:21?

### Context:
CREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1:21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the surface in 1996?

### Context:
CREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_68 WHERE year = 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:
How many different total points does the couple ranked at number 5 have?

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

### Response:

### Response:
SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the game when the record was 58–47?

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

### Response:

### Response:
SELECT score FROM table_name_12 WHERE record = "58–47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the race with a winning time of 4:17:18, how many laps were run?

### Context:
CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR)

### Response:

### Response:
SELECT laps FROM table_2241841_1 WHERE race_time = "4:17: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's the score of Game 2?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of silver that had 0 bronzes and total less than 1?

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

### Response:

### Response:
SELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND total < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what lane did inna nikitina have?

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

### Response:

### Response:
SELECT MAX(lane) FROM table_name_74 WHERE name = "inna nikitina"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 district has John Culpepper (f) as the vacator?

### Context:
CREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR)

### Response:

### Response:
SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_26 WHERE bronze > 1 AND rank < 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Launched which is on 3 may 2001?

### Context:
CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How long is track number 8?

### Context:
CREATE TABLE table_11839306_2 (track VARCHAR)

### Response:

### Response:
SELECT track AS time FROM table_11839306_2 WHERE track = 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the customer that made the order with the largest quantity?

### Context:
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)

### Response:

### Response:
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does Jim Johnston play?

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

### Response:

### Response:
SELECT position FROM table_1213511_6 WHERE player = "Jim Johnston"</s>


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

### Context:
CREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR)

### Response:

### Response:
SELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?

### Context:
CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which entrant has Ferrari 038 3.5 v12 engine?

### Context:
CREATE TABLE table_name_72 (entrant VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT entrant FROM table_name_72 WHERE engine = "ferrari 038 3.5 v12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What player has 69-70-68-73=280 as the score?

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

### Response:

### Response:
SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals?

### Context:
CREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 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 race was Matra the constructor?

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

### Response:

### Response:
SELECT race_name FROM table_name_90 WHERE constructor = "matra"</s>


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

### Context:
CREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT year_s__won FROM table_name_30 WHERE country = "new zealand"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did they do in the game when their record was 3-2-1?

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

### Response:

### Response:
SELECT result FROM table_21058823_1 WHERE record = "3-2-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 production numbers have a Title of bosko in dutch?

### Context:
CREATE TABLE table_name_93 (production_num INTEGER, title VARCHAR)

### Response:

### Response:
SELECT SUM(production_num) FROM table_name_93 WHERE title = "bosko in dutch"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school does the Blue Raiders belong to?

### Context:
CREATE TABLE table_name_16 (school VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_16 WHERE team = "blue raiders"</s>