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

### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)

### Response:

### Response:
SELECT country FROM table_2764267_2 WHERE currency = "Yen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the constellation when the right ascension (j2000) is 09h51m54.0s?

### Context:
CREATE TABLE table_name_61 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did the stadium where Bursaspor is the tenant open?

### Context:
CREATE TABLE table_10601843_2 (opening INTEGER, tenant VARCHAR)

### Response:

### Response:
SELECT MIN(opening) FROM table_10601843_2 WHERE tenant = "Bursaspor"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest year in which the result is championship US Open (2)?

### Context:
CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (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 average nominated of the composition nominated by Taioseach with an Industrial and Commercial panel less than 9, an administrative panel greater than 0, a cultural and educational panel greater than 2, and a total less than 29?

### Context:
CREATE TABLE table_name_99 (nominated_by_the_taoiseach INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR, administrative_panel VARCHAR)

### Response:

### Response:
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_99 WHERE industrial_and_commercial_panel < 9 AND administrative_panel > 0 AND cultural_and_educational_panel > 2 AND total < 29</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country placed t8 and scored 71-71-71=213?

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

### Response:

### Response:
SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of all the crowds that watched North Melbourne at home?

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

### Response:

### Response:
SELECT SUM(crowd) FROM table_name_74 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 qualifying end date when the qualifying start date is qualifying start date?

### Context:
CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR)

### Response:

### Response:
SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the engine for year less than 1959 and points more than 4?

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

### Response:

### Response:
SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 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 many millions of viewers watched episode 15?

### Context:
CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)

### Response:

### Response:
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE no_in_season = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11?

### Context:
CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR)

### Response:

### Response:
SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many matches were drawn by a team with 447 points?

### Context:
CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT drawn FROM table_name_1 WHERE points_for = "447"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when the team was @ New Jersey?

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

### Response:

### Response:
SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey"</s>


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

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most recent year that China won a bronze?

### Context:
CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?

### Context:
CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Player that has a To standard of –7?

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

### Response:

### Response:
SELECT player FROM table_name_47 WHERE to_par = "–7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the basketball status for Valparaiso who has an indoor track status of yes?

### Context:
CREATE TABLE table_name_69 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT bask FROM table_name_69 WHERE indoor_track = "yes" AND school = "valparaiso"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which game took place on April 22?

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

### Response:

### Response:
SELECT game FROM table_name_8 WHERE date = "april 22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which game did the opponents score 14 points?

### Context:
CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_41 WHERE opponents = "14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average round for the TKO (punches and elbows) method?

### Context:
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)

### Response:

### Response:
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (punches and elbows)"</s>


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

### Context:
CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_62 WHERE ship = "minteh"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What area is the school with a decile of 8 in?

### Context:
CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR)

### Response:

### Response:
SELECT area FROM table_name_76 WHERE decile = "8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Tie no for the game with the away team Whyteleafe?

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

### Response:

### Response:
SELECT tie_no FROM table_name_99 WHERE away_team = "whyteleafe"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for % popular vote for # of seats won for 83

### Context:
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)

### Response:

### Response:
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the team's record in games against the Hartford Whalers?

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

### Response:

### Response:
SELECT record FROM table_name_52 WHERE opponent = "hartford whalers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year of the film from France/Hong Kong?

### Context:
CREATE TABLE table_name_74 (year INTEGER, country VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_74 WHERE country = "france/hong kong"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ends were won where the blank ends are smaller than 3.0?

### Context:
CREATE TABLE table_25718552_2 (Ends VARCHAR, blank_ends INTEGER)

### Response:

### Response:
SELECT Ends AS won FROM table_25718552_2 WHERE blank_ends < 3.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 name, phone number and email address of the customer who made the largest number of orders?

### Context:
CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_email VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)

### Response:

### Response:
SELECT T1.customer_name, T1.customer_phone, T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_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:
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?

### Context:
CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 titles had an average rating of 8.9%?

### Context:
CREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)

### Response:

### Response:
SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the European competition when the tier is more than 2?

### Context:
CREATE TABLE table_name_33 (european_competitions VARCHAR, tier INTEGER)

### Response:

### Response:
SELECT european_competitions FROM table_name_33 WHERE tier > 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:
who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996?

### Context:
CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_93 WHERE surface = "clay" AND outcome = "winner" AND championship = "estoril" AND date = "15 april 1996"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is Terry Mills from?

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

### Response:

### Response:
SELECT hometown FROM table_name_98 WHERE player = "terry mills"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the transfer window in esp with promoted type and more than 2010 ends?

### Context:
CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT transfer_window FROM table_name_85 WHERE country = "esp" AND type = "promoted" AND ends > 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:
What is the production code of the episode with an original airdate of december 01?

### Context:
CREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_25691838_12 WHERE original_airdate = "December 01"</s>


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

### Context:
CREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)

### Response:

### Response:
SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what i the maximum number in the series where the production code is 3wab07?

### Context:
CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 name of the city or town of the school that operates the http://www.mfschools.org/high/ website?

### Context:
CREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR)

### Response:

### Response:
SELECT institution FROM table_29612224_1 WHERE school_website = "http://www.mfschools.org/high/"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the country in Arabic that has Moroni as the name of its capital in English?

### Context:
CREATE TABLE table_name_68 (arabic_country_name VARCHAR, english_capital_name VARCHAR)

### Response:

### Response:
SELECT arabic_country_name FROM table_name_68 WHERE english_capital_name = "moroni"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the tie no of the game where exeter city was the home team?

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

### Response:

### Response:
SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Super G has Victories of 26, and a Country of austria?

### Context:
CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria"</s>


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

### Context:
CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)

### Response:

### Response:
SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?

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

### Response:

### Response:
SELECT COUNT(2011 AS _1h) FROM table_name_9 WHERE 2006 = 27.4 AND 2007 > 27.7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the manner of departure when the outgoing manager was andrea mandorlini?

### Context:
CREATE TABLE table_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT manner_of_departure FROM table_26976615_3 WHERE outgoing_manager = "Andrea Mandorlini"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 ERP W of the 67829 Facility ID?

### Context:
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)

### Response:

### Response:
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winning Driver has a Second Driver of jimmy bryan?

### Context:
CREATE TABLE table_name_25 (winning_driver VARCHAR, second_driver VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 grid values of driver Michael Schumacher with lap counts larger than 66?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = "michael schumacher"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did the episode first air that had a production code of 102?

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

### Response:

### Response:
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 102</s>


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

### Context:
CREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_78 WHERE moving_from = "manchester united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date To, when Name is "Lee Cook"?

### Context:
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT date_to FROM table_name_47 WHERE name = "lee cook"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the team name when 243 is the total?

### Context:
CREATE TABLE table_22014431_3 (team_name VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_22014431_3 WHERE total = "243"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the collor commentator(s) for ESPN before 2012?

### Context:
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)

### Response:

### Response:
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week was the Original artist, the police ?

### Context:
CREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_5 WHERE original_artist = "the police"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes had 16.03 million viewers?

### Context:
CREATE TABLE table_11058032_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_series) FROM table_11058032_1 WHERE us_viewers__millions_ = "16.03"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 building with 48 floors has an address in Las Vegas of what?

### Context:
CREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR)

### Response:

### Response:
SELECT street_address FROM table_name_2 WHERE floors = 48</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the province when the rank is higher than 24 and the name is laforge-2?

### Context:
CREATE TABLE table_name_42 (province VARCHAR, rank VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT province FROM table_name_42 WHERE rank > 24 AND name = "laforge-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many mixed doubles were there in the year that Olga Koseli won the women's singles?

### Context:
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)

### Response:

### Response:
SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?

### Context:
CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)

### Response:

### Response:
SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 how many class with poles being bigger than 1.0

### Context:
CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER)

### Response:

### Response:
SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the note for catalog of 32xa-106

### Context:
CREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT note FROM table_name_73 WHERE catalog = "32xa-106"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region for cd with catalog of alca-9203

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

### Response:

### Response:
SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Report of tourist trophy?

### Context:
CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT report FROM table_name_77 WHERE name = "tourist trophy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the record 8–6–3?

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

### Response:

### Response:
SELECT date FROM table_name_14 WHERE record = "8–6–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's the points against with won being 11

### Context:
CREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_14058433_4 WHERE won = "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:
Who is the player in t8 place with a 75-71=146 score?

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

### Response:

### Response:
SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year for scatman winning?

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

### Response:

### Response:
SELECT AVG(year) FROM table_name_58 WHERE winner = "scatman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vista radio is the owner how many call signs are there?

### Context:
CREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR)

### Response:

### Response:
SELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = "Vista Radio"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Bronze has a Silver smaller than 1, and a Total larger than 3?

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

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_94 WHERE silver < 1 AND total > 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:
Who is the opponent with a score of 6–5 13?

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

### Response:

### Response:
SELECT opponent FROM table_name_82 WHERE score = "6–5 13"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what circuit was the City of Ipswich 400 race  held?

### Context:
CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue?

### Context:
CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT home_captain FROM table_name_99 WHERE venue = "edgbaston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the ranking of the UEFA Euro 2012 qualifying Group A competition?

### Context:
CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group 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:
Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?

### Context:
CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the high 10 profile when high profile is 160?

### Context:
CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)

### Response:

### Response:
SELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest crowd size for away team Fitzroy?

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

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "fitzroy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total for a to par bigger than 7 and a player of al geiberger?

### Context:
CREATE TABLE table_name_58 (total VARCHAR, player VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT COUNT(total) FROM table_name_58 WHERE player = "al geiberger" AND to_par > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much time, in minutes, did Chanel Chisholm play?

### Context:
CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Venue has a Competition of european championships, and a Position of 7th?

### Context:
CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters?

### Context:
CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = "baltimore county" AND district = "06.0 6" AND committee = "economic matters"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the original air date for production code of 3t7501

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

### Response:

### Response:
SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 head of household that has married filing separately of $104,426–$186,475

### Context:
CREATE TABLE table_name_89 (head_of_household VARCHAR, married_filing_separately VARCHAR)

### Response:

### Response:
SELECT head_of_household FROM table_name_89 WHERE married_filing_separately = "$104,426–$186,475"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins?

### Context:
CREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = "real oviedo"</s>


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

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

### Response:

### Response:
SELECT high_points FROM table_27723526_12 WHERE date = "March 30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the capacity that has the highest greater than 1,763 and is at Hampden Park?

### Context:
CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)

### Response:

### Response:
SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?

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

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the website of the school affiliated with the Church of England?

### Context:
CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR)

### Response:

### Response:
SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time

### Context:
CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)

### Response:

### Response:
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Ernie Els' Score?

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

### Response:

### Response:
SELECT score FROM table_name_43 WHERE player = "ernie els"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?

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

### Response:

### Response:
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive 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 person born in Australia, rick springfield notable for?

### Context:
CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"</s>


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

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

### Response:

### Response:
SELECT COUNT(opponent) FROM table_17186229_4 WHERE record = "9-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was 2003's To Par?

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

### Response:

### Response:
SELECT to_par FROM table_name_31 WHERE year = 2003</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the position of tickets sold/available when the sellout is 82%?

### Context:
CREATE TABLE table_16331025_2 (tickets_sold___available VARCHAR, sellout___percentage_ VARCHAR)

### Response:

### Response:
SELECT COUNT(tickets_sold___available) FROM table_16331025_2 WHERE sellout___percentage_ = "82%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score for a match before 13, and a home game on April 21, 2008?

### Context:
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR, match VARCHAR, home_away VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_11 WHERE match < 13 AND home_away = "home" AND date = "april 21, 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:
Which regions had a production (bbl/day) of 1,213,000 (21st)?

### Context:
CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)

### Response:

### Response:
SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score for game 38?

### Context:
CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_1 WHERE game = 38</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 125cc winnder for the Phillip Island circuit?

### Context:
CREATE TABLE table_12186237_1 (circuit VARCHAR)

### Response:

### Response:
SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 did the Bruins play Santa Clara?

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

### Response:

### Response:
SELECT game FROM table_21058836_1 WHERE opponent = "Santa Clara"</s>


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

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

### Response:

### Response:
SELECT country FROM table_name_21 WHERE player = "paul stankowski"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the title for total viewers on fx+ being 483,000

### Context:
CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)

### Response:

### Response:
SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest numbered draft pick?

### Context:
CREATE TABLE table_28059992_5 (pick__number INTEGER)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_28059992_5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Overall for Pick # less than 5 Jack Harmon?

### Context:
CREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 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:
How many alt names does 1964-011a have?

### Context:
CREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR)

### Response:

### Response:
SELECT COUNT(alt_name) FROM table_12141496_1 WHERE id = "1964-011A"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For which group was Kim nominated in 2010 for Best International Actress?

### Context:
CREATE TABLE table_name_61 (group VARCHAR, year VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT group FROM table_name_61 WHERE year = 2010 AND award = "best international actress"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Please show the nominee who has been nominated the greatest number of times.

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

### Response:

### Response:
SELECT Nominee FROM musical GROUP BY Nominee 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 is the Accreditation Level, when the Hardware Model is GT-I9100?

### Context:
CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR)

### Response:

### Response:
SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?

### Context:
CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)

### Response:

### Response:
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 round when team 2 is olympique lyonnais (d2)?

### Context:
CREATE TABLE table_name_67 (team_2 VARCHAR)

### Response:

### Response:
SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1991 when 1990 is ATP Masters Series?

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

### Response:

### Response:
SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008?

### Context:
CREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_38 WHERE leading_scorer = "maurice williams (25)" AND date = "27 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 is the lowest number of goals of the player with 9 (0) games and less than 0 assists?

### Context:
CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)

### Response:

### Response:
SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?

### Context:
CREATE TABLE table_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR)

### Response:

### Response:
SELECT MIN(area__km²_) FROM table_166346_1 WHERE production___bbl__day_ = "3,200,000 (12th)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?

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

### Response:

### Response:
SELECT years_in_orlando FROM table_name_10 WHERE nationality = "united states" AND position = "center" AND player = "jawann oldham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most height

### Context:
CREATE TABLE table_25360865_1 (weight INTEGER)

### Response:

### Response:
SELECT MAX(weight) FROM table_25360865_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 Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?

### Context:
CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR)

### Response:

### Response:
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 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:
Where was the location attendance when Minnesota played?

### Context:
CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_name_1 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 is Jeremy Hill's hometown?

### Context:
CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy Hill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 province had a liberal party member on December 31, 2006?

### Context:
CREATE TABLE table_name_38 (province VARCHAR, party VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT province FROM table_name_38 WHERE party = "liberal" AND date = "december 31, 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:
What day in March is the game with a 48-13-11 record and a game number less than 72?

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

### Response:

### Response:
SELECT SUM(march) FROM table_name_12 WHERE record = "48-13-11" AND game < 72</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Difference of the Team that had a Position less than 2?

### Context:
CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER)

### Response:

### Response:
SELECT difference FROM table_name_8 WHERE position < 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 gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?

### Context:
CREATE TABLE table_name_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = "2000 summer paralympics" AND bronze > 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 status of the character keel (keele) zeibel?

### Context:
CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college did jerry hackenbruck come from who had an overall pick less than 344?

### Context:
CREATE TABLE table_name_60 (college VARCHAR, overall VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_60 WHERE overall < 344 AND name = "jerry hackenbruck"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What do the notes say for 1989 May 7?

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

### Response:

### Response:
SELECT notes FROM table_name_32 WHERE date = "1989 may 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 Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?

### Context:
CREATE TABLE table_name_61 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different circuits had Gary Gibson has the Lites 1 race two winning team?

### Context:
CREATE TABLE table_26638600_3 (lites_2_race_one_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR)

### Response:

### Response:
SELECT COUNT(lites_2_race_one_winning_team) FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "Gary Gibson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year has a Competition of commonwealth youth games?

### Context:
CREATE TABLE table_name_94 (year INTEGER, competition VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_94 WHERE competition = "commonwealth youth games"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest played with a lost bigger than 10?

### Context:
CREATE TABLE table_name_85 (played INTEGER, lost INTEGER)

### Response:

### Response:
SELECT MIN(played) FROM table_name_85 WHERE lost > 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the hometown of Mike White?

### Context:
CREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT hometown_school FROM table_name_40 WHERE position = "of" AND player = "mike white"</s>


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

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

### Response:

### Response:
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the home team was Richmond, what was the largest crowd?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Accreditation Status, when the Product Name is LG RCS-e Client?

### Context:
CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR)

### Response:

### Response:
SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the position of the race with a point of test driver?

### Context:
CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_70 WHERE points = "test driver"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?

### Context:
CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of points for Drivers that have raced in more than 16 Races?

### Context:
CREATE TABLE table_name_35 (points INTEGER, races INTEGER)

### Response:

### Response:
SELECT MIN(points) FROM table_name_35 WHERE races > 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:
Show the most common builder of railways.

### Context:
CREATE TABLE railway (Builder VARCHAR)

### Response:

### Response:
SELECT Builder FROM railway GROUP BY Builder 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 year has general nominated in the category or choice breakthrough artist?

### Context:
CREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_77 WHERE nominated_work = "general" AND category = "choice breakthrough artist"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?

### Context:
CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Losses value larger than 1 and a Wins value smaller than 0?

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

### Response:

### Response:
SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the IHSAA class of Centerville, which plays IHSAA class AA football?

### Context:
CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = "aa" AND school = "centerville"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the greatest lane with an overall rank of 79 and a time larger than 26.1?

### Context:
CREATE TABLE table_name_24 (lane INTEGER, overall_rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_24 WHERE overall_rank = "79" AND time > 26.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 year had an issue price of $2,995.95, and a theme of grizzly bear?

### Context:
CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What average game was played on October 16?

### Context:
CREATE TABLE table_name_87 (game INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(game) FROM table_name_87 WHERE date = "october 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:
Who was the opponent for game 5?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Min Patel's bowling?

### Context:
CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT bowling FROM table_name_7 WHERE player = "min patel"</s>


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

### Context:
CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)

### Response:

### Response:
SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?

### Context:
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 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:
Total points with 114 played and average of 0.982?

### Context:
CREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the premier league number when the position is forward, and the total is more than 22?

### Context:
CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date that Stirling Moss had his fastest lap in a Maserati?

### Context:
CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event was the technical decision (split) method used?

### Context:
CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_8 WHERE method = "technical decision (split)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 missions were scheduled to launch on November 16, 2006?

### Context:
CREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR)

### Response:

### Response:
SELECT mission FROM table_11869952_3 WHERE launch_date = "November 16, 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:
what's the race winner with location being jacarepaguá

### Context:
CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Ends with a Name of abidal, and has a Since larger than 2007?

### Context:
CREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)

### Response:

### Response:
SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed the film with the title three summer days?

### Context:
CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT director FROM table_22265716_1 WHERE film_title_used_in_nomination = "Three Summer Days"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Team 2 with a Team 1 that is milli piyango sk?

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

### Response:

### Response:
SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Away Team is "Liverpool"?

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

### Response:

### Response:
SELECT date FROM table_name_91 WHERE away_team = "liverpool"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum overall number?

### Context:
CREATE TABLE table_2985714_2 (_number INTEGER)

### Response:

### Response:
SELECT MAX(_number) FROM table_2985714_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 total for the team with more than 2 golds and more than 0 bronze?

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

### Response:

### Response:
SELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many values of up/down have a total value of exactly 301470?

### Context:
CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470</s>


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

### Context:
CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR)

### Response:

### Response:
SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 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:
What is To par, when Country is "United States", and when Player is "Jay Haas"?

### Context:
CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_85 WHERE country = "united states" AND player = "jay haas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the qualification for rank of 29 in 1957?

### Context:
CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Artist is listed as having Top 6 in Week

### Context:
CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT artist FROM table_name_32 WHERE week = "top 6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON?

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

### Response:

### Response:
SELECT date FROM table_name_16 WHERE away_team = "workington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?

### Context:
CREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR)

### Response:

### Response:
SELECT sing_pres FROM table_name_51 WHERE sing_pret = "ou" AND subj_pres = "ie"</s>


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

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

### Response:

### Response:
SELECT crowd FROM table_name_98 WHERE home_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 many Dwellings does Beverly Heights have that have a change percent larger than -5.2?

### Context:
CREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR)

### Response:

### Response:
SELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = "beverly heights" AND change___percentage_ > -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 are the maximum and average height of the mountains?

### Context:
CREATE TABLE mountain (height INTEGER)

### Response:

### Response:
SELECT MAX(height), AVG(height) FROM 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:
How many poles for the Netherlands?

### Context:
CREATE TABLE table_19487922_1 (poles INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MAX(poles) FROM table_19487922_1 WHERE country = "Netherlands"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country does Mark Hayes play for?

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

### Response:

### Response:
SELECT country FROM table_name_33 WHERE player = "mark hayes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drove the maserati under 18 laps with an oil leak that had a grid of under 14?

### Context:
CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the team for november 9

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

### Response:

### Response:
SELECT team FROM table_15872814_3 WHERE date = "November 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:
Name the most number in series for production code of 3abc11

### Context:
CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 under the category of Against have a Difference of 11

### Context:
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)

### Response:

### Response:
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of NGC numbers for Constellation vela?

### Context:
CREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR)

### Response:

### Response:
SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vela"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 deng (20) had high points?

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

### Response:

### Response:
SELECT date FROM table_11960610_10 WHERE high_points = "Deng (20)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the the mens doubles with year being 1978

### Context:
CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record for April 22?

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

### Response:

### Response:
SELECT record FROM table_name_54 WHERE date = "april 22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest year that a candidate was first elected?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What pick was J.D. Hill?

### Context:
CREATE TABLE table_name_52 (pick INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MIN(pick) FROM table_name_52 WHERE player = "j.d. hill"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the county where the market income per capita is $25,006?

### Context:
CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)

### Response:

### Response:
SELECT county FROM table_22815568_13 WHERE market_income_per_capita = "$25,006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the grand total is 5814, what is the total non qatar?

### Context:
CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR)

### Response:

### Response:
SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the least number of goals for when the goals against is 70 and the ties less than 0?

### Context:
CREATE TABLE table_name_32 (goals_for INTEGER, goals_against VARCHAR, ties VARCHAR)

### Response:

### Response:
SELECT MIN(goals_for) FROM table_name_32 WHERE goals_against = 70 AND ties < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the role of the aircraft that has a registration of s5-hpb?

### Context:
CREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)

### Response:

### Response:
SELECT role FROM table_name_51 WHERE registration = "s5-hpb"</s>