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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the candidates for result of lost renomination democratic loss

### Context:
CREATE TABLE table_1342149_24 (candidates VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_1342149_24 WHERE result = "Lost renomination Democratic loss"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which video has a 16:9 aspect?

### Context:
CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)

### Response:

### Response:
SELECT video FROM table_name_77 WHERE aspect = "16:9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Years of the player with Jersey Number(s) of 44?

### Context:
CREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_73 WHERE jersey_number_s_ = 44</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest pick for the position of defensive end?

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

### Response:

### Response:
SELECT MAX(pick) FROM table_name_15 WHERE position = "defensive end"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Opponents of sheffield wednesday had what date?

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

### Response:

### Response:
SELECT date FROM table_name_63 WHERE opponents = "sheffield wednesday"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 types of products have Rodrick Heaney bought in total?

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

### Response:

### Response:
SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney"</s>


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

### Context:
CREATE TABLE table_name_80 (combined VARCHAR, overall VARCHAR)

### Response:

### Response:
SELECT combined FROM table_name_80 WHERE overall = "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:
how many times is there more than 0 draws and more than 0 losses?

### Context:
CREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the air date of the episode written by Itamar Moses?

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

### Response:

### Response:
SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What location is previous to 1994?

### Context:
CREATE TABLE table_name_56 (location VARCHAR, year INTEGER)

### Response:

### Response:
SELECT location FROM table_name_56 WHERE year < 1994</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of jews where the rank is 1?

### Context:
CREATE TABLE table_1131183_2 (number_of_jews__wjc_ VARCHAR, rank__arda_ VARCHAR)

### Response:

### Response:
SELECT COUNT(number_of_jews__wjc_) FROM table_1131183_2 WHERE rank__arda_ = 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:
Show all artist names and the year joined who are not from United States.

### Context:
CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT name, year_join FROM artist WHERE country <> 'United States'</s>


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

### Context:
CREATE TABLE table_2899987_2 (network VARCHAR, origin VARCHAR)

### Response:

### Response:
SELECT network FROM table_2899987_2 WHERE origin = "Xalapa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ranks does the Cathay Pacific Plaza 2 have?

### Context:
CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = "Cathay Pacific Plaza 2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the release date of Sonic Adventure 2?

### Context:
CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many events are there?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most points for 1-3-1 record

### Context:
CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_27539272_4 WHERE record = "1-3-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the candidates in the Kentucky 5 district?

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

### Response:

### Response:
SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest attendance for week 2?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_50 WHERE week = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the max mach when the maximum speed was 3887?

### Context:
CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR)

### Response:

### Response:
SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 3887</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Maegashira 1"?

### Context:
CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)

### Response:

### Response:
SELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = "maegashira 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total points for the tean with 8 losses?

### Context:
CREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_13015539_1 WHERE lost = 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 days were the rounds of 66-67-70-67 recorded?

### Context:
CREATE TABLE table_1506950_4 (date VARCHAR, rounds VARCHAR)

### Response:

### Response:
SELECT date FROM table_1506950_4 WHERE rounds = "66-67-70-67"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find all the customer information in state NY.

### Context:
CREATE TABLE CUSTOMER (State VARCHAR)

### Response:

### Response:
SELECT * FROM CUSTOMER WHERE State = "NY"</s>


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

### Context:
CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The pooulation of јарковац is?

### Context:
CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)

### Response:

### Response:
SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?

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

### Response:

### Response:
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 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:
Where was the game played that was on Sunday, May 27?

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

### Response:

### Response:
SELECT game_site FROM table_24786958_2 WHERE date = "Sunday, May 27"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 products are never booked with amount higher than 200?

### Context:
CREATE TABLE products_booked (product_id VARCHAR, booked_amount INTEGER); CREATE TABLE Products_for_hire (product_id VARCHAR, booked_amount INTEGER)

### Response:

### Response:
SELECT COUNT(*) FROM Products_for_hire WHERE NOT product_id IN (SELECT product_id FROM products_booked WHERE booked_amount > 200)</s>


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

### Context:
CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR)

### Response:

### Response:
SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all characteristics of product named "sesame" with type code "Grade".

### Context:
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)

### Response:

### Response:
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is SS Player Rich McKinney's Team?

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

### Response:

### Response:
SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least recent week number when the attendance is 16,562?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_1 WHERE attendance = 16 OFFSET 562</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?

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

### Response:

### Response:
SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340</s>


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

### Context:
CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "2–0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?

### Context:
CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)

### Response:

### Response:
SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals?

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

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the max demand charge for the user with a tariff of 8.85?

### Context:
CREATE TABLE table_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)

### Response:

### Response:
SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Format has a Region of united states, and a Catalog of kem 072?

### Context:
CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition

### Context:
CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)

### Response:

### Response:
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9×19mm Parabellum" AND model = "XDM 5.25 Competition"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Record, when Opponent is "New York Knicks"?

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

### Response:

### Response:
SELECT record FROM table_name_11 WHERE opponent = "new york knicks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?

### Context:
CREATE TABLE table_name_25 (gold INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT SUM(gold) FROM table_name_25 WHERE rank > 6 AND nation = "netherlands" AND 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:
Name the italian voice actor for dirk fenselau

### Context:
CREATE TABLE table_14960574_6 (italian_voice_actor VARCHAR, german_voice_actor VARCHAR)

### Response:

### Response:
SELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = "Dirk Fenselau"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?

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

### Response:

### Response:
SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which method has a record of 11-10?

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

### Response:

### Response:
SELECT method FROM table_name_70 WHERE record = "11-10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the record 4-2?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the English word for apfel?

### Context:
CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR)

### Response:

### Response:
SELECT english FROM table_name_53 WHERE german = "apfel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player's runs are 270?

### Context:
CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_43 WHERE runs = "270"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 value for played when points is 8 and position is 11th?

### Context:
CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which sponsor has Mark Hughes as manager?

### Context:
CREATE TABLE table_name_23 (shirt_sponsor VARCHAR, manager VARCHAR)

### Response:

### Response:
SELECT shirt_sponsor FROM table_name_23 WHERE manager = "mark hughes"</s>


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

### Context:
CREATE TABLE table_name_49 (aggregate VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT aggregate FROM table_name_49 WHERE club = "ajax"</s>


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

### Context:
CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)

### Response:

### Response:
SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "Fox"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 grid with rider casey stoner and laps that are smaller than 27?

### Context:
CREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 most points scored in a game where the score was 1-2?

### Context:
CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Current Club has a Player of bassem balaa?

### Context:
CREATE TABLE table_name_97 (current_club VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT current_club FROM table_name_97 WHERE player = "bassem balaa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week is greater than 14 and Opponent is Dallas Cowboys, what is the result?

### Context:
CREATE TABLE table_name_89 (result VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_89 WHERE week > 14 AND opponent = "dallas cowboys"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week did the Jets play in the meadowlands with and attendance of 78,161?

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

### Response:

### Response:
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name, nationality and id of all male architects ordered by their names lexicographically.

### Context:
CREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR, gender VARCHAR)

### Response:

### Response:
SELECT name, nationality, id FROM architect WHERE gender = 'male' ORDER BY name</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?

### Context:
CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)

### Response:

### Response:
SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Accolade, when Country is "United States", and when Year is "1999"?

### Context:
CREATE TABLE table_name_8 (accolade VARCHAR, country VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT accolade FROM table_name_8 WHERE country = "united states" AND year = 1999</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the catalog of the record released on May 27, 2009?

### Context:
CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the stadium for nizhny novgorod

### Context:
CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 per capital income for Washington county?

### Context:
CREATE TABLE table_name_12 (per_capita_income VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT per_capita_income FROM table_name_12 WHERE county = "washington"</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_86 WHERE opponent = "clemson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did the Roy Hibbert (27) did the high points?

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

### Response:

### Response:
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the product type codes which have at least two products.

### Context:
CREATE TABLE products (product_type_code VARCHAR)

### Response:

### Response:
SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What location was the campus that has a size of 245 acres?

### Context:
CREATE TABLE table_name_86 (location VARCHAR, size VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_86 WHERE size = "245 acres"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.

### Context:
CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)

### Response:

### Response:
SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 grid number where the time/retired is +58.182 and the lap number is less than 67?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_12 WHERE time_retired = "+58.182" AND laps < 67</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of starts for the player who lost fewer than 22 and has more than 4 tries?

### Context:
CREATE TABLE table_name_11 (start INTEGER, lost VARCHAR, tries VARCHAR)

### Response:

### Response:
SELECT AVG(start) FROM table_name_11 WHERE lost < 22 AND tries > 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 competition did he compete in before 2007 in gothenburg, sweden?

### Context:
CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 council taxes are collected for renting arrears ?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 outcome of the match with opponent Jade Curtis?

### Context:
CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the director of Antz?

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

### Response:

### Response:
SELECT director FROM table_name_35 WHERE title = "antz"</s>


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

### Context:
CREATE TABLE table_name_12 (year INTEGER, movie VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What state had an elected/assumed office in 2013?

### Context:
CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR)

### Response:

### Response:
SELECT state FROM table_name_98 WHERE elected_assumed_office = 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 the lost On August 20

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

### Response:

### Response:
SELECT loss FROM table_name_3 WHERE date = "august 20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who had a last performance of 3 july 2011?

### Context:
CREATE TABLE table_name_18 (name VARCHAR, last_performance VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_18 WHERE last_performance = "3 july 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 result for Steve Gonzalez?

### Context:
CREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT result FROM table_22603701_1 WHERE name = "Steve Gonzalez"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the lowest laps of Tarso Marques?

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

### Response:

### Response:
SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What actor won in 1978?

### Context:
CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT actor FROM table_name_22 WHERE year = "1978"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the value in 2008 when 1R is 2009 and 3R?

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

### Response:

### Response:
SELECT 2008 FROM table_name_77 WHERE 2009 = "1r" AND 2006 = "3r"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 1st Edition for Episode 11?

### Context:
CREATE TABLE table_name_16 (episode VARCHAR)

### Response:

### Response:
SELECT 1 AS st_edition FROM table_name_16 WHERE episode = "11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what total was the lowest and had a to par of e?

### Context:
CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)

### Response:

### Response:
SELECT MIN(total) FROM table_name_45 WHERE to_par = "e"</s>


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

### Context:
CREATE TABLE table_name_46 (design VARCHAR, serial_format VARCHAR)

### Response:

### Response:
SELECT design FROM table_name_46 WHERE serial_format = "ab-12-34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the manager 1 for Leeds United?

### Context:
CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does Denard Walker play?

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

### Response:

### Response:
SELECT position FROM table_name_98 WHERE player = "denard walker"</s>


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

### Context:
CREATE TABLE table_name_96 (format VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_96 WHERE frequency = "am 980"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Time of the Athlete with a Rank of 6?

### Context:
CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_55 WHERE rank = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which club has 1 runners-up with 0 winners and 2 third place earned?

### Context:
CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of headphone class for sr100

### Context:
CREATE TABLE table_1601027_2 (headphone_class VARCHAR, headphone_model VARCHAR)

### Response:

### Response:
SELECT COUNT(headphone_class) FROM table_1601027_2 WHERE headphone_model = "SR100"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?

### Context:
CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)

### Response:

### Response:
SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker"</s>


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

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

### Response:

### Response:
SELECT round FROM table_name_52 WHERE date = "26 august 1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all candidates in the democratic party where the election had the incumbent Frank Chelf running.

### Context:
CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?

### Context:
CREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the director with the Min Dally Nseek title, and won?

### Context:
CREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_57 WHERE title = "min dally nseek" AND result = "won"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What championship had a margin of playoff 2?

### Context:
CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR)

### Response:

### Response:
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 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 date did the prime minister who entered office on 7 December 1916 leave office?

### Context:
CREATE TABLE table_name_49 (left_office VARCHAR, entered_office VARCHAR)

### Response:

### Response:
SELECT left_office FROM table_name_49 WHERE entered_office = "7 december 1916"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yes votes made up 43.18% yes?

### Context:
CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)

### Response:

### Response:
SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = "43.18%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the township at longitude -100.680772?

### Context:
CREATE TABLE table_18600760_18 (township VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT township FROM table_18600760_18 WHERE longitude = "-100.680772"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home of fc st. gallen (asl) geust?

### Context:
CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 North Melbourne's score when they were the home team?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"</s>


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

### Context:
CREATE TABLE table_name_79 (icao VARCHAR, airport VARCHAR)

### Response:

### Response:
SELECT icao FROM table_name_79 WHERE airport = "julius nyerere international airport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most game for w 113–96 (ot)

### Context:
CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_23281862_10 WHERE score = "W 113–96 (OT)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Total Goals values have 0 League Cup Goals?

### Context:
CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER)

### Response:

### Response:
SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record in a week later than 7 against the San Diego Chargers?

### Context:
CREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_25 WHERE week > 7 AND opponent = "san diego chargers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is IATA, when ICAO is "Hesh"?

### Context:
CREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)

### Response:

### Response:
SELECT iata FROM table_name_35 WHERE icao = "hesh"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what country is dubai in

### Context:
CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_50 WHERE town = "dubai"</s>


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

### Context:
CREATE TABLE table_name_39 (mascot VARCHAR, _number___county VARCHAR)

### Response:

### Response:
SELECT mascot FROM table_name_39 WHERE _number___county = "66 pulaski 2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?

### Context:
CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 memory with a socket g1 and a 1/1/6/9 turbo?

### Context:
CREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR)

### Response:

### Response:
SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the production where the parent company is ariel?

### Context:
CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR)

### Response:

### Response:
SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 loses corresponded to giving up 714 points?

### Context:
CREATE TABLE table_12792876_2 (lost VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT lost FROM table_12792876_2 WHERE points_against = "714"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What frequency does model L34xx use?

### Context:
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fastest laps were there for a rd that equals 10?

### Context:
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)

### Response:

### Response:
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people were in attendance for the game with a score of 98–111?

### Context:
CREATE TABLE table_name_12 (attendance INTEGER, score VARCHAR)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_12 WHERE score = "98–111"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 bronzes associated with 0 golds and a rank of 10?

### Context:
CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)

### Response:

### Response:
SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many venues were played on in round 1

### Context:
CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What frequency does the Pentium processor use?

### Context:
CREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_24018112_1 WHERE brand_name = "Pentium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of week 16?

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

### Response:

### Response:
SELECT result FROM table_name_73 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:
Name the runner-up for algarve tournament

### Context:
CREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of all the years when the notes are “electronics brand?”

### Context:
CREATE TABLE table_name_36 (year INTEGER, notes VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver that had all rounds and a f399 chassis?

### Context:
CREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_53 WHERE rounds = "all" AND chassis = "f399"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team was 3:47.761 on day 2?

### Context:
CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_78 WHERE day_2 = "3:47.761"</s>


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

### Context:
CREATE TABLE table_1341423_21 (first_elected INTEGER)

### Response:

### Response:
SELECT MIN(first_elected) FROM table_1341423_21</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player had a position of OT during round 27?

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

### Response:

### Response:
SELECT name FROM table_name_43 WHERE position = "ot" AND round = 27</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did the away team score at Kardinia Park?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_85 WHERE venue = "kardinia park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the November 3 result when the result for January 15-16 is 141?

### Context:
CREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR)

### Response:

### Response:
SELECT november_3 FROM table_25284864_3 WHERE january_15_16 = "141"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 a Season larger than 2000 with a Level of Tier 3?

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

### Response:

### Response:
SELECT position FROM table_name_21 WHERE season > 2000 AND level = "tier 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:
In which venue was North Melbourne the Away team?

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

### Response:

### Response:
SELECT venue FROM table_name_14 WHERE away_team = "north melbourne"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 call sign is wpib, what is lowest ERP W?

### Context:
CREATE TABLE table_name_21 (erp_w INTEGER, call_sign VARCHAR)

### Response:

### Response:
SELECT MIN(erp_w) FROM table_name_21 WHERE call_sign = "wpib"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What type is shown with a moving to of valenciennes?

### Context:
CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_7 WHERE moving_to = "valenciennes"</s>


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

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

### Response:

### Response:
SELECT venue FROM table_name_71 WHERE date = "10-09-2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the loss for Boris Picano-Nacci?

### Context:
CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every party A with a constituency of Tiruchendur?

### Context:
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)

### Response:

### Response:
SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 license plate code for the country with an area of 784?

### Context:
CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR)

### Response:

### Response:
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 byes that has 13 losses and wins less than 5?

### Context:
CREATE TABLE table_name_41 (byes VARCHAR, losses VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when Flavia Pennetta won the championship?

### Context:
CREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_67 WHERE champion = "flavia pennetta"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?

### Context:
CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)

### Response:

### Response:
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goals have Ends of 30 june 2010, and Since larger than 2007?

### Context:
CREATE TABLE table_name_14 (goals VARCHAR, ends VARCHAR, since VARCHAR)

### Response:

### Response:
SELECT goals FROM table_name_14 WHERE ends = "30 june 2010" AND since > 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When 228 is the lap and chip ganassi racing is the team what is the race time?

### Context:
CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228"</s>


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

### Context:
CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_74 WHERE player = "alonzo mourning"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest election with 2 seats and the outcome of the election of minority in parliament?

### Context:
CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)

### Response:

### Response:
SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats = "2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the team record by Week 8?

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

### Response:

### Response:
SELECT record FROM table_name_60 WHERE week = "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:
How many games were won with 2nd oha was standing and there were 62 games?

### Context:
CREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT won FROM table_1143966_1 WHERE standing = "2nd OHA" AND games = 62</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which chassis has an Alfa Romeo flat-12 engine.

### Context:
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-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:
Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?

### Context:
CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 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 the meaning of a gentle personality?

### Context:
CREATE TABLE table_1912713_2 (意義_meaning VARCHAR, 性情_personality VARCHAR)

### Response:

### Response:
SELECT 意義_meaning FROM table_1912713_2 WHERE 性情_personality = "Gentle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the brand name associated with a model name e4xxx?

### Context:
CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)

### Response:

### Response:
SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "E4xxx"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What production code does episode 174 of Melrose place have?

### Context:
CREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_name_92 WHERE no_in_series = 174</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

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

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

### Response:

### Response:
SELECT record FROM table_name_87 WHERE date = "5 february 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When Collingwood was the home team who was the opposing away team?

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

### Response:

### Response:
SELECT away_team FROM table_name_52 WHERE home_team = "collingwood"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the songs produced by artists with first name "Marianne".

### Context:
CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR)

### Response:

### Response:
SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 television station listings have a ioc code as mas?

### Context:
CREATE TABLE table_2879165_1 (television_station VARCHAR, ioc_code VARCHAR)

### Response:

### Response:
SELECT COUNT(television_station) FROM table_2879165_1 WHERE ioc_code = "MAS"</s>


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

### Context:
CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score l 102–122 (ot)

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

### Response:

### Response:
SELECT team FROM table_27733909_7 WHERE score = "L 102–122 (OT)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?

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

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of rank for growth raate for 14.47

### Context:
CREATE TABLE table_2527063_3 (rank VARCHAR, growth_rate VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_2527063_3 WHERE growth_rate = "14.47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the score in february 12 of the boston celtics team

### Context:
CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT score FROM table_17382360_7 WHERE team = "Boston Celtics"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 AFL team has a pick 4 for the offensive tackle position?

### Context:
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 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 was the score for Tie no. 6?

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

### Response:

### Response:
SELECT score FROM table_name_27 WHERE tie_no = "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:
Count the average Gold which has a Nation of sweden, and a Silver larger than 1?

### Context:
CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT AVG(gold) FROM table_name_47 WHERE nation = "sweden" AND silver > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of losses of the player that has drawn 1 and played smaller than 12?

### Context:
CREATE TABLE table_name_73 (lost VARCHAR, drawn VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT COUNT(lost) FROM table_name_73 WHERE drawn = 1 AND played < 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:
Name the incumbent for virginia 4

### Context:
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which contestant was associated with episode 34?

### Context:
CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_30 WHERE episode_number = "episode 34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did home team Gold Coast Blaze play?

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

### Response:

### Response:
SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 l 88–94 (ot)?

### Context:
CREATE TABLE table_name_98 (team VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_98 WHERE score = "l 88–94 (ot)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?

### Context:
CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)

### Response:

### Response:
SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of the player who has a total larger than 300?

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

### Response:

### Response:
SELECT country FROM table_name_70 WHERE total > 300</s>


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

### Context:
CREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_52 WHERE lead = "steve gould"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the approximate translations when the Morphological Category is 1st. plur. perfect?

### Context:
CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)

### Response:

### Response:
SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"</s>


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

### Context:
CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)

### Response:

### Response:
SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What formated cataloged alca-9196?

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

### Response:

### Response:
SELECT format FROM table_name_10 WHERE catalog = "alca-9196"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Place of t1, and a Player of hubert green?

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

### Response:

### Response:
SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Year(s) won of the Player with a To par of 5?

### Context:
CREATE TABLE table_name_4 (year_s__won VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT year_s__won FROM table_name_4 WHERE to_par = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What machine did Keith T. Gawler ride?

### Context:
CREATE TABLE table_name_76 (machine VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT machine FROM table_name_76 WHERE rider = "keith t. gawler"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Gold has a Nation of mongolia, and a Total larger than 18?

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

### Response:

### Response:
SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest numbered episode in the series?

### Context:
CREATE TABLE table_27969432_3 (no_in_series INTEGER)

### Response:

### Response:
SELECT MIN(no_in_series) FROM table_27969432_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:
Name the losses for general caballero zc

### Context:
CREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT losses FROM table_14876228_1 WHERE team = "General Caballero ZC"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when there were 26 golden tickets?

### Context:
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_57 WHERE golden_tickets = 26</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Club/province have caps less than 2 and Jonathan Sexton as player?

### Context:
CREATE TABLE table_name_74 (club_province VARCHAR, caps VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT club_province FROM table_name_74 WHERE caps < 2 AND player = "jonathan sexton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Round 4 for larger than 19 Round 1 and a 27 Round 2?

### Context:
CREATE TABLE table_name_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)

### Response:

### Response:
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = "27"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_60 WHERE result = "w 31-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 is the opponent for the game with 37,845 people in attendance?

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

### Response:

### Response:
SELECT opponent FROM table_name_64 WHERE attendance = "37,845"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has an against of pohang steelers?

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

### Response:

### Response:
SELECT date FROM table_name_2 WHERE against = "pohang steelers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Rank has a Time of 5:56.73?

### Context:
CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_81 WHERE time = "5:56.73"</s>


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

### Context:
CREATE TABLE table_name_68 (text_symbol VARCHAR, border VARCHAR, type_of_sign VARCHAR)

### Response:

### Response:
SELECT text_symbol FROM table_name_68 WHERE border = "red" AND type_of_sign = "warning"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Scott Riggs points when he had more than 400 laps?

### Context:
CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400</s>


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

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

### Response:

### Response:
SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the game with team of @ Chicago, what was the final score?

### Context:
CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_19 WHERE team = "@ chicago"</s>