<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 positions did 1972 NHL Draft pick Rene Lambert play?

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

### Response:

### Response:
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what week was the first game played?

### Context:
CREATE TABLE table_29679510_2 (week INTEGER)

### Response:

### Response:
SELECT MIN(week) FROM table_29679510_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 latest year?

### Context:
CREATE TABLE table_2199290_1 (year INTEGER)

### Response:

### Response:
SELECT MAX(year) FROM table_2199290_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date  has a Week smaller than 14, and an Opponent of san francisco 49ers?

### Context:
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_92 WHERE week < 14 AND 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:
Where was the game held where North Melbourne was the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_89 WHERE away_team = "north melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?

### Context:
CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = "2009-2010" AND wins > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Rifle when the German Gewehr 98 is 74cm?

### Context:
CREATE TABLE table_name_94 (rifle VARCHAR, german_gewehr_98 VARCHAR)

### Response:

### Response:
SELECT rifle FROM table_name_94 WHERE german_gewehr_98 = "74cm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the game where the home team was St Kilda, what was the attendance?

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

### Response:

### Response:
SELECT crowd FROM table_name_52 WHERE home_team = "st kilda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the Points on December 13?

### Context:
CREATE TABLE table_name_63 (points INTEGER, date VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_63 WHERE date = "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 total attendance before week 1?

### Context:
CREATE TABLE table_name_16 (attendance INTEGER, week INTEGER)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_16 WHERE week < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year jennifer tarol barrientos is in?

### Context:
CREATE TABLE table_name_50 (year INTEGER, delegate VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date has a Surface of carpet (i)?

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

### Response:

### Response:
SELECT date FROM table_name_44 WHERE surface = "carpet (i)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the season with a Skip of Eve Muirhead and a third of Kerry Barr?

### Context:
CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_42 WHERE skip = "eve muirhead" AND third = "kerry barr"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?

### Context:
CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)

### Response:

### Response:
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(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:
On what date was the score 2–4?

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

### Response:

### Response:
SELECT date FROM table_name_89 WHERE score = "2–4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?

### Context:
CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)

### Response:

### Response:
SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = "smw rovers" AND wins > 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 comparable country has a national share of 1.08?

### Context:
CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)

### Response:

### Response:
SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.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 United States player holds the place of t8?`

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

### Response:

### Response:
SELECT player FROM table_name_57 WHERE place = "t8" AND 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's the enrollment at 41 Johnson?

### Context:
CREATE TABLE table_name_24 (enrollment INTEGER, _number___county VARCHAR)

### Response:

### Response:
SELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = "41 johnson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the authority who set the budget limit (£m) at 900?

### Context:
CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)

### Response:

### Response:
SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Platform has a Current Version 0.6.2?

### Context:
CREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)

### Response:

### Response:
SELECT platform FROM table_name_55 WHERE current_version = "0.6.2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average dismissals of 83 test and catches less than 33?

### Context:
CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)

### Response:

### Response:
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?

### Context:
CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR)

### Response:

### Response:
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team had goal averages of 1.34?

### Context:
CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR)

### Response:

### Response:
SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the location where the record is 1-0

### Context:
CREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR)

### Response:

### Response:
SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who played in the semi finals matches at the Buick WCT finals?

### Context:
CREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)

### Response:

### Response:
SELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = "Buick WCT Finals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people got high points in game 35?

### Context:
CREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 35</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the site of the game with a Record of 6-2?

### Context:
CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT game_site FROM table_name_35 WHERE record = "6-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 score against Portland in game numbers under 20?

### Context:
CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when the Spurs' record was 43-13?

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

### Response:

### Response:
SELECT score FROM table_name_72 WHERE record = "43-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:
elaine lee worked on how many issues

### Context:
CREATE TABLE table_1420954_1 (issues VARCHAR, writer VARCHAR)

### Response:

### Response:
SELECT COUNT(issues) FROM table_1420954_1 WHERE writer = "Elaine Lee"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the minimum crowd on January 24, 1987?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 9386 is the undergraduate enrollment what is the nickname?

### Context:
CREATE TABLE table_262495_1 (nickname VARCHAR, undergraduate_enrollment VARCHAR)

### Response:

### Response:
SELECT nickname FROM table_262495_1 WHERE undergraduate_enrollment = 9386</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What character did Lisa Davina Phillip portray?

### Context:
CREATE TABLE table_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR)

### Response:

### Response:
SELECT character FROM table_22460085_1 WHERE original_manchester_performer = "Lisa Davina Phillip"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 asked 20 questions in the issue where the centerfold is Marliece Andrada?

### Context:
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR)

### Response:

### Response:
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had a points average with 0 extra points and 0 field goals?

### Context:
CREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When 21 is the number in series what is the air date?

### Context:
CREATE TABLE table_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_2409041_2 WHERE no_in_series = 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 every value when Mitchell is 676?

### Context:
CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)

### Response:

### Response:
SELECT value FROM table_1818471_1 WHERE mitchell = 676</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the most recent year with more than 27 points and more than 5 wins?

### Context:
CREATE TABLE table_name_69 (year INTEGER, points VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_69 WHERE points > 27 AND wins > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?

### Context:
CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)

### Response:

### Response:
SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which number lists the production code as 2j5809

### Context:
CREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT no FROM table_27403436_1 WHERE production_code = "2J5809"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of total values for Rd 7 less than 8?

### Context:
CREATE TABLE table_name_53 (total INTEGER, rd_7 INTEGER)

### Response:

### Response:
SELECT SUM(total) FROM table_name_53 WHERE rd_7 < 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:
The tournament in Belgrade had what as a score?

### Context:
CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_7 WHERE tournament = "belgrade"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average bronze had a silver greater than 2 and a gold larger than 7?

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

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the result for attendance of 54,462

### Context:
CREATE TABLE table_name_32 (result VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_32 WHERE attendance = "54,462"</s>


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

### Context:
CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR)

### Response:

### Response:
SELECT bats FROM table_name_23 WHERE first = "mitchell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret?

### Context:
CREATE TABLE table_name_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_20 WHERE winning_constructor = "bugatti" AND winning_driver = "edward bret"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament had a winning score of −27 (64-64-61=189)?

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

### Response:

### Response:
SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is week 4 if week 3 is 35.40?

### Context:
CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)

### Response:

### Response:
SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest population in which 28.0% are democrat?

### Context:
CREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR)

### Response:

### Response:
SELECT MIN(population) FROM table_27003223_4 WHERE democratic = "28.0%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHat was the max public with danniella and matthew?

### Context:
CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)

### Response:

### Response:
SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"</s>


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

### Context:
CREATE TABLE table_name_46 (enrollment INTEGER, location VARCHAR)

### Response:

### Response:
SELECT MIN(enrollment) FROM table_name_46 WHERE location = "lafayette"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on week 5?

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

### Response:

### Response:
SELECT opponent FROM table_name_4 WHERE week = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed the nominated film 'blood on his hands'?

### Context:
CREATE TABLE table_name_45 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)

### Response:

### Response:
SELECT director_s_ FROM table_name_45 WHERE rank = "nominated" AND film = "blood on his hands"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the year for 5 february?

### Context:
CREATE TABLE table_name_1 (year INTEGER, date VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_1 WHERE date = "5 february"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Appearances, when Postion [F ] is "Defender", and when Date to [H ] is "1938"?

### Context:
CREATE TABLE table_name_18 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR)

### Response:

### Response:
SELECT appearances FROM table_name_18 WHERE position_[f_] = "defender" AND date_to_[h_] = "1938"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 received gold when the event is time trial details and silver is simon richardson great britain (gbr)?

### Context:
CREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_2 WHERE event = "time trial details" AND silver = "simon richardson great britain (gbr)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the frequency for the station with the branding of 94dot3 home radio Palawan?

### Context:
CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_74 WHERE branding = "94dot3 home radio palawan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 fee when summer is the transfer window, the type is transfer and the country is Hun?

### Context:
CREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT transfer_fee FROM table_name_9 WHERE transfer_window = "summer" AND type = "transfer" AND country = "hun"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the implementation when the netflow version is v5, v8, v9, ipfix?

### Context:
CREATE TABLE table_1206114_2 (implementation VARCHAR, netflow_version VARCHAR)

### Response:

### Response:
SELECT implementation FROM table_1206114_2 WHERE netflow_version = "v5, v8, v9, IPFIX"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 formats associated with the Atlantic Records label, catalog number 512336?

### Context:
CREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 U.S Viewers, in millions, were for series # 26?

### Context:
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 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:
For club Swansea Uplands RFC, what is the amount of tries against?

### Context:
CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?

### Context:
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player that was picked at a number less than 205 from the Michigan State Spartans?

### Context:
CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team played on June 9, 2015 with a home team of f1?

### Context:
CREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_34 WHERE date = "june 9, 2015" AND home_team = "f1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2011 value that has ATP Masters Series in 2007?

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

### Response:

### Response:
SELECT 2011 FROM table_name_34 WHERE 2007 = "atp masters series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the chassis for alta

### Context:
CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people attended on 2 may 2007?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_14 WHERE date = "2 may 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 district is incumbent frank chelf from?

### Context:
CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Median household income associated with a median family income of $46,616?

### Context:
CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR)

### Response:

### Response:
SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the first number in series that had the production code 1ACX03?

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

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = "1ACX03"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Bills first downs on Oct. 29 with more the 23 Bills points?

### Context:
CREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR)

### Response:

### Response:
SELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = "oct. 29" AND bills_points > 23</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which competition has a Date of 16/4/01?

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

### Response:

### Response:
SELECT competition FROM table_name_31 WHERE date = "16/4/01"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was home, when the record was 24–16–6?

### Context:
CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_77 WHERE record = "24–16–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 total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?

### Context:
CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Distance has a Time of 2:20.00?

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

### Response:

### Response:
SELECT distance FROM table_name_73 WHERE time = "2:20.00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?

### Context:
CREATE TABLE table_name_31 (engine VARCHAR, chassis VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_31 WHERE chassis = "fa13b fa14" AND driver = "aguri suzuki"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country for the player who had a To Par of +4?

### Context:
CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_76 WHERE to_par = "+4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which irrigation district has 4733 users?

### Context:
CREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR)

### Response:

### Response:
SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 gold number count where a county had over 9 golds and 10 silvers?

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

### Response:

### Response:
SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many colleges did the player picked 57 attend?

### Context:
CREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was he on when he finished in 11th position?

### Context:
CREATE TABLE table_24491017_1 (team VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT team FROM table_24491017_1 WHERE position = "11th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent had the result of W 24-14?

### Context:
CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_64 WHERE result = "w 24-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:
Name the Event of the Games of 1950 auckland and a Medal of bronze?

### Context:
CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_60 WHERE games = "1950 auckland" AND medal = "bronze"</s>


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

### Context:
CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score1 FROM table_name_99 WHERE opponent = "thurrock"</s>


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

### Context:
CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)

### Response:

### Response:
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 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:
Type of primary, and a Call letters of kbjs has what format?

### Context:
CREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_74 WHERE type = "primary" AND call_letters = "kbjs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 points that an 1951 Entrant alfa romeo spa have?

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

### Response:

### Response:
SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the quarterfinal week for Austin Anderson?

### Context:
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)

### Response:

### Response:
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 performer 3 with karen maruyama as performer 2?

### Context:
CREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR)

### Response:

### Response:
SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 appearances by new zealand when they scored 4 goals?

### Context:
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gold received by nation of uzbekistan (uzb)?

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

### Response:

### Response:
SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"</s>


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

### Context:
CREATE TABLE VISITORS (Tourist_Details VARCHAR)

### Response:

### Response:
SELECT Tourist_Details FROM VISITORS</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game held that resulted in a score of 9-2?

### Context:
CREATE TABLE table_name_15 (venue VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_15 WHERE score = "9-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Type, when Works Number is 75823?

### Context:
CREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_16 WHERE works_number = "75823"</s>


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

### Context:
CREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_21 WHERE opponent = "petr korda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the fewest number of silver medals a nation who ranked below 8 received?

### Context:
CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER)

### Response:

### Response:
SELECT MIN(silver) FROM table_name_99 WHERE rank > 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm?

### Context:
CREATE TABLE table_name_87 (engine VARCHAR, model VARCHAR, torque VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_87 WHERE model = "2.0 bitdi (cr) dpf" AND torque = "n·m (lb·ft) @ 1500–2000 rpm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least year for start of 17th

### Context:
CREATE TABLE table_name_13 (year INTEGER, start VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_13 WHERE start = "17th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 points won when the player is aravane rezaï?

### Context:
CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the batting partners with runs of 226?

### Context:
CREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR)

### Response:

### Response:
SELECT batting_partners FROM table_11303072_5 WHERE runs = "226"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who played as Team 1 against Lomé i?

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

### Response:

### Response:
SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which tournament was held on 9 Jun 2002?

### Context:
CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 clf teams have a pick # of 5?

### Context:
CREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT COUNT(cfl_team) FROM table_21321804_1 WHERE pick__number = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the number of pets for each student who has any pet and student id.

### Context:
CREATE TABLE has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)

### Response:

### Response:
SELECT COUNT(*), T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid</s>


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

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

### Response:

### Response:
SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day in December was the game that resulted in a record of 6-3-1?

### Context:
CREATE TABLE table_name_64 (december INTEGER, record VARCHAR)

### Response:

### Response:
SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?

### Context:
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson"</s>


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

### Context:
CREATE TABLE table_name_26 (crowd VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT COUNT(crowd) FROM table_name_26 WHERE away_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:
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?

### Context:
CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)

### Response:

### Response:
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358?

### Context:
CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR)

### Response:

### Response:
SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = "ethiopia" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358</s>


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

### Context:
CREATE TABLE table_29743928_5 (int_caps INTEGER)

### Response:

### Response:
SELECT MIN(int_caps) FROM table_29743928_5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the enrollment (2005) for baccalaureate colleges , for Granite State College?

### Context:
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Geust, when Result is 0:9?

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

### Response:

### Response:
SELECT geust FROM table_name_45 WHERE result = "0:9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average lane racheal nachula has when the heat is less than 2?

### Context:
CREATE TABLE table_name_80 (lane INTEGER, heat VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT AVG(lane) FROM table_name_80 WHERE heat < 2 AND name = "racheal nachula"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population values are listed for the community with an area of 10.25 sq.km.?

### Context:
CREATE TABLE table_171361_1 (population VARCHAR, area_km_2 VARCHAR)

### Response:

### Response:
SELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = "10.25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Surface has a Date of 1 september 2008?

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

### Response:

### Response:
SELECT surface FROM table_name_18 WHERE date = "1 september 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What displacement & configuration does the car model Panamera 4s have?

### Context:
CREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR)

### Response:

### Response:
SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many allergies are there?

### Context:
CREATE TABLE Allergy_type (allergy VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT allergy) FROM Allergy_type</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank is associated with Germany?

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

### Response:

### Response:
SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has a Partner of daniella dominikovic?

### Context:
CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?

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

### Response:

### Response:
SELECT SUM(year) FROM table_name_69 WHERE entrant = "scuderia centro sud" AND points = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the date for the palace of auburn hills 14,554

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

### Response:

### Response:
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554"</s>


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

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

### Response:

### Response:
SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found?

### Context:
CREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbent when ran william b. oliver (d) unopposed?

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

### Response:

### Response:
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (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:
Who had the placekicker position with a round above 10?

### Context:
CREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_64 WHERE round > 10 AND position = "placekicker"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What swimsuit score did the state of Virginia contestant achieve?

### Context:
CREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virginia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the notes for the rowers from denmark?

### Context:
CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_26 WHERE country = "denmark"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Method of ko, and a Date of 1958?

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

### Response:

### Response:
SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score in game 81?

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

### Response:

### Response:
SELECT score FROM table_17311797_10 WHERE game = 81</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on week 7?

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

### Response:

### Response:
SELECT opponent FROM table_name_82 WHERE week = "7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most population for seychelles and rank less than 13

### Context:
CREATE TABLE table_name_8 (population INTEGER, country_territory_entity VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT MAX(population) FROM table_name_8 WHERE country_territory_entity = "seychelles" AND rank < 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location and attendance of the game when gilbert arenas (9) had the high assists?

### Context:
CREATE TABLE table_27700530_10 (location_attendance VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (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 school has more than 533 enrolled and is an IHSAA Football Class of aa?

### Context:
CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What category was The Suite Life on Deck nominated for later than 2010?

### Context:
CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the team's record on november 10?

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

### Response:

### Response:
SELECT record FROM table_27700530_9 WHERE date = "November 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:
Listed with a continent of Africa and before 2009 this structure is called what?

### Context:
CREATE TABLE table_name_83 (structure VARCHAR, year VARCHAR, continent VARCHAR)

### Response:

### Response:
SELECT structure FROM table_name_83 WHERE year < 2009 AND continent = "africa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?

### Context:
CREATE TABLE table_name_1 (production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = "september 21, 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:
What was the engine class that was built on 1906-08?

### Context:
CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)

### Response:

### Response:
SELECT class FROM table_25695027_1 WHERE years_built = "1906-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:
Away result of 0–3, and a Season of 1969-70 is what competition?

### Context:
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70"</s>


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

### Context:
CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Drawn is the lowest one that has a Lost of 5, and Points larger than 4?

### Context:
CREATE TABLE table_name_32 (drawn INTEGER, lost VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MIN(drawn) FROM table_name_32 WHERE lost = 5 AND points > 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has the opponent competing in the final of john mcenroe?

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

### Response:

### Response:
SELECT date FROM table_name_94 WHERE opponent_in_final = "john mcenroe"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people wrote the episode with 3.40 million U.S viewers?

### Context:
CREATE TABLE table_26748252_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)

### Response:

### Response:
SELECT COUNT(written_by) FROM table_26748252_1 WHERE us_viewers__in_millions_ = "3.40"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many goals occurred with Diego Milito in a debut year later than 2008?

### Context:
CREATE TABLE table_name_40 (goals VARCHAR, name VARCHAR, debut_year VARCHAR)

### Response:

### Response:
SELECT COUNT(goals) FROM table_name_40 WHERE name = "diego milito" AND debut_year > 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the first aired date when Professor Hubert Whitehead was the role?

### Context:
CREATE TABLE table_name_30 (first_aired VARCHAR, role VARCHAR)

### Response:

### Response:
SELECT first_aired FROM table_name_30 WHERE role = "professor hubert whitehead"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the area in kilometers squared the population density is 137.61?

### Context:
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.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:
Timsah arena is in what country?

### Context:
CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_32 WHERE stadium = "timsah arena"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which games had Philadelphia as home team?

### Context:
CREATE TABLE table_name_20 (game VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_20 WHERE home_team = "philadelphia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tries 0 and appearance less than 0?

### Context:
CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What season was won by Anthony Yeh?

### Context:
CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result for the 2012 ibjjf world jiu-jitsu championships event when the method was points (4 x 0)?

### Context:
CREATE TABLE table_name_95 (result VARCHAR, event VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_95 WHERE event = "2012 ibjjf world jiu-jitsu championships" AND method = "points (4 x 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:
When st kilda played as the Away team which date was that?

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

### Response:

### Response:
SELECT date FROM table_name_10 WHERE away_team = "st kilda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Type of Tunnel is the Downhill Tunnel?

### Context:
CREATE TABLE table_name_78 (type VARCHAR, tunnel VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_78 WHERE tunnel = "downhill"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what settlement is the population 1114?

### Context:
CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)

### Response:

### Response:
SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What digital reaction has hot 100 reaction of 2 (+1)?

### Context:
CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)

### Response:

### Response:
SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "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:
Name the team for mario somma

### Context:
CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT team FROM table_17275810_7 WHERE replaced_by = "Mario Somma"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 battle of the planets where ova (harmony gold dub) is solaris?

### Context:
CREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)

### Response:

### Response:
SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Solaris"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest years any of the incumbents were first elected?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the school founded with an 898 enrollment?

### Context:
CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)

### Response:

### Response:
SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the listed Location with a # found of 4?

### Context:
CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_47 WHERE _number_found = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Player has a Round smaller than 4, and a College/junior/club team (league) of usa u-18?

### Context:
CREATE TABLE table_name_48 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_48 WHERE round < 4 AND college_junior_club_team__league_ = "usa u-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:
Who was the winner with a mountain stage type on 22 May?

### Context:
CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the high points when the team was Washington?

### Context:
CREATE TABLE table_27755603_10 (high_points VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_27755603_10 WHERE team = "Washington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Time of the match with a Record of 3-3?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the highest assists during game 78?

### Context:
CREATE TABLE table_27721131_11 (high_assists VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_27721131_11 WHERE game = 78</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s?

### Context:
CREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_69 WHERE score1 = "2 - 4" AND opponent = "chelsea under 18s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the status with the opposing team of Scotland?

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

### Response:

### Response:
SELECT status FROM table_name_9 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:
How many times did the team achieve an overrall record of mu, 21-19?

### Context:
CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)

### Response:

### Response:
SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the content for la sorgente sat 3?

### Context:
CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT content FROM table_name_20 WHERE television_service = "la sorgente sat 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the Score listed that has a Result of 1-0?

### Context:
CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_70 WHERE result = "1-0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the loss in the game with the record of 65-53?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the school colors of the University of New Hampshire?

### Context:
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT colors FROM table_1221089_1 WHERE institution = "University of New Hampshire"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ladder position when team is less than 10 and the Finals qualifications were DNQ?

### Context:
CREATE TABLE table_name_75 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)

### Response:

### Response:
SELECT final_ladder_position FROM table_name_75 WHERE finals_qualification = "dnq" AND teams < 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was United States place when the player was Fred Couples?

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

### Response:

### Response:
SELECT place FROM table_name_26 WHERE country = "united states" AND player = "fred couples"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Venue, when the Score is 56-4?

### Context:
CREATE TABLE table_name_68 (venue VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_68 WHERE score = "56-4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which 2nd senior VIII that also has a 4th senior stm?

### Context:
CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)

### Response:

### Response:
SELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = "stm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tyre was used in Kyalami?

### Context:
CREATE TABLE table_name_81 (tyre VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_81 WHERE circuit = "kyalami"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record of the game that has a result of w 45–17?

### Context:
CREATE TABLE table_name_31 (record VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_31 WHERE result = "w 45–17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What nationality is the player who went to school at South Florida?

### Context:
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the time/retired for grid of 17

### Context:
CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_17 WHERE grid = 17</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which area has state authority and a roll fewer than 18?

### Context:
CREATE TABLE table_name_78 (area VARCHAR, authority VARCHAR, roll VARCHAR)

### Response:

### Response:
SELECT area FROM table_name_78 WHERE authority = "state" AND roll < 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:
Who had a ballet style with original cast?

### Context:
CREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_80 WHERE style = "ballet" AND status = "original cast"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Season for coach Fisher, and an actual adjusted record of 0–11?

### Context:
CREATE TABLE table_name_45 (season INTEGER, coach VARCHAR, actual_adjusted_record VARCHAR)

### Response:

### Response:
SELECT AVG(season) FROM table_name_45 WHERE coach = "fisher" AND actual_adjusted_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 is Score, when Game is greater than 49, and when Opponent is "Pittsburgh Ironmen"?

### Context:
CREATE TABLE table_name_10 (score VARCHAR, game VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_10 WHERE game > 49 AND opponent = "pittsburgh ironmen"</s>


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

### Context:
CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11</s>