<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 brand have drivers who won with the names of ryan briscoe and tomas scheckter

### Context:
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result/score for the match report recap on week 14?

### Context:
CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the I Dessau Autobahnspinne race?

### Context:
CREATE TABLE table_name_66 (date VARCHAR, race_name VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_66 WHERE race_name = "i dessau autobahnspinne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?

### Context:
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who are the writer of the series episode number 170?

### Context:
CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_22580855_1 WHERE series_no = 170</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 number with a Result of W 30-28?

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

### Response:

### Response:
SELECT AVG(week) FROM table_name_85 WHERE result = "w 30-28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who did the Rangers play in a game that was later than 72 when the team record was 39-27-9?

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

### Response:

### Response:
SELECT opponent FROM table_name_93 WHERE game > 72 AND record = "39-27-9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tyres were used with the mp4/14 chassis?

### Context:
CREATE TABLE table_name_40 (tyres VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the rb player from team oakland?

### Context:
CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_69 WHERE position = "rb" AND team = "oakland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year was the competition at the Pepsi Arena?

### Context:
CREATE TABLE table_name_41 (year VARCHAR, arena VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_41 WHERE arena = "pepsi 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:
For what competition was the venue away the n/a the man of the match?

### Context:
CREATE TABLE table_name_62 (competition VARCHAR, venue VARCHAR, man_of_the_match VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_62 WHERE venue = "away" AND man_of_the_match = "n/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:
What nationality has a ranking less than 7 with tony stenson as the name?

### Context:
CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which away team has an attendance of more than 17,000?

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

### Response:

### Response:
SELECT away_team FROM table_name_30 WHERE crowd > 17 OFFSET 000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was roberto travern's record when he fought against john salter?

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

### Response:

### Response:
SELECT record FROM table_name_60 WHERE opponent = "john salter"</s>


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

### Context:
CREATE TABLE table_name_37 (points__pts_ INTEGER, place__posición_ INTEGER)

### Response:

### Response:
SELECT SUM(points__pts_) FROM table_name_37 WHERE place__posición_ > 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names and year of construction for the mills of 'Grondzeiler' type?

### Context:
CREATE TABLE mill (name VARCHAR, built_year VARCHAR, TYPE VARCHAR)

### Response:

### Response:
SELECT name, built_year FROM mill WHERE TYPE = 'Grondzeiler'</s>


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

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

### Response:

### Response:
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college has a team of new york jets?

### Context:
CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_74 WHERE team = "new york jets"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue features hawthorn as the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_64 WHERE away_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals?

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_51 WHERE total < 24 AND gold > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which tournament in 2013 had a 2010 finish of 1R?

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

### Response:

### Response:
SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Whose term started on 4 May 2006?

### Context:
CREATE TABLE table_name_35 (minister VARCHAR, term_start VARCHAR)

### Response:

### Response:
SELECT minister FROM table_name_35 WHERE term_start = "4 may 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:
Name the least fum rec td

### Context:
CREATE TABLE table_15581223_8 (fum_rec INTEGER)

### Response:

### Response:
SELECT MIN(fum_rec) AS TD FROM table_15581223_8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is position does Dan O'Sullivan play?

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

### Response:

### Response:
SELECT position FROM table_name_58 WHERE player = "dan o'sullivan"</s>


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

### Context:
CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_15 WHERE round = 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the game with the record of 2-1?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On the date of june 7 what was the score?

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

### Response:

### Response:
SELECT record FROM table_name_31 WHERE date = "june 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total number for the Bulls when they were at Old Trafford?

### Context:
CREATE TABLE table_name_27 (bulls VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT COUNT(bulls) FROM table_name_27 WHERE venue = "old trafford"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital?

### Context:
CREATE TABLE table_28741_1 (_usd__2012_ VARCHAR, gdp__nominal__per_capita VARCHAR, capital VARCHAR)

### Response:

### Response:
SELECT COUNT(gdp__nominal__per_capita), _usd__2012_ FROM table_28741_1 WHERE capital = "Phnom Penh"</s>


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

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

### Response:

### Response:
SELECT theme FROM table_name_95 WHERE result = "eliminated"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_65 WHERE tie_no = "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:
what title was given to the episode with production code 6ajn08?

### Context:
CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team does David O'leary manage?

### Context:
CREATE TABLE table_name_28 (team VARCHAR, manager VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_28 WHERE manager = "david o'leary"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many seasons have motopark team?

### Context:
CREATE TABLE table_23338693_1 (season VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_23338693_1 WHERE team = "Motopark"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest height for class of hewitt and prom less than 148

### Context:
CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)

### Response:

### Response:
SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148</s>


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

### Context:
CREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR)

### Response:

### Response:
SELECT nomination FROM table_name_41 WHERE film_name = "peresohla zemlia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 duration of the commissioner from the zeeland province?

### Context:
CREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR)

### Response:

### Response:
SELECT duration FROM table_name_47 WHERE province = "zeeland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 captain has billy bonds as the manager?

### Context:
CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)

### Response:

### Response:
SELECT captain FROM table_name_34 WHERE manager = "billy bonds"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the series is ADAC GT Masters and poles is 1, what is the name of the team?

### Context:
CREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT team FROM table_22998777_1 WHERE poles = 1 AND series = "ADAC GT Masters"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school did the rb drafted attend?

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

### Response:

### Response:
SELECT school FROM table_24540893_6 WHERE position = "RB"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968?

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

### Response:

### Response:
SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 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 Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790?

### Context:
CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR)

### Response:

### Response:
SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790</s>


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

### Context:
CREATE TABLE table_name_25 (events INTEGER, country VARCHAR)

### Response:

### Response:
SELECT SUM(events) FROM table_name_25 WHERE country = "south africa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the headquarters of the airline which has the ICAO code of AAU?

### Context:
CREATE TABLE table_15637071_1 (headquarters VARCHAR, icao VARCHAR)

### Response:

### Response:
SELECT headquarters FROM table_15637071_1 WHERE icao = "AAU"</s>


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

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

### Response:

### Response:
SELECT attendance FROM table_name_95 WHERE week > 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Game had a Result of 136-112?

### Context:
CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_9 WHERE result = "136-112"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of people attending the game on May 30 with Colorado as the visitors?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_27 WHERE visitor = "colorado" AND date = "may 30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the player when the category is listed as field goal percentage?

### Context:
CREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which method was used in the welterweight class with a preliminary card?

### Context:
CREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR)

### Response:

### Response:
SELECT method FROM table_name_58 WHERE weight_class = "welterweight" AND card = "preliminary"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 weight with a denomination that is ten paise?

### Context:
CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR)

### Response:

### Response:
SELECT weight FROM table_name_53 WHERE denomination = "ten paise"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest amount of wins of someone who has 2 losses?

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

### Response:

### Response:
SELECT MIN(wins) FROM table_name_96 WHERE losses = 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 season date if the minor (South) winners is Bristol Sanctuary XI?

### Context:
CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)

### Response:

### Response:
SELECT season FROM table_23014923_1 WHERE minor__south__winners = "Bristol Sanctuary XI"</s>


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

### Context:
CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Years have a Goal of 82?

### Context:
CREATE TABLE table_name_24 (years VARCHAR, goals VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_24 WHERE goals = 82</s>


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

### Context:
CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)

### Response:

### Response:
SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college team did Milan Kostolny play for?

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

### Response:

### Response:
SELECT college_junior_club_team FROM table_2886617_8 WHERE player = "Milan Kostolny"</s>


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

### Context:
CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)

### Response:

### Response:
SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/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:
What the name of  the school where the last win in 2007-08?

### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)

### Response:

### Response:
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "2007-08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the segment A for netflix of s05e01

### Context:
CREATE TABLE table_name_89 (segment_a VARCHAR, netflix VARCHAR)

### Response:

### Response:
SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?

### Context:
CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the result for 2000 afc asian cup qualification

### Context:
CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Oklahoma State produced a player in which position in the draft?

### Context:
CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma 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 team in France had 15 UCi points?

### Context:
CREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Runners have a Placing that isn't 1?

### Context:
CREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER)

### Response:

### Response:
SELECT COUNT(runners) FROM table_name_55 WHERE placing > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When danilo di luca is the winner who is the general classification?

### Context:
CREATE TABLE table_18733814_2 (general_classification VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT general_classification FROM table_18733814_2 WHERE winner = "Danilo Di Luca"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which country has miss universe Hungary as former pageant?

### Context:
CREATE TABLE table_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)

### Response:

### Response:
SELECT country_territory FROM table_14308895_2 WHERE former_pageant = "Miss Universe Hungary"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the Home team was st kilda, what was the score of the Away team they played?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the player with a t6 place and a 72-68-72=212 score?

### Context:
CREATE TABLE table_name_7 (player VARCHAR, place VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_7 WHERE place = "t6" AND score = 72 - 68 - 72 = 212</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Event of wc milan and a Total of 23?

### Context:
CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT score_points FROM table_name_27 WHERE event = "wc milan" AND total = "23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away team at mcg?

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

### Response:

### Response:
SELECT away_team FROM table_name_44 WHERE venue = "mcg"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 channel number that has a branding of PTV 4 Laoag?

### Context:
CREATE TABLE table_24673888_1 (ch__number VARCHAR, branding VARCHAR)

### Response:

### Response:
SELECT ch__number FROM table_24673888_1 WHERE branding = "PTV 4 Laoag"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 values if the number is high rebounds can be found for the game on March 13?

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

### Response:

### Response:
SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the game attended by 60425 people played against?

### Context:
CREATE TABLE table_18207285_2 (opponent VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_18207285_2 WHERE attendance = 60425</s>


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

### Context:
CREATE TABLE table_name_74 (report VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT report FROM table_name_74 WHERE winning_driver = "philip fotheringham-parker"</s>


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

### Context:
CREATE TABLE table_22771048_3 (projected_opening INTEGER)

### Response:

### Response:
SELECT MIN(projected_opening) FROM table_22771048_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 was Australia's place?

### Context:
CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_99 WHERE country = "australia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which money is the highest one that has a To par of –1, and a Score of 73-70-73-71=287?

### Context:
CREATE TABLE table_name_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT MAX(money___) AS $__ FROM table_name_56 WHERE to_par = "–1" AND score = 73 - 70 - 73 - 71 = 287</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the companion for the author Dave Stone?

### Context:
CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)

### Response:

### Response:
SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"</s>


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

### Context:
CREATE TABLE table_14489821_1 (played INTEGER)

### Response:

### Response:
SELECT MAX(played) FROM table_14489821_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps did the driver with the yamaha manufacturer go on grid 3?

### Context:
CREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT laps FROM table_name_61 WHERE manufacturer = "yamaha" AND grid = 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 result of the game at kyiv, ukraine?

### Context:
CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the NBA draft result of the player from the College of Kansas?

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

### Response:

### Response:
SELECT nba_draft FROM table_name_48 WHERE college = "kansas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance on September 11, 1988?

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

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_21 WHERE date = "september 11, 1988"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many cuts did Reid make in the year when her earnings were n/a?

### Context:
CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)

### Response:

### Response:
SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/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:
Which licence has a release date of 2009-08?

### Context:
CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)

### Response:

### Response:
SELECT license FROM table_name_23 WHERE release_date = "2009-08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the integrated in which the holding allied-unrelated is many?

### Context:
CREATE TABLE table_11944282_1 (holding VARCHAR, allied_unrelated VARCHAR)

### Response:

### Response:
SELECT holding FROM table_11944282_1 WHERE allied_unrelated = "Many"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the team of the player who was previously on the indiana pacers?

### Context:
CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_15 WHERE previous_team = "indiana pacers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Wha argon has helium of 1.0000684?

### Context:
CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)

### Response:

### Response:
SELECT argon FROM table_name_54 WHERE helium = "1.0000684"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 rank for a player earning $71,979?

### Context:
CREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the smallest pick number of a player playing in Minnesota North Stars?

### Context:
CREATE TABLE table_1965650_4 (pick__number INTEGER, nhl_team VARCHAR)

### Response:

### Response:
SELECT MIN(pick__number) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team/s have 48 goals total?

### Context:
CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)

### Response:

### Response:
SELECT club FROM table_18967450_2 WHERE goals = 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:
Who was the stage winner of the letua cycling team on stage 2?

### Context:
CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR)

### Response:

### Response:
SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 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 Result when the Attendance is 1,634?

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

### Response:

### Response:
SELECT result FROM table_name_85 WHERE attendance = "1,634"</s>


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

### Context:
CREATE TABLE table_name_89 (region VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_89 WHERE catalog = "alca-487"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location when the winning driver was Nathanaël Berthon?

### Context:
CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 when the surface is clay and the result is 6–7 (4–7) , 1–6?

### Context:
CREATE TABLE table_name_99 (date VARCHAR, surface VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_99 WHERE surface = "clay" AND result = "6–7 (4–7) , 1–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:
Show all the locations where some cinemas were opened in both year 2010 and year 2011.

### Context:
CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR)

### Response:

### Response:
SELECT LOCATION FROM cinema WHERE openning_year = 2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year = 2011</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the pick of the lw position player?

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

### Response:

### Response:
SELECT SUM(pick) FROM table_name_25 WHERE position = "lw"</s>


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

### Context:
CREATE TABLE table_name_32 (name VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_32 WHERE location = "ljubljana"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 score that has alastair forsyth as the player?

### Context:
CREATE TABLE table_name_28 (score INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MIN(score) FROM table_name_28 WHERE player = "alastair forsyth"</s>


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

### Context:
CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR)

### Response:

### Response:
SELECT budget FROM table_name_39 WHERE month_ & _year = "march 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:
What is total number of show times per dat for each cinema?

### Context:
CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)

### Response:

### Response:
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the engine code for the model  xdrive35i?

### Context:
CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)

### Response:

### Response:
SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 news frequency for the show Locker Room?

### Context:
CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR)

### Response:

### Response:
SELECT news_freq FROM table_name_73 WHERE show_name = "locker room"</s>


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

### Context:
CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)

### Response:

### Response:
SELECT authority FROM table_name_22 WHERE roll = 54</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_43 WHERE record = "11-8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the average year for my queen

### Context:
CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production (mt) is 650000, what is the total number of rank?

### Context:
CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000</s>


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

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

### Response:

### Response:
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson"</s>


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

### Context:
CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR)

### Response:

### Response:
SELECT distribution FROM table_1357052_6 WHERE rsbac = "Unknown"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the fight that lasted 3 rounds and was won or loss by a decision?

### Context:
CREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_65 WHERE round = 3 AND 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:
Who's the Communist ticket with an American Labor ticket of joseph v. o'leary?

### Context:
CREATE TABLE table_name_49 (communist_ticket VARCHAR, american_labor_ticket VARCHAR)

### Response:

### Response:
SELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = "joseph v. o'leary"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?

### Context:
CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)

### Response:

### Response:
SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?

### Context:
CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server"</s>


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

### Context:
CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR)

### Response:

### Response:
SELECT australian FROM table_name_79 WHERE american = "ɑ"</s>


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

### Context:
CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR)

### Response:

### Response:
SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "Cappielow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 numbers of episodes that were broadcast on September 1, 2003

### Context:
CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR)

### Response:

### Response:
SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Strain name of Species Thiomicrospira crunogena?

### Context:
CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR)

### Response:

### Response:
SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 english version that is buena vista edition is daisuke gouri?

### Context:
CREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR)

### Response:

### Response:
SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = "Daisuke Gouri"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ids for all students who have advisor 1121.

### Context:
CREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR)

### Response:

### Response:
SELECT StuID FROM Student WHERE Advisor = 1121</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With a Tally of 0-14, what is the Rank in Kilkenny County?

### Context:
CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What contestant was premiered on July 25?

### Context:
CREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR)

### Response:

### Response:
SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 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:
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?

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

### Response:

### Response:
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Result, when Round is SF?

### Context:
CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_57 WHERE round = "sf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many votes did Northern Ireland cast if the total was 35?

### Context:
CREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT northern_ireland FROM table_10128185_2 WHERE total = 35</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the height of the person that weighs 320 pounds?

### Context:
CREATE TABLE table_10966926_2 (height VARCHAR, weight VARCHAR)

### Response:

### Response:
SELECT height FROM table_10966926_2 WHERE weight = 320</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of silver medals of the team with less than 0 bronzes?

### Context:
CREATE TABLE table_name_85 (silver INTEGER, bronze INTEGER)

### Response:

### Response:
SELECT MAX(silver) FROM table_name_85 WHERE bronze < 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 platform that has Rockstar Games as the developer?

### Context:
CREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR)

### Response:

### Response:
SELECT platform_s_ FROM table_name_33 WHERE developer_s_ = "rockstar games"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 may players have a passing yard score of 208?

### Context:
CREATE TABLE table_28697228_4 (player VARCHAR, passing_yards VARCHAR)

### Response:

### Response:
SELECT COUNT(player) FROM table_28697228_4 WHERE passing_yards = 208</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what team has a score of 11

### Context:
CREATE TABLE table_name_3 (record VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_3 WHERE game = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many high points were at the wachovia center 18,347?

### Context:
CREATE TABLE table_11960196_3 (high_points VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT COUNT(high_points) FROM table_11960196_3 WHERE location_attendance = "Wachovia Center 18,347"</s>


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

### Context:
CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_25 WHERE game = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which venue has a Away team of hawthorn?

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

### Response:

### Response:
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the opponent for week 12

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

### Response:

### Response:
SELECT opponent FROM table_14418812_1 WHERE week = 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 are the Rowers from Poland?

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

### Response:

### Response:
SELECT rowers FROM table_name_66 WHERE country = "poland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What film was directed by Sandro Aguilar?

### Context:
CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR)

### Response:

### Response:
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar"</s>


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

### Context:
CREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR)

### Response:

### Response:
SELECT serials_issued FROM table_name_71 WHERE issued = 1966</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which island is in the United Kingdom?

### Context:
CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT island FROM table_name_43 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:
If the longitude is -97.473110, what is the minimum geo id?

### Context:
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)

### Response:

### Response:
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country for Sony / Sony Bmg?

### Context:
CREATE TABLE table_name_61 (country VARCHAR, label VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_61 WHERE label = "sony / sony bmg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which final has a run of 1:19.49?

### Context:
CREATE TABLE table_name_18 (final VARCHAR, run_3 VARCHAR)

### Response:

### Response:
SELECT final FROM table_name_18 WHERE run_3 = "1:19.49"</s>


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

### Context:
CREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)

### Response:

### Response:
SELECT reporters FROM table_22514845_5 WHERE s_analyst = "Howard Cosell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Distance has a Time of men's speed skating?

### Context:
CREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT distance FROM table_name_46 WHERE time = "men's speed skating"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country with a t7 place and a 69-68-72=209 score?

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

### Response:

### Response:
SELECT country FROM table_name_70 WHERE place = "t7" AND score = 69 - 68 - 72 = 209</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mount wondiwoi is the peak what is the island?

### Context:
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)

### Response:

### Response:
SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 item has the suffix containing thiocyanato- (-scn) as a prefix?

### Context:
CREATE TABLE table_name_77 (suffix VARCHAR, prefix VARCHAR)

### Response:

### Response:
SELECT suffix FROM table_name_77 WHERE prefix = "thiocyanato- (-scn)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 numbers were recorde under 50s when there was 2 matches?

### Context:
CREATE TABLE table_16570286_2 (matches VARCHAR)

### Response:

### Response:
SELECT COUNT(50 AS s) FROM table_16570286_2 WHERE matches = 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 country  has a score of 74-70=144

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

### Response:

### Response:
SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 premiere if the production code is 11.19?

### Context:
CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average attendance when the Forest Green Rovers is the away team?

### Context:
CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 f/laps did Pedro Nunes have when he was at the gp3 series?

### Context:
CREATE TABLE table_25386974_1 (f_laps VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT f_laps FROM table_25386974_1 WHERE series = "GP3 series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year and location did Liu Guozheng win the Mens Singles?

### Context:
CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)

### Response:

### Response:
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng"</s>


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

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

### Response:

### Response:
SELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = "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 2nd leg for 2004?

### Context:
CREATE TABLE table_name_29 (year VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_name_29 WHERE year = 2004</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 how many airport with rank being 4

### Context:
CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When is the date of appointment when the position in table is 16?

### Context:
CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the original air date (atv) of episode 1?

### Context:
CREATE TABLE table_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)

### Response:

### Response:
SELECT original_air_date__atv_ FROM table_1439096_1 WHERE episode_no = 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:
I want the time/retired for grid of 24

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

### Response:

### Response:
SELECT time_retired FROM table_name_12 WHERE grid = 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is faisaly when wehdat is xxx?

### Context:
CREATE TABLE table_26173063_2 (faisaly VARCHAR, wehdat VARCHAR)

### Response:

### Response:
SELECT faisaly FROM table_26173063_2 WHERE wehdat = "XXX"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Rick Mears win, after starting in Pole Position?

### Context:
CREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT city_location FROM table_name_70 WHERE pole_position = "rick mears" AND winning_driver = "rick mears"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the pregame host when Bold was the network?

### Context:
CREATE TABLE table_name_98 (pregame_host VARCHAR, network VARCHAR)

### Response:

### Response:
SELECT pregame_host FROM table_name_98 WHERE network = "bold"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 losses for the Team of Montreal with Goals For larger than 29?

### Context:
CREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_50 WHERE goals_for > 29 AND team = "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:
I want to know the events for 106 bands

### Context:
CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_16 WHERE acts = "106 bands"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the first week that had a transition with Pat Mccready?

### Context:
CREATE TABLE table_name_6 (week INTEGER, transition VARCHAR)

### Response:

### Response:
SELECT MIN(week) FROM table_name_6 WHERE transition = "pat mccready"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 cargo value in 2004 for ship size?

### Context:
CREATE TABLE table_name_13 (ship_size VARCHAR)

### Response:

### Response:
SELECT 2004 FROM table_name_13 WHERE ship_size = "ship size"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did the games that had Wisconsin as big ten team take place?

### Context:
CREATE TABLE table_29535057_4 (location VARCHAR, big_ten_team VARCHAR)

### Response:

### Response:
SELECT location FROM table_29535057_4 WHERE big_ten_team = "Wisconsin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What lane was Emily Seebohm in?

### Context:
CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?

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

### Response:

### Response:
SELECT SUM(bronze) FROM table_name_34 WHERE rank > 3 AND silver > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the builder with a works number of 2534?

### Context:
CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)

### Response:

### Response:
SELECT builder FROM table_name_16 WHERE works_number = "2534"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?

### Context:
CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND 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:
Who was in external affairs when Jakki Doyle was in Human Resources & Operations?

### Context:
CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)

### Response:

### Response:
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 offensive award winner the week when Bob Watson was given the overall award?

### Context:
CREATE TABLE table_14132239_3 (offensive VARCHAR, overall VARCHAR)

### Response:

### Response:
SELECT offensive FROM table_14132239_3 WHERE overall = "Bob Watson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the location when the circuit is lowood circuit and the race is lowood trophy?

### Context:
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?

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

### Response:

### Response:
SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1944 result for the U.S. Championships?

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

### Response:

### Response:
SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest Crowd of hisense arena on 8 february?

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

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_29 WHERE venue = "hisense arena" AND date = "8 february"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 continent in which the country russia is listed?

### Context:
CREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT continent FROM table_27435931_1 WHERE country = "Russia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result at the Masters for the player who finished R16 at the PGA Ch.?

### Context:
CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR)

### Response:

### Response:
SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?

### Context:
CREATE TABLE college (state VARCHAR, enr INTEGER)

### Response:

### Response:
SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result for Brent Spiner?

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

### Response:

### Response:
SELECT result FROM table_name_46 WHERE nominee = "brent spiner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Losses at the western conference and the 2004–05 season?

### Context:
CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?

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

### Response:

### Response:
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-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 car did Tony Trimmer drive at the Oulton Park Circuit?

### Context:
CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who are the players that placed t2?

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

### Response:

### Response:
SELECT player FROM table_name_33 WHERE place = "t2"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?

### Context:
CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)

### Response:

### Response:
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the team for january 17

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

### Response:

### Response:
SELECT team FROM table_27733909_7 WHERE date = "January 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:
List the height and weight of people in descending order of height.

### Context:
CREATE TABLE people (Height VARCHAR, Weight VARCHAR)

### Response:

### Response:
SELECT Height, Weight FROM people ORDER BY Height DESC</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many to par for Greg Norman?

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

### Response:

### Response:
SELECT to_par FROM table_name_1 WHERE player = "greg norman"</s>


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

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Goals have a National team of england, and Apps smaller than 6, and a Year of 2012?

### Context:
CREATE TABLE table_name_78 (goals INTEGER, year VARCHAR, national_team VARCHAR, apps VARCHAR)

### Response:

### Response:
SELECT SUM(goals) FROM table_name_78 WHERE national_team = "england" AND apps < 6 AND year = "2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has an Opponent of melanie south?

### Context:
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_58 WHERE opponent = "melanie south"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )?

### Context:
CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)

### Response:

### Response:
SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )"</s>