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

### Context:
CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR)

### Response:

### Response:
SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 constructor when Jack Brabham was the driver at the Monaco Grand Prix?

### Context:
CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What years was soc a client?

### Context:
CREATE TABLE table_name_88 (years_of_operation VARCHAR, client VARCHAR)

### Response:

### Response:
SELECT years_of_operation FROM table_name_88 WHERE client = "soc"</s>


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

### Context:
CREATE TABLE table_27961684_1 (team_name VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_27961684_1 WHERE city = "Rock Island"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In grid 15, how many laps were there before ending with a time of exhaust?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_40 WHERE time_retired = "exhaust" AND grid < 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is To Par, when Player is Greg Norman?

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

### Response:

### Response:
SELECT to_par FROM table_name_65 WHERE player = "greg norman"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer?

### Context:
CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer"</s>


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

### Context:
CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)

### Response:

### Response:
SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.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:
How many dams are there in the Nome (CA) area?

### Context:
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)

### Response:

### Response:
SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year and semester when offers the largest number of courses.

### Context:
CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the Sanskrit word for month with Thai name มกราคม?

### Context:
CREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR)

### Response:

### Response:
SELECT sanskrit_word FROM table_20354_5 WHERE thai_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:
WHAT POSITION HAS A 23 PICK?

### Context:
CREATE TABLE table_name_50 (position VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_50 WHERE pick = 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:
What is every current club for the player Artūrs Štālbergs?

### Context:
CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 released had a Democratic Alternative value of 1% and Labour of 34%?

### Context:
CREATE TABLE table_name_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR)

### Response:

### Response:
SELECT date_s__released FROM table_name_76 WHERE democratic_alternative = "1%" AND labour = "34%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the venue for the dates 1,2,3,4,6,7 jan 1908?

### Context:
CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_64 WHERE date = "1,2,3,4,6,7 jan 1908"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Week 11 when Week 10 had Nebraska (7-1)?

### Context:
CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)

### Response:

### Response:
SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the maximum number of wins?

### Context:
CREATE TABLE table_22081847_1 (wins INTEGER)

### Response:

### Response:
SELECT MAX(wins) FROM table_22081847_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many seasons had episode 158?

### Context:
CREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR)

### Response:

### Response:
SELECT MIN(no_in_season) FROM table_2226817_9 WHERE no_in_series = 158</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jo Siffert, what was the highest grid with the number of laps above 12?

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

### Response:

### Response:
SELECT MAX(grid) FROM table_name_5 WHERE driver = "jo siffert" AND laps > 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?

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

### Response:

### Response:
SELECT high_assists FROM table_name_21 WHERE date = "november 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player is from Ohio State College?

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

### Response:

### Response:
SELECT player FROM table_name_55 WHERE college = "ohio state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many numbers in series were for the number in season of 8?

### Context:
CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 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:
Was position ss from carson city high school signed?

### Context:
CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Name has a Term end of 18 july 1944?

### Context:
CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_88 WHERE term_end = "18 july 1944"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What launched has 158 days (5 months, 8 days) as the time elapsed?

### Context:
CREATE TABLE table_name_91 (launched VARCHAR, time_elapsed VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_91 WHERE time_elapsed = "158 days (5 months, 8 days)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winner for ASTC round 8?

### Context:
CREATE TABLE table_name_63 (winner VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_63 WHERE series = "astc round 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:
who is the writer of the episode with prod.code 30-17

### Context:
CREATE TABLE table_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR)

### Response:

### Response:
SELECT writer_s_ FROM table_13403120_1 WHERE prodcode = "30-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 is the lowest year for the game called The Elder Scrolls v: Skyrim?

### Context:
CREATE TABLE table_name_99 (year INTEGER, game VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 when gold is 1, and rank is more than 4, and bronze is 0?

### Context:
CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank where the events is 31?

### Context:
CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_65 WHERE events = 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:
Name the status for karanvir bohra and date performed being july 30

### Context:
CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)

### Response:

### Response:
SELECT status FROM table_18278508_4 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "July 30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the college for the player that went to ridge community high school and is defensive back?

### Context:
CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Daytime which has Saturday of yes and a Name of exmouth?

### Context:
CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT daytime FROM table_name_5 WHERE saturday = "yes" AND name = "exmouth"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What kind of Week 4 has a Week 1 of sheila levell?

### Context:
CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR)

### Response:

### Response:
SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the capital of the district who's simplified name is  信州区?

### Context:
CREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR)

### Response:

### Response:
SELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = "信州区"</s>


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

### Context:
CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_7 WHERE number = 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many numbers of dances for place 1?

### Context:
CREATE TABLE table_26375386_28 (number_of_dances VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT COUNT(number_of_dances) FROM table_26375386_28 WHERE place = 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 result's venue was in Rotterdam, Netherlands?

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

### Response:

### Response:
SELECT result FROM table_name_14 WHERE venue = "rotterdam, netherlands"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the clas AAAA of school year 2000-01

### Context:
CREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR)

### Response:

### Response:
SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-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:
How many markets have number of cities smaller than 300?

### Context:
CREATE TABLE market (Number_cities INTEGER)

### Response:

### Response:
SELECT COUNT(*) FROM market WHERE Number_cities < 300</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different people did different scores of high assists during the December 11 game?

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

### Response:

### Response:
SELECT COUNT(high_assists) FROM table_23248869_6 WHERE date = "December 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all advisors who have at least two students.

### Context:
CREATE TABLE Student (advisor VARCHAR)

### Response:

### Response:
SELECT advisor FROM Student GROUP BY advisor HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did they play that the score was 22-12?

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

### Response:

### Response:
SELECT venue FROM table_name_21 WHERE result = "22-12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show paragraph details for paragraph with text 'Korea ' .

### Context:
CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR)

### Response:

### Response:
SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 operating system required by Stunlock Studios' game?

### Context:
CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)

### Response:

### Response:
SELECT required_os FROM table_name_91 WHERE developer_s_ = "stunlock studios"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?

### Context:
CREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)

### Response:

### Response:
SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Rookie of the Year for the Season in 2000?

### Context:
CREATE TABLE table_name_72 (rookie_of_the_year VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What episode had a run time of 24:53?

### Context:
CREATE TABLE table_2102714_1 (episode VARCHAR, run_time VARCHAR)

### Response:

### Response:
SELECT episode FROM table_2102714_1 WHERE run_time = "24: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:
Name the home team score for brisbane lions

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

### Response:

### Response:
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?

### Context:
CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average PI GP of the player from round 5 with a pick # larger than 151?

### Context:
CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 range includes Mount Fukushima, and is ranked 38?

### Context:
CREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT range FROM table_name_7 WHERE name = "mount fukushima" AND rank = 38</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does Mikhail Kravets play?

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

### Response:

### Response:
SELECT position FROM table_name_15 WHERE player = "mikhail kravets"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average total medals with ensemble of goshen hs

### Context:
CREATE TABLE table_name_2 (total_medals INTEGER, ensemble VARCHAR)

### Response:

### Response:
SELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = "goshen hs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number of enrollment of the central institution?

### Context:
CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT enrollment FROM table_20887670_1 WHERE institution = "Central"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the seat of the county that has a density of 14.1?

### Context:
CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)

### Response:

### Response:
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "14.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 playoffs took place during 2011?

### Context:
CREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT playoffs FROM table_name_88 WHERE year = "2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For episode number 2-03, what are the names of the cast?

### Context:
CREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR)

### Response:

### Response:
SELECT cast FROM table_2570269_2 WHERE episode__number = "2-03"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points?

### Context:
CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue has 3 & 2 as the score, and 1965 as the year?

### Context:
CREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_83 WHERE score = "3 & 2" AND year = "1965"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List singer names and number of concerts for each singer.

### Context:
CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)

### Response:

### Response:
SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the production number for the episode directed by Robert McKimson named Mice Follies?

### Context:
CREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT COUNT(production_number) FROM table_name_24 WHERE director = "robert mckimson" AND title = "mice follies"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 winnings for the score of 66-64-67-71=268?

### Context:
CREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lowest win% with an away score of 3-2 in 2011 season?

### Context:
CREATE TABLE table_name_53 (win__percentage INTEGER, away VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT MIN(win__percentage) FROM table_name_53 WHERE away = "3-2" AND season = "2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the successor for massachusetts 8th?

### Context:
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year did Ivanovic win with Ivanovic greater than 4 and round of R16?

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

### Response:

### Response:
SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"</s>


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

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Digital PSIP for channels over 15 with callsign CFTU-DT?

### Context:
CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the FCC info for the radio station in West Lafayette, Indiana?

### Context:
CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west 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:
What was the course called that had an Edition of 117th?

### Context:
CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR)

### Response:

### Response:
SELECT course FROM table_name_68 WHERE edition = "117th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest crowd that Footscray had as the away team?

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

### Response:

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


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

### Context:
CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT number FROM table_name_22 WHERE position = "skaters"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 second when Shane McKinlay was the lead?

### Context:
CREATE TABLE table_name_71 (second VARCHAR, lead VARCHAR)

### Response:

### Response:
SELECT second FROM table_name_71 WHERE lead = "shane mckinlay"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest episode of Wood Flutes segment c?

### Context:
CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR)

### Response:

### Response:
SELECT MAX(episode) FROM table_name_65 WHERE segment_c = "wood flutes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8?

### Context:
CREATE TABLE table_name_88 (lost INTEGER, drawn VARCHAR, goals_for VARCHAR, points_1 VARCHAR)

### Response:

### Response:
SELECT MIN(lost) FROM table_name_88 WHERE goals_for > 52 AND points_1 = "44" AND drawn < 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:
Who is the winning driver that has a construction of brm?

### Context:
CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_27 WHERE constructor = "brm"</s>


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

### Context:
CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the Canadian air dates where the u.s. air date is may 1, 2009

### Context:
CREATE TABLE table_12294557_3 (canadian_airdate VARCHAR, us_airdate VARCHAR)

### Response:

### Response:
SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?

### Context:
CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)

### Response:

### Response:
SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all account ids and account details.

### Context:
CREATE TABLE Accounts (account_id VARCHAR, account_details VARCHAR)

### Response:

### Response:
SELECT account_id, account_details FROM Accounts</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swam in a lane less than 6 and finished with a time of 2:11.02?

### Context:
CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 players did the most high points in the game with 39-22 record?

### Context:
CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank that shows 276 games?

### Context:
CREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_25 WHERE games = "276"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When tennis has less than 2 bronze, what is the total number of Gold?

### Context:
CREATE TABLE table_name_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND bronze < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the just ratio is 11:8 and the cents size is 560, what is the interval name?

### Context:
CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)

### Response:

### Response:
SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11: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 are the details of the cmi masters that have the cross reference code 'Tax'?

### Context:
CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)

### Response:

### Response:
SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Prize, when the Event is Ept Sanremo?

### Context:
CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT prize FROM table_name_11 WHERE event = "ept sanremo"</s>


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

### Context:
CREATE TABLE table_18095719_2 (winning_team VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_18095719_2 WHERE circuit = "Zolder"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Selection has a Player of jamaar taylor, and a Round larger than 6?

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

### Response:

### Response:
SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has a Game site of bye?

### Context:
CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_77 WHERE game_site = "bye"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the Result for week 15?

### Context:
CREATE TABLE table_name_53 (result VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_53 WHERE week = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when it published in english is n/a and published in russian is 1986, what is the type of work?

### Context:
CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)

### Response:

### Response:
SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What township is located at longitude -99.287270?

### Context:
CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 investment earnings in the year that State and Federal taxes were $13,999,169?

### Context:
CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)

### Response:

### Response:
SELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = "13,999,169"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?

### Context:
CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)

### Response:

### Response:
SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 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 is the color of the background of the white border and sign of information?

### Context:
CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)

### Response:

### Response:
SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Rhiannon Leier's lane?

### Context:
CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT lane FROM table_name_22 WHERE name = "rhiannon leier"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_60 WHERE home_team = "rochdale"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?

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

### Response:

### Response:
SELECT AVG(drawn) FROM table_name_98 WHERE lost > 0 AND points < 11 AND games < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score on 2010-07-13 when Abby wambach had the assist/pass?

### Context:
CREATE TABLE table_name_56 (score VARCHAR, assist_pass VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_56 WHERE assist_pass = "abby wambach" AND date = "2010-07-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:
The Maserati 4cl's minimum no was?

### Context:
CREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR)

### Response:

### Response:
SELECT MIN(no) FROM table_21977627_1 WHERE chassis = "Maserati 4CL"</s>


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

### Context:
CREATE TABLE table_name_72 (state_province VARCHAR, wind_farm VARCHAR)

### Response:

### Response:
SELECT state_province FROM table_name_72 WHERE wind_farm = "tehachapi pass wind farm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of assists for 77 blocks

### Context:
CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)

### Response:

### Response:
SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "77"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 skipper has a combine elapsed time of 174d 01h 11m 59s?

### Context:
CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)

### Response:

### Response:
SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What format has the call sign DZFE?

### Context:
CREATE TABLE table_name_42 (format VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_42 WHERE call_sign = "dzfe"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What municipality has 719 people and is larger than 108.46 km2?

### Context:
CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record for the game with a score of 7–5?

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

### Response:

### Response:
SELECT record FROM table_name_10 WHERE score = "7–5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which High rebounds has a Game of 76?

### Context:
CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_97 WHERE game = 76</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest brup when long is 94?

### Context:
CREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR)

### Response:

### Response:
SELECT MIN(brup) FROM table_26176081_29 WHERE long = 94</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all customer ids and the number of cards owned by each customer.

### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the sum of votes % more than 19.5

### Context:
CREATE TABLE table_name_26 (votes INTEGER, vote__percentage INTEGER)

### Response:

### Response:
SELECT SUM(votes) FROM table_name_26 WHERE vote__percentage > 19.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 had the fastest lap(s) when josef newgarden led the most laps at edmonton?

### Context:
CREATE TABLE table_29690363_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_29690363_3 WHERE most_laps_led = "Josef Newgarden" AND race = "Edmonton"</s>


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

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

### Response:

### Response:
SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?

### Context:
CREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = "1:15.038"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score for alcobaça when the opponent was in the final of xinyun han?

### Context:
CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Money ( £ ), when Player is "Peter Hedblom"?

### Context:
CREATE TABLE table_name_95 (money___ INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(money___) AS £__ FROM table_name_95 WHERE player = "peter hedblom"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time/retired for the driver with fewer than 23 laps and grid larger than 23?

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

### Response:

### Response:
SELECT time_retired FROM table_name_75 WHERE laps < 23 AND grid > 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:
Find the checking balance of the accounts whose savings balance is higher than the average savings balance.

### Context:
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER)

### Response:

### Response:
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings))</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the second round?

### Context:
CREATE TABLE table_name_5 (result VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_5 WHERE round = "second round"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of goals for robbie findley ranked above 10?

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

### Response:

### Response:
SELECT MAX(goals) FROM table_name_37 WHERE player = "robbie findley" AND rank < 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:
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?

### Context:
CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)

### Response:

### Response:
SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Miss Maja Pilipinas that has the Year of 1969?

### Context:
CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much money, in millions, is paid to Infotalent?

### Context:
CREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR)

### Response:

### Response:
SELECT amount__millions_ FROM table_name_92 WHERE payee = "infotalent"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?

### Context:
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)

### Response:

### Response:
SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state was first elected in 1914, and a Member of edward jolley?

### Context:
CREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR)

### Response:

### Response:
SELECT state FROM table_name_97 WHERE first_elected = "1914" AND member = "edward jolley"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the lowest pick number for columbus crew

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

### Response:

### Response:
SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the pick number for the College of Central Missouri State?

### Context:
CREATE TABLE table_name_45 (pick__number VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT pick__number FROM table_name_45 WHERE college = "central missouri state"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the branding when the owner is jim pattison group and the frequency is fm 94.5?

### Context:
CREATE TABLE table_name_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT branding FROM table_name_55 WHERE owner = "jim pattison group" AND frequency = "fm 94.5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Team has Bob Wollek as a Driver with 76 Laps in C1 Class?

### Context:
CREATE TABLE table_name_63 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_63 WHERE class = "c1" AND laps = 76 AND driver = "bob wollek"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What home team has a score of 2–1, when the away team was Telford United?

### Context:
CREATE TABLE table_name_10 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_10 WHERE score = "2–1" AND away_team = "telford united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Third/Vice skip has a Second of éric sylvain?

### Context:
CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)

### Response:

### Response:
SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the estimated end date for the 2001-037a international designated satellite?

### Context:
CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)

### Response:

### Response:
SELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = "2001-037A"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Height for Years for Rockets of 2005-06?

### Context:
CREATE TABLE table_name_78 (height_in_ft VARCHAR, years_for_rockets VARCHAR)

### Response:

### Response:
SELECT height_in_ft FROM table_name_78 WHERE years_for_rockets = "2005-06"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?

### Context:
CREATE TABLE table_name_8 (surface VARCHAR, opponent_s_ VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_8 WHERE opponent_s_ = "anna-lena grönefeld tatjana malek"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the shooter with 15 rank points, and 0 score points?

### Context:
CREATE TABLE table_name_56 (shooter VARCHAR, rank_points VARCHAR, score_points VARCHAR)

### Response:

### Response:
SELECT shooter FROM table_name_56 WHERE rank_points = "15" AND score_points = "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 democratic seat plurality with partisan order of New Hampshire?

### Context:
CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)

### Response:

### Response:
SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "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:
Where are the Buffalo Sabres from?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every media type for the World genre?

### Context:
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT media_type FROM table_23829490_1 WHERE genre = "World"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Elimination move listed against Regal?

### Context:
CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR)

### Response:

### Response:
SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the prothrombin time in Von willebrand disease?

### Context:
CREATE TABLE table_1557752_1 (prothrombin_time VARCHAR, condition VARCHAR)

### Response:

### Response:
SELECT prothrombin_time FROM table_1557752_1 WHERE condition = "Von Willebrand disease"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has 187kg and a Snatch of Clean & Jerk?

### Context:
CREATE TABLE table_name_79 (snatch VARCHAR)

### Response:

### Response:
SELECT 187 AS kg FROM table_name_79 WHERE snatch = "clean & jerk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 international tourist arrivals for arrivals 2011 for 8.1 million

### Context:
CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)

### Response:

### Response:
SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year Yugoslavia won 1 Silver, how many Gold medals did they win?

### Context:
CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_14 WHERE silver = "1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the minimum number of starts for the players having a best finish of T18?

### Context:
CREATE TABLE table_24747844_2 (starts INTEGER, best_finish VARCHAR)

### Response:

### Response:
SELECT MIN(starts) FROM table_24747844_2 WHERE best_finish = "T18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What gender is Quentin?

### Context:
CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT gender FROM table_2933761_1 WHERE name = "Quentin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger?

### Context:
CREATE TABLE table_name_35 (rank INTEGER, time VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_35 WHERE time = "1:47.65" AND lane > 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For which location was the round smaller than 11 and the circuit streets of denver?

### Context:
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of silver medals for countries with 0 gold and rank under 3?

### Context:
CREATE TABLE table_name_73 (silver INTEGER, gold VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT AVG(silver) FROM table_name_73 WHERE gold = 0 AND rank < 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of points when Bruce Arena has 21 wins?

### Context:
CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)

### Response:

### Response:
SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce 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:
Name the points for switzerland

### Context:
CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the points for when the played is 22 and tries against is 68?

### Context:
CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 pole position for the Castle Combe circuit and Robbie Kerr is the winning driver?

### Context:
CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Kerr"</s>


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

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

### Response:

### Response:
SELECT nhl_team FROM table_2850912_10 WHERE player = "Ron Annear"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many silver medalist was won?

### Context:
CREATE TABLE table_22355_71 (silver INTEGER)

### Response:

### Response:
SELECT MAX(silver) FROM table_22355_71</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Episode of 16 involves which performer 1?

### Context:
CREATE TABLE table_name_64 (performer_1 VARCHAR, episode VARCHAR)

### Response:

### Response:
SELECT performer_1 FROM table_name_64 WHERE episode = 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On which date is Taylor Field the location?

### Context:
CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT date FROM table_23612439_2 WHERE location = "Taylor Field"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1?

### Context:
CREATE TABLE table_name_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_8 WHERE nation = "mexico" AND year = 2010 AND competition = "preseason" AND result = "w 0–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 First has a Surname of searle?

### Context:
CREATE TABLE table_name_42 (first VARCHAR, surname VARCHAR)

### Response:

### Response:
SELECT first FROM table_name_42 WHERE surname = "searle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the grid when the time/retired is 1:46:42.3?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_61 WHERE time_retired = "1:46:42.3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On which date was the GT class at Monterey Sports Car Grand Prix?

### Context:
CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the percentage of trains arriving within 5 minutes of scheduled time 89.6%?

### Context:
CREATE TABLE table_171748_3 (period VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ VARCHAR)

### Response:

### Response:
SELECT period FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ = "89.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 game in the season does this list start?

### Context:
CREATE TABLE table_27713030_7 (game INTEGER)

### Response:

### Response:
SELECT MIN(game) FROM table_27713030_7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score for the tournament in Budapest?

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

### Response:

### Response:
SELECT score FROM table_name_14 WHERE tournament = "budapest"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Version has a Remixed by Perky Park with a Length of 6:38?

### Context:
CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6:38"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which party was first elected in 1898?

### Context:
CREATE TABLE table_name_19 (party VARCHAR, first_elected VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_19 WHERE first_elected = "1898"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals?

### Context:
CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)

### Response:

### Response:
SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many models numbered L5506 have a QPI speed?

### Context:
CREATE TABLE table_269920_17 (qpi_speed__gt_s_ VARCHAR, model VARCHAR)

### Response:

### Response:
SELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = "L5506"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the minimum MotoGP/500cc ranking?

### Context:
CREATE TABLE table_2889810_1 (motogp_500cc INTEGER)

### Response:

### Response:
SELECT MIN(motogp_500cc) FROM table_2889810_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total sack for mike green when fumr is less than 0?

### Context:
CREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR)

### Response:

### Response:
SELECT SUM(sack) FROM table_name_40 WHERE player = "mike green" AND fumr < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team has a Home Run of 27?

### Context:
CREATE TABLE table_name_18 (team VARCHAR, home_run VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_18 WHERE home_run = 27</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which college's cfl team is the hamilton tiger-cats?

### Context:
CREATE TABLE table_name_58 (college VARCHAR, cfl_team VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_58 WHERE cfl_team = "hamilton tiger-cats"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the uu-usu score with winner is #5 brigham young (2–0)

### Context:
CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–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:
List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.

### Context:
CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)

### Response:

### Response:
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Bill Turnbull and Louise Minchin"</s>


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

### Context:
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 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 was the resolution for KO opposing Cliff Beckett?

### Context:
CREATE TABLE table_name_81 (res VARCHAR, type VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT res FROM table_name_81 WHERE type = "ko" AND opponent = "cliff beckett"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the shipping agent code of shipping agent UPS?

### Context:
CREATE TABLE Ref_Shipping_Agents (shipping_agent_code VARCHAR, shipping_agent_name VARCHAR)

### Response:

### Response:
SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_name = "UPS"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_92 WHERE home_team = "footscray"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 lane with a rank larger than 2 in Guyana?

### Context:
CREATE TABLE table_name_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_31 WHERE rank > 2 AND nationality = "guyana"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a Loss of Leal (1–4)?

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

### Response:

### Response:
SELECT opponent FROM table_name_35 WHERE loss = "leal (1–4)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different addresses do the students currently live?

### Context:
CREATE TABLE Students (current_address_id VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT current_address_id) FROM Students</s>


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

### Context:
CREATE TABLE table_name_42 (winning_constructor VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT winning_constructor FROM table_name_42 WHERE name = "paris cup"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the original air date of the episode that had 4.08 million U.S. viewers?

### Context:
CREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.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:
Show the name for regions not affected.

### Context:
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)

### Response:

### Response:
SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)</s>


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

### Context:
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT wins FROM table_27631002_1 WHERE position = "7th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college is Pat Thomas from?

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

### Response:

### Response:
SELECT college FROM table_name_77 WHERE name = "pat thomas"</s>