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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of opponent in the final for 6–2, 6–1, 6–3

### Context:
CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson?

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

### Response:

### Response:
SELECT score FROM table_name_48 WHERE country = "united states" AND place = "t2" AND player = "tom watson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the ground of the Geelong Away team?

### Context:
CREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT ground FROM table_name_74 WHERE away_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all every engineer's first name, last name, details and coresponding skill description.

### Context:
CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)

### Response:

### Response:
SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_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:
Which City has 600kw 500kw ERP (Analog/ Digital)?

### Context:
CREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_41 WHERE erp__analog__digital_ = "600kw 500kw"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listings in the Valdez-cordova (census area) Borough?

### Context:
CREATE TABLE table_name_93 (listed VARCHAR, borough VARCHAR)

### Response:

### Response:
SELECT listed FROM table_name_93 WHERE borough = "valdez-cordova (census area)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the episode with production code 102?

### Context:
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)

### Response:

### Response:
SELECT title FROM table_27547668_2 WHERE prod_code = 102</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?

### Context:
CREATE TABLE table_15162479_8 (eviction_result VARCHAR, eviction_no VARCHAR, vote_to_save VARCHAR)

### Response:

### Response:
SELECT COUNT(eviction_result) FROM table_15162479_8 WHERE eviction_no = 12 AND vote_to_save = "2.76%"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?

### Context:
CREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)

### Response:

### Response:
SELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = "37" AND nov_2012 < 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:
If the English translation is hello girl, what was the language?

### Context:
CREATE TABLE table_19249824_1 (language VARCHAR, english_translation VARCHAR)

### Response:

### Response:
SELECT language FROM table_19249824_1 WHERE english_translation = "Hello girl"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the transfer window for Hleb?

### Context:
CREATE TABLE table_name_69 (transfer_window VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT transfer_window FROM table_name_69 WHERE name = "hleb"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What average Wins has Losses 2, and Draws less than 0?

### Context:
CREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many writers had an US air date of september 25, 1993?

### Context:
CREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR)

### Response:

### Response:
SELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = "September 25, 1993"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3

### Context:
CREATE TABLE table_name_60 (losses INTEGER, appearances VARCHAR, wins VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT SUM(losses) FROM table_name_60 WHERE wins < 2 AND rank = 10 AND appearances > 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?

### Context:
CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_2508633_4 WHERE nfl_team = "New Orleans Saints"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Tie no when Crystal Palace is the Away team?

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

### Response:

### Response:
SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year Elected of Republican Incumbent Dave Reichert?

### Context:
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT elected FROM table_name_31 WHERE party = "republican" AND incumbent = "dave reichert"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 of barrel twist when the barrel profile is SFW?

### Context:
CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)

### Response:

### Response:
SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which engine has daimler benz ag as an entrant?

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

### Response:

### Response:
SELECT engine FROM table_name_7 WHERE entrant = "daimler benz ag"</s>


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

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

### Response:

### Response:
SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which class has a part 2 of halp warþ?

### Context:
CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_14 WHERE part_2 = "halp warþ"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entrant scored less than 2 points?

### Context:
CREATE TABLE table_name_96 (entrant VARCHAR, points INTEGER)

### Response:

### Response:
SELECT entrant FROM table_name_96 WHERE points < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total share of transactions?

### Context:
CREATE TABLE TRANSACTIONS (share_count INTEGER)

### Response:

### Response:
SELECT SUM(share_count) FROM TRANSACTIONS</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 wind at New York City when the rank was smaller than 6?

### Context:
CREATE TABLE table_name_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT wind FROM table_name_18 WHERE rank < 6 AND location = "new york city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Number has a Name of cooper, c. kenneth, and a Year End larger than 1984?

### Context:
CREATE TABLE table_name_90 (number INTEGER, name VARCHAR, year_end VARCHAR)

### Response:

### Response:
SELECT AVG(number) FROM table_name_90 WHERE name = "cooper, c. kenneth" AND year_end > 1984</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Losses is the lowest one that has Wins smaller than 0?

### Context:
CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER)

### Response:

### Response:
SELECT MIN(losses) FROM table_name_92 WHERE 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:
Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?

### Context:
CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)

### Response:

### Response:
SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.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's the total when the gold is less than 0 and silver is less than 1?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much money did Ian Chamings request?

### Context:
CREATE TABLE table_name_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)

### Response:

### Response:
SELECT money_requested__£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses?

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

### Response:

### Response:
SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 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 did Taiwan score?

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

### Response:

### Response:
SELECT score FROM table_name_1 WHERE country = "taiwan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Overall has a College of florida state, and a Round larger than 2?

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

### Response:

### Response:
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest round that Adam Wiesel was picked?

### Context:
CREATE TABLE table_name_9 (round INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MIN(round) FROM table_name_9 WHERE player = "adam wiesel"</s>


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

### Context:
CREATE TABLE table_14984103_1 (week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT COUNT(week) FROM table_14984103_1 WHERE opponent = "San Francisco 49ers"</s>


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

### Context:
CREATE TABLE table_24565004_2 (appearances¹ INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MAX(appearances¹) FROM table_24565004_2 WHERE name = "Bernard Allou"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1st leg of the team with a 2-1 agg.?

### Context:
CREATE TABLE table_name_13 (agg VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-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 average age for different job title?

### Context:
CREATE TABLE Person (job VARCHAR, age INTEGER)

### Response:

### Response:
SELECT AVG(age), job FROM Person GROUP BY job</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of the tax supervising and conservation bill?

### Context:
CREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)

### Response:

### Response:
SELECT MIN(meas_num) FROM table_256286_23 WHERE description = "Tax Supervising and Conservation Bill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructed the car with a grid over 19 that retired due to suspension?

### Context:
CREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = "suspension"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the market value in billions when the assets totaled 1,380.88?

### Context:
CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)

### Response:

### Response:
SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times is lost less than 7 and the position 2?

### Context:
CREATE TABLE table_name_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the track that opened in 1995?

### Context:
CREATE TABLE table_1245148_1 (location VARCHAR, year_opened VARCHAR)

### Response:

### Response:
SELECT location FROM table_1245148_1 WHERE year_opened = 1995</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was Carlton's away team opponents?

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

### Response:

### Response:
SELECT away_team FROM table_name_16 WHERE home_team = "carlton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was Assen held?

### Context:
CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT round FROM table_10083598_1 WHERE circuit = "Assen"</s>


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

### Context:
CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT COUNT(week) FROM table_name_87 WHERE record = "0-11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date had a result of 8-0?

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

### Response:

### Response:
SELECT date FROM table_name_40 WHERE result = "8-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:
Show different parties of people along with the number of people in each party.

### Context:
CREATE TABLE people (Party VARCHAR)

### Response:

### Response:
SELECT Party, COUNT(*) FROM people GROUP BY Party</s>


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

### Context:
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_50 WHERE venue = "emcg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?

### Context:
CREATE TABLE table_name_49 (copa_conmebol_1996 VARCHAR, recopa_sudamericana_1996 VARCHAR)

### Response:

### Response:
SELECT copa_conmebol_1996 FROM table_name_49 WHERE recopa_sudamericana_1996 = "champions"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the highest attendance for week 6?

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

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_82 WHERE week = 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 height for rank greater than 10 in Tameer Tower?

### Context:
CREATE TABLE table_name_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = "tameer tower"</s>


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

### Context:
CREATE TABLE table_27366772_3 (population__2001_ INTEGER)

### Response:

### Response:
SELECT MAX(population__2001_) FROM table_27366772_3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the driver for race time being 2:34:21

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

### Response:

### Response:
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country is in T1 place with a score of 71-68=139?

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

### Response:

### Response:
SELECT country FROM table_name_4 WHERE place = "t1" AND score = 71 - 68 = 139</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the song name for the film name ganga kare insaaf?

### Context:
CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR)

### Response:

### Response:
SELECT song_name FROM table_11827596_2 WHERE film_name = "Ganga Kare Insaaf"</s>


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

### Context:
CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT _number FROM table_22871239_5 WHERE date = "November 27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed episodes that had 2.61 million U.S. viewers?

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

### Response:

### Response:
SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.61"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title of the episode directed by John T. Kretchmer?

### Context:
CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?

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

### Response:

### Response:
SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 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:
Find all airlines that have at least 10 flights.

### Context:
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)

### Response:

### Response:
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 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:
Show all paragraph texts for the document "Customer reviews".

### Context:
CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)

### Response:

### Response:
SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Customer reviews"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 director of the Series 1 episode?

### Context:
CREATE TABLE table_11951237_1 (directed_by VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT directed_by FROM table_11951237_1 WHERE series__number = 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 Score has a time of 14:10?

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

### Response:

### Response:
SELECT score FROM table_name_43 WHERE time = "14: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:
Who was the Partner in the Algiers 2, Algeria Tournament?

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

### Response:

### Response:
SELECT partner FROM table_name_2 WHERE tournament = "algiers 2, algeria"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the final score of a baseball game that happened before 2005?

### Context:
CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps for mi-jack conquest racing when they went off course?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_21 WHERE team = "mi-jack conquest racing" AND time_retired = "off course"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the highest against score that drew more than 5, and had more than 18 points?

### Context:
CREATE TABLE table_name_35 (against INTEGER, drawn VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the overall record of UMBC?

### Context:
CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT record FROM table_16295365_1 WHERE school = "UMBC"</s>


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

### Context:
CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_10 WHERE college = "louisiana tech"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 AND bronze < 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:
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?

### Context:
CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Shooter has a Total of 28?

### Context:
CREATE TABLE table_name_9 (shooter VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT shooter FROM table_name_9 WHERE total = "28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the episode with maritza reveron

### Context:
CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR)

### Response:

### Response:
SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tracks were Recorded 1964-01-08?

### Context:
CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)

### Response:

### Response:
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"</s>


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

### Context:
CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the original name of the restaurant located in Orillia, ON?

### Context:
CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT original_name FROM table_name_50 WHERE location = "orillia, on"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?

### Context:
CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall for dwight freeney with round less than 1

### Context:
CREATE TABLE table_name_8 (overall INTEGER, name VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT MAX(overall) FROM table_name_8 WHERE name = "dwight freeney" AND round < 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 venue has Scotland as the opposing teams?

### Context:
CREATE TABLE table_name_95 (venue VARCHAR, opposing_teams VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_95 WHERE opposing_teams = "scotland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nationality that has the Round smaller than 5, and the Player of bruce affleck?

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

### Response:

### Response:
SELECT nationality FROM table_name_10 WHERE round < 5 AND player = "bruce affleck"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team when walsall was the away team?

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

### Response:

### Response:
SELECT home_team FROM table_name_8 WHERE away_team = "walsall"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stations are called radyo5 101.9 news fm?

### Context:
CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)

### Response:

### Response:
SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News 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:
How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4

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

### Response:

### Response:
SELECT COUNT(week) FROM table_name_22 WHERE date = "september 8, 1980" AND attendance > 55 OFFSET 045</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 composed the work conducted by jaroslav Vogel?

### Context:
CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR)

### Response:

### Response:
SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the earliest that New England Patriots played?

### Context:
CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 number of floors for the building of td building redevelopment (office)?

### Context:
CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)

### Response:

### Response:
SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every episode number for the series number 3?

### Context:
CREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series VARCHAR, series_no VARCHAR)

### Response:

### Response:
SELECT episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series FROM table_27208311_1 WHERE series_no = 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least amount of prize money when there are 21 events?

### Context:
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)

### Response:

### Response:
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many receptions for players with over 647 yards and an under 14 yard average?

### Context:
CREATE TABLE table_name_83 (rec INTEGER, yards VARCHAR, avg VARCHAR)

### Response:

### Response:
SELECT MIN(rec) FROM table_name_83 WHERE yards > 647 AND avg < 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the tries fow when losing bonus is losing bonus?

### Context:
CREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR)

### Response:

### Response:
SELECT tries_for FROM table_name_47 WHERE losing_bonus = "losing bonus"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won Bronze with Notes of 2.5km, 16controls?

### Context:
CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 court ranking of 5th son of tadayori and has revenues of 10,000 koku?

### Context:
CREATE TABLE table_name_32 (court_rank VARCHAR, revenues VARCHAR, lineage VARCHAR)

### Response:

### Response:
SELECT court_rank FROM table_name_32 WHERE revenues = "10,000 koku" AND lineage = "5th son of tadayori"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 aired Saturday, July 11, 2009

### Context:
CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR)

### Response:

### Response:
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, July 11, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Gold, when Total is 6?

### Context:
CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_79 WHERE total = 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 was the percentage in 2006 whose natives is Polish?

### Context:
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)

### Response:

### Response:
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = "Polish"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Week 4 has a Week 2 of samantha speer?

### Context:
CREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)

### Response:

### Response:
SELECT week_4 FROM table_name_62 WHERE week_2 = "samantha speer"</s>


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

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

### Response:

### Response:
SELECT record FROM table_17325580_10 WHERE team = "Boston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Round has an Overall smaller than 6?

### Context:
CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)

### Response:

### Response:
SELECT MAX(round) FROM table_name_84 WHERE overall < 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:
According to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?

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

### Response:

### Response:
SELECT liberal FROM table_name_36 WHERE polling_firm = "corporate research associates" AND prog_cons = "32%" AND dates = "august 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest round of Ian Cole, who played position d from the United States?

### Context:
CREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT MAX(round) FROM table_name_35 WHERE position = "d" AND nationality = "united states" AND player = "ian cole"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 highest losses for a byes larger than 2?

### Context:
CREATE TABLE table_name_99 (losses INTEGER, byes INTEGER)

### Response:

### Response:
SELECT MAX(losses) FROM table_name_99 WHERE byes > 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 name has a qual 2 of 1:43.374?

### Context:
CREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the visitors when the home team were the ny rangers?

### Context:
CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_76 WHERE home = "ny rangers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 quantities ordered with payment method code "MasterCard" on invoices?

### Context:
CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR)

### Response:

### Response:
SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times was the episode directed by maury geraghty originally aired?

### Context:
CREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = "Maury Geraghty"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region is associated with the catalog value of 512335?

### Context:
CREATE TABLE table_name_57 (region VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_57 WHERE catalog = "512335"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match that lasted 2:43 has what record?

### Context:
CREATE TABLE table_name_38 (record VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_38 WHERE time = "2:43"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the label from 1973 that has a catalog number of l 35023?

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

### Response:

### Response:
SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023"</s>


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

### Context:
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_46 WHERE tournament = "volos"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For teams that won exactly 15, how many points were scored?

### Context:
CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)

### Response:

### Response:
SELECT points FROM table_27293285_6 WHERE won = "15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time for the race with the United States?

### Context:
CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_63 WHERE country = "united states"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was the ship named Manhattan completed?

### Context:
CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)

### Response:

### Response:
SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the the incumbent with candidates being percy e. quin (d) unopposed

### Context:
CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)

### Response:

### Response:
SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the postion of the player listed from Dooly County High School?

### Context:
CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT position FROM table_11677691_10 WHERE school = "Dooly County High school"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 podiums had a race higher than 14 in 1996 and a Flap lower than 9?

### Context:
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 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 position is the player selected that has a round value over 3?

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

### Response:

### Response:
SELECT position FROM table_name_81 WHERE round > 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Entered when the eliminated number is 3?

### Context:
CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)

### Response:

### Response:
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time with fewer than 5 lanes for the United States?

### Context:
CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states"</s>


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

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

### Response:

### Response:
SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the poles for 25th position

### Context:
CREATE TABLE table_1708050_1 (poles VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT poles FROM table_1708050_1 WHERE position = "25th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine was for the vehicle with a cooper t43 chassis?

### Context:
CREATE TABLE table_name_19 (engine VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_19 WHERE chassis = "cooper t43"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is zip code of customer with first name as Carole and last name as Bernhard?

### Context:
CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)

### Response:

### Response:
SELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?

### Context:
CREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)

### Response:

### Response:
SELECT started FROM table_name_23 WHERE country = "eng" AND loan_club = "sunderland" AND end_source = "south wales echo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 to par score in T8 place from Zimbabwe and has a score of 73-68=141?

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

### Response:

### Response:
SELECT to_par FROM table_name_1 WHERE place = "t8" AND score = 73 - 68 = 141 AND country = "zimbabwe"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 ties when they played less than 14 games, and a lost less than 8 of them?

### Context:
CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the size of the largest crowd that Essendon played in front of as the away team?

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

### Response:

### Response:
SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What color is model # pd-kb400w?

### Context:
CREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR)

### Response:

### Response:
SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have?

### Context:
CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)

### Response:

### Response:
SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many paragraphs in total?

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

### Response:

### Response:
SELECT COUNT(*) FROM Paragraphs</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country is the film directed by Jean-Luc Godard in French from?

### Context:
CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 long did the trans 1 take when 2:00:40.20 is the total time?

### Context:
CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR)

### Response:

### Response:
SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On February 26, who was the leading scorer?

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

### Response:

### Response:
SELECT leading_scorer FROM table_name_30 WHERE date = "february 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:
How many percentages have losses fewer than 1 with finals appearances of 4?

### Context:
CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR)

### Response:

### Response:
SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location and attendance of the game when the score is 125-100?

### Context:
CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_name_89 WHERE score = "125-100"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1879-81 with number built 4, what is the LMS nos?

### Context:
CREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR)

### Response:

### Response:
SELECT lms_nos FROM table_name_63 WHERE date = "1879-81" AND no_built = 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 competition on October 21, 2003?

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

### Response:

### Response:
SELECT competition FROM table_name_83 WHERE date = "october 21, 2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the high points for the game played at the MCI Center?

### Context:
CREATE TABLE table_18904831_7 (high_points VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT COUNT(high_points) FROM table_18904831_7 WHERE location = "MCI 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:
What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?

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

### Response:

### Response:
SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 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 archbishop vacated the throne on May 17, 1907?

### Context:
CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR)

### Response:

### Response:
SELECT archbishop FROM table_name_42 WHERE vacated_throne = "may 17, 1907"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the 2011 Wimbledon result?

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

### Response:

### Response:
SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 numbers in the season were written by  Brett Conrad & Liz Sagal?

### Context:
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the crowd size at Collingwood's match?

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

### Response:

### Response:
SELECT crowd FROM table_name_43 WHERE home_team = "collingwood"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the voice actor of the character with the Japanese voice actor Yoku Shioya?

### Context:
CREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)

### Response:

### Response:
SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = "yoku shioya"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 away teams score at Princes Park?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all company names with a book published by Alyson.

### Context:
CREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR)

### Response:

### Response:
SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?

### Context:
CREATE TABLE table_name_78 (mongolian VARCHAR, tamil_தமிழ் VARCHAR)

### Response:

### Response:
SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 extremely adventures is the category what is the height from sea level in meters?

### Context:
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Extremely Adventures"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13?

### Context:
CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the method when the time is 0:51?

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

### Response:

### Response:
SELECT method FROM table_name_5 WHERE time = "0: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:
List the document ids for any documents with the status code done and the type code paper.

### Context:
CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)

### Response:

### Response:
SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the lowest pick number for new england revolution

### Context:
CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR)

### Response:

### Response:
SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 value of average attendance when average on previous season is -459?

### Context:
CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)

### Response:

### Response:
SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every location attendance on the date December 12?

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

### Response:

### Response:
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many chassis used number 34?

### Context:
CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR)

### Response:

### Response:
SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 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 was the final score in game 15?

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

### Response:

### Response:
SELECT score FROM table_17001658_5 WHERE game = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The theme Auditioner's Choice	has what song choice?

### Context:
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice"</s>


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

### Context:
CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)

### Response:

### Response:
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score in Tie 2?

### Context:
CREATE TABLE table_name_4 (score VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_4 WHERE tie_no = "2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Record on Game 50?

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

### Response:

### Response:
SELECT record FROM table_name_68 WHERE game = 50</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Diligence Virtues Gloss?

### Context:
CREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR)

### Response:

### Response:
SELECT gloss FROM table_name_22 WHERE virtue = "diligence"</s>


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

### Context:
CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 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:
How many years was Louis Armstrong performing?

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

### Response:

### Response:
SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the crowd was larger than 20,915 what did the Away team score?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the highest First Elected with a Result of Re-elected and DIstrict of California 5?

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

### Response:

### Response:
SELECT MAX(first_elected) FROM table_name_21 WHERE result = "re-elected" AND district = "california 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:
Which Conference has a City of boca raton, and a School of florida atlantic university?

### Context:
CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic 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 Engine had a Finish of 27?

### Context:
CREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_98 WHERE finish = "27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Place when the To par was +3 and Score was 74-73=147?

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

### Response:

### Response:
SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_94 WHERE date = "11 august 2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the fight located that lasted 1 round against luiz claudio das dores?

### Context:
CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What episode is directed by Bryan Spicer and written by Terence Paul Winter?

### Context:
CREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_23958944_5 WHERE directed_by = "Bryan Spicer" AND written_by = "Terence Paul Winter"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 first prize of the Mercedes Championships tournament in California?

### Context:
CREATE TABLE table_name_18 (location VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT MIN(1 AS st_prize___) AS $__ FROM table_name_18 WHERE location = "california" AND tournament = "mercedes championships"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of tries for that has 30 tries against?

### Context:
CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)

### Response:

### Response:
SELECT tries_for FROM table_name_74 WHERE tries_against = "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:
How many rounds have an Overall larger than 17, and a Position of quarterback?

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

### Response:

### Response:
SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which name is 51.89 (2.043) long?

### Context:
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the percentage listed for the team who scored 63 points?

### Context:
CREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT percentage FROM table_26200568_16 WHERE points_for = 63</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?

### Context:
CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)

### Response:

### Response:
SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 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:
What is the most recent year with a position of 3rd?

### Context:
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_68 WHERE position = "3rd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the ERP for the Mount Goonaneman transmitter?

### Context:
CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)

### Response:

### Response:
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years have a Position of 17th (q)?

### Context:
CREATE TABLE table_name_41 (year VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_41 WHERE position = "17th (q)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total built by the United Kingdom and holds 1,300 passengers?

### Context:
CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)

### Response:

### Response:
SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of rounds that took place for the fight that lasted 6:21?

### Context:
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Richard Bachmann's PBA team?

### Context:
CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What surface was the match on November 6, 1982 played on?

### Context:
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333?

### Context:
CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333"</s>


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

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

### Response:

### Response:
SELECT position FROM table_25085059_1 WHERE pick__number = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Name has a Time of 01:17:01?

### Context:
CREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_14 WHERE time = "01:17:01"</s>