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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?

### Context:
CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteban Guerrieri" AND fastest_lap = "Josef Newgarden" AND rd = "8A"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Tournament of the french open had 2004 that has a 1998 of 2r?

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

### Response:

### Response:
SELECT 2004 FROM table_name_58 WHERE 1998 = "2r" AND tournament = "french open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has a Record of 3-4?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what tournament was there an extra of 400 m hurdles?

### Context:
CREATE TABLE table_name_31 (tournament VARCHAR, extra VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_31 WHERE extra = "400 m hurdles"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all directors from episodes with viewership of 1.945 million.

### Context:
CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR)

### Response:

### Response:
SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1st leg where Team 1 is C.D. Plaza Amador?

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

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = "c.d. plaza amador"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date when the attendance was 73,529?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 competitoin where the opponent is sheffield scimitars?

### Context:
CREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT competition FROM table_17120964_9 WHERE opponent = "Sheffield Scimitars"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What wrestling event was participated in during the 2008 Beijing games?

### Context:
CREATE TABLE table_name_28 (event VARCHAR, games VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"</s>


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

### Context:
CREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_63 WHERE pick__number = 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:
Who did the high rebounds for the team Minnesota?

### Context:
CREATE TABLE table_27734769_9 (high_rebounds VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_27734769_9 WHERE team = "Minnesota"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time when his opponent was Rudy Martin?

### Context:
CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_5 WHERE opponent = "rudy martin"</s>


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

### Context:
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)

### Response:

### Response:
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What opposition do 31.1% of Social Democrats have?

### Context:
CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)

### Response:

### Response:
SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = "31.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 was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?

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

### Response:

### Response:
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.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:
Name the replaced by for august 9

### Context:
CREATE TABLE table_25361570_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR, date_of_appointment VARCHAR)

### Response:

### Response:
SELECT replaced_by FROM table_25361570_2 WHERE date_of_vacancy = "August 9" AND date_of_appointment = "August 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 game was played at Omni Coliseum with a w 105-95 score?

### Context:
CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who organized Alston Church?

### Context:
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)

### Response:

### Response:
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue had a draw?

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

### Response:

### Response:
SELECT venue FROM table_name_77 WHERE result = "draw"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 start station had the most trips starting from August? Give me the name and id of the station.

### Context:
CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)

### Response:

### Response:
SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Release date has a Director of tom palmer, and a Production Num larger than 5956?

### Context:
CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 organisation id with the maximum outcome count, and the count.

### Context:
CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR)

### Response:

### Response:
SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_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:
Find the first name and gender of the student who has allergy to milk but not cat.

### Context:
CREATE TABLE Student (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Has_allergy (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR)

### Response:

### Response:
SELECT fname, sex FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" EXCEPT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat")</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 blocks are there when the rebounds are fewer than 5.2?

### Context:
CREATE TABLE table_name_19 (blocks VARCHAR, rebounds INTEGER)

### Response:

### Response:
SELECT COUNT(blocks) FROM table_name_19 WHERE rebounds < 5.2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What type of transfer window is winter in Ita?

### Context:
CREATE TABLE table_name_8 (type VARCHAR, transfer_window VARCHAR, nat VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_8 WHERE transfer_window = "winter" AND nat = "ita"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team 2 for team 1 being la nuova piovese (veneto a)

### Context:
CREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)

### Response:

### Response:
SELECT team_2 FROM table_name_46 WHERE team_1 = "la nuova piovese (veneto a)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the term for hometown Ester Creek?

### Context:
CREATE TABLE table_name_55 (term VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT term FROM table_name_55 WHERE hometown = "ester creek"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What player has a round larger than 2, and position of (d)?

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

### Response:

### Response:
SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Money ( $ ), when Score is "69-71-70-74=284"?

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

### Response:

### Response:
SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 million viewers watched the episode that aired on March 28, 2010?

### Context:
CREATE TABLE table_23397386_2 (viewers__millions_ VARCHAR, airdate VARCHAR)

### Response:

### Response:
SELECT viewers__millions_ FROM table_23397386_2 WHERE airdate = "March 28, 2010"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 franklin of class aa, which school years does this occur?

### Context:
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR)

### Response:

### Response:
SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Loss has a Name of bullock, chris, and a Long smaller than 36?

### Context:
CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)

### Response:

### Response:
SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?

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

### Response:

### Response:
SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the episode number of the episode whose production code is 226407?

### Context:
CREATE TABLE table_27714985_1 (no_s__in_season INTEGER, production_code_s_ VARCHAR)

### Response:

### Response:
SELECT MIN(no_s__in_season) FROM table_27714985_1 WHERE production_code_s_ = 226407</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 area for locations named Centreville having populations over 532?

### Context:
CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR)

### Response:

### Response:
SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Place of t6, and a Player of raymond floyd?

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

### Response:

### Response:
SELECT score FROM table_name_43 WHERE place = "t6" AND 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 Frequency has a Model Number of c3 1.4a?

### Context:
CREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?

### Context:
CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR)

### Response:

### Response:
SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 enrollment when founded after 1809 and the institution is university of michigan?

### Context:
CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum points were there when the left tackle was played and there were 5 extra points?

### Context:
CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 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's the shuttle with primary payload(s) being united states microgravity laboratory-1

### Context:
CREATE TABLE table_14118521_1 (shuttle VARCHAR, primary_payload_s_ VARCHAR)

### Response:

### Response:
SELECT shuttle FROM table_14118521_1 WHERE primary_payload_s_ = "United States Microgravity Laboratory-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 type of Kuang-Hsing?

### Context:
CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What myspace has linkedin as the site, with an orkit greater than 3?

### Context:
CREATE TABLE table_name_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR)

### Response:

### Response:
SELECT AVG(myspace) FROM table_name_62 WHERE site = "linkedin" AND orkut > 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the original title of 3.19?

### Context:
CREATE TABLE table_20124413_3 (original_title VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT original_title FROM table_20124413_3 WHERE production_code = "3.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:
Which tournament had a partner of Erika Sema?

### Context:
CREATE TABLE table_name_9 (tournament VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_9 WHERE partner = "erika sema"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the series number for Season #18?

### Context:
CREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR)

### Response:

### Response:
SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the US release date?

### Context:
CREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_5 WHERE location = "us"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2011 population if the headquarters is Chittorgarh?

### Context:
CREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR)

### Response:

### Response:
SELECT population__2011_ FROM table_2168295_1 WHERE headquarters = "Chittorgarh"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 for the regional county municipality of d'autray and a code less than 52017?

### Context:
CREATE TABLE table_name_9 (name VARCHAR, regional_county_municipality VARCHAR, code VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_9 WHERE regional_county_municipality = "d'autray" AND code < 52017</s>


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

### Context:
CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic"</s>


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

### Context:
CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR)

### Response:

### Response:
SELECT power FROM table_name_40 WHERE years = "1975-84"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Proposed date of the entry that has a CERCLIS ID of al0001058056?

### Context:
CREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR)

### Response:

### Response:
SELECT proposed FROM table_name_56 WHERE cerclis_id = "al0001058056"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?

### Context:
CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)

### Response:

### Response:
SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the race called by Marshall Cassidy, who was the host?

### Context:
CREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR)

### Response:

### Response:
SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the record for milwaukee

### Context:
CREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT record FROM table_23248940_7 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 country is Jack Nicklaus from?

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

### Response:

### Response:
SELECT country FROM table_name_17 WHERE player = "jack nicklaus"</s>


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

### Context:
CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the build date of the model with a PRR Class of brs24?

### Context:
CREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR)

### Response:

### Response:
SELECT build_date FROM table_name_61 WHERE prr_class = "brs24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?

### Context:
CREATE TABLE table_name_39 (_percentage_buddhist VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT _percentage_buddhist FROM table_name_39 WHERE population = "~2.6 million (2.6million)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?

### Context:
CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)

### Response:

### Response:
SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_43 WHERE date = "22 january 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score for the home team when the away team was Sydney?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue where St Kilda was the opposing away team

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

### Response:

### Response:
SELECT venue FROM table_name_76 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:
What's the highest pick for SS position?

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

### Response:

### Response:
SELECT MAX(pick) FROM table_name_76 WHERE position = "ss"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the episode title on original air date of September 30, 2007?

### Context:
CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)

### Response:

### Response:
SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the lowest attendance was the opponent was chelsea?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "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 is the lowest number of goals with 8 (2) w-leagues?

### Context:
CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)

### Response:

### Response:
SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which competition was held on 14 November 2012?

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

### Response:

### Response:
SELECT competition FROM table_name_41 WHERE date = "14 november 2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How tall is the freshman guard Cetera Degraffenreid?

### Context:
CREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT height FROM table_name_56 WHERE position = "guard" AND year = "freshman" AND name = "cetera degraffenreid"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?

### Context:
CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)

### Response:

### Response:
SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the original airdate when the season number is 4?

### Context:
CREATE TABLE table_15824796_5 (original_air_date VARCHAR, season__number VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_15824796_5 WHERE season__number = 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 is the lowest Rank for a Guam Player?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_77 WHERE country = "guam"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest attendance for a game where Geelong was the home team?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play?

### Context:
CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Attendance of the game on December 12, 2004?

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

### Response:

### Response:
SELECT attendance FROM table_name_84 WHERE date = "december 12, 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:
Name the opponent when the result is w 16-15 and has home/away of home

### Context:
CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and the Dance was the Quickstep?

### Context:
CREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR)

### Response:

### Response:
SELECT best_dancer FROM table_name_47 WHERE worst_dancer = "jerry springer" AND best_score = 29 AND dance = "quickstep"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws?

### Context:
CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 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 High Assists, when Date is "March 10"?

### Context:
CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_name_93 WHERE date = "march 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 club has more than 35 goals, more than 7 draws, and 20 losses?

### Context:
CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score on October 29?

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

### Response:

### Response:
SELECT score FROM table_23308178_4 WHERE date = "October 29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni?

### Context:
CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND general_classification = "giuseppe saronni"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names of wines that are more expensive then all wines made in the year 2006?

### Context:
CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR)

### Response:

### Response:
SELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The head coach, steve radoslavic, is related to which websites?

### Context:
CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR)

### Response:

### Response:
SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the game played on April 16 with Philadelphia as home team?

### Context:
CREATE TABLE table_name_64 (result VARCHAR, home_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_64 WHERE home_team = "philadelphia" AND date = "april 16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the theme for a series of season 3 with smaller than 148 days?

### Context:
CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT theme FROM table_name_6 WHERE days < 148 AND series = "season 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:
Find the saving balance of the account with the highest checking balance.

### Context:
CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (custid VARCHAR)

### Response:

### Response:
SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance 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 were the number of sales before 1991?

### Context:
CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER)

### Response:

### Response:
SELECT sales FROM table_name_59 WHERE year < 1991</s>


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

### Context:
CREATE TABLE table_name_2 (flight_day VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT flight_day FROM table_name_2 WHERE artist = "u2"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a location of memorial stadium and a time of 2:27?

### Context:
CREATE TABLE table_name_95 (game VARCHAR, location VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT COUNT(game) FROM table_name_95 WHERE location = "memorial stadium" AND time = "2:27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time for when cornelio velasquez was the jockey?

### Context:
CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Race 2, when Race 4 is 28?

### Context:
CREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR)

### Response:

### Response:
SELECT race_2 FROM table_name_40 WHERE race_4 = "28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the name of tracks belongs to genre Rock or genre Jazz.

### Context:
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)

### Response:

### Response:
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" OR T1.name = "Jazz"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the league for conference finals

### Context:
CREATE TABLE table_2553861_1 (league VARCHAR, playoffs VARCHAR)

### Response:

### Response:
SELECT league FROM table_2553861_1 WHERE playoffs = "Conference Finals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team did Russ Wiechnik, on the centre position, come from?

### Context:
CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team FROM table_1965650_11 WHERE position = "Centre" AND player = "Russ Wiechnik"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank associated with a Height feet / m of 427 / 130?

### Context:
CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130"</s>


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

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_98 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 are the notes for 2005?

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

### Response:

### Response:
SELECT notes FROM table_name_36 WHERE year = 2005</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?

### Context:
CREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = "great mountain"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the socked when the turbo is 8/8/10/11?

### Context:
CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR)

### Response:

### Response:
SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/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's the distance of the course of stage 4?

### Context:
CREATE TABLE table_name_73 (distance VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT distance FROM table_name_73 WHERE stage = "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:
How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá?

### Context:
CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)

### Response:

### Response:
SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá"</s>


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

### Context:
CREATE TABLE customers (state VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM customers WHERE state = "CA"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the year of the pig theme?

### Context:
CREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_43 WHERE theme = "year of the pig"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 class that team Honda Britain was in with points higher than 0?

### Context:
CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_34 WHERE team = "honda britain" AND points > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many cuts did he make at the PGA championship in 3 events?

### Context:
CREATE TABLE table_name_36 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)

### Response:

### Response:
SELECT MAX(cuts_made) FROM table_name_36 WHERE tournament = "pga championship" AND events > 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:
Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?

### Context:
CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_19 WHERE bldr = "mcw&f" AND year < 1927 AND lt_nos = "9820-9821"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?

### Context:
CREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR)

### Response:

### Response:
SELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = "wake forest (3-1)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Kickoff (ET) has a Result of w 34–23?

### Context:
CREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT kickoff__et_ FROM table_name_67 WHERE result = "w 34–23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the score in the loss to tapani (0-1)?

### Context:
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_39 WHERE loss = "tapani (0-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 date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?

### Context:
CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)

### Response:

### Response:
SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the length of disc 67?

### Context:
CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)

### Response:

### Response:
SELECT length FROM table_name_13 WHERE disc = "67"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What teams does jim mcinally manage?

### Context:
CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score did the match against Marcos Daniel end?

### Context:
CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 density of alessandria where the area is bigger than 16.02 and altitude is less than 116?

### Context:
CREATE TABLE table_name_39 (density__inhabitants_km_2__ INTEGER, city VARCHAR, area__km_2__ VARCHAR, altitude__mslm_ VARCHAR)

### Response:

### Response:
SELECT MIN(density__inhabitants_km_2__) FROM table_name_39 WHERE area__km_2__ > 16.02 AND altitude__mslm_ < 116 AND city = "alessandria"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The 2nd leg is what for the Atlético Madrid as Team 1?

### Context:
CREATE TABLE table_name_68 (team_1 VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid"</s>


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

### Context:
CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder"</s>


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

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

### Response:

### Response:
SELECT COUNT(score) FROM table_13619027_7 WHERE date = "January 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 games have more than 1 draw?

### Context:
CREATE TABLE table_name_22 (games INTEGER, drawn INTEGER)

### Response:

### Response:
SELECT AVG(games) FROM table_name_22 WHERE drawn > 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 team was the home team when Colorado was the visitor and the record became 22–13–6?

### Context:
CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?

### Context:
CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r"</s>


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

### Context:
CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)

### Response:

### Response:
SELECT MIN(overall) FROM table_name_11 WHERE college = "washington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which distinct years was the governor "Eliot Spitzer"?

### Context:
CREATE TABLE party (YEAR VARCHAR, Governor VARCHAR)

### Response:

### Response:
SELECT DISTINCT YEAR FROM party WHERE Governor = "Eliot Spitzer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 expenditures on R&D for Croatia after 2007?

### Context:
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 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 results for steve millen

### Context:
CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR)

### Response:

### Response:
SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the title of the episode daphne field wrote?

### Context:
CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 plays Overton Moyle in casino theatre 1888 & savoy theatre 1906?

### Context:
CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR)

### Response:

### Response:
SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Package/Option, when Television Service is Sky Inside?

### Context:
CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has 1 for the game?

### Context:
CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_84 WHERE game = 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won the French Open in 1999?

### Context:
CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)

### Response:

### Response:
SELECT player FROM table_197638_6 WHERE french_open = 1999</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away team at Lake Oval?

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

### Response:

### Response:
SELECT away_team FROM table_name_36 WHERE venue = "lake oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When Marlene was nominated for the Olivier Award, what was the result?

### Context:
CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against?

### Context:
CREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)

### Response:

### Response:
SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did soul train music awards return?

### Context:
CREATE TABLE table_name_49 (returning VARCHAR, show VARCHAR)

### Response:

### Response:
SELECT returning FROM table_name_49 WHERE show = "soul train music awards"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What time is MDT when EDT is set and PDT is 6:00 a.m.?

### Context:
CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)

### Response:

### Response:
SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = "set" AND pdt___7_utc_ = "6:00 a.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:
Which Set 1 has a Set 2 of 26–24?

### Context:
CREATE TABLE table_name_77 (set_1 VARCHAR, set_2 VARCHAR)

### Response:

### Response:
SELECT set_1 FROM table_name_77 WHERE set_2 = "26–24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the episode # of the episode that originally aired on January 21, 2001?

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

### Response:

### Response:
SELECT episode__number FROM table_name_95 WHERE original_airdate = "january 21, 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 are the wickets when there are 451 runs and india is the fielding team?

### Context:
CREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR)

### Response:

### Response:
SELECT wicket FROM table_1670921_2 WHERE runs = "451" AND fielding_team = "India"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 goals against for positions higher than 14, with fewer than 30 played?

### Context:
CREATE TABLE table_name_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the M809 seris with M939 series of M931/932

### Context:
CREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)

### Response:

### Response:
SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 october 15, 2004 catalogue

### Context:
CREATE TABLE table_name_48 (catalogue VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT catalogue FROM table_name_48 WHERE date = "october 15, 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:
What lane did the rank 3 swimmer use?

### Context:
CREATE TABLE table_name_57 (lane INTEGER, rank VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_57 WHERE rank = 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 socket when the sSpec number is standard power?

### Context:
CREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR)

### Response:

### Response:
SELECT socket FROM table_name_96 WHERE sspec_number = "standard 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 episode number in the season is episode 24 in the series?

### Context:
CREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team had $15,785 in winnings?

### Context:
CREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)

### Response:

### Response:
SELECT team_s_ FROM table_26609690_1 WHERE winnings = "$15,785"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The game played on 6 December 1986 had what score?

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

### Response:

### Response:
SELECT score FROM table_name_12 WHERE date = "6 december 1986"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 open date of open year of the shop named "Apple".

### Context:
CREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR)

### Response:

### Response:
SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = "Apple"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the game at Essendon?

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

### Response:

### Response:
SELECT date FROM table_name_83 WHERE away_team = "essendon"</s>


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

### Context:
CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR)

### Response:

### Response:
SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the total number of snatches for clean and jerk more than 132.5 when the total kg was 315 and bodyweight was 68.63

### Context:
CREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)

### Response:

### Response:
SELECT COUNT(snatch) FROM table_name_62 WHERE clean_ & _jerk > 132.5 AND total__kg_ = 315 AND bodyweight = 68.63</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish?

### Context:
CREATE TABLE table_name_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)

### Response:

### Response:
SELECT young_classification FROM table_name_26 WHERE general_classification = "christian vande velde" AND team_classification = "team columbia" AND sprint_classification = "mark cavendish"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 goals with 12 assists, and less than 291 apps?

### Context:
CREATE TABLE table_name_52 (goals INTEGER, assists VARCHAR, apps VARCHAR)

### Response:

### Response:
SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 play by play commentator for the game that has Alan Massengale as Studio Host?

### Context:
CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)

### Response:

### Response:
SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?

### Context:
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the episode number for episode title Leave Takers?

### Context:
CREATE TABLE table_2570269_2 (episode__number VARCHAR, episode_title VARCHAR)

### Response:

### Response:
SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers"</s>


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

### Context:
CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_18862490_2 WHERE year = 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:
When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?

### Context:
CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR)

### Response:

### Response:
SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = "13/17" AND liquidat__°c_ > 283</s>


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

### Context:
CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)

### Response:

### Response:
SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the lowest total of medals won by Croatia?

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

### Response:

### Response:
SELECT MIN(total) FROM table_name_12 WHERE nation = "croatia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the birthdate of Robert Esche?

### Context:
CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT birthdate FROM table_name_39 WHERE name = "robert esche"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the released when the series is sorted 6y/ai?

### Context:
CREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)

### Response:

### Response:
SELECT released FROM table_name_68 WHERE series_sorted = "6y/ai"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 details of the customers who do not have any policies.

### Context:
CREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)

### Response:

### Response:
SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of race time for kevin harvick

### Context:
CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the qual 1 for alex tagliani?

### Context:
CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 current country of location with operational period  of summer of 1941 to 28 june 1944

### Context:
CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)

### Response:

### Response:
SELECT current_country_of_location FROM table_10335_1 WHERE operational = "Summer of 1941 to 28 June 1944"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 detail of the vehicle used in lessons for most of the times?

### Context:
CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)

### Response:

### Response:
SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_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 are the phone numbers of all customers and suppliers.

### Context:
CREATE TABLE suppliers (customer_phone VARCHAR, supplier_phone VARCHAR); CREATE TABLE customers (customer_phone VARCHAR, supplier_phone VARCHAR)

### Response:

### Response:
SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Zoe and Matt's result?

### Context:
CREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)

### Response:

### Response:
SELECT result FROM table_19744915_16 WHERE couple = "Zoe and Matt"</s>


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

### Context:
CREATE TABLE table_name_78 (game INTEGER, team VARCHAR)

### Response:

### Response:
SELECT AVG(game) FROM table_name_78 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's the rank when the obese children and adolescent count is 14.2%?

### Context:
CREATE TABLE table_name_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)

### Response:

### Response:
SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = "14.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 composition of the coin that was issued after 2008, had a mintage larger than 999, and was designed by Jody Broomfield?

### Context:
CREATE TABLE table_name_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = "jody broomfield" AND year > 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the score of the 1st leg when Water Corporation was Team 1?

### Context:
CREATE TABLE table_name_8 (team_1 VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was on the Las Vegas Motor Speedway for 2 hours?

### Context:
CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Place is the highest one that has a Draw larger than 1, and 49 Points?

### Context:
CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the school/country of the player with 337 assists?

### Context:
CREATE TABLE table_name_48 (school_country VARCHAR, asts VARCHAR)

### Response:

### Response:
SELECT school_country FROM table_name_48 WHERE asts = 337</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 millions of viewers were there for number 6?

### Context:
CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)

### Response:

### Response:
SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Inaba's maximum score?

### Context:
CREATE TABLE table_18595004_7 (inaba INTEGER)

### Response:

### Response:
SELECT MAX(inaba) FROM table_18595004_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 Date for the Region of Europe and has the Catalog of 28765 22392 8?

### Context:
CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 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:
Who was the opponent that played on may 12?

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

### Response:

### Response:
SELECT opponent FROM table_name_32 WHERE date = "may 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109?

### Context:
CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the overall of the running back player?

### Context:
CREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT overall FROM table_name_91 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:
What is the time of frida svensson's race that had sa/b under the notes?

### Context:
CREATE TABLE table_name_81 (time VARCHAR, notes VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_81 WHERE notes = "sa/b" AND athlete = "frida svensson"</s>


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

### Context:
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)

### Response:

### Response:
SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?

### Context:
CREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom"</s>