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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time for Russia?

### Context:
CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_54 WHERE nationality = "russia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.

### Context:
CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR, enzyme_id VARCHAR); CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VARCHAR); CREATE TABLE enzyme (id VARCHAR, product VARCHAR)

### Response:

### Response:
SELECT name, trade_name FROM medicine EXCEPT SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id JOIN enzyme AS T3 ON T3.id = T2.enzyme_id WHERE T3.product = 'Protoporphyrinogen IX'</s>


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

### Context:
CREATE TABLE table_name_74 (boiling_point VARCHAR, solvent VARCHAR)

### Response:

### Response:
SELECT boiling_point FROM table_name_74 WHERE solvent = "diethyl ether"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What network has an origin in India, a genre of general, and broadcasts in Bengali?

### Context:
CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What batting style does player Shahid Afridi have?

### Context:
CREATE TABLE table_name_88 (batting_style VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT batting_style FROM table_name_88 WHERE player = "shahid afridi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points have a Drawn larger than 0, and a Lost larger than 1?

### Context:
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND 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:
Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?

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

### Response:

### Response:
SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine(s) has a year of 1966, and a point of 42.

### Context:
CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "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 largest crowd for a Home team of carlton?

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

### Response:

### Response:
SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which junctions have "replaced by bsi-35" listed in their remarks section?

### Context:
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)

### Response:

### Response:
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the daily hire costs for the products with substring 'Book' in its name?

### Context:
CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR)

### Response:

### Response:
SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the format for the label Mightier than Sword on January 12, 2010 in the United States?

### Context:
CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 win% in the 1999-2013 season?

### Context:
CREATE TABLE table_name_66 (win__percentage INTEGER, season VARCHAR)

### Response:

### Response:
SELECT MIN(win__percentage) FROM table_name_66 WHERE season = "1999-2013"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?

### Context:
CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)

### Response:

### Response:
SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = "horsham diggers"</s>


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

### Context:
CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT mascot FROM table_name_62 WHERE school = "hamilton community"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year(s) won has a Total larger than 295?

### Context:
CREATE TABLE table_name_31 (year_s__won VARCHAR, total INTEGER)

### Response:

### Response:
SELECT year_s__won FROM table_name_31 WHERE total > 295</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 official languages does Afghanistan have?

### Context:
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Afghanistan" AND IsOfficial = "T"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the pos for adrian sutil

### Context:
CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT pos FROM table_name_75 WHERE driver = "adrian sutil"</s>


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

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

### Response:

### Response:
SELECT district FROM table_2668352_14 WHERE incumbent = "Hugh 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:
Which average Total has a Place smaller than 2, and a Draw smaller than 5?

### Context:
CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR)

### Response:

### Response:
SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 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 moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=

### Context:
CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, beam_height__mm_ VARCHAR)

### Response:

### Response:
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE beam_height__mm_ = 120</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What division record did the Spartans hold?

### Context:
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT division_record FROM table_name_26 WHERE team = "spartans"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year was Martin Sheen nominated?

### Context:
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_3 WHERE nominee = "martin sheen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 results for all games which involved the detroit red wings.

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

### Response:

### Response:
SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings"</s>


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

### Context:
CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR)

### Response:

### Response:
SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What grid is associated with 67 laps?

### Context:
CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT grid FROM table_name_45 WHERE laps = 67</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Club Team has a Position of (d), a Nationality of canada, and a Player of andrew macwilliam?

### Context:
CREATE TABLE table_name_7 (club_team VARCHAR, player VARCHAR, position VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT club_team FROM table_name_7 WHERE position = "(d)" AND nationality = "canada" AND player = "andrew macwilliam"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the Longitude when there is a Diameter (km) of 31km?

### Context:
CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR)

### Response:

### Response:
SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which name has the source apoelfc.com.cy and a type of transfer?

### Context:
CREATE TABLE table_name_94 (name VARCHAR, source VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_94 WHERE source = "apoelfc.com.cy" AND type = "transfer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 music genre/style in which the lyrics are a detective story?

### Context:
CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR)

### Response:

### Response:
SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Bronze has a Total of 4, and a Gold smaller than 1?

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

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 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 position of the player from college of virginia

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

### Response:

### Response:
SELECT position FROM table_name_96 WHERE college = "virginia"</s>


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

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

### Response:

### Response:
SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2012 Employees (Total) when the rank (2012) is 7?

### Context:
CREATE TABLE table_name_63 (rank__2012_ VARCHAR)

### Response:

### Response:
SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?

### Context:
CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different countries did the champion Se Ri Pak (2) represent?

### Context:
CREATE TABLE table_229059_2 (country VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT COUNT(country) FROM table_229059_2 WHERE champion = "Se Ri Pak (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:
Wat is the tax source system code and master customer id of the taxes related to each parking fine id?

### Context:
CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)

### Response:

### Response:
SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What California city has an active status and a greek designation of established colony?

### Context:
CREATE TABLE table_name_57 (city VARCHAR, greek_designation VARCHAR, status VARCHAR, us_state_district VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_57 WHERE status = "active" AND us_state_district = "california" AND greek_designation = "established colony"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 strike rate when there are 17 wickets?

### Context:
CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR)

### Response:

### Response:
SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2000-2001 Team with a Jersey # that is 19?

### Context:
CREATE TABLE table_name_15 (jersey__number VARCHAR)

### Response:

### Response:
SELECT 2000 AS _2001_team FROM table_name_15 WHERE jersey__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 2007 result when the 2010 result was 2r, at the US Open?

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

### Response:

### Response:
SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the average pct for George Felton when he had losses greater than 7?

### Context:
CREATE TABLE table_name_4 (pct INTEGER, lost VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = "george felton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 which tournaments was the score 135 (-7)?

### Context:
CREATE TABLE table_11622829_1 (tournament VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_11622829_1 WHERE score = "135 (-7)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Matches, when Year is "2003"?

### Context:
CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT matches FROM table_name_72 WHERE year = "2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the perpetrator with the biggest weight.

### Context:
CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)

### Response:

### Response:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?

### Context:
CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)

### Response:

### Response:
SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 id and trade name of the medicines can interact with at least 3 enzymes?

### Context:
CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)

### Response:

### Response:
SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE RESULT WITH FILM LAKE OF TEARS?

### Context:
CREATE TABLE table_name_28 (result VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_28 WHERE film_title_used_in_nomination = "lake of tears"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Score, when Country is "United States", and when Player is "Lee Trevino"?

### Context:
CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wednesday has a Monday of 月曜日 getsuyōbi?

### Context:
CREATE TABLE table_name_46 (wednesday VARCHAR, monday VARCHAR)

### Response:

### Response:
SELECT wednesday FROM table_name_46 WHERE monday = "月曜日 getsuyōbi"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?

### Context:
CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)

### Response:

### Response:
SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday?

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

### Response:

### Response:
SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 leader at the summit earlier than 1956, when Carcassonne shows for finish?

### Context:
CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cuts made has a Tournament of totals, and Wins smaller than 11?

### Context:
CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponents conference has the result L, 62-10?

### Context:
CREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT opponents_conference FROM table_26240481_1 WHERE result = "L, 62-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 launched date of the destroyer completed 25 February 1936?

### Context:
CREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_13 WHERE completed = "25 february 1936"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percentage when the state delegate is 1662?

### Context:
CREATE TABLE table_16186152_1 (percentage VARCHAR, state_delegate VARCHAR)

### Response:

### Response:
SELECT percentage FROM table_16186152_1 WHERE state_delegate = 1662</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the gtc winners for pole position no. 21 team modena

### Context:
CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)

### Response:

### Response:
SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418?

### Context:
CREATE TABLE table_name_98 (ave__no INTEGER, name VARCHAR, height__m_ VARCHAR)

### Response:

### Response:
SELECT SUM(ave__no) FROM table_name_98 WHERE name = "albula alps" AND height__m_ > 3418</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 phone number of employees whose salary is in the range of 8000 and 12000?

### Context:
CREATE TABLE employees (phone_number VARCHAR, salary INTEGER)

### Response:

### Response:
SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Gold, when Silver is 2, and when Total is less than 7?

### Context:
CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many reserves were established on 19740329 29.03.1974?

### Context:
CREATE TABLE table_26013618_1 (nsg_nr VARCHAR, date_established VARCHAR)

### Response:

### Response:
SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE date_established = "19740329 29.03.1974"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the driver of the Chevrolet engine that is sponsored by godaddy.com?

### Context:
CREATE TABLE table_2503102_1 (driver_s_ VARCHAR, engine VARCHAR, car_sponsor_s_ VARCHAR)

### Response:

### Response:
SELECT driver_s_ FROM table_2503102_1 WHERE engine = "Chevrolet" AND car_sponsor_s_ = "GoDaddy.com"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 built michael schumacher's car that went under 31 laps?

### Context:
CREATE TABLE table_name_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the open 1st viii with u15 4th iv being gt

### Context:
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR)

### Response:

### Response:
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the line 1 of addresses shared by some students and some teachers?

### Context:
CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)

### Response:

### Response:
SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of laps for grid 8?

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

### Response:

### Response:
SELECT AVG(laps) FROM table_name_69 WHERE grid = 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the earliest week with a game at the Braves Field on October 2, 1932?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_78 WHERE game_site = "braves field" AND date = "october 2, 1932"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 To par of the T4 Place Player with a Score of 72-69-73=214?

### Context:
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_63 WHERE place = "t4" AND score = 72 - 69 - 73 = 214</s>


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

### Context:
CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT pos FROM table_name_31 WHERE driver = "stacy compton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 low point total when there are over 5 games?

### Context:
CREATE TABLE table_name_56 (points INTEGER, games INTEGER)

### Response:

### Response:
SELECT MIN(points) FROM table_name_56 WHERE games > 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 2003 value with 1r in 2009 at the Australian Open?

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

### Response:

### Response:
SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the 2011 for tokyo tournament

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

### Response:

### Response:
SELECT 2011 FROM table_name_62 WHERE tournament = "tokyo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Place that has a Date of 22 august 2004?

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

### Response:

### Response:
SELECT place FROM table_name_92 WHERE date = "22 august 2004"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?

### Context:
CREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_50 WHERE pole_position = "jacky ickx" AND race = "canadian grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Player has a Round larger than 5, and a Position of (g)?

### Context:
CREATE TABLE table_name_1 (player VARCHAR, round VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_1 WHERE round > 5 AND position = "(g)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Run 3, when Team is United States (USA) USA I?

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

### Response:

### Response:
SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the score for attendance of 13,617

### Context:
CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_63 WHERE attendance = "13,617"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the Position is Running Back what is the Total number of Pick #?

### Context:
CREATE TABLE table_name_84 (pick__number VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_name_84 WHERE position = "running 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:
when is the hire date for those employees whose first name does not containing the letter M?

### Context:
CREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR)

### Response:

### Response:
SELECT hire_date FROM employees WHERE NOT first_name LIKE '%M%'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country does Jeff Sluman play for?

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

### Response:

### Response:
SELECT country FROM table_name_52 WHERE player = "jeff sluman"</s>


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

### Context:
CREATE TABLE table_27871460_2 (channel_number INTEGER)

### Response:

### Response:
SELECT MAX(channel_number) FROM table_27871460_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 games were played at Cleveland Stadium?

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

### Response:

### Response:
SELECT COUNT(date) FROM table_16729063_2 WHERE game_site = "Cleveland Stadium"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 seaosn had a player of rohan ricketts?

### Context:
CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Airport's ICAO is ENTO?

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

### Response:

### Response:
SELECT airport FROM table_name_23 WHERE icao = "ento"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What score in final has boris becker as the champion?

### Context:
CREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT score_in_final FROM table_name_54 WHERE champion = "boris becker"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the away team score when Home team is fitzroy?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is them two (the two) when you and i is ngœbalngu?

### Context:
CREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, you_and_i VARCHAR)

### Response:

### Response:
SELECT them_two__the_two_ FROM table_1015914_24 WHERE you_and_i = "ngœbalngu"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the power of the unit built after 1995?

### Context:
CREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER)

### Response:

### Response:
SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when Spennymoor United as the away team?

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

### Response:

### Response:
SELECT score FROM table_name_67 WHERE away_team = "spennymoor 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:
How many Total medals did the Nation the got 0 Bronze medals receive?

### Context:
CREATE TABLE table_name_47 (total INTEGER, bronze INTEGER)

### Response:

### Response:
SELECT AVG(total) FROM table_name_47 WHERE bronze < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the kono with a bonthe greater than 21,238?

### Context:
CREATE TABLE table_name_38 (kono INTEGER, bonthe INTEGER)

### Response:

### Response:
SELECT SUM(kono) FROM table_name_38 WHERE bonthe > 21 OFFSET 238</s>


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

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

### Response:

### Response:
SELECT visitor FROM table_name_49 WHERE record = "7–5–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:
Show the name of the shop that has the most kind of devices in stock.

### Context:
CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR)

### Response:

### Response:
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_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 Catalog has a label of Alfa records and a date of November 21, 1980?

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

### Response:

### Response:
SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was Tampa Bay's Week 4 game?

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

### Response:

### Response:
SELECT date FROM table_name_2 WHERE week = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?

### Context:
CREATE TABLE table_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the score with record of 17-27

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

### Response:

### Response:
SELECT score FROM table_name_6 WHERE record = "17-27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1?

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

### Response:

### Response:
SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number of teams where conmebol 1996 did not qualify?

### Context:
CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR)

### Response:

### Response:
SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is game 9's record?

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

### Response:

### Response:
SELECT record FROM table_name_36 WHERE game = 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 Region of the release with Catalog number 3 12046 2?

### Context:
CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 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 two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]?

### Context:
CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)

### Response:

### Response:
SELECT two_mora_word FROM table_name_53 WHERE NOT accented_mora = "low tone" AND gloss = "/˩kusuꜜri/ [kɯ̀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 region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?

### Context:
CREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)

### Response:

### Response:
SELECT region_1__can_ FROM table_240936_2 WHERE region_1__us_ = "January 16, 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:
Name the least internal transfers

### Context:
CREATE TABLE table_17650725_1 (internal_transfers INTEGER)

### Response:

### Response:
SELECT MIN(internal_transfers) FROM table_17650725_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 school did Alexander Korobolin go to?

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

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = "alexander korobolin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the player from Maylands, Western Australia?

### Context:
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which tournament had a score of  6–7 (0–7) , 6–2, 4–6?

### Context:
CREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–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 unit is in Mongolia?

### Context:
CREATE TABLE table_name_29 (unit VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT unit FROM table_name_29 WHERE location = "mongolia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4?

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

### Response:

### Response:
SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the earliest game with a record of 16–4–3?

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

### Response:

### Response:
SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What number is the player that played 1998-2001

### Context:
CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)

### Response:

### Response:
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tyre has 1 round with Dave Charlton driving?

### Context:
CREATE TABLE table_name_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_91 WHERE rounds = "1" AND driver = "dave charlton"</s>


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

### Context:
CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the title with presentation of credentials of april 10, 1907

### Context:
CREATE TABLE table_name_62 (title VARCHAR, presentation_of_credentials VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_62 WHERE presentation_of_credentials = "april 10, 1907"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?

### Context:
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the call sign is DXYR, what is the branding?

### Context:
CREATE TABLE table_19874169_3 (branding VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT branding FROM table_19874169_3 WHERE callsign = "DXYR"</s>


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

### Context:
CREATE TABLE table_name_44 (class VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_44 WHERE call_sign = "wokg"</s>


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

### Context:
CREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)

### Response:

### Response:
SELECT part_number_s_ FROM table_name_85 WHERE turbo = "low power"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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, when Wins is "16", and when Against is less than 772?

### Context:
CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the season # when ther are 5.3 million U.S viewers?

### Context:
CREATE TABLE table_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number of smallpox when typhoid fever is 293

### Context:
CREATE TABLE table_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR)

### Response:

### Response:
SELECT MAX(smallpox) FROM table_1007688_1 WHERE typhoid_fever = 293</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the player with a score less than 72 and a to par of +1?

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

### Response:

### Response:
SELECT player FROM table_name_62 WHERE score < 72 AND to_par = "+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 minimum snatch score?

### Context:
CREATE TABLE body_builder (snatch INTEGER)

### Response:

### Response:
SELECT MIN(snatch) FROM body_builder</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which venue had an against smaller than 7?

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

### Response:

### Response:
SELECT venue FROM table_name_15 WHERE against < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605?

### Context:
CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR)

### Response:

### Response:
SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Call Sign that has Tail Code ed?

### Context:
CREATE TABLE table_name_80 (call_sign VARCHAR, tail_code VARCHAR)

### Response:

### Response:
SELECT call_sign FROM table_name_80 WHERE tail_code = "ed"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years have a Title of kriegspiel?

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

### Response:

### Response:
SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 airlines have the star alliance and are in brazil?

### Context:
CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year had a title of Die Shaolin Affen EP and EP as the type?

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

### Response:

### Response:
SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?

### Context:
CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest issue Arnie Kogen wrote for in December 1964?

### Context:
CREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT MIN(issue) FROM table_name_12 WHERE writer = "arnie kogen" AND date = "december 1964"</s>


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

### Context:
CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)

### Response:

### Response:
SELECT marriage FROM table_name_68 WHERE became_duchess = "12 december 1666"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 copies per particle does the protein nsp2 have?

### Context:
CREATE TABLE table_name_46 (copies_per_particle VARCHAR, protein VARCHAR)

### Response:

### Response:
SELECT copies_per_particle FROM table_name_46 WHERE protein = "nsp2"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 film that Raymond Massey was nominated for?

### Context:
CREATE TABLE table_name_94 (film VARCHAR, nominee VARCHAR)

### Response:

### Response:
SELECT film FROM table_name_94 WHERE nominee = "raymond massey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the incoming head coach is Carlos Azenha, what is the date of vacancy?

### Context:
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)

### Response:

### Response:
SELECT date_of_vacancy FROM table_27133147_3 WHERE incoming_head_coach = "Carlos Azenha"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many teams are listed for February 18?

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

### Response:

### Response:
SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the result for 1998

### Context:
CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT result FROM table_25030512_24 WHERE first_elected = "1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which race has a position of 3rd and a speed of 123.628?

### Context:
CREATE TABLE table_name_90 (race VARCHAR, position VARCHAR, speed VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_90 WHERE position = "3rd" AND speed = "123.628"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What comments are made in 1875?

### Context:
CREATE TABLE table_name_64 (comments VARCHAR, year_made VARCHAR)

### Response:

### Response:
SELECT comments FROM table_name_64 WHERE year_made = "1875"</s>


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

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

### Response:

### Response:
SELECT team FROM table_name_90 WHERE game = 77</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 dates of successor formal installation when the vacator was Joshua Clayton ( F )?

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

### Response:

### Response:
SELECT COUNT(date_of_successors_formal_installation) FROM table_224839_3 WHERE vacator = "Joshua Clayton ( F )"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total gold in Norway with more than 1 bronze?

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

### Response:

### Response:
SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date were the Ottawa Swans the away team?

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

### Response:

### Response:
SELECT date FROM table_name_25 WHERE away = "ottawa swans"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What location did the event kotc: mortal sins take place?

### Context:
CREATE TABLE table_name_30 (location VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If second leg is Newell's Old Boys, what name is first leg?

### Context:
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Newell's Old Boys"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival?

### Context:
CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)

### Response:

### Response:
SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449</s>


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

### Context:
CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_81 WHERE grid = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location for the office whose term ended December 2, 1976

### Context:
CREATE TABLE table_1602620_1 (location VARCHAR, term_ended VARCHAR)

### Response:

### Response:
SELECT location FROM table_1602620_1 WHERE term_ended = "December 2, 1976"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many grids for heinz-harald frentzen with 61 laps?

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

### Response:

### Response:
SELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND driver = "heinz-harald frentzen"</s>


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

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

### Response:

### Response:
SELECT crowd FROM table_name_28 WHERE home_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many constructions has a Wheel arrange- ment of 4-4-0?

### Context:
CREATE TABLE table_name_7 (construct__tion_no INTEGER, wheel_arrange__ment VARCHAR)

### Response:

### Response:
SELECT SUM(construct__tion_no) FROM table_name_7 WHERE wheel_arrange__ment = "4-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:
Name the Engine for model CF350.

### Context:
CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR)

### Response:

### Response:
SELECT engine FROM table_20866024_4 WHERE model_type = "CF350"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 WEEK WITH A DATE OF JULY 25?

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

### Response:

### Response:
SELECT AVG(week) FROM table_name_5 WHERE date = "july 25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many viewers did the episode directed by David Nutter draw in?

### Context:
CREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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  roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?

### Context:
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent when there was 117 rushing yards?

### Context:
CREATE TABLE table_26108103_2 (opponent VARCHAR, rushing_yards VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 117</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the least tonnage grt when the nationality is british and the ship is kidalton?

### Context:
CREATE TABLE table_name_84 (tonnage_grt INTEGER, nationality VARCHAR, ship VARCHAR)

### Response:

### Response:
SELECT MIN(tonnage_grt) FROM table_name_84 WHERE nationality = "british" AND ship = "kidalton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want to know the method for opponent of jerry bohlander

### Context:
CREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?

### Context:
CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morgan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Ceased to be Duke of Girona THAT HAS PETER IV?

### Context:
CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)

### Response:

### Response:
SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv"</s>


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

### Context:
CREATE TABLE table_name_56 (shts INTEGER, goalkeeper VARCHAR)

### Response:

### Response:
SELECT MAX(shts) FROM table_name_56 WHERE goalkeeper = "kasey keller"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which party did Thomas L. Young belong to?

### Context:
CREATE TABLE table_name_58 (party VARCHAR, representative VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_58 WHERE representative = "thomas l. young"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2007 value for the 2010 wta premier 5 tournaments?

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

### Response:

### Response:
SELECT 2007 FROM table_name_12 WHERE 2010 = "wta premier 5 tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which is the earliest founded day school to have entered the competition after 1958?

### Context:
CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)

### Response:

### Response:
SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Corey Maggette from the United States plays what position?

### Context:
CREATE TABLE table_name_70 (position VARCHAR, nationality VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_70 WHERE nationality = "united states" AND player = "corey maggette"</s>


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

### Context:
CREATE TABLE table_1705429_1 (no INTEGER, constituency VARCHAR)

### Response:

### Response:
SELECT MAX(no) FROM table_1705429_1 WHERE constituency = "Leitrim"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent in the final on 5 July 1992?

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

### Response:

### Response:
SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992"</s>


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

### Context:
CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What lifespan has a majors greater than 1, and fuzzy zoeller as the name?

### Context:
CREATE TABLE table_name_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = "fuzzy zoeller"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is home team Chelsea's Tie no?

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

### Response:

### Response:
SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when playing Milwaukee?

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

### Response:

### Response:
SELECT score FROM table_23186738_10 WHERE team = "Milwaukee"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 match report for July 10, 2005?

### Context:
CREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT match_report FROM table_name_91 WHERE date = "july 10, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the attendance with record of 34-51

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

### Response:

### Response:
SELECT attendance FROM table_name_61 WHERE record = "34-51"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 absorption in nm does the orange dye have?

### Context:
CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR)

### Response:

### Response:
SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Pole smaller than 0 had what lowest podium?

### Context:
CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER)

### Response:

### Response:
SELECT MIN(podium) FROM table_name_92 WHERE pole < 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 unformatted capacity per side if the size is 8in?

### Context:
CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR)

### Response:

### Response:
SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?

### Context:
CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 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 maximum sellouts for the 2008 year, with less than 161,369 total for year?

### Context:
CREATE TABLE table_name_89 (sellouts INTEGER, year VARCHAR, total_for_year VARCHAR)

### Response:

### Response:
SELECT MAX(sellouts) FROM table_name_89 WHERE year = 2008 AND total_for_year < 161 OFFSET 369</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?

### Context:
CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR)

### Response:

### Response:
SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year is Japan the country?

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

### Response:

### Response:
SELECT year FROM table_12243817_1 WHERE country = "Japan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When is the date of vacancy of Davy Fitzgerald being a replacement?

### Context:
CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald"</s>


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

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

### Response:

### Response:
SELECT tournament FROM table_name_6 WHERE 1992 = "a"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which years did raymond floyd win?

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

### Response:

### Response:
SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Swimming has a Total larger than 35, and a Volleyball of 1?

### Context:
CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR)

### Response:

### Response:
SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1"</s>