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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Game on May 24 with Road Team Seattle?

### Context:
CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number for simon cellan jones

### Context:
CREATE TABLE table_26914076_2 (no VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT no FROM table_26914076_2 WHERE directed_by = "Simon Cellan Jones"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mideast regional state contains the city of Seattle?

### Context:
CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent at the game that had a loss of Bell (6–9)?

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

### Response:

### Response:
SELECT opponent FROM table_name_96 WHERE loss = "bell (6–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 total of the team with a T score greater than 8 and an E score less than 8.4?

### Context:
CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)

### Response:

### Response:
SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.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:
Show all director names who have a movie in both year 1999 and 2000.

### Context:
CREATE TABLE movie (director VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?

### Context:
CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR)

### Response:

### Response:
SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the church in the Sub-Parish of Fresvik called?

### Context:
CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR)

### Response:

### Response:
SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik"</s>


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

### Context:
CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)

### Response:

### Response:
SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different meanings does the verb with part 4 gegeven have?

### Context:
CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_4 VARCHAR)

### Response:

### Response:
SELECT COUNT(verb_meaning) FROM table_1745843_7 WHERE part_4 = "gegeven"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position has a 2-6 agg.?

### Context:
CREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_8 WHERE agg = "2-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 power that belongs to Class A with an Identifier of CBOC-FM?

### Context:
CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR)

### Response:

### Response:
SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the season number of the episode directed by Donald Crombie and the series number is 40?

### Context:
CREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT season__number FROM table_16175064_3 WHERE director_s_ = "Donald Crombie" AND series__number = 40</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 division  did not qualify for u.s. open cup in 2003

### Context:
CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT division FROM table_1046170_5 WHERE us_open_cup = "Did Not Qualify" 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:
How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?

### Context:
CREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the home game against Accrington?

### Context:
CREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names of countries that have both players with position forward and players with position defender?

### Context:
CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)

### Response:

### Response:
SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?

### Context:
CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)

### Response:

### Response:
SELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115</s>


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

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

### Response:

### Response:
SELECT MAX(3 AS _car_sets) FROM table_19255192_2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which party had an incumbent of W. Jasper Talbert?

### Context:
CREATE TABLE table_name_70 (party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_70 WHERE incumbent = "w. jasper talbert"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the yacht where 12 is the overall place?

### Context:
CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)

### Response:

### Response:
SELECT yacht_name FROM table_name_28 WHERE overall_place = "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 in 2007 has 2004 olympic games?

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

### Response:

### Response:
SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the date which has a home team of north melbourne

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

### Response:

### Response:
SELECT date FROM table_name_3 WHERE home_team = "north melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest score for Black Milk?

### Context:
CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR)

### Response:

### Response:
SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 man of the match when the Rockets won by 9 wickets?

### Context:
CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?

### Context:
CREATE TABLE table_name_92 (visiting_team VARCHAR, host_team VARCHAR)

### Response:

### Response:
SELECT visiting_team FROM table_name_92 WHERE host_team = "jacksonville jaguars"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 professionals have done at least two types of treatments? List the professional id and cell phone.

### Context:
CREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)

### Response:

### Response:
SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 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 date has parlophone as the label, and lp as a format?

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

### Response:

### Response:
SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sales breakdown for Nintendo's Mario Kart DS?

### Context:
CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND title = "Mario Kart DS"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 host city was Margaret Thatcher the President-in-Office in 1981?

### Context:
CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of the top 10 airlines that operate the most number of routes.

### Context:
CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)

### Response:

### Response:
SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 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 surface when the us open is the championship in the year 1979?

### Context:
CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What party has an incumbent of Stanyarne Wilson?

### Context:
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of nurses who are nursing an undergoing treatment.

### Context:
CREATE TABLE undergoes (AssistingNurse VARCHAR); CREATE TABLE nurse (name VARCHAR, EmployeeID VARCHAR)

### Response:

### Response:
SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN nurse AS T2 ON T1.AssistingNurse = T2.EmployeeID</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?

### Context:
CREATE TABLE table_name_96 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = "tim duncan (24)" AND home = "spurs"</s>


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

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

### Response:

### Response:
SELECT home_team FROM table_name_16 WHERE away_team = "hereford 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's the minimum rnd with race  italian grand prix

### Context:
CREATE TABLE table_1140080_2 (rnd INTEGER, race VARCHAR)

### Response:

### Response:
SELECT MIN(rnd) FROM table_1140080_2 WHERE race = "Italian Grand Prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average pick for Princeton after round 3?

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

### Response:

### Response:
SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losses have corinthians as the team, with an against greater than 26?

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

### Response:

### Response:
SELECT SUM(lost) FROM table_name_32 WHERE team = "corinthians" AND against > 26</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On how many locations is there a church named Askrova Bedehuskapell, built in 1957?

### Context:
CREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR)

### Response:

### Response:
SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = "1957" AND church_name = "Askrova bedehuskapell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what type of record was made where result/games is 10 games (29,606 avg.)

### Context:
CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)

### Response:

### Response:
SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"</s>


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

### Context:
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo"</s>


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

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

### Response:

### Response:
SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Artist has an Issue Price of $8,159.95?

### Context:
CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)

### Response:

### Response:
SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the entrant when the year is less than 1953?

### Context:
CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER)

### Response:

### Response:
SELECT entrant FROM table_name_97 WHERE year < 1953</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?

### Context:
CREATE TABLE table_name_36 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_name_36 WHERE pole_position = "phil hill" AND winning_driver = "wolfgang von trips"</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_20 WHERE to_par = "–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:
When aaron brooks (6) had the highest amount of assists what is the date?

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

### Response:

### Response:
SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (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:
Which constellation has hd 75732 as a destignation HD?

### Context:
CREATE TABLE table_name_38 (constellation VARCHAR, designation_hd VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_name_38 WHERE designation_hd = "hd 75732"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school has the nickname of Cardinals?

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

### Response:

### Response:
SELECT MIN(founded) FROM table_name_9 WHERE nickname = "cardinals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Hanja for McCune-Reischauer of chŏn?

### Context:
CREATE TABLE table_name_56 (hanja VARCHAR, mccune_reischauer VARCHAR)

### Response:

### Response:
SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the unanimous result of the player from Michigan Dartmouth?

### Context:
CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT unanimous FROM table_name_78 WHERE school = "michigan dartmouth"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dudley tuckey medal where leading goalkicker is scott simister (46)

### Context:
CREATE TABLE table_1165048_1 (dudley_tuckey_medal VARCHAR, leading_goalkicker VARCHAR)

### Response:

### Response:
SELECT dudley_tuckey_medal FROM table_1165048_1 WHERE leading_goalkicker = "Scott Simister (46)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Finals has a A-League of 0 6, and a Pre-Season larger than 0?

### Context:
CREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR)

### Response:

### Response:
SELECT AVG(finals) FROM table_name_12 WHERE a_league = "0 6" AND pre_season > 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 Particle has a Makeup of d s s and a Spin (Parity) J P of 3⁄2 +?

### Context:
CREATE TABLE table_name_85 (particle VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR)

### Response:

### Response:
SELECT particle FROM table_name_85 WHERE makeup = "d s s" AND spin___parity___j_p = "3⁄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:
List the id of students who registered some courses and the number of their registered courses?

### Context:
CREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)

### Response:

### Response:
SELECT T1.student_id, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_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 was the attendance for St Andrew's?

### Context:
CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_17 WHERE venue = "st andrew'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:
Round 1 of 71 has how many highest money?

### Context:
CREATE TABLE table_name_33 (money__ INTEGER, round_1 VARCHAR)

### Response:

### Response:
SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D 43 when it has D 45 of d 25

### Context:
CREATE TABLE table_name_45 (d_43 VARCHAR, d_45 VARCHAR)

### Response:

### Response:
SELECT d_43 FROM table_name_45 WHERE d_45 = "d 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:
In the Ohio 4 district, that is the first elected date that has a result of re-elected?

### Context:
CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT SUM(first_elected) FROM table_name_66 WHERE result = "re-elected" AND district = "ohio 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:
According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party?

### Context:
CREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)

### Response:

### Response:
SELECT prog_cons FROM table_name_63 WHERE polling_firm = "corporate research associates" AND liberal = "31%" AND dates = "february 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The canadian airdate of 11 february 2008 applied to what series number?

### Context:
CREATE TABLE table_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_series) FROM table_10935205_1 WHERE canadian_airdate = "11 February 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For which Game 4 did Michael O'Connor play wing position?

### Context:
CREATE TABLE table_name_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)

### Response:

### Response:
SELECT game_4 FROM table_name_8 WHERE position = "wing" AND game_1 = "michael o'connor"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 average of the contestant from Texas with an evening gown larger than 8.875?

### Context:
CREATE TABLE table_name_57 (average INTEGER, state VARCHAR, evening_gown VARCHAR)

### Response:

### Response:
SELECT MAX(average) FROM table_name_57 WHERE state = "texas" AND evening_gown > 8.875</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue did he finish 7th?

### Context:
CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_55 WHERE position = "7th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the host in Georgia?

### Context:
CREATE TABLE table_name_51 (host VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT host FROM table_name_51 WHERE state = "georgia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 host city of the 8th edition in the the host country of Croatia?

### Context:
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)

### Response:

### Response:
SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "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:
How many episodes had a viewership of 2.65 million?

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

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_viewers__millions_ = "2.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:
What is the Nation - athlete(s), when the Sport is luge - men's singles, and when the Record is, "track"?

### Context:
CREATE TABLE table_name_12 (nation___athlete_s_ VARCHAR, sport VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT nation___athlete_s_ FROM table_name_12 WHERE sport = "luge - men's singles" AND record = "track"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winners where season result is 9th

### Context:
CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)

### Response:

### Response:
SELECT winners FROM table_1139835_3 WHERE season_result = "9th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the place when the score is 68-67-73-68=276?

### Context:
CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 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:
Which championship has a margin of 8 strokes?

### Context:
CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR)

### Response:

### Response:
SELECT championship FROM table_name_89 WHERE margin = "8 strokes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Tournament has a 2007 of 19–4?

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

### Response:

### Response:
SELECT tournament FROM table_name_3 WHERE 2007 = "19–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:
Name the venue for eng by 6 wkts

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

### Response:

### Response:
SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the high points for the date of november 24

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

### Response:

### Response:
SELECT high_points FROM table_17323529_5 WHERE date = "November 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Points is the highest one that has a Position of 5, and a Played smaller than 18?

### Context:
CREATE TABLE table_name_80 (points INTEGER, position VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_80 WHERE position = 5 AND played < 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:
Which semesters do not have any student enrolled? List the semester name.

### Context:
CREATE TABLE Student_Enrolment (semester_name VARCHAR, semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR)

### Response:

### Response:
SELECT semester_name FROM Semesters WHERE NOT semester_id IN (SELECT semester_id FROM Student_Enrolment)</s>


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

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

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_42 WHERE losses < 10 AND against < 1253 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 route of administration that has several ongoing and complete?

### Context:
CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)

### Response:

### Response:
SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Srdjan Dragojevic worked on a film which earned what nomination?

### Context:
CREATE TABLE table_10236830_4 (nomination VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT nomination FROM table_10236830_4 WHERE director = "Srdjan Dragojevic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?

### Context:
CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -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 No. 7, when No. 4 is Madison, and when No. 10 is Amelia?

### Context:
CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)

### Response:

### Response:
SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"</s>


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

### Context:
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)

### Response:

### Response:
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the geo ID for the township with 0.771 square miles of water?

### Context:
CREATE TABLE table_18600760_10 (geo_id INTEGER, water__sqmi_ VARCHAR)

### Response:

### Response:
SELECT MAX(geo_id) FROM table_18600760_10 WHERE water__sqmi_ = "0.771"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what couple had a vote percentage of 5.8%?

### Context:
CREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)

### Response:

### Response:
SELECT couple FROM table_26375386_20 WHERE vote_percentage = "5.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 players have a position of F?

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

### Response:

### Response:
SELECT player FROM table_name_2 WHERE position = "f"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the No. 8 of the person with a No. 4 of Matthew and a No. 7 of Anthony?

### Context:
CREATE TABLE table_name_29 (no_8 VARCHAR, no_4 VARCHAR, no_7 VARCHAR)

### Response:

### Response:
SELECT no_8 FROM table_name_29 WHERE no_4 = "matthew" AND no_7 = "anthony"</s>


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

### Context:
CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT location FROM table_13759592_1 WHERE nickname = "Vikings"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 United Airlines flights go to City 'Aberdeen'?

### Context:
CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama?

### Context:
CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)

### Response:

### Response:
SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = "1.6%" AND mccain_percentage = "40.5%" AND obama_number < 256 OFFSET 299</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_45 WHERE date = "november 25, 2001"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Points- when the Sets- is larger than 51?

### Context:
CREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER)

### Response:

### Response:
SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Spouse has a Birth of 30 may 1653?

### Context:
CREATE TABLE table_name_38 (spouse VARCHAR, birth VARCHAR)

### Response:

### Response:
SELECT spouse FROM table_name_38 WHERE birth = "30 may 1653"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the team clasification where the combination classification is mederic clain

### Context:
CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)

### Response:

### Response:
SELECT team_classification FROM table_15088557_1 WHERE combination_classification = "Mederic Clain"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has a medical school established in 1969 with both an IMED and avicenna?

### Context:
CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR)

### Response:

### Response:
SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 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:
Which junior team is associated with an NHL pick by the Buffalo Sabres?

### Context:
CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does the player Todd Wise play in?

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

### Response:

### Response:
SELECT position FROM table_26847237_2 WHERE player = "Todd Wise"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 rating when the air date is november 23, 2007?

### Context:
CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)

### Response:

### Response:
SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 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 Player has a Round larger than 5, and a School/Club Team of bethune-cookman?

### Context:
CREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver medals did the team that had 5 bronze and less than 16 gold have?

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

### Response:

### Response:
SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of values for attendance for the date October 1, 1978?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_14945112_1 WHERE date = "October 1, 1978"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Time elapsed has 14 February 2011 as the Closest approach?

### Context:
CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)

### Response:

### Response:
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which area 2006 km² has an area 1996 km² smaller than 17.31?

### Context:
CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)

### Response:

### Response:
SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.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:
How many Goals against have Played more than 34?

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

### Response:

### Response:
SELECT COUNT(goals_against) FROM table_name_97 WHERE played > 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 bullet does the gun with a shoulder measurement of 12.5 (.491)?

### Context:
CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)

### Response:

### Response:
SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was set 3 of 18-25?

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

### Response:

### Response:
SELECT date FROM table_name_2 WHERE set_3 = "18-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 his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist?

### Context:
CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the organisation in 2011 that was nominated and the award of best info-ed programme host?

### Context:
CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-ed programme host"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Christ made king date with a great tribulation in 1925?

### Context:
CREATE TABLE table_name_16 (christ_madeking VARCHAR, great_tribulation VARCHAR)

### Response:

### Response:
SELECT christ_madeking FROM table_name_16 WHERE great_tribulation = "1925"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the  January (°F) temperatures in the Corner Brook location?

### Context:
CREATE TABLE table_21980_1 (january__°f_ VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT january__°f_ FROM table_21980_1 WHERE location = "Corner Brook"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 number of losses for Presidente Hayes, when the draws were more than 4?

### Context:
CREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT MAX(losses) FROM table_name_61 WHERE team = "presidente hayes" AND draws > 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:
Name the un region for 3314000 population

### Context:
CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT un_region FROM table_16278349_1 WHERE population = 3314000</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode for 18-49 rating being 3.6

### Context:
CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)

### Response:

### Response:
SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "3.6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which manager sponsor arke shirt?

### Context:
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)

### Response:

### Response:
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"</s>


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

### Context:
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_31 WHERE league = "national" 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:
Post University has what nickname?

### Context:
CREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT nickname FROM table_name_4 WHERE institution = "post university"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the entire inhabitants in Southeast Asia?

### Context:
CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)

### Response:

### Response:
SELECT MIN(total_population) FROM table_1389609_3 WHERE region = "Southeast Asia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the Red Wings game when Vancouver was the home team?

### Context:
CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_71 WHERE home = "vancouver"</s>


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

### Context:
CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT arena FROM table_name_33 WHERE opponent = "sharks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points?

### Context:
CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_18 WHERE date = "january 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 is the largest number of top division titles with a 2012 position of 10th?

### Context:
CREATE TABLE table_name_13 (top_division_titles INTEGER, position_in_2012 VARCHAR)

### Response:

### Response:
SELECT MAX(top_division_titles) FROM table_name_13 WHERE position_in_2012 = "10th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)?

### Context:
CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)

### Response:

### Response:
SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa division i)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the chassis when the entrant was Lavazza March, and the points were 0.5?

### Context:
CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.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 were the notes when his position was 10th?

### Context:
CREATE TABLE table_name_2 (notes VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_2 WHERE position = "10th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?

### Context:
CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Builder for the locomotive that has a works number of 323?

### Context:
CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR)

### Response:

### Response:
SELECT builder FROM table_name_92 WHERE works_number = "323"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 events a tournament with more than 1 top-10 and more than 0 wins has?

### Context:
CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the religion that has a growth rate of 1.56%

### Context:
CREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR)

### Response:

### Response:
SELECT religion FROM table_28137918_5 WHERE growth_rate = "1.56%"</s>


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

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

### Response:

### Response:
SELECT high_assists FROM table_17288825_10 WHERE date = "April 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home of aggregate's 3-4?

### Context:
CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)

### Response:

### Response:
SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the home game for Hartford?

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

### Response:

### Response:
SELECT date FROM table_name_87 WHERE home = "hartford"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 number of points for a position less than 3 and less than 1 loss?

### Context:
CREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which division do the Toronto Raptors belong in?

### Context:
CREATE TABLE table_name_87 (division VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT division FROM table_name_87 WHERE team = "toronto raptors"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are the london borough with the black caribbean population of 17974?

### Context:
CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR)

### Response:

### Response:
SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?

### Context:
CREATE TABLE table_name_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT institution FROM table_name_67 WHERE year > 2007 AND award = "2nd" AND chief_judge = "peter agre"</s>


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

### Context:
CREATE TABLE table_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR)

### Response:

### Response:
SELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Total has a Rank smaller than 3, and a County of cork?

### Context:
CREATE TABLE table_name_18 (total INTEGER, rank VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Loss for the player named total that has a long greater than 55?

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

### Response:

### Response:
SELECT MIN(loss) FROM table_name_95 WHERE name = "total" AND long > 55</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the extra result of the 4th game?

### Context:
CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT extra FROM table_name_37 WHERE result = "4th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the score with date  oct 1

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

### Response:

### Response:
SELECT score FROM table_11621915_1 WHERE date = "Oct 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Away team on the result of 1-5 aet?

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

### Response:

### Response:
SELECT away FROM table_name_61 WHERE result = "1-5 aet"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the score when the opponent is ann grossman?

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

### Response:

### Response:
SELECT score FROM table_name_79 WHERE opponent = "ann grossman"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the amount of profits in billions for companies with a market value of 204.9 billion?

### Context:
CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)

### Response:

### Response:
SELECT profits__billion_$_ FROM table_1682026_6 WHERE market_value__billion_$_ = "204.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:
How often does Dengeki girl's style come out?

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

### Response:

### Response:
SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 wins for the ottawa hockey club when the games played is less than 10?

### Context:
CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)

### Response:

### Response:
SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 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:
How much Converted has a Number of 35, and a Withdrawn smaller than 1952?

### Context:
CREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)

### Response:

### Response:
SELECT COUNT(converted) FROM table_name_71 WHERE number = "35" AND withdrawn < 1952</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?

### Context:
CREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 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:
On what date did the New York Giants host a game?

### Context:
CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_42 WHERE host_team = "new york giants"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the description of transaction type with code "PUR".

### Context:
CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)

### Response:

### Response:
SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Mean of played with smaller than 7 conceded?

### Context:
CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)

### Response:

### Response:
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people lived in san gabriel in the year 2000?

### Context:
CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)

### Response:

### Response:
SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel"</s>


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

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

### Response:

### Response:
SELECT trainer FROM table_name_71 WHERE year = 2013</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Opponent is "Philadelphia 76ers"?

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

### Response:

### Response:
SELECT date FROM table_name_6 WHERE opponent = "philadelphia 76ers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What 2nd Party has an Election of 1885?

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

### Response:

### Response:
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Location Attendance is "US Airways Center 18,422", and when Game is less than 22?

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

### Response:

### Response:
SELECT score FROM table_name_27 WHERE location_attendance = "us airways center 18,422" AND game < 22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the english gloss for haŋȟ’áŋna

### Context:
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, santee_sisseton VARCHAR)

### Response:

### Response:
SELECT english_gloss FROM table_1499774_5 WHERE santee_sisseton = "haŋȟ’áŋna"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which young classification has an aggressive rider of Tim Johnson?

### Context:
CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)

### Response:

### Response:
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 works number has a class of 15th and year of 1940?

### Context:
CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 picked for the draft by St. Louis Blues?

### Context:
CREATE TABLE table_2886617_9 (player VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_2886617_9 WHERE nhl_team = "St. Louis Blues"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Attendance on November 26?

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

### Response:

### Response:
SELECT attendance FROM table_name_98 WHERE date = "november 26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?

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

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the hometown of Devon Bookert who is 6-3 tall?

### Context:
CREATE TABLE table_name_62 (hometown VARCHAR, height VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT hometown FROM table_name_62 WHERE height = "6-3" AND name = "devon bookert"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the episode was directed by Michael Offer, what was the episode number?

### Context:
CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)

### Response:

### Response:
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Played has Goals Against of 45, and Goals For smaller than 65?

### Context:
CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR)

### Response:

### Response:
SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 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:
What is the year when Scuderia Lancia Corse competed?

### Context:
CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Was the University of Southern California Signed?

### Context:
CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT signed FROM table_name_50 WHERE school = "university of southern california"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least amount of wickets?

### Context:
CREATE TABLE table_27922491_8 (wickets INTEGER)

### Response:

### Response:
SELECT MIN(wickets) FROM table_27922491_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 nationality of the ship when the principle victims are civilians?

### Context:
CREATE TABLE table_name_49 (nat VARCHAR, principal_victims VARCHAR)

### Response:

### Response:
SELECT nat FROM table_name_49 WHERE principal_victims = "civilians"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?

### Context:
CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)

### Response:

### Response:
SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High points of raymond felton (32)?

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

### Response:

### Response:
SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for 2004 when 2005 is A, 2006 is A, tournament is US Open?

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

### Response:

### Response:
SELECT 2004 FROM table_name_60 WHERE 2005 = "a" AND 2006 = "a" AND tournament = "us open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the greatest rank for Fifth third center?

### Context:
CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the start dates and end dates of all the apartment bookings.

### Context:
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR)

### Response:

### Response:
SELECT booking_start_date, booking_end_date FROM Apartment_Bookings</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 episode# with the writer Paul West?

### Context:
CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)

### Response:

### Response:
SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Placings have a Nation of west germany, and Points larger than 303.72?

### Context:
CREATE TABLE table_name_31 (placings INTEGER, nation VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT SUM(placings) FROM table_name_31 WHERE nation = "west germany" AND points > 303.72</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Semifinalists, when Tournament is Rome

### Context:
CREATE TABLE table_name_93 (semifinalists VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT semifinalists FROM table_name_93 WHERE tournament = "rome"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the molecules when the percent mass is 1.0?

### Context:
CREATE TABLE table_name_8 (molecules VARCHAR, percent_of_mass VARCHAR)

### Response:

### Response:
SELECT molecules FROM table_name_8 WHERE percent_of_mass = "1.0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the match on grass in 1955?

### Context:
CREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the value for model if processor is Kentsfield and brand name is Xeon?

### Context:
CREATE TABLE table_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)

### Response:

### Response:
SELECT model__list_ FROM table_2467150_2 WHERE processor = "Kentsfield" AND brand_name = "Xeon"</s>


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

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

### Response:

### Response:
SELECT captain FROM table_24039173_1 WHERE location = "Chaguaramas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Length/Fuel of the bus with a Quantity of 30?

### Context:
CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR)

### Response:

### Response:
SELECT length_fuel FROM table_name_22 WHERE quantity = 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 Finish, when Country is "United States", and when Player is "Julius Boros"?

### Context:
CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Attendance on November 6, 1960?

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

### Response:

### Response:
SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960"</s>