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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Venue against the Bracknell Bees?

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

### Response:

### Response:
SELECT venue FROM table_name_9 WHERE opponent = "bracknell bees"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 music has the notes of AKA Africa Uncensored?

### Context:
CREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT music FROM table_name_61 WHERE notes = "aka africa uncensored"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Question does not make sense since there was no record of 88-74

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

### Response:

### Response:
SELECT date FROM table_name_77 WHERE record = "88-74"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the title of all the albums of the artist "AC/DC".

### Context:
CREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)

### Response:

### Response:
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the general foods pga seniors' championship tournament?

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

### Response:

### Response:
SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance when Nuneaton Borough was the home team?

### Context:
CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team when Melbourne was the away team?

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

### Response:

### Response:
SELECT home_team FROM table_name_98 WHERE away_team = "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:
For each nomination, show the name of the artwork and name of the festival where it is nominated.

### Context:
CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)

### Response:

### Response:
SELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the week when the result was l 38-17

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

### Response:

### Response:
SELECT week FROM table_name_61 WHERE result = "l 38-17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times have Central Crossing won the OCC Championship?

### Context:
CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)

### Response:

### Response:
SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team of the game where Footscray is the away team?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the award for 1998 with Representative Work of city beat?

### Context:
CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)

### Response:

### Response:
SELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = "city beat"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the log ids and their descriptions from the problem logs.

### Context:
CREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_description VARCHAR)

### Response:

### Response:
SELECT problem_log_id, log_entry_description FROM problem_log</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the number of attendance that has a result of l 35-17

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_4 WHERE result = "l 35-17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What season did he have 7 appearances?

### Context:
CREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_91 WHERE apps = 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the gene name for methylobacterium nodulans

### Context:
CREATE TABLE table_27155678_2 (gene_name VARCHAR, genus_species VARCHAR)

### Response:

### Response:
SELECT gene_name FROM table_27155678_2 WHERE genus_species = "Methylobacterium nodulans"</s>


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

### Context:
CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_54 WHERE record = "14–17–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 smallest year when Ubisoft Montreal was the developer (s)?

### Context:
CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who received the bronze in 2011?

### Context:
CREATE TABLE table_name_71 (bronze VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT bronze FROM table_name_71 WHERE year = "2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What years was the jersey number(s) smaller than 3?

### Context:
CREATE TABLE table_name_1 (years VARCHAR, jersey_number_s_ INTEGER)

### Response:

### Response:
SELECT years FROM table_name_1 WHERE jersey_number_s_ < 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:
Tell me the Hindu with Jewish of source: uk 2001 census

### Context:
CREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)

### Response:

### Response:
SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game has a Record of 4–2–1, and Points larger than 9?

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

### Response:

### Response:
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 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 number of played when the position is less than 4, and the team is Witton Albion?

### Context:
CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the round of the player who plays linebacker and has a pick # greater than 251?

### Context:
CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 zip code in which the average mean visibility is lower than 10.

### Context:
CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER)

### Response:

### Response:
SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 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:
Find the number of people who is under 40 for each gender.

### Context:
CREATE TABLE Person (gender VARCHAR, age INTEGER)

### Response:

### Response:
SELECT COUNT(*), gender FROM Person WHERE age < 40 GROUP BY gender</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class AA with class A of rule and school year of 1995-96

### Context:
CREATE TABLE table_name_52 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR)

### Response:

### Response:
SELECT class_aA FROM table_name_52 WHERE class_a = "rule" AND school_year = "1995-96"</s>


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

### Context:
CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR)

### Response:

### Response:
SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What gender is the team that has a decile of 5 and in the Dalefield area?

### Context:
CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)

### Response:

### Response:
SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 RELIGION WITH A SCHEDULED TRIBE OF 0.90%?

### Context:
CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR)

### Response:

### Response:
SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 got the first position when  Ehime Shimanami got the third position?

### Context:
CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)

### Response:

### Response:
SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami"</s>


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

### Context:
CREATE TABLE table_16225511_2 (wins INTEGER, school VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas"</s>


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

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

### Response:

### Response:
SELECT round FROM table_name_92 WHERE date = "march 22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year that had a value less than 2,575 in Inglewood?

### Context:
CREATE TABLE table_name_27 (year INTEGER, inglewood INTEGER)

### Response:

### Response:
SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 resting potential with an AP duration of 1.0 and a median giant fiber cell type?

### Context:
CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)

### Response:

### Response:
SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2011 number (,000) when the status is separated?

### Context:
CREATE TABLE table_273617_6 (status VARCHAR)

### Response:

### Response:
SELECT 2011 AS _number__, 000 AS _ FROM table_273617_6 WHERE status = "Separated"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team of the game on April 20?

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

### Response:

### Response:
SELECT home FROM table_name_95 WHERE date = "april 20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the height of the Tides with less than 34 floors?

### Context:
CREATE TABLE table_name_68 (height_feet___m VARCHAR, floors VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT height_feet___m FROM table_name_68 WHERE floors < 34 AND name = "the tides"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponents in the final on January 5, 2003, on a hard surface?

### Context:
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tie no has Watford as the date?

### Context:
CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tie_no FROM table_name_92 WHERE date = "watford"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What surface has indian wells as the championship, with winner as the outcome?

### Context:
CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_63 WHERE championship = "indian wells" AND outcome = "winner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 party in the arkansas 1 district

### Context:
CREATE TABLE table_1341930_5 (party VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT COUNT(party) FROM table_1341930_5 WHERE district = "Arkansas 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 Commissioned, when Laid Down is "6 September 2003"?

### Context:
CREATE TABLE table_name_78 (commissioned VARCHAR, laid_down VARCHAR)

### Response:

### Response:
SELECT commissioned FROM table_name_78 WHERE laid_down = "6 september 2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who direcred the episode with production code 7d03?

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

### Response:

### Response:
SELECT directed_by FROM table_25604014_5 WHERE production_code = "7D03"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entries are there for class when the prior experience is shasta h.s.

### Context:
CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)

### Response:

### Response:
SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = "Shasta H.S."</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?

### Context:
CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR)

### Response:

### Response:
SELECT accreditation_type FROM table_name_72 WHERE accreditation_level = "joyn" AND hardware_model = "nokia 700"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest Match No., when Date is 2008-03-21, and when Time is 16:00?

### Context:
CREATE TABLE table_name_92 (match_no INTEGER, date VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MAX(match_no) FROM table_name_92 WHERE date = "2008-03-21" AND time = "16:00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date in which the time was 2:16.08?

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

### Response:

### Response:
SELECT date FROM table_name_31 WHERE time = "2:16.08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which owner has a description of Mark 1 pos and is dated 1956?

### Context:
CREATE TABLE table_name_18 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)

### Response:

### Response:
SELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = "mark 1 pos"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names, color descriptions and product descriptions of products with category "Herbs".

### Context:
CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)

### Response:

### Response:
SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest weight wth a Result of –, and a Distance of 7f?

### Context:
CREATE TABLE table_name_37 (weight INTEGER, result VARCHAR, distance VARCHAR)

### Response:

### Response:
SELECT MAX(weight) FROM table_name_37 WHERE result = "–" AND distance = "7f"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was the 2008 during the Year End Ranking?

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

### Response:

### Response:
SELECT 2008 FROM table_name_44 WHERE tournament = "year end ranking"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the fight with Tony Halme?

### Context:
CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT res FROM table_name_27 WHERE opponent = "tony halme"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 position of the person whose hometown is Queens, NY?

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

### Response:

### Response:
SELECT position FROM table_name_45 WHERE hometown = "queens, 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 date was the match on a hard surface with a score of 6–4, 2–6, 3–6?

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

### Response:

### Response:
SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6–4, 2–6, 3–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the percentage for Russian?

### Context:
CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR)

### Response:

### Response:
SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian"</s>


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

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

### Response:

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


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

### Context:
CREATE TABLE table_17355820_1 (title VARCHAR, season__number VARCHAR)

### Response:

### Response:
SELECT COUNT(title) FROM table_17355820_1 WHERE season__number = 19</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?

### Context:
CREATE TABLE table_name_99 (first_elected INTEGER, district VARCHAR, committee VARCHAR)

### Response:

### Response:
SELECT MAX(first_elected) FROM table_name_99 WHERE district = "06.0 6" AND committee = "economic matters"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Col (m) when 3,046 is the Prominence (m)?

### Context:
CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)

### Response:

### Response:
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the game played at Lake Oval?

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

### Response:

### Response:
SELECT date FROM table_name_56 WHERE venue = "lake oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Team, when High Points is "Tracy McGrady (24)"?

### Context:
CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (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 Country, when City is "Zamboanga"?

### Context:
CREATE TABLE table_name_82 (country VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_82 WHERE city = "zamboanga"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank associated with the team that has more than 2 wins and has greater than 204 points?

### Context:
CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 matches were played that average goals scored 1.25?

### Context:
CREATE TABLE table_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR)

### Response:

### Response:
SELECT COUNT(matches_played) FROM table_27708484_3 WHERE average_goals_scored_per_match = "1.25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Championship has a League Cup smaller than 0?

### Context:
CREATE TABLE table_name_14 (championship INTEGER, league_cup INTEGER)

### Response:

### Response:
SELECT AVG(championship) FROM table_name_14 WHERE league_cup < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the most assists and how many did they have in game 35?

### Context:
CREATE TABLE table_27744844_7 (high_assists VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_27744844_7 WHERE game = 35</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times did Charles Jarrott report?

### Context:
CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is 2008, when 2006 is "1R"?

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

### Response:

### Response:
SELECT 2008 FROM table_name_70 WHERE 2006 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?

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

### Response:

### Response:
SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season is it when Milouska was the show's mole ?

### Context:
CREATE TABLE table_178242_7 (season VARCHAR, the_mole VARCHAR)

### Response:

### Response:
SELECT season FROM table_178242_7 WHERE the_mole = "Milouska"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
before week 12 what was the attendance on 1983-11-21?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what City/town was their institution founded in 1860?

### Context:
CREATE TABLE table_name_34 (city__town VARCHAR, year_founded VARCHAR)

### Response:

### Response:
SELECT city__town FROM table_name_34 WHERE year_founded = 1860</s>


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

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

### Response:

### Response:
SELECT home FROM table_name_94 WHERE away = "toronto rebels"</s>


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

### Context:
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result when there were 27,321 in attendance?

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

### Response:

### Response:
SELECT result FROM table_name_20 WHERE attendance = "27,321"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 do the tickets cost for August 7, 1987?

### Context:
CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)

### Response:

### Response:
SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Home team score has a Home team of geelong?

### Context:
CREATE TABLE table_name_47 (home_team VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_47 WHERE home_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km?

### Context:
CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km"</s>


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

### Context:
CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_90 WHERE genre = "platformer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average age of members of the club "Hopkins Student Enterprises".

### Context:
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)

### Response:

### Response:
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?

### Context:
CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(weight) FROM table_name_90 WHERE position = "forward/center" AND player = "othella harrington" AND number < 32</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 runner-up when champion is 0, 4th place is 0 and rank is 6?

### Context:
CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)

### Response:

### Response:
SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND 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:
What was the lowest attendance at the game against chicago when conklin made the decision?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_21 WHERE decision = "conklin" AND visitor = "chicago"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Year, when Rank is greater than 85?

### Context:
CREATE TABLE table_name_28 (year INTEGER, rank INTEGER)

### Response:

### Response:
SELECT MIN(year) FROM table_name_28 WHERE rank > 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:
What was the home team score for the game played at Princes Park?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_3 WHERE venue = "princes 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:
How many episodes aired on October 17, 2007?

### Context:
CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR)

### Response:

### Response:
SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 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:
What is the average and maximum number of total passengers for train stations in London or Glasgow?

### Context:
CREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR)

### Response:

### Response:
SELECT AVG(total_passengers), MAX(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance when the record was 77-54?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_90 WHERE record = "77-54"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the name of the processor for model x33x0?

### Context:
CREATE TABLE table_24101118_1 (processor VARCHAR, model__list_ VARCHAR)

### Response:

### Response:
SELECT processor FROM table_24101118_1 WHERE model__list_ = "X33x0"</s>


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

### Context:
CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT league FROM table_name_16 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 position with 0 points in Season of 2007–08?

### Context:
CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record on 6 April 2008?

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

### Response:

### Response:
SELECT record FROM table_name_20 WHERE date = "6 april 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for 2010 Employees (Total) when the employer is University of Alberta?

### Context:
CREATE TABLE table_name_1 (employer VARCHAR)

### Response:

### Response:
SELECT SUM(2010 AS _employees__total_) FROM table_name_1 WHERE employer = "university of alberta"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Time, when Event is "GCM: Demolition 1"?

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

### Response:

### Response:
SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the 2009 for 2007 of 2r and tournament of wimbledon

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

### Response:

### Response:
SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Attendance has an Opponent of oxford united?

### Context:
CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford 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:
Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket?

### Context:
CREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR)

### Response:

### Response:
SELECT socket FROM table_name_91 WHERE frequency = "1.2 ghz" AND release_price___usd__ = "$70"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 capacity (MW) of the farm that is noted as being under construction?

### Context:
CREATE TABLE table_name_17 (capacity__mw_ VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = "under construction"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To par of –3, and a Player of santiago luna?

### Context:
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score when high points is from pierce (30)?

### Context:
CREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT score FROM table_11959669_6 WHERE high_points = "Pierce (30)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did the episode that was directed by Christian i. nyby ii originally air on?

### Context:
CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of golds in athletics associated with over 42 silvers?

### Context:
CREATE TABLE table_name_66 (gold INTEGER, sport VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT AVG(gold) FROM table_name_66 WHERE sport = "athletics" AND silver > 42</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 decile of the school with a roll larger than 513?

### Context:
CREATE TABLE table_name_36 (decile INTEGER, roll INTEGER)

### Response:

### Response:
SELECT SUM(decile) FROM table_name_36 WHERE roll > 513</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up when the winning score was –28 (66-67-68-64-67=332)?

### Context:
CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR)

### Response:

### Response:
SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332)</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 id and first name of the student that has the most number of assessment notes?

### Context:
CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Assessment_Notes (student_id VARCHAR)

### Response:

### Response:
SELECT T1.student_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
According to the August 2008 poll that reported 36% New Demcratic, what percentage aligned with the Liberal party?

### Context:
CREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)

### Response:

### Response:
SELECT liberal FROM table_name_37 WHERE new_democratic = "36%" AND dates = "august 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:
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").

### Context:
CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR)

### Response:

### Response:
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING COUNT(*) >= 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the game that had a first prize of $161,480?

### Context:
CREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_64 WHERE first_prize = "$161,480"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round has kim eun-ha as an Opponent?

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

### Response:

### Response:
SELECT round FROM table_name_37 WHERE opponent = "kim eun-ha"</s>


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

### Context:
CREATE TABLE table_15887683_8 (n° VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest rank for PSV - FC Barcelona?

### Context:
CREATE TABLE table_name_64 (rank INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_64 WHERE team = "psv - fc barcelona"</s>


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

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

### Response:

### Response:
SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What runner-up has 1925 as the year?

### Context:
CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT runner_up FROM table_name_6 WHERE year = "1925"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 crowd attendance for the Junction Oval venue?

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year for Faces?

### Context:
CREATE TABLE table_name_61 (year INTEGER, title VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_61 WHERE title = "faces"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Pilot of g.v. alfyorov, and a Record description of altitude with kg (lb) payload, and a Type of mi-10 involved what date?

### Context:
CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_39 WHERE pilot = "g.v. alfyorov" AND record_description = "altitude with kg (lb) payload" AND type = "mi-10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the high schooler who has the greatest number of likes?

### Context:
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)

### Response:

### Response:
SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What monarch(s) did Stanley Baldwin (1st ministry) serve?

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

### Response:

### Response:
SELECT monarchs_served FROM table_name_18 WHERE name = "stanley baldwin (1st ministry)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Opponent in Final is "Guy Forget"?

### Context:
CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the number of the season episode whose premiere was in january 3, 1997?

### Context:
CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_228973_3 WHERE original_air_date = "January 3, 1997"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the team that held the race title of Mallala?

### Context:
CREATE TABLE table_name_47 (team VARCHAR, race_title VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_47 WHERE race_title = "mallala"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 musical nominee with award "Bob Fosse" or "Cleavant Derricks".

### Context:
CREATE TABLE musical (Nominee VARCHAR, Award VARCHAR)

### Response:

### Response:
SELECT Nominee FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Position is Ryan Russell?

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

### Response:

### Response:
SELECT position FROM table_name_6 WHERE player = "ryan russell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 outcome of the August 20, 2007 match?

### Context:
CREATE TABLE table_name_29 (outcome VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_29 WHERE date = "august 20, 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:
What is the branding for the station located in san jose del monte?

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

### Response:

### Response:
SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte"</s>


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

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

### Response:

### Response:
SELECT third FROM table_name_74 WHERE venue = "oslo"</s>


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

### Context:
CREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR)

### Response:

### Response:
SELECT date FROM table_23184448_3 WHERE cyclones_points = 46</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?

### Context:
CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT surface FROM table_22834834_3 WHERE score_in_the_final = "6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–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:
Find all the songs that do not have a back vocal.

### Context:
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)

### Response:

### Response:
SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = "back"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What two players had the highest rebounds for the October 14 game?

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

### Response:

### Response:
SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482?

### Context:
CREATE TABLE table_name_82 (date VARCHAR, label VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_82 WHERE label = "sony bmg, epic" AND catalog = "5187482"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 data are on points for if the percentage is 94.29?

### Context:
CREATE TABLE table_25229283_4 (points_for VARCHAR, percentage___percentage_ VARCHAR)

### Response:

### Response:
SELECT COUNT(points_for) FROM table_25229283_4 WHERE percentage___percentage_ = "94.29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won at course Forlì to Carpi?

### Context:
CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_47 WHERE course = "forlì to carpi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the launch pad for 25 december 2010 10:34

### Context:
CREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR)

### Response:

### Response:
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10: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 many dates are in position 9 and the sellout is 81%?

### Context:
CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR)

### Response:

### Response:
SELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = "81%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What surface was used when she played with Remi Tezuka?

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

### Response:

### Response:
SELECT surface FROM table_name_76 WHERE partner = "remi tezuka"</s>


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

### Context:
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)

### Response:

### Response:
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of taking office for Giorgia Meloni?

### Context:
CREATE TABLE table_name_28 (took_office VARCHAR, minister VARCHAR)

### Response:

### Response:
SELECT took_office FROM table_name_28 WHERE minister = "giorgia meloni"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 judges points did the couple ranked at number 5 have?

### Context:
CREATE TABLE table_19744915_22 (judges INTEGER, rank VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2?

### Context:
CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)

### Response:

### Response:
SELECT set_2 FROM table_name_6 WHERE total = "45–12" AND set_3 = "15–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Name of the D Player born on 1983-07-19?

### Context:
CREATE TABLE table_name_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_46 WHERE pos = "d" AND date_of_birth = "1983-07-19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date was the Piston's record at 23-47?

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

### Response:

### Response:
SELECT date FROM table_22822559_8 WHERE record = "23-47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who went on a rampage in Baghdad?

### Context:
CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT perpetrator FROM table_name_85 WHERE location = "baghdad"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the sum of year for edition more than 4 and winners of new york red bulls

### Context:
CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?

### Context:
CREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)

### Response:

### Response:
SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.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 lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?

### Context:
CREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR)

### Response:

### Response:
SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 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:
Tell me the class with rank of 89th

### Context:
CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_12 WHERE rank = "89th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Manchu (Möllendorff) with the Wi Xing Correltation of  南 South, along with Wuu Wuupin of ting44?

### Context:
CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR)

### Response:

### Response:
SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_72 WHERE player = "jim colbert"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date with an Away that is broadview hawks?

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

### Response:

### Response:
SELECT date FROM table_name_5 WHERE away = "broadview hawks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 format of the single, I Can't Stay?

### Context:
CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_6 WHERE single = "i can't stay"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With a 0-2 series, what is the high points?

### Context:
CREATE TABLE table_name_23 (high_points VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_name_23 WHERE series = "0-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 laps were ridden in the race that had a Time/Retired of +37.351?

### Context:
CREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 states-first place are there for the office of Governor?

### Context:
CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)

### Response:

### Response:
SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest shot % with ends won larger than 29 and ends lost smaller than 26?

### Context:
CREATE TABLE table_name_1 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR)

### Response:

### Response:
SELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 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 is the Margin in 1953 when Patty Berg was Runner(s)-up?

### Context:
CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
First elected in 1807 1817 in what district?

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

### Response:

### Response:
SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817"</s>


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

### Context:
CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)

### Response:

### Response:
SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the rank when silver is less than 0?

### Context:
CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_6 WHERE silver < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the tie resulting from Sheffield Wednesday's game?

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

### Response:

### Response:
SELECT tie_no FROM table_name_56 WHERE home_team = "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:
What is the Pashto word for the Malayalam word വ്യാഴം vyazham?

### Context:
CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR)

### Response:

### Response:
SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name and rank points of the winner who won the most times.

### Context:
CREATE TABLE matches (winner_name VARCHAR, winner_rank_points VARCHAR)

### Response:

### Response:
SELECT winner_name, winner_rank_points FROM matches GROUP BY winner_name ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?

### Context:
CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)

### Response:

### Response:
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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, federation, or league are the Tennessee Titans a member of?

### Context:
CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans"</s>


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

### Context:
CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date has serial of 11c?

### Context:
CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_28 WHERE serial = "11c"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away team when 6 was the tie no?

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

### Response:

### Response:
SELECT away_team FROM table_name_69 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:
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?

### Context:
CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)

### Response:

### Response:
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"</s>


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

### Context:
CREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR)

### Response:

### Response:
SELECT census_ranking FROM table_176524_2 WHERE official_name = "Perth"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 against the Rajasthan Royals with more than 0 ties?

### Context:
CREATE TABLE table_name_57 (lost VARCHAR, opposition VARCHAR, tied VARCHAR)

### Response:

### Response:
SELECT COUNT(lost) FROM table_name_57 WHERE opposition = "rajasthan royals" AND tied > 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 home team score when played at mcg?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_24 WHERE venue = "mcg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which average against has a lost less than 1?

### Context:
CREATE TABLE table_name_78 (against INTEGER, lost INTEGER)

### Response:

### Response:
SELECT AVG(against) FROM table_name_78 WHERE lost < 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 lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0?

### Context:
CREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR)

### Response:

### Response:
SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 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 rank for China?

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

### Response:

### Response:
SELECT SUM(rank) FROM table_name_96 WHERE country = "china"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rider finished with a speed of 80.18mph?

### Context:
CREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR)

### Response:

### Response:
SELECT rider FROM table_name_61 WHERE speed = "80.18mph"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 population (2008) created earlier than 1857, and the county was Sinoe?

### Context:
CREATE TABLE table_name_69 (population__2008_ INTEGER, created VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = "sinoe"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rd. took place at Hockenheimring?

### Context:
CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)

### Response:

### Response:
SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What city is Jaffna Airport in?

### Context:
CREATE TABLE table_name_25 (city VARCHAR, airport VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_25 WHERE airport = "jaffna 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:
how many models produced where the plant is castle bromwich?

### Context:
CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)

### Response:

### Response:
SELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = "Castle Bromwich"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Indians play a game with a record of 28-41?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of the choice tv actor: drama category?

### Context:
CREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 population in 함흥 (Ham Hyung)?

### Context:
CREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR)

### Response:

### Response:
SELECT SUM(population__2008_) FROM table_name_55 WHERE korean = "함흥"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What award has a year earlier than 2004 and the episode shows —?

### Context:
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR)

### Response:

### Response:
SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?

### Context:
CREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT fcsl_team FROM table_name_22 WHERE mlb_team = "toronto blue jays" AND round = "4th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the call sign for the translator with an ERP W larger than 10?

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

### Response:

### Response:
SELECT call_sign FROM table_name_38 WHERE erp_w > 10</s>