<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total Lost that has a Played that's larger than 42?

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

### Response:

### Response:
SELECT SUM(lost) FROM table_name_35 WHERE played > 42</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?

### Context:
CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name of companies whose revenue is smaller than the revenue of all companies based in Austin.

### Context:
CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER, headquarter VARCHAR)

### Response:

### Response:
SELECT name FROM manufacturers WHERE revenue < (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin')</s>


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

### Context:
CREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_98 WHERE date = "29 march"</s>


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

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

### Response:

### Response:
SELECT team FROM table_27721131_6 WHERE date = "November 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:
What notes have 2 as the rank?

### Context:
CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_62 WHERE rank = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the average mph of 1964?

### Context:
CREATE TABLE table_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT average_speed__mph_ FROM table_2267465_1 WHERE year = "1964"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the no party preference when republican is 45.3%?

### Context:
CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, republican VARCHAR)

### Response:

### Response:
SELECT no_party_preference FROM table_27003186_3 WHERE republican = "45.3%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the project with length overall being 25 and name of levante

### Context:
CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time for a grid less than 6 for Noriyuki Haga?

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

### Response:

### Response:
SELECT time FROM table_name_55 WHERE grid < 6 AND rider = "noriyuki haga"</s>


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

### Context:
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"</s>


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

### Context:
CREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams"</s>


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

### Context:
CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the highest Points that has the Played smaller than 30?

### Context:
CREATE TABLE table_name_67 (points INTEGER, played INTEGER)

### Response:

### Response:
SELECT MAX(points) FROM table_name_67 WHERE played < 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total silver when total is 30 and bronze is more than 10?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 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:
List the name of ships in ascending order of tonnage.

### Context:
CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)

### Response:

### Response:
SELECT Name FROM ship ORDER BY Tonnage</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 grand prix with winning driver being jenson button

### Context:
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the flyers, what's the minimum capacity?

### Context:
CREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR)

### Response:

### Response:
SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = "Flyers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 from United States who play in year 2003-06 in Toronto?

### Context:
CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06"</s>


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

### Context:
CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_91 WHERE rank > 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:
What is the outcome on March 20, 1994?

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

### Response:

### Response:
SELECT outcome FROM table_name_89 WHERE date = "march 20, 1994"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Frequency MHz that is on farwell, texas?

### Context:
CREATE TABLE table_name_72 (frequency_mhz INTEGER, city_of_license VARCHAR)

### Response:

### Response:
SELECT AVG(frequency_mhz) FROM table_name_72 WHERE city_of_license = "farwell, texas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which province is Luogang International Airport located in?

### Context:
CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)

### Response:

### Response:
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the total number of title for production code 39

### Context:
CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the status of the Wales opposing team?

### Context:
CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)

### Response:

### Response:
SELECT status FROM table_name_70 WHERE opposing_teams = "wales"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Loss of the game at Nationwide Arena with a Score of 4–3?

### Context:
CREATE TABLE table_name_42 (loss VARCHAR, score VARCHAR, arena VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_42 WHERE score = "4–3" AND arena = "nationwide arena"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Date has a Score in the final of 3–6, 2–6, 4–6?

### Context:
CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when To Par is "E"?

### Context:
CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_8 WHERE to_par = "e"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
for the tournament of world amateur championship what was the result in 2010?

### Context:
CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_81 WHERE year = 2010 AND tournament = "world amateur championship"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Total matches have a Year of career, and a Points won larger than 25?

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

### Response:

### Response:
SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 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:
What is the Quarterback rating of the player who got a comp percentage of 62.0?

### Context:
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)

### Response:

### Response:
SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.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  us the conjucated form(s)  of  el/ella/ usted when the Vos (*) is muelas / molás?

### Context:
CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)

### Response:

### Response:
SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What player has a college named san sebastian?

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

### Response:

### Response:
SELECT player FROM table_name_97 WHERE college = "san sebastian"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of naming for anomic aphasia

### Context:
CREATE TABLE table_2088_1 (naming VARCHAR, type_of_aphasia VARCHAR)

### Response:

### Response:
SELECT COUNT(naming) FROM table_2088_1 WHERE type_of_aphasia = "Anomic aphasia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Longitude, when Name is Raskova Paterae?

### Context:
CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT longitude FROM table_name_61 WHERE name = "raskova paterae"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest silver value associated with 0 golds?

### Context:
CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)

### Response:

### Response:
SELECT MAX(silver) FROM table_name_42 WHERE gold < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA

### Context:
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)

### Response:

### Response:
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the film type for the movie Sanctuary?

### Context:
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_35 WHERE name = "sanctuary"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?

### Context:
CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)

### Response:

### Response:
SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"</s>


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

### Context:
CREATE TABLE table_name_25 (pick INTEGER, college VARCHAR)

### Response:

### Response:
SELECT SUM(pick) FROM table_name_25 WHERE college = "texas el-paso"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins have a Goal Difference larger than 12, and a Club of granada cf, and Played larger than 30?

### Context:
CREATE TABLE table_name_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT AVG(wins) FROM table_name_91 WHERE goal_difference > 12 AND club = "granada cf" AND played > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the dominant religion for станишић

### Context:
CREATE TABLE table_2562572_22 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)

### Response:

### Response:
SELECT dominant_religion__2002_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Станишић"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of the match in round 1r against tunisia and on a hard surface?

### Context:
CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_51 WHERE away_team = "north melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the finale where Holly Bell was runner-up?

### Context:
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)

### Response:

### Response:
SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest one that has a Position of running back?

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

### Response:

### Response:
SELECT MAX(round) FROM table_name_14 WHERE position = "running back"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the results for the film titled 'Joki'?

### Context:
CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Game, when Road Team is "Syracuse", and when Result is "109-82"?

### Context:
CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-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 is the highest attendance for December 3, 1972 after week 12?

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

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_30 WHERE date = "december 3, 1972" AND week > 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Red Breasted Nuthatch coins created before 2007 were minted, on average?

### Context:
CREATE TABLE table_name_42 (mintage INTEGER, animal VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT AVG(mintage) FROM table_name_42 WHERE animal = "red breasted nuthatch" AND year < 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Airline has a Fleet size larger than 17, and a IATA of pr?

### Context:
CREATE TABLE table_name_98 (airline VARCHAR, fleet_size VARCHAR, iata VARCHAR)

### Response:

### Response:
SELECT airline FROM table_name_98 WHERE fleet_size > 17 AND iata = "pr"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 for the university of north carolina carolina dynamo affiliation

### Context:
CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)

### Response:

### Response:
SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo"</s>


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

### Context:
CREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT race_2 FROM table_15530244_5 WHERE driver = "James Winslow"</s>


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

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_4 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:
What is the total number of acres at Sai Tso Wan, opening before 1978?

### Context:
CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR)

### Response:

### Response:
SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 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:
Where does Norway rank in total medals among countries with fewer than 7 bronzes?

### Context:
CREATE TABLE table_name_96 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = "norway"</s>


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

### Context:
CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)

### Response:

### Response:
SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country has a Place of t10, and a Player of tony jacklin?

### Context:
CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_2 WHERE place = "t10" AND player = "tony jacklin"</s>


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

### Context:
CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_69 WHERE team = "eurasia astana"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the loss of the game with a record of 77-65?

### Context:
CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_96 WHERE record = "77-65"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Match played in a Location of San Francisco has a Competition of Semifinal?

### Context:
CREATE TABLE table_name_19 (match VARCHAR, competition VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT match FROM table_name_19 WHERE competition = "semifinal" AND location = "san francisco"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1st leg in the match where Remo (PA) is team 1?

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

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties?

### Context:
CREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR)

### Response:

### Response:
SELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_against > 37 AND games_played < 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:
List the total points for the 1st place team.

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

### Response:

### Response:
SELECT points FROM table_25561038_1 WHERE position = "1st"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the nationality of the player from the Ohio State University (NCAA) Team?

### Context:
CREATE TABLE table_name_20 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_20 WHERE college_junior_club_team__league_ = "ohio state university (ncaa)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2007 has a 2003 of 2r, and a 2004 of 1r?

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

### Response:

### Response:
SELECT 2007 FROM table_name_7 WHERE 2003 = "2r" AND 2004 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every score when the date is January 2?

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

### Response:

### Response:
SELECT score FROM table_28220778_21 WHERE date = "January 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 episodes were directed by Tim Matheson?

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

### Response:

### Response:
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country does Adam Scott play for?

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

### Response:

### Response:
SELECT country FROM table_name_39 WHERE player = "adam scott"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the yeast ortholog of mouse ortholog MMS19?

### Context:
CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)

### Response:

### Response:
SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19"</s>


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

### Context:
CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT captain FROM table_18461635_1 WHERE location = "Southampton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total amount of allied-unrelated where the component is human capital?

### Context:
CREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR)

### Response:

### Response:
SELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = "Human Capital"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the imperfect stem of the word that means 'take away, remove'?

### Context:
CREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR)

### Response:

### Response:
SELECT imperfect_stem FROM table_name_74 WHERE meaning = "'take away, remove'"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the population as of 11-01-2010 for Bayan County?

### Context:
CREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which score has a prize of $400?

### Context:
CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_77 WHERE money___$__ = 400</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of top-25s for events with more than 1 top-5?

### Context:
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)

### Response:

### Response:
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Location Attendance has a Record of 11–34?

### Context:
CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_name_27 WHERE record = "11–34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Harris, when Marplan is 1.3%

### Context:
CREATE TABLE table_name_84 (harris VARCHAR, marplan VARCHAR)

### Response:

### Response:
SELECT harris FROM table_name_84 WHERE marplan = "1.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 total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?

### Context:
CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)

### Response:

### Response:
SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?

### Context:
CREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR)

### Response:

### Response:
SELECT imed_avicenna_listed FROM table_name_31 WHERE regional_offshore = "offshore" AND country_territory = "saint kitts and nevis" AND degree = "md" AND established < 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What would be the highest Platforms for the Centrale Tram Stop Stations?

### Context:
CREATE TABLE table_name_15 (platforms INTEGER, stations VARCHAR)

### Response:

### Response:
SELECT MAX(platforms) FROM table_name_15 WHERE stations = "centrale tram stop"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE RIDER WITH A 21 GRID?

### Context:
CREATE TABLE table_name_5 (rider VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT rider FROM table_name_5 WHERE grid = "21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What City is the Jal hotel in?

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

### Response:

### Response:
SELECT city FROM table_name_77 WHERE name = "jal hotel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What alumni were in rw: cancun as their original season?

### Context:
CREATE TABLE table_26419467_1 (alumni VARCHAR, original_season VARCHAR)

### Response:

### Response:
SELECT alumni FROM table_26419467_1 WHERE original_season = "RW: Cancun"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result in 1995?

### Context:
CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_79 WHERE year = 1995</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Opponent has a Round larger than 1, and an Event of king of the cage 31?

### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_3 WHERE round > 1 AND event = "king of the cage 31"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What nationality was the round 6 draft pick?

### Context:
CREATE TABLE table_name_44 (nationality VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_44 WHERE round = 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 Overall with a Date that is february 4, 1964?

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

### Response:

### Response:
SELECT overall FROM table_name_95 WHERE date = "february 4, 1964"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did the game on March 11 take place and how many people attended?

### Context:
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_name_68 WHERE date = "march 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:
Show all member names and registered branch names sorted by register year.

### Context:
CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR)

### Response:

### Response:
SELECT T3.name, T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id ORDER BY T1.register_year</s>


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

### Context:
CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_66 WHERE laps = 53</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the region 2 for the complete fifth series?

### Context:
CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)

### Response:

### Response:
SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth 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 Nation has more than 4 silver, more than 3 gold and 18 total medals?

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

### Response:

### Response:
SELECT nation FROM table_name_76 WHERE silver > 4 AND gold > 3 AND total = 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What number of Fatalties is associated with the Time of 12:38:46?

### Context:
CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the james e. holmes for joe baez

### Context:
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR)

### Response:

### Response:
SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 62 is the number in series who is the writer?

### Context:
CREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Original Italian production has a First US National Tour of joanna glushak?

### Context:
CREATE TABLE table_name_4 (original_italian_production VARCHAR, first_us_national_tour VARCHAR)

### Response:

### Response:
SELECT original_italian_production FROM table_name_4 WHERE first_us_national_tour = "joanna glushak"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 network has more than 31.4 channels with a 4:3 aspect?

### Context:
CREATE TABLE table_name_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)

### Response:

### Response:
SELECT network FROM table_name_69 WHERE aspect = "4:3" AND channel > 31.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 people were in the crowd at collingwood's home game?

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

### Response:

### Response:
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 Which gatchaman has eagle riders as lukan?

### Context:
CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)

### Response:

### Response:
SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the attendance in the bye week after week 5?

### Context:
CREATE TABLE table_name_40 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = "bye"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the first game number that had attendance of 56,505?

### Context:
CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)

### Response:

### Response:
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Uyghur Latin with a population of 69,361?

### Context:
CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)

### Response:

### Response:
SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the bore and stroke for Engine of 351-2v cleveland v8

### Context:
CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year were laps less than 64 and the finish at 25?

### Context:
CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which publisher has Far Cry as the title?

### Context:
CREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT publisher FROM table_name_4 WHERE title = "far cry"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 staff have contacted which engineers? List the staff name and the engineer first name and last name.

### Context:
CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR)

### Response:

### Response:
SELECT T1.staff_name, T3.first_name, T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id = T3.engineer_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2013 BAFA adult flag division in Aylesbury?

### Context:
CREATE TABLE table_name_95 (location VARCHAR)

### Response:

### Response:
SELECT 2013 AS _bafa_adult_flag_division FROM table_name_95 WHERE location = "aylesbury"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 budgets are above 3000 in year 2001 or before?

### Context:
CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Record of 5-4?

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

### Response:

### Response:
SELECT score FROM table_name_36 WHERE record = "5-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:
When dydek (8) has the highest rebounds who has the highest amount of points?

### Context:
CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_18904831_6 WHERE high_rebounds = "Dydek (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 total for the person with free of 47.667, and technical less than 47.417?

### Context:
CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR)

### Response:

### Response:
SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was the contestant who finished in 10th place originally on?

### Context:
CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT original_team FROM table_19810459_1 WHERE result = "10th place"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 category of the project name Mighty No. 9?

### Context:
CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)

### Response:

### Response:
SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 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 sum of the stages for category 1 races after the year 2003?

### Context:
CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND 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 Tie no, when Home Team is "Hull City"?

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

### Response:

### Response:
SELECT tie_no FROM table_name_69 WHERE home_team = "hull 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:
How many years were the events won by KCLMS less than 7?

### Context:
CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 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 points have pittsburgh as the home, and November 29 as the date?

### Context:
CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which score was for Toronto Maple Leafs at home on November 12?

### Context:
CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the away team score for South Melbourne?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the finish with player lou graham

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

### Response:

### Response:
SELECT finish FROM table_name_26 WHERE player = "lou graham"</s>


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

### Context:
CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)

### Response:

### Response:
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating / SHARE(18 AS –49) = 1.2 / 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?

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

### Response:

### Response:
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 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 language is the moviein that is on UMP movies network through Sky service?

### Context:
CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)

### Response:

### Response:
SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the driver from 1969?

### Context:
CREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_42 WHERE year = "1969"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 surface for the game that was played with partner Tiya Rolle?

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

### Response:

### Response:
SELECT surface FROM table_name_35 WHERE partner = "tiya rolle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the team where series is formula renault 2.0 nec?

### Context:
CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?

### Context:
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)

### Response:

### Response:
SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?

### Context:
CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR)

### Response:

### Response:
SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the prize money when the clubs is 392 → 276?

### Context:
CREATE TABLE table_27973624_1 (prize_money VARCHAR, clubs VARCHAR)

### Response:

### Response:
SELECT prize_money FROM table_27973624_1 WHERE clubs = "392 → 276"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sumof points for year less than 1994 and chassis of lola lc89b

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

### Response:

### Response:
SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Average frequency with ERP W of 62?

### Context:
CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)

### Response:

### Response:
SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the total number of defense points for caroline wozniacki.

### Context:
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 with a 74 rank by average for 8th place?

### Context:
CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 department where has the smallest number of professors?

### Context:
CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)

### Response:

### Response:
SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many total wins have 3 as the Top-35 and less than 5 cuts made?

### Context:
CREATE TABLE table_name_40 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)

### Response:

### Response:
SELECT SUM(wins) FROM table_name_40 WHERE top_25 = 3 AND cuts_made < 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:
The player who plays left wing is from what college/junior/club team?

### Context:
CREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Left Wing"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Team of honda 250cc, and a Time of 31’ 03.093 has what lowest rank?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_74 WHERE team = "honda 250cc" AND time = "31’ 03.093"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the outcome of the game that had a score of 3–6, 6–3, 6–0?

### Context:
CREATE TABLE table_name_81 (outcome VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_81 WHERE score = "3–6, 6–3, 6–0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the visiting team at the Cavaliers game that had a score of 121–85?

### Context:
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_29 WHERE score = "121–85"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the state when the peak population (year) is 134995 (1950)?

### Context:
CREATE TABLE table_name_33 (state VARCHAR, peak_population__year_ VARCHAR)

### Response:

### Response:
SELECT state FROM table_name_33 WHERE peak_population__year_ = "134995 (1950)"</s>


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

### Context:
CREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT third_place FROM table_16331144_1 WHERE season = "Four"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the enrollment for Ashland University?

### Context:
CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)

### Response:

### Response:
SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times was Arizona the team and the round was bigger than 11?

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

### Response:

### Response:
SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 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:
Find the total amount of loans provided by bank branches in the state of New York.

### Context:
CREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR)

### Response:

### Response:
SELECT SUM(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T1.state = 'New York'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of losses for less than 48 games, and less than 7 draws?

### Context:
CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR)

### Response:

### Response:
SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 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:
Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.

### Context:
CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)

### Response:

### Response:
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 image with a 20w Harrison, and less than 20 for Ashmolean?

### Context:
CREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR)

### Response:

### Response:
SELECT MIN(image) FROM table_name_51 WHERE harrison = "20w" AND ashmolean < 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Reign of the person whose Date of Birth was 22 March 1459?

### Context:
CREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)

### Response:

### Response:
SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459"</s>


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

### Context:
CREATE TABLE table_name_26 (position VARCHAR, first VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_26 WHERE first = "steve"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 final score in the game against the Cincinnati Bengals?

### Context:
CREATE TABLE table_name_78 (final_score VARCHAR, visiting_team VARCHAR)

### Response:

### Response:
SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Losses has an Against of 1101, and a Byes smaller than 0?

### Context:
CREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_52 WHERE against = 1101 AND byes < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date of Week 5?

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

### Response:

### Response:
SELECT date FROM table_name_3 WHERE week = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10?

### Context:
CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)

### Response:

### Response:
SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 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 most wins for a position with more than 30 played and a goal difference of 11?

### Context:
CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_name_46 WHERE goal_difference = 11 AND played > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the high earnings for players with 34 events and over 2 wins?

### Context:
CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 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's ranked less than 2?

### Context:
CREATE TABLE table_name_32 (player VARCHAR, rank INTEGER)

### Response:

### Response:
SELECT player FROM table_name_32 WHERE rank < 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 was the home team that played against Manchester United?

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

### Response:

### Response:
SELECT home_team FROM table_name_86 WHERE away_team = "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 are the highest points for Justin Lofton when his top 10 is lower than 5?

### Context:
CREATE TABLE table_name_14 (points INTEGER, driver VARCHAR, top_10 VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_14 WHERE driver = "justin lofton" AND top_10 < 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 team played Hawthorn?

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

### Response:

### Response:
SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Tier when the postseason shows -, and the season is 2012–13?

### Context:
CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–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:
What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?

### Context:
CREATE TABLE table_name_75 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT MIN(area) FROM table_name_75 WHERE density > 234.77 AND rank = 32 AND population < 965 OFFSET 040</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times did district of Columbia receive a score for evening gown?

### Context:
CREATE TABLE table_12094300_1 (evening_gown VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT COUNT(evening_gown) FROM table_12094300_1 WHERE state = "District of Columbia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?

### Context:
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR)

### Response:

### Response:
SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the highest Game that has the Opponent of atlanta hawks?

### Context:
CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165?

### Context:
CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)

### Response:

### Response:
SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed under representative for the 112th congress?

### Context:
CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR)

### Response:

### Response:
SELECT representative FROM table_2841865_2 WHERE congress = "112th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals were conceded against the Chepo F.C. team where they lost 7 games?

### Context:
CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR)

### Response:

### Response:
SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c."</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the average prices of all products from each manufacture, and list each company's name.

### Context:
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)

### Response:

### Response:
SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many games did Palmeiras win?

### Context:
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Peroutka with 46 others, and less than 15 electors?

### Context:
CREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR)

### Response:

### Response:
SELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 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:
Name the engine with entrant of larrousse f1

### Context:
CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_59 WHERE entrant = "larrousse f1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What AP increase has an AP duration of 0.75?

### Context:
CREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR)

### Response:

### Response:
SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = "0.75"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wrote the episode with e4515 as the production code?

### Context:
CREATE TABLE table_25750635_2 (written_by VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_25750635_2 WHERE production_code = "E4515"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the English title for season 6?

### Context:
CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR)

### Response:

### Response:
SELECT title__english_ FROM table_name_91 WHERE number_of_season = 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 average climb for Tenbosse?

### Context:
CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of draws when the played 9 and lost 3?

### Context:
CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "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:
On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?

### Context:
CREATE TABLE table_name_77 (outcome VARCHAR, score VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_77 WHERE score = "7–5, 6–3" AND date = "27 july 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:
When did Mathieu play against Antonio Veić?

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

### Response:

### Response:
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?

### Context:
CREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (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 is the iata when the city is tripoli?

### Context:
CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT iata FROM table_name_71 WHERE city = "tripoli"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the film with a production number of 1023?

### Context:
CREATE TABLE table_name_48 (title VARCHAR, production_number VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_48 WHERE production_number = "1023"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chris barnes is on team usa how many europe teams are there?

### Context:
CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)

### Response:

### Response:
SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Domenik Hixon's average rush?

### Context:
CREATE TABLE table_name_76 (avg VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT avg FROM table_name_76 WHERE player = "domenik hixon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?

### Context:
CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)

### Response:

### Response:
SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life"</s>