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

### Context:
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, administrative_division VARCHAR)

### Response:

### Response:
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE administrative_division = "Bandung Regency"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record of the game on February 21, 2008?

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

### Response:

### Response:
SELECT record FROM table_name_60 WHERE date = "february 21, 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:
after 1987 and entrant of first racing what is the highest points?

### Context:
CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the file size and format for all songs that have resolution lower than 800.

### Context:
CREATE TABLE song (f_id VARCHAR, resolution INTEGER); CREATE TABLE files (file_size VARCHAR, formats VARCHAR, f_id VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winner when the score was 281 (-6)?

### Context:
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT winner FROM table_11621799_1 WHERE score = "281 (-6)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is under segment C when s cuckoo clock is under segment B?

### Context:
CREATE TABLE table_name_22 (segment_c VARCHAR, segment_b VARCHAR)

### Response:

### Response:
SELECT segment_c FROM table_name_22 WHERE segment_b = "s cuckoo clock"</s>


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

### Context:
CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)

### Response:

### Response:
SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 open cup when they finished 4th in the regular season?

### Context:
CREATE TABLE table_12002388_1 (open_cup VARCHAR, reg_season VARCHAR)

### Response:

### Response:
SELECT open_cup FROM table_12002388_1 WHERE reg_season = "4th"</s>


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

### Context:
CREATE TABLE table_17625749_1 (won VARCHAR, tries_against VARCHAR)

### Response:

### Response:
SELECT won FROM table_17625749_1 WHERE tries_against = "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:
What was the timeslot for the episode that aired on May 12, 2009?

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

### Response:

### Response:
SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank of Etihad Tower 5, with less than 62 floors?

### Context:
CREATE TABLE table_name_90 (rank INTEGER, floors VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_90 WHERE floors < 62 AND name = "etihad tower 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:
Show all church names that have hosted least two weddings.

### Context:
CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the rating of the episode with an overall ranking of 190?

### Context:
CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)

### Response:

### Response:
SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 founded that has bizerte athletic f.c. as the club?

### Context:
CREATE TABLE table_name_42 (founded INTEGER, club VARCHAR)

### Response:

### Response:
SELECT MIN(founded) FROM table_name_42 WHERE club = "bizerte athletic f.c."</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day did the race in 1974 take place on?

### Context:
CREATE TABLE table_1963459_2 (date VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT date FROM table_1963459_2 WHERE year = 1974</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What game date was the game at AOL Arena?

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

### Response:

### Response:
SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Record that has the Home of ny islanders?

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

### Response:

### Response:
SELECT record FROM table_name_26 WHERE home = "ny islanders"</s>


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

### Context:
CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_53 WHERE average = 38.22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date has date started from 30 Sep 1913?

### Context:
CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)

### Response:

### Response:
SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"</s>


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

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

### Response:

### Response:
SELECT stadium FROM table_name_41 WHERE date = "november 29"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament with a partner listed as Aurelija Misevičiūtė had what kind of surface?

### Context:
CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_88 WHERE partner = "aurelija misevičiūtė"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 United States score in the place t6?

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

### Response:

### Response:
SELECT score FROM table_name_21 WHERE country = "united states" AND place = "t6"</s>


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

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

### Response:

### Response:
SELECT time FROM table_name_31 WHERE record = "66-95"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Top Par, when Score is less than 68, and when Country is England?

### Context:
CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What events did the competition that took place in 1997 have?

### Context:
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_96 WHERE year = 1997</s>


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

### Context:
CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR)

### Response:

### Response:
SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 teams for third points of season cancelled

### Context:
CREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR)

### Response:

### Response:
SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where does CF Pachuca play?

### Context:
CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca"</s>


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

### Context:
CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode guest starring michael mcintyre and alex james broadcasted

### Context:
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)

### Response:

### Response:
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was d: ~100nm, l: 1 μm geometry researched?

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

### Response:

### Response:
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Genre when the Artist is Prince?

### Context:
CREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT genre FROM table_name_7 WHERE artist = "prince"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What network garnered 2.74 million viewers for Supernatural?

### Context:
CREATE TABLE table_2170969_2 (network VARCHAR, viewers_in_millions VARCHAR)

### Response:

### Response:
SELECT network FROM table_2170969_2 WHERE viewers_in_millions = "2.74"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time/retired for jo siffert with a grid under 11?

### Context:
CREATE TABLE table_name_45 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_45 WHERE grid < 11 AND driver = "jo siffert"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Population, when Per Capita Income is "$16,330"?

### Context:
CREATE TABLE table_name_80 (population INTEGER, per_capita_income VARCHAR)

### Response:

### Response:
SELECT MIN(population) FROM table_name_80 WHERE per_capita_income = "$16,330"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Original airdate for #6 with 1.246 viewers?

### Context:
CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Sign-in/Bicker at wash50 on washington rd?

### Context:
CREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT sign_in_bicker FROM table_name_27 WHERE location = "wash50 on washington rd"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2010 value with a 2r in 2008 and A in 2013?

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

### Response:

### Response:
SELECT 2010 FROM table_name_83 WHERE 2008 = "2r" AND 2013 = "a"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the date of death for the person married to Charles II?

### Context:
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)

### Response:

### Response:
SELECT death FROM table_name_86 WHERE spouse = "charles ii"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed the episode that aired on February 19, 1968?

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

### Response:

### Response:
SELECT director FROM table_25800134_12 WHERE airdate = "February 19, 1968"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which athlete represented the country of egypt?

### Context:
CREATE TABLE table_name_35 (athlete VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_35 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:
What was the score when Montreal was home?

### Context:
CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_94 WHERE home = "montreal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What visiting team played on October 18?

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

### Response:

### Response:
SELECT visiting_team FROM table_name_36 WHERE date = "october 18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Density of 53 No. munic.?

### Context:
CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR)

### Response:

### Response:
SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The game of 6 has what lowest attendance?

### Context:
CREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_47 WHERE game = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest season wth a Win of 1 and a Position that is 8th?

### Context:
CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 did the season finale have a total of 10.29 million viewers?

### Context:
CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)

### Response:

### Response:
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Position has a CFL Team of montreal alouettes (via edmonton)?

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

### Response:

### Response:
SELECT position FROM table_name_6 WHERE cfl_team = "montreal alouettes (via edmonton)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week was it on November 19, 1995?

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

### Response:

### Response:
SELECT week FROM table_name_87 WHERE date = "november 19, 1995"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 different citizenships and the maximum net worth of singers of each citizenship.

### Context:
CREATE TABLE singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER)

### Response:

### Response:
SELECT Citizenship, MAX(Net_Worth_Millions) FROM singer GROUP BY Citizenship</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?

### Context:
CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR)

### Response:

### Response:
SELECT n° FROM table_15887683_5 WHERE package_option = "Sky Cinema" AND content = "cinema" AND television_service = "Sky Cinema" + 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the titles for the November 9 Super Bantamweight division?

### Context:
CREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)

### Response:

### Response:
SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 method of elimination in the chamber with a time of 24:02?

### Context:
CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Lee Ka Man's Time?

### Context:
CREATE TABLE table_name_95 (time VARCHAR, rower VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_95 WHERE rower = "lee ka man"</s>


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

### Context:
CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.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 lowest goals for more than 30 games played?

### Context:
CREATE TABLE table_name_88 (goals_for INTEGER, played INTEGER)

### Response:

### Response:
SELECT MIN(goals_for) FROM table_name_88 WHERE played > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name all of Jason's teams that appeared on episode 6x02?

### Context:
CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR)

### Response:

### Response:
SELECT jasons_team FROM table_23292220_6 WHERE episode = "6x02"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Picks have a Position of defensive back?

### Context:
CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the attendance for a home venue and a w 3-0 result?

### Context:
CREATE TABLE table_name_34 (attendance INTEGER, venue VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_34 WHERE venue = "home" AND result = "w 3-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 venue of the match with cronulla sharks as the opponent?

### Context:
CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_87 WHERE opponent = "cronulla sharks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what Date was the Attendance 73,405?

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

### Response:

### Response:
SELECT date FROM table_name_32 WHERE attendance = "73,405"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored 70-68-71-71=280?

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

### Response:

### Response:
SELECT country FROM table_name_29 WHERE score = 70 - 68 - 71 - 71 = 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:
When the total points are 22 how many total touchdowns have been made?

### Context:
CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT touchdowns FROM table_14342592_5 WHERE points = 22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Distance ( ly ), when Constellation is "Draco"?

### Context:
CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)

### Response:

### Response:
SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 March 3 has a Poll of baseball america (top 25)?

### Context:
CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR)

### Response:

### Response:
SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the start date with party of pd

### Context:
CREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR)

### Response:

### Response:
SELECT start_date FROM table_name_28 WHERE party = "pd"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 torque when engine code is N46B20 and power is ps (kw; hp)@6400?

### Context:
CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)

### Response:

### Response:
SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the first name of students who are living in the dorm that has most number of amenities.

### Context:
CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR)

### Response:

### Response:
SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the candidates for texas 20

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

### Response:

### Response:
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?

### Context:
CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 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:
How many attended the game at Arden Street Oval?

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date for the wgc-accenture match play championship?

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

### Response:

### Response:
SELECT date FROM table_name_83 WHERE tournament = "wgc-accenture match play 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 tom cassidy's nationality?

### Context:
CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_25 WHERE player = "tom cassidy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What dates was champion masahiro kawamura at the ibaraki country club tournament?

### Context:
CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT dates FROM table_name_6 WHERE tournament_location = "ibaraki country club" AND champion = "masahiro kawamura"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 0 is the top 10's what is the highest amount of cuts made?

### Context:
CREATE TABLE table_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)

### Response:

### Response:
SELECT MAX(cuts_made) FROM table_24330912_1 WHERE top_10s = 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the highest annual interchange for wimbledon railway station?

### Context:
CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)

### Response:

### Response:
SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Winner, when Year is 2013?

### Context:
CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_11 WHERE year = 2013</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the visitor for home of ny rangers

### Context:
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_29 WHERE home = "ny rangers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver won the Phillip Island Grand Prix Circuit?

### Context:
CREATE TABLE table_name_61 (winner VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_61 WHERE circuit = "phillip island grand prix circuit"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 naturalisation  by marriage with numer of jamaicans granted british citizenship being 3165

### Context:
CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR)

### Response:

### Response:
SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team did John Bowe round winner at Winton Motor Raceway belong to?

### Context:
CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2nd member of the parliament that was assembled on 3 november 1529?

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

### Response:

### Response:
SELECT 2 AS nd_member FROM table_name_19 WHERE assembled = "3 november 1529"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage?

### Context:
CREATE TABLE table_159614_2 (opinion_research_centre__opc_ VARCHAR, national_opinion_polls__nop_ VARCHAR)

### Response:

### Response:
SELECT opinion_research_centre__opc_ FROM table_159614_2 WHERE national_opinion_polls__nop_ = "1.3%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008?

### Context:
CREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)

### Response:

### Response:
SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 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 played has 3 as the losing bonus?

### Context:
CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)

### Response:

### Response:
SELECT played FROM table_name_91 WHERE losing_bonus = "3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the director when the title is 2003?

### Context:
CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_27 WHERE title = "2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Attendance has a Result of w 24-14, and a Week smaller than 7?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_2 WHERE result = "w 24-14" AND week < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?

### Context:
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)

### Response:

### Response:
SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = "I-2: Peak (18:30-22:30)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on April 21?

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

### Response:

### Response:
SELECT opponent FROM table_name_24 WHERE date = "april 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:
Who was the Away team at Arden Street Oval?

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

### Response:

### Response:
SELECT away_team FROM table_name_98 WHERE venue = "arden street 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:
Who was elected in 1972

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

### Response:

### Response:
SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 that has a Nationality of new zealand?

### Context:
CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_35 WHERE nationality = "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 position is the player who went to Regina?

### Context:
CREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT position FROM table_20170644_3 WHERE college = "Regina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance of the game that lasted 3:55?

### Context:
CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT att FROM table_name_1 WHERE time = "3:55"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show names for artists without any exhibition.

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

### Response:

### Response:
SELECT name FROM artist WHERE NOT artist_id IN (SELECT artist_id FROM exhibition)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the opponent in the final of the match on 19 February 2006?

### Context:
CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 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:
what is the identifier when the power is 22500 watts?

### Context:
CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR)

### Response:

### Response:
SELECT identifier FROM table_name_17 WHERE power = "22500 watts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?

### Context:
CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)

### Response:

### Response:
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 race that had a tyre of p and Juan Manuel Fangio as the winning driver?

### Context:
CREATE TABLE table_name_99 (race VARCHAR, tyre VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_99 WHERE tyre = "p" AND winning_driver = "juan manuel fangio"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record for a time in seconds smaller than 5.22.

### Context:
CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)

### Response:

### Response:
SELECT record FROM table_name_45 WHERE time__seconds_ < 5.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:
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?

### Context:
CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)

### Response:

### Response:
SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Location has a Method of decision?

### Context:
CREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_40 WHERE method = "decision"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of ahaziah?

### Context:
CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_16 WHERE name = "ahaziah"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game at Victoria Park, what was the number of people in the crowd?

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

### Response:

### Response:
SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Week 1 result of Colorado State?

### Context:
CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)

### Response:

### Response:
SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?

### Context:
CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-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 is the sum of the live viewers for episodes with share over 5?

### Context:
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)

### Response:

### Response:
SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 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 Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?

### Context:
CREATE TABLE table_name_52 (wheel_arrangement VARCHAR, manufacturer VARCHAR, quantity_made VARCHAR)

### Response:

### Response:
SELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = "baldwin" AND quantity_made = "12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005?

### Context:
CREATE TABLE table_name_29 (displacement VARCHAR, redline__rpm_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT displacement FROM table_name_29 WHERE redline__rpm_ > 4750 AND year = 2005</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Venue has a Date of january 9, 2011?

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

### Response:

### Response:
SELECT venue FROM table_name_51 WHERE date = "january 9, 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most year with start more than 2

### Context:
CREATE TABLE table_name_59 (year INTEGER, start INTEGER)

### Response:

### Response:
SELECT MAX(year) FROM table_name_59 WHERE start > 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many MotoGP winners were there when the circuit was Catalunya?

### Context:
CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"</s>


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

### Context:
CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT AVG(round) FROM table_name_18 WHERE opponent = "klas akesson"</s>


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

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

### Response:

### Response:
SELECT college FROM table_name_50 WHERE round < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the 2nd leg result in the round where Panionios is team #2?

### Context:
CREATE TABLE table_19130829_4 (team__number2 VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number2 = "Panionios"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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  persikos sorong city played in group 11, who played in group 7?

### Context:
CREATE TABLE table_19523142_5 (group_7 VARCHAR, group_11 VARCHAR)

### Response:

### Response:
SELECT group_7 FROM table_19523142_5 WHERE group_11 = "Persikos Sorong City"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many cup goals for the season with more than 34 league apps?

### Context:
CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)

### Response:

### Response:
SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which qual also has a finish total of 9?

### Context:
CREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT qual FROM table_name_75 WHERE finish = "9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Location that has the Mascot of lakers?

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

### Response:

### Response:
SELECT location FROM table_name_69 WHERE mascot = "lakers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of the player from Fort Lauderdale, Florida?

### Context:
CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 district with candidates being lawrence j. smith (d) 69.4% joseph smith (r) 30.6%

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

### Response:

### Response:
SELECT district FROM table_1341577_10 WHERE candidates = "Lawrence J. Smith (D) 69.4% Joseph Smith (R) 30.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:
Record of 16–29 is how many attendance?

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

### Response:

### Response:
SELECT attendance FROM table_name_32 WHERE record = "16–29"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bill young redistricted from the 10th district is the incumbent what is the party?

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

### Response:

### Response:
SELECT party FROM table_25030512_12 WHERE incumbent = "Bill Young Redistricted from the 10th district"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rebounds per game did he have at the 2006 fiba world championship?

### Context:
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World 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 country was Brage, built by karljohansverns verft, from?

### Context:
CREATE TABLE table_name_23 (country VARCHAR, builder VARCHAR, ship VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_23 WHERE builder = "karljohansverns verft" AND ship = "brage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 major town is located within the Outback Areas Community Development Trust?

### Context:
CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)

### Response:

### Response:
SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust"</s>


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

### Context:
CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT novelty FROM table_name_14 WHERE name = "tylocephale"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the opponent with a record of 60-61

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

### Response:

### Response:
SELECT opponent FROM table_name_35 WHERE record = "60-61"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2nd (m) when the points were larger than 251.6?

### Context:
CREATE TABLE table_name_99 (points INTEGER)

### Response:

### Response:
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.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:
How many first tournaments were winter sports with exactly 1 division?

### Context:
CREATE TABLE table_2849652_2 (season VARCHAR, _number_of_divisions VARCHAR)

### Response:

### Response:
SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE season = "Winter" AND _number_of_divisions = 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 south in the 2001-02 season, which had germering wanderers east?

### Context:
CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 power of the engine with a torque of n·m (lb·ft) at1,500rpm?

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

### Response:

### Response:
SELECT power FROM table_name_15 WHERE torque = "n·m (lb·ft) at1,500rpm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 successor was formally installed on February 1, 1871?

### Context:
CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)

### Response:

### Response:
SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 car numbers were listed for Rusty Wallace?

### Context:
CREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the club in the sixth round proper

### Context:
CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the names of the trains that do not pass any station located in London.

### Context:
CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)

### Response:

### Response:
SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London")</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times is the name matt targett and the lane higher than 7?

### Context:
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT COUNT(time) FROM table_name_44 WHERE name = "matt targett" AND lane > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the score when the runner-up is richard krajicek?

### Context:
CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which bronze has a Rank of 37?

### Context:
CREATE TABLE table_name_66 (bronze VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT bronze FROM table_name_66 WHERE rank = "37"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Score on 17 december 1979?

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

### Response:

### Response:
SELECT score FROM table_name_80 WHERE date = "17 december 1979"</s>


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

### Context:
CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT country FROM table_20754016_2 WHERE hometown = "Chihuahua"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_name_64 WHERE round = "17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?

### Context:
CREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)

### Response:

### Response:
SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Placement in Miss Universe is  armi barbara quiray crespo?

### Context:
CREATE TABLE table_name_3 (placement_in_miss_universe VARCHAR, delegate VARCHAR)

### Response:

### Response:
SELECT placement_in_miss_universe FROM table_name_3 WHERE delegate = "armi barbara quiray crespo"</s>


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

### Context:
CREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR)

### Response:

### Response:
SELECT tries_against FROM table_12828723_3 WHERE tries_for = "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:
Who is the pitcher from the 1983 season in location Kingdome?

### Context:
CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND season = "1983"</s>


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

### Context:
CREATE TABLE table_12095519_1 (train_name VARCHAR, train_no VARCHAR)

### Response:

### Response:
SELECT train_name FROM table_12095519_1 WHERE train_no = "15647/48"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wheel arrangement had a Specification of dl-700?

### Context:
CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)

### Response:

### Response:
SELECT wheel_arrangement FROM table_name_9 WHERE specification = "dl-700"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum point for climbers whose country is United Kingdom?

### Context:
CREATE TABLE climber (Points INTEGER, Country VARCHAR)

### Response:

### Response:
SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the match that ended in a score of 5–7, 6–4, [10–7]?

### Context:
CREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_1 WHERE score_in_final = "5–7, 6–4, [10–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 frequency is dxec-fm?

### Context:
CREATE TABLE table_2610582_7 (frequency VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_2610582_7 WHERE callsign = "DXEC-FM"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?

### Context:
CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did ginger have when she was ranked 5th on a 350cc class bike?

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

### Response:

### Response:
SELECT COUNT(points) FROM table_name_73 WHERE class = "350cc" AND rank = "5th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the fastest lap when Al Unser won?

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

### Response:

### Response:
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"</s>


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

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

### Response:

### Response:
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_11621747_1 WHERE tournament = "The Transamerica"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the away team with a 2 tie no.?

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

### Response:

### Response:
SELECT away_team FROM table_name_6 WHERE tie_no = "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 highest tonnage of the ship from norway?

### Context:
CREATE TABLE table_name_71 (tonnage INTEGER, nationality VARCHAR)

### Response:

### Response:
SELECT MAX(tonnage) FROM table_name_71 WHERE nationality = "norway"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which series had a title of Boyhood Daze?

### Context:
CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT series FROM table_name_78 WHERE title = "boyhood daze"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the result for goals which has goals of deacon 6/6

### Context:
CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_52 WHERE goals = "deacon 6/6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most lost games for the team with a difference smaller than 86 and points of 32?

### Context:
CREATE TABLE table_name_74 (lost INTEGER, points VARCHAR, difference VARCHAR)

### Response:

### Response:
SELECT MAX(lost) FROM table_name_74 WHERE points = 32 AND difference < 86</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 IHSAA class with 395 in enrollment?

### Context:
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR)

### Response:

### Response:
SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 legs when the venue is rwe-sporthalle, mülheim and the runner-up (average in final) is simon whitlock (99.59)?

### Context:
CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)

### Response:

### Response:
SELECT legs FROM table_name_81 WHERE venue = "rwe-sporthalle, mülheim" AND runner_up__average_in_final_ = "simon whitlock (99.59)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent with the 20-12 record?

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

### Response:

### Response:
SELECT opponent FROM table_name_45 WHERE record = "20-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:
Who were the children of Benjamin Harrison?

### Context:
CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when did the institution at chapel hill, North carolina join acc?

### Context:
CREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the A Score was larger than 5.933 with a total of 19.833, what nation was this?

### Context:
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jockeys had eoin harty as a trainer

### Context:
CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR)

### Response:

### Response:
SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the result for week of 4

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

### Response:

### Response:
SELECT result FROM table_name_46 WHERE week = 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:
In Round 10, what was the Overall for Ed Tomlin?

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

### Response:

### Response:
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 is played by the player from the Chicago Cubs?

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

### Response:

### Response:
SELECT position FROM table_name_8 WHERE team = "chicago cubs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?

### Context:
CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)

### Response:

### Response:
SELECT general_classification FROM table_name_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2010 for 2008 of 1r and tournament of us open

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

### Response:

### Response:
SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which task had Cathy as the hand grenade user?

### Context:
CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)

### Response:

### Response:
SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 that the club located in enfield was founded with an unknown coach?

### Context:
CREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT AVG(founded) FROM table_name_87 WHERE coach = "unknown" AND location = "enfield"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Gold has the Year of 1994?

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

### Response:

### Response:
SELECT gold FROM table_name_68 WHERE year = 1994</s>


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

### Context:
CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)

### Response:

### Response:
SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian"</s>


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

### Context:
CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)

### Response:

### Response:
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "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 incumbent was a federalist that was first elected in 1803?

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

### Response:

### Response:
SELECT incumbent FROM table_2668374_18 WHERE party = "Federalist" AND first_elected = "1803"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which grid has a Time/Retired of +5.004?

### Context:
CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR)

### Response:

### Response:
SELECT MIN(grid) FROM table_name_95 WHERE time_retired = "+5.004"</s>


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

### Context:
CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)

### Response:

### Response:
SELECT year_left FROM table_name_68 WHERE team_name = "hornets"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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, when Team is "Herdez Competition", and when Best is 1:27.432?

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

### Response:

### Response:
SELECT name FROM table_name_88 WHERE team = "herdez competition" AND best = "1:27.432"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grids had a Time/Retired of +4 laps?

### Context:
CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps"</s>


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

### Context:
CREATE TABLE table_25474825_1 (platform VARCHAR, software VARCHAR)

### Response:

### Response:
SELECT platform FROM table_25474825_1 WHERE software = "GeWorkbench"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament for score in the final of 1–6, 3–6

### Context:
CREATE TABLE table_name_20 (tournament VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_20 WHERE score_in_the_final = "1–6, 3–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:
Tell me the total number of time for luke hall overall rank being larger than 105

### Context:
CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)

### Response:

### Response:
SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 numbered game against Phoenix with a record of 29-17?

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

### Response:

### Response:
SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date with a game with a Record of 2–1–1?

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

### Response:

### Response:
SELECT date FROM table_name_68 WHERE record = "2–1–1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which School is located in Winter Park, FL (Hometown)?

### Context:
CREATE TABLE table_name_65 (school VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_65 WHERE hometown = "winter park, fl"</s>