<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 did J. Smith Young serve as a Representative?

### Context:
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_36 WHERE representative = "j. smith young"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 unique first names, last names, and phone numbers for all customers with any account.

### Context:
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.customer_first_name, T1.customer_last_name, T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.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:
What team has a bowl of humanitarian?

### Context:
CREATE TABLE table_name_21 (team VARCHAR, bowl VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_21 WHERE bowl = "humanitarian"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?

### Context:
CREATE TABLE table_name_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)

### Response:

### Response:
SELECT mass FROM table_name_29 WHERE launch_date_time___gmt__ = "25 november 1976, 03:59"</s>


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

### Context:
CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did lucy benjamin exit?

### Context:
CREATE TABLE table_name_18 (exited VARCHAR, celebrity VARCHAR)

### Response:

### Response:
SELECT exited FROM table_name_18 WHERE celebrity = "lucy benjamin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 church had a Split off/Continuation in 1836?

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

### Response:

### Response:
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 nominated work, nominated for the drama league award before 2007?

### Context:
CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT nominated_work FROM table_name_29 WHERE result = "nominated" AND award = "drama league award" AND year < 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the record with date being december 29

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

### Response:

### Response:
SELECT record FROM table_13762472_4 WHERE date = "December 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:
How many wins did he have when he played under 2 events?

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

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent has a Record of 54-38?

### Context:
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_73 WHERE record = "54-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:
When was the earliest founded university?

### Context:
CREATE TABLE table_261941_1 (founded INTEGER)

### Response:

### Response:
SELECT MIN(founded) FROM table_261941_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:
I want to know the date with attendance of 35,763

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

### Response:

### Response:
SELECT date FROM table_name_88 WHERE attendance = "35,763"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2nd leg for team 2 san francisco?

### Context:
CREATE TABLE table_name_62 (team_2 VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_name_62 WHERE team_2 = "san francisco"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the  pärnu manager?

### Context:
CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT manager FROM table_27409644_1 WHERE club = "Pärnu"</s>


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

### Context:
CREATE TABLE table_name_28 (budget VARCHAR, film VARCHAR)

### Response:

### Response:
SELECT budget FROM table_name_28 WHERE film = "the incredibles"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the tournament played on Oct 17, 1982, what was the winning score?

### Context:
CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all party names and their region names.

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

### Response:

### Response:
SELECT T1.party_name, T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player has the score 72-67-69=208?

### Context:
CREATE TABLE table_name_95 (player VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_95 WHERE score = 72 - 67 - 69 = 208</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the away team Bournemouth?

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

### Response:

### Response:
SELECT date FROM table_name_24 WHERE away_team = "bournemouth"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Display the serial numbers for the players who play at the center.

### Context:
CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT no FROM table_23670057_4 WHERE position = "Center"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was Skyline High School founded?

### Context:
CREATE TABLE table_13759592_1 (founded VARCHAR, high_school VARCHAR)

### Response:

### Response:
SELECT COUNT(founded) FROM table_13759592_1 WHERE high_school = "Skyline"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_8 WHERE opponent_in_the_final = "johanna konta"</s>


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

### Context:
CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the title of episode 28

### Context:
CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT title FROM table_16390576_3 WHERE no_in_series = 28</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the 2008 for wta premier mandatory tournaments of 2007

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

### Response:

### Response:
SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Total has an A Score of 6.5, and a Position larger than 5?

### Context:
CREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?

### Context:
CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-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:
On what Date is Tie no 19?

### Context:
CREATE TABLE table_name_36 (date VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_36 WHERE tie_no = "19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is College/Junior/Club Team (League), when Position is "Defence", when Nationality is "Canada", when Round is less than 5, and when Player is "Josiah Didier"?

### Context:
CREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = "defence" AND nationality = "canada" AND round < 5 AND player = "josiah didier"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the church that is located in eikefjord?

### Context:
CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)

### Response:

### Response:
SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord"</s>


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

### Context:
CREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT owner FROM table_name_40 WHERE winner = "miss terrible"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk

### Context:
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)

### Response:

### Response:
SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 alternate of the nation with hubert gründhammer as the second?

### Context:
CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)

### Response:

### Response:
SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the attendance of the game on November 20, 1966 after week 10?

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

### Response:

### Response:
SELECT attendance FROM table_name_54 WHERE week > 10 AND date = "november 20, 1966"</s>


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

### Context:
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)

### Response:

### Response:
SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = "3.26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the casualities for kabul area

### Context:
CREATE TABLE table_name_74 (casualties VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT casualties FROM table_name_74 WHERE location = "kabul area"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Brown's transfer window?

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

### Response:

### Response:
SELECT transfer_window FROM table_name_52 WHERE name = "brown"</s>


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

### Context:
CREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR)

### Response:

### Response:
SELECT producer_s_ FROM table_name_50 WHERE director_s_ = "daniel cormack"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
During which years was Marcus Banks in Toronto?

### Context:
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance when the VFL played Arden Street Oval?

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

### Response:

### Response:
SELECT COUNT(crowd) FROM table_name_50 WHERE venue = "arden street oval"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?

### Context:
CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Country, when Place is "1"?

### Context:
CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_46 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:
What was the 1st leg score for the team with an Agg score of 151-134?

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

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_36 WHERE agg = "151-134"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 China's heat for Zhang Lin in a lane after 6?

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

### Response:

### Response:
SELECT SUM(heat) FROM table_name_61 WHERE nationality = "china" AND name = "zhang lin" AND lane > 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 decision had a Record of 3–5–0?

### Context:
CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT decision FROM table_name_17 WHERE record = "3–5–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:
In which county is the city/town of Halden located?

### Context:
CREATE TABLE table_157826_1 (county VARCHAR, city_town VARCHAR)

### Response:

### Response:
SELECT county FROM table_157826_1 WHERE city_town = "Halden"</s>


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

### Context:
CREATE TABLE table_name_13 (game_1 VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT game_1 FROM table_name_13 WHERE position = "halfback"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?

### Context:
CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Population (total) from 1976 with a (Barcaldine) smaller than 1,780?

### Context:
CREATE TABLE table_name_96 (population__total_ INTEGER, year VARCHAR, _barcaldine_ VARCHAR)

### Response:

### Response:
SELECT MAX(population__total_) FROM table_name_96 WHERE year = 1976 AND _barcaldine_ < 1 OFFSET 780</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 has an Airport of bole international airport?

### Context:
CREATE TABLE table_name_38 (airport VARCHAR)

### Response:

### Response:
SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the 1st leg score when Mufulira Wanderers played as Team 2?

### Context:
CREATE TABLE table_name_6 (team_2 VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufacturer in the year when the race lasted 2:30:28?

### Context:
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many goals did he score with under 26 appearances for werder bremen?

### Context:
CREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = "werder bremen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance is 79,431 what is date?

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

### Response:

### Response:
SELECT date FROM table_name_61 WHERE attendance = "79,431"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the population of each community with city status?

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

### Response:

### Response:
SELECT population FROM table_171361_1 WHERE status = "City"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the game with 62 points?

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

### Response:

### Response:
SELECT date FROM table_name_51 WHERE points = 62</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?

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

### Response:

### Response:
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the medal named fatuma roba category:articles with hcards for?

### Context:
CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards"</s>


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

### Context:
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR)

### Response:

### Response:
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the max character (per page row) of the encoding with a bit rate of 6.203?

### Context:
CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)

### Response:

### Response:
SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round of 16 when in round 32 it was  koryttseva ( ukr ) w 2–6, 6–1, 7–5?

### Context:
CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)

### Response:

### Response:
SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 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:
What is who-two when you two is ngipelngu?

### Context:
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)

### Response:

### Response:
SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?

### Context:
CREATE TABLE table_name_79 (lost INTEGER, name VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MIN(lost) FROM table_name_79 WHERE name = "esc holzkirchen" AND played < 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the partner of the winner after 2012?

### Context:
CREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR)

### Response:

### Response:
SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total for New York's game?

### Context:
CREATE TABLE table_name_39 (game INTEGER, team VARCHAR)

### Response:

### Response:
SELECT SUM(game) FROM table_name_39 WHERE team = "new york"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What type of event had the wrestler with a reign of 2 and held the title for 35 days?

### Context:
CREATE TABLE table_name_31 (event VARCHAR, reign VARCHAR, days_held VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_31 WHERE reign = "2" AND days_held = "35"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country that the player is from with +3 to par and score of 74-73=147?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?

### Context:
CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)

### Response:

### Response:
SELECT MIN(points) FROM table_name_17 WHERE make = "chevrolet" AND car__number < 24 AND laps = 312 AND winnings = "$122,325"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 templates have template type code CV?

### Context:
CREATE TABLE Templates (template_type_code VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM Templates WHERE template_type_code = "CV"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?

### Context:
CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of return for the program for the program "Big Brother"?

### Context:
CREATE TABLE table_29566606_11 (date_of_return VARCHAR, programme VARCHAR)

### Response:

### Response:
SELECT date_of_return FROM table_29566606_11 WHERE programme = "Big Brother"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What song came out on March 8, 2008?

### Context:
CREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT song FROM table_name_8 WHERE date = "march 8, 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 is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?

### Context:
CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the episode originally aired on February 2, 2008?

### Context:
CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 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:
On what day did the team play the Indianapolis Colts?

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

### Response:

### Response:
SELECT date FROM table_name_26 WHERE opponent = "indianapolis colts"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the competition that has a score of 2-0?

### Context:
CREATE TABLE table_name_91 (competition VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_91 WHERE score = "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:
Which Label has a Date smaller than 2008, and a Catalog of fall cd 006?

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

### Response:

### Response:
SELECT label FROM table_name_82 WHERE date < 2008 AND catalog = "fall cd 006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Venue which has a Position of 5th?

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

### Response:

### Response:
SELECT venue FROM table_name_39 WHERE position = "5th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location attendance of the game on February 25?

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

### Response:

### Response:
SELECT location_attendance FROM table_name_52 WHERE date = "february 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:
Show other account details for account with name 338.

### Context:
CREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR)

### Response:

### Response:
SELECT other_account_details FROM Accounts WHERE account_name = "338"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the total number of report with date  29 april

### Context:
CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing manager that was replaced by Thomas Von Heesen?

### Context:
CREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT outgoing_manager FROM table_name_80 WHERE replaced_by = "thomas von heesen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least amount of people that attended a game when Essendon was the away team?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Away team has a Venue of arden street oval?

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

### Response:

### Response:
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 compression ratio for the 302-2v Windsor v8 engine?

### Context:
CREATE TABLE table_name_41 (compression_ratio VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT compression_ratio FROM table_name_41 WHERE engine = "302-2v windsor v8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Tally in Kerry County?

### Context:
CREATE TABLE table_name_36 (tally VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT tally FROM table_name_36 WHERE county = "kerry"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.

### Context:
CREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR)

### Response:

### Response:
SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 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 Season, when Goals is less than 6, and when Team is "Tarbiat Yazd"?

### Context:
CREATE TABLE table_name_42 (season VARCHAR, goals VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_42 WHERE goals < 6 AND team = "tarbiat yazd"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2012 value with A in 2007 and qf in 2011?

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

### Response:

### Response:
SELECT 2012 FROM table_name_11 WHERE 2007 = "a" AND 2011 = "qf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?

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

### Response:

### Response:
SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 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 Tournament, when Career SR is "ATP Masters Series"?

### Context:
CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What digital channel does Three Angels Broadcasting Network own?

### Context:
CREATE TABLE table_name_16 (Digital VARCHAR, owner VARCHAR)

### Response:

### Response:
SELECT Digital AS channel FROM table_name_16 WHERE owner = "three angels broadcasting network"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Aug 2013 with a Nov 2011 smaller than 968, and a Jul 2012 with 31, and a Jun 2011 larger than 30?

### Context:
CREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)

### Response:

### Response:
SELECT MAX(aug_2013) FROM table_name_27 WHERE nov_2011 < 968 AND jul_2012 = 31 AND jun_2011 > 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:
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?

### Context:
CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)

### Response:

### Response:
SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 organized date of the stake with an occupation of senior buyer for Wal-mart?

### Context:
CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)

### Response:

### Response:
SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for wal-mart"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Place, when Player is "Ben Crenshaw"?

### Context:
CREATE TABLE table_name_99 (place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_99 WHERE player = "ben crenshaw"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the first year of the European Championships competition?

### Context:
CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest percent of yes Alberta, which had less than 60.2 vote no, has?

### Context:
CREATE TABLE table_name_29 (percent_yes INTEGER, jurisdiction VARCHAR, percent_no VARCHAR)

### Response:

### Response:
SELECT MAX(percent_yes) FROM table_name_29 WHERE jurisdiction = "alberta" AND percent_no < 60.2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of runner-up that National University, which has more than 2 total championships, has?

### Context:
CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)

### Response:

### Response:
SELECT AVG(runner_up) FROM table_name_62 WHERE university = "national university" AND total_championships > 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:
Mame the reg season for 2001

### Context:
CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT reg_season FROM table_2511876_1 WHERE year = 2001</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52

### Context:
CREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR)

### Response:

### Response:
SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 proceeded to the quarter final when the london irish were eliminated from competition?

### Context:
CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)

### Response:

### Response:
SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?

### Context:
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)

### Response:

### Response:
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "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:
What is the date of the game at Commerce Bank Ballpark?

### Context:
CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_67 WHERE field = "commerce bank ballpark"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the stadium in Brisbane?

### Context:
CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT stadium FROM table_name_17 WHERE city = "brisbane"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what episode was the rating/share for 18-49 at 2.8/8

### Context:
CREATE TABLE table_25391981_20 (episode VARCHAR, rating VARCHAR)

### Response:

### Response:
SELECT episode FROM table_25391981_20 WHERE rating / SHARE(18 AS –49) = 2.8 / 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:
Which season did Tich Freeman play against opponent V Warwickshire?

### Context:
CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is fitzroy's score as the home team?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_49 WHERE home_team = "fitzroy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Score F–A of 2–0, and a Opponents of walsall has what date?

### Context:
CREATE TABLE table_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_49 WHERE score_f_a = "2–0" AND opponents = "walsall"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What party was Lane Evans?

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

### Response:

### Response:
SELECT party FROM table_1341568_14 WHERE incumbent = "Lane Evans"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 product ids and the number of unique orders containing each product.

### Context:
CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR)

### Response:

### Response:
SELECT product_id, COUNT(DISTINCT order_id) FROM Order_items GROUP BY product_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the winning score of the Valero Texas Open?

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

### Response:

### Response:
SELECT winning_score FROM table_name_99 WHERE tournament = "valero texas open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?

### Context:
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (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 sport had the club of the Montgomery Biscuits?

### Context:
CREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT sport FROM table_name_22 WHERE club = "montgomery biscuits"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the audition venue where Peninha was the guest fourth judge?

### Context:
CREATE TABLE table_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR)

### Response:

### Response:
SELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = "Peninha"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name and job title of the staff who was assigned the latest?

### Context:
CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR)

### Response:

### Response:
SELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to 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 is the highest Game, when Team is "Celtics", and when High Assists is "Hedo Türkoğlu (4)"?

### Context:
CREATE TABLE table_name_34 (game INTEGER, team VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_name_34 WHERE team = "celtics" AND high_assists = "hedo türkoğlu (4)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the original title of the film from years after 1985 from the UK?

### Context:
CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most points and how many did they have on April 22?

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

### Response:

### Response:
SELECT high_points FROM table_27700530_15 WHERE date = "April 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 Date has a Winning driver of ugo sivocci?

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

### Response:

### Response:
SELECT date FROM table_name_61 WHERE winning_driver = "ugo sivocci"</s>


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

### Context:
CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR)

### Response:

### Response:
SELECT couple FROM table_23662272_4 WHERE number_of_dances = 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 day was the visitor Cleveland when the record was 34-26?

### Context:
CREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_43 WHERE visitor = "cleveland" AND record = "34-26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the styled used to defeat the opponent within the time frame of 32:32?

### Context:
CREATE TABLE table_18598175_2 (method_of_elimination VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT method_of_elimination FROM table_18598175_2 WHERE time = "32:32"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which telescopes were sponsored by or originated in Belgium?

### Context:
CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR)

### Response:

### Response:
SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What score has hard (i) as the surface, and Columbus, Ohio as the tournament?

### Context:
CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 regulated retail price for the tariff code ff0 prs?

### Context:
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)

### Response:

### Response:
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What television service has italian as the language, and sky famiglia as the package option?

### Context:
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)

### Response:

### Response:
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?

### Context:
CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)

### Response:

### Response:
SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest year for Alabama with a pick under 26?

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

### Response:

### Response:
SELECT MIN(year) FROM table_name_78 WHERE college = "alabama" AND pick < 26</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the swuinsuit for oregon

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

### Response:

### Response:
SELECT swimsuit FROM table_17516967_1 WHERE state = "Oregon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?

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

### Response:

### Response:
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 game with an attendance of 71,962?

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

### Response:

### Response:
SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points against did the club with a losing bonus of 3 and 84 tries have?

### Context:
CREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_name_68 WHERE losing_bonus = "3" AND tries_for = "84"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 may assists per game have 7.7 points per game?

### Context:
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR)

### Response:

### Response:
SELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = "7.7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Reason for termination has Appointed by of eisenhower category:articles with hcards?

### Context:
CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR)

### Response:

### Response:
SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Russia has films in which category?

### Context:
CREATE TABLE table_name_45 (category VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT category FROM table_name_45 WHERE country = "russia"</s>


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

### Context:
CREATE TABLE table_name_20 (race VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_20 WHERE length = "12 hours"</s>


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

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

### Response:

### Response:
SELECT 2 AS __f_ FROM table_name_34 WHERE verb = "khola"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Gregorian month when the season in Tamil is இளவேனில்?

### Context:
CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR)

### Response:

### Response:
SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Heats have a Name of miguel molina?

### Context:
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the VFL played Victoria Park what was the home team score?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_11 WHERE venue = "victoria park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the longitude of Carmenta Farra in 1994?

### Context:
CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = "carmenta farra"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 label in the region of Argentina and had a format of CD?

### Context:
CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 event date on Sunday with a starting time of 9:30 am?

### Context:
CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)

### Response:

### Response:
SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many seats were there in 2001 when there were 11 seats in 2006?

### Context:
CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)

### Response:

### Response:
SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the lowest capacity when the margin is 03:30?

### Context:
CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)

### Response:

### Response:
SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03: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:
In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?

### Context:
CREATE TABLE table_name_68 (county VARCHAR, listed VARCHAR, construction_completed VARCHAR)

### Response:

### Response:
SELECT county FROM table_name_68 WHERE listed = "09/21/1984" AND construction_completed = "07/19/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:
How many points did the club with a losing bonus of 2 and 300 points against have?

### Context:
CREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_name_44 WHERE losing_bonus = "2" AND points_against = "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:
Which operator has a Reserve of 100 bbbl?

### Context:
CREATE TABLE table_name_96 (operator_s_ VARCHAR, reserves VARCHAR)

### Response:

### Response:
SELECT operator_s_ FROM table_name_96 WHERE reserves = "100 bbbl"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"?

### Context:
CREATE TABLE table_name_32 (record VARCHAR, visitor VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_32 WHERE visitor = "chicago black hawks" AND date = "april 17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which venue has more than 9 against and a status of second test?

### Context:
CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the oakland raiders play as the opponent when the Bills first downs were under 28?

### Context:
CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2nd place finishes for racers active in the year 2000 and more than 0 titles?

### Context:
CREATE TABLE table_name_16 (years_active VARCHAR, titles VARCHAR)

### Response:

### Response:
SELECT AVG(2 AS nd_pl) FROM table_name_16 WHERE years_active = "2000" AND titles > 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 sum of To Par, when Player is "Bob Rosburg"?

### Context:
CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)

### Response:

### Response:
SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg"</s>


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

### Context:
CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR)

### Response:

### Response:
SELECT wins FROM table_name_10 WHERE league = "playoffs"</s>


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

### Context:
CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)

### Response:

### Response:
SELECT class AS pos FROM table_name_98 WHERE pos = "9th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?

### Context:
CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)

### Response:

### Response:
SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 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 sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?

### Context:
CREATE TABLE table_name_99 (country VARCHAR)

### Response:

### Response:
SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 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:
Where is runner-up Betsy Rawls from?

### Context:
CREATE TABLE table_name_76 (location VARCHAR, runner_s__up VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_76 WHERE runner_s__up = "betsy rawls"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Christian Fittipaldi drove in what team?

### Context:
CREATE TABLE table_name_74 (team VARCHAR, drivers VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_74 WHERE drivers = "christian fittipaldi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Time/ Behind, when Jockey is "Jose Lezcano"?

### Context:
CREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR)

### Response:

### Response:
SELECT time__behind FROM table_name_44 WHERE jockey = "jose lezcano"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gore number for others % being 5.3%

### Context:
CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)

### Response:

### Response:
SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.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 january 12 who was the visitor?

### Context:
CREATE TABLE table_name_16 (visitor VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_16 WHERE date = "january 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 position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?

### Context:
CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "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 is the country for the score 72-63-71-68=274?

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

### Response:

### Response:
SELECT country FROM table_28498999_3 WHERE score = 72 - 63 - 71 - 68 = 274</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 career caps for half-back, when tests is more than 3?

### Context:
CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)

### Response:

### Response:
SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 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 competition when the date is 16 january 1996?

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

### Response:

### Response:
SELECT competition FROM table_name_14 WHERE date = "16 january 1996"</s>


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

### Context:
CREATE TABLE table_name_69 (opposition VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT opposition FROM table_name_69 WHERE round = "3rd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of the home game on August 14?

### Context:
CREATE TABLE table_name_25 (result VARCHAR, home_away VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_25 WHERE home_away = "home" AND date = "august 14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Pinyin has a Chinese of 臺南?

### Context:
CREATE TABLE table_name_89 (pinyin VARCHAR, chinese VARCHAR)

### Response:

### Response:
SELECT pinyin FROM table_name_89 WHERE chinese = "臺南"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most goals for total club and apps less than 120

### Context:
CREATE TABLE table_name_34 (goals INTEGER, club VARCHAR, apps VARCHAR)

### Response:

### Response:
SELECT MAX(goals) FROM table_name_34 WHERE club = "total" AND apps < 120</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?

### Context:
CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"</s>


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

### Context:
CREATE TABLE table_name_99 (name VARCHAR, points VARCHAR, drawn VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_99 WHERE points > 14 AND drawn < 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 class has a frequency of 91.9 fm?

### Context:
CREATE TABLE table_name_31 (class VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_31 WHERE frequency = "91.9 fm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?

### Context:
CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)

### Response:

### Response:
SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tyne and Wear County has what total membership for their metropolitan area?

### Context:
CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?

### Context:
CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)

### Response:

### Response:
SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the time for saturday 4 march 1995

### Context:
CREATE TABLE table_16388047_1 (time VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT time FROM table_16388047_1 WHERE date = "Saturday 4 March 1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest Pick with Overall of 244?

### Context:
CREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR)

### Response:

### Response:
SELECT MIN(pick) FROM table_name_33 WHERE overall = 244</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the listed crowd at windy hill?

### Context:
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_4 WHERE venue = "windy hill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Olga Govortsova's outcome when she played on a grass surface?

### Context:
CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_name_59 WHERE surface = "grass"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of weeks for october 26

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

### Response:

### Response:
SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which school did the player have a height of 6-4?

### Context:
CREATE TABLE table_name_65 (school VARCHAR, height VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_65 WHERE height = "6-4"</s>