<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 performer 4 on episode 3, where Jim Sweeney was performer 1?

### Context:
CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)

### Response:

### Response:
SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the TO winning team when the TU winning team was Joe Richardson?

### Context:
CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)

### Response:

### Response:
SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson"</s>


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

### Context:
CREATE TABLE table_name_79 (quarterfinals VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT quarterfinals FROM table_name_79 WHERE rank = "bronze"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has a Decision of osgood, and a Score of 3 – 4?

### Context:
CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show different teams in eliminations and the number of eliminations from each team.

### Context:
CREATE TABLE elimination (Team VARCHAR)

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored the most points where the record is 3-0 for the season?

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

### Response:

### Response:
SELECT high_points FROM table_23285849_5 WHERE record = "3-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 language is used when the service is sky primafila 10 and the package/option is qualsiasi?

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

### Response:

### Response:
SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the tries on 14/6/97?

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

### Response:

### Response:
SELECT tries FROM table_name_10 WHERE date = "14/6/97"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score in January that was less than 4?

### Context:
CREATE TABLE table_name_92 (score VARCHAR, january INTEGER)

### Response:

### Response:
SELECT score FROM table_name_92 WHERE january < 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which location has a Score of 3–2, and a Record of 3–2–3?

### Context:
CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–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 Crowd number for the Away team of Richmond?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the name and results of the battles when the bulgarian commander is not 'Boril'

### Context:
CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR)

### Response:

### Response:
SELECT name, RESULT FROM battle WHERE bulgarian_commander <> 'Boril'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score of the game with a Loss of Kiprusoff (2–2)?

### Context:
CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–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 Wins has a Byes larger than 0?

### Context:
CREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)

### Response:

### Response:
SELECT MAX(wins) FROM table_name_65 WHERE byes > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4?

### Context:
CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "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 Airport in Singapore?

### Context:
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT airport FROM table_name_77 WHERE country = "singapore"</s>


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

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

### Response:

### Response:
SELECT MIN(year) FROM table_16677738_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:
Parts Plus sponsors what driver?

### Context:
CREATE TABLE table_name_21 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)

### Response:

### Response:
SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the crowd size for the game with a score of 101-105?

### Context:
CREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_13 WHERE score = "101-105"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 verb meaning of the word with part 3 "sufun"?

### Context:
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR)

### Response:

### Response:
SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun"</s>


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

### Context:
CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)

### Response:

### Response:
SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = "Daniel Morton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What bike has 26 as the grid?

### Context:
CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT bike FROM table_name_20 WHERE grid = 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 name of the home team that played Carlton?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Sales (billion $) which have a Company of exxonmobil?

### Context:
CREATE TABLE table_name_70 (sales__billion_$_ VARCHAR, company VARCHAR)

### Response:

### Response:
SELECT sales__billion_$_ FROM table_name_70 WHERE company = "exxonmobil"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who won womens doubles in 2010

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

### Response:

### Response:
SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the game happening at Halton Stadium?

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

### Response:

### Response:
SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What city did Yugoslavia play against Poland in?

### Context:
CREATE TABLE table_name_58 (city VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_58 WHERE opponent = "poland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the ids and details of events that have more than one participants?

### Context:
CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)

### Response:

### Response:
SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 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 member has Cook as the electorate?

### Context:
CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR)

### Response:

### Response:
SELECT member FROM table_name_16 WHERE electorate = "cook"</s>


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

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

### Response:

### Response:
SELECT high_points FROM table_name_61 WHERE date = "november 20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of the match with Jeff Monson as opponent?

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

### Response:

### Response:
SELECT res FROM table_name_96 WHERE opponent = "jeff monson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What nationality has a year larger than 2009 with a position of power forward?

### Context:
CREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward"</s>


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

### Context:
CREATE TABLE table_name_90 (class VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_90 WHERE call_sign = "w269ax"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?

### Context:
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)

### Response:

### Response:
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What time that is networked has an ad freq of 20 minutes until 7pm?

### Context:
CREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_13 WHERE local_networked = "networked" AND ad_freq = "20 minutes until 7pm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2005 (78th) year ceremony?

### Context:
CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR)

### Response:

### Response:
SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record at the game with a result of W 13-12 after week 4?

### Context:
CREATE TABLE table_name_10 (record VARCHAR, week VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_10 WHERE week > 4 AND result = "w 13-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 Trial Phase, when Expected End Date is June 2007?

### Context:
CREATE TABLE table_name_59 (trial_phase VARCHAR, expected_end_date VARCHAR)

### Response:

### Response:
SELECT trial_phase FROM table_name_59 WHERE expected_end_date = "june 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team score of the Ghantoot Racing and Polo Club Ground?

### Context:
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who constructed stefan johansson's car with a grid under 14?

### Context:
CREATE TABLE table_name_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_52 WHERE grid < 14 AND driver = "stefan johansson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the full name (first and last name) and salary for all employees who does not have any value for commission?

### Context:
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)

### Response:

### Response:
SELECT first_name, last_name, salary FROM employees WHERE commission_pct = "null"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 number of silver medals for a nation with fewer than 1 bronze?

### Context:
CREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)

### Response:

### Response:
SELECT MIN(silver) FROM table_name_51 WHERE bronze < 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 die size(mm 2) for model sgx531?

### Context:
CREATE TABLE table_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)

### Response:

### Response:
SELECT die_size__mm_2___[1] FROM table_1439045_5 WHERE model = "SGX531"</s>


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

### Context:
CREATE TABLE table_1973816_2 (location VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT location FROM table_1973816_2 WHERE institution = "Southern Vermont College"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the air date where there were 5.72 million viewers?

### Context:
CREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = "5.72"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day did he play on hard with tom mercer?

### Context:
CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_69 WHERE surface = "hard" AND partner = "tom mercer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Expected End Date, when Trial Start Date is Nov 2007?

### Context:
CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)

### Response:

### Response:
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the exit date of the player who transferred to Portsmouth?

### Context:
CREATE TABLE table_name_58 (exit_date VARCHAR, to_club VARCHAR)

### Response:

### Response:
SELECT exit_date FROM table_name_58 WHERE to_club = "portsmouth"</s>


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

### Context:
CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)

### Response:

### Response:
SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A?

### Context:
CREATE TABLE table_name_28 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR)

### Response:

### Response:
SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 set 3 has a Set 1 of 19-25, and a Set 2 of 19-25?

### Context:
CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)

### Response:

### Response:
SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of rebounds of the san antonio spurs?

### Context:
CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?

### Context:
CREATE TABLE table_name_65 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)

### Response:

### Response:
SELECT romaji_title FROM table_name_65 WHERE tv_station = "fuji tv" AND average_ratings = "12.41%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Bob Tway's To par?

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

### Response:

### Response:
SELECT to_par FROM table_name_27 WHERE player = "bob tway"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has valiquette as the decision, with @ los angeles kings as the opponent?

### Context:
CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent in the game that was attended by 42,000 people?

### Context:
CREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT opponent_number FROM table_name_19 WHERE attendance = "42,000"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Phil Crane, democrat or republican

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

### Response:

### Response:
SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane"</s>


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

### Context:
CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_53 WHERE game_site = "bye"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the rank if the time was 5:54.57 and FB in notes?

### Context:
CREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_30 WHERE notes = "fb" AND time = "5:54.57"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?

### Context:
CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT construction_completed FROM table_name_49 WHERE listed = "09/08/1983" AND name = "cecil lindsey"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Jump 2 of the person that has a Jump 3 of 7.77?

### Context:
CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR)

### Response:

### Response:
SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?

### Context:
CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)

### Response:

### Response:
SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Result has a Round of 6?

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

### Response:

### Response:
SELECT result FROM table_name_88 WHERE round = "6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which top ten, having less than  12 cuts less than 2 top five, and events smaller than 14, is the highest?

### Context:
CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)

### Response:

### Response:
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 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:
In which period did Stanislav Chistov get a penalty?

### Context:
CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT period FROM table_name_9 WHERE player = "stanislav chistov"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn?

### Context:
CREATE TABLE table_name_45 (drawn INTEGER, played VARCHAR, points_1 VARCHAR, goals_against VARCHAR)

### Response:

### Response:
SELECT AVG(drawn) FROM table_name_45 WHERE points_1 = "33" AND goals_against = 45 AND played < 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 picks did Central State have before round 2?

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

### Response:

### Response:
SELECT COUNT(pick) FROM table_name_29 WHERE school = "central state" AND round < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country has an IEF 2011 of 45.3?

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

### Response:

### Response:
SELECT country FROM table_name_46 WHERE ief_2011 = "45.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:
Which team has nc position for 2010 season?

### Context:
CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT team FROM table_23338693_1 WHERE position = "NC" AND season = 2010</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 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 To par has a Place of t4, and wayne grady is in?

### Context:
CREATE TABLE table_name_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_87 WHERE place = "t4" AND player = "wayne grady"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What points have 1 for drawn, and 16 as a try bonus?

### Context:
CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the episode directed by Charles Beeson?

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

### Response:

### Response:
SELECT title FROM table_24649082_1 WHERE directed_by = "Charles Beeson"</s>


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

### Context:
CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_46 WHERE built = 1923</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 July 1, 2013 projections have a Rank of 27?

### Context:
CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the game where real espana was the home team?

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

### Response:

### Response:
SELECT score FROM table_name_90 WHERE home = "real espana"</s>


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

### Context:
CREATE TABLE table_name_48 (team VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_48 WHERE finish = "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 was the B.P. of club Halifax?

### Context:
CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT bp FROM table_19179465_1 WHERE club = "Halifax"</s>


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

### Context:
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943</s>


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

### Context:
CREATE TABLE table_name_74 (yards VARCHAR, attempts VARCHAR)

### Response:

### Response:
SELECT yards FROM table_name_74 WHERE attempts = "247"</s>


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

### Context:
CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_11 WHERE round = 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the dominant religion (2002) of the Mala Remeta settlement?

### Context:
CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)

### Response:

### Response:
SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest one that has a Drawn smaller than 4, and a Played smaller than 9?

### Context:
CREATE TABLE table_name_93 (lost INTEGER, drawn VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Silver medals did the Nation with 10 or more Bronze receive?

### Context:
CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER)

### Response:

### Response:
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest to par number for Justin Leonard when the total is less than 297?

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

### Response:

### Response:
SELECT MAX(to_par) FROM table_name_27 WHERE player = "justin leonard" AND total < 297</s>


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

### Context:
CREATE TABLE table_name_32 (authority VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT authority FROM table_name_32 WHERE name = "whakamaru school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year is the highest one that has a Work of the clone, and an Award of contigo award?

### Context:
CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 did carlos cardus drive for in 1983 when he got less than 21 points?

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

### Response:

### Response:
SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the game when they were 2-1?

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

### Response:

### Response:
SELECT result FROM table_20746062_1 WHERE record = "2-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With Lindsay Lee-Waters as a partner, what was the final score?

### Context:
CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters"</s>


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

### Context:
CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_65 WHERE car_no = "20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What province has an election after 2009?

### Context:
CREATE TABLE table_name_55 (province VARCHAR, election INTEGER)

### Response:

### Response:
SELECT province FROM table_name_55 WHERE election > 2009</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many flights do we have?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?

### Context:
CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = 59867</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 phonetic realisation is [[[|u]]], what is the variant with niqqud?

### Context:
CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)

### Response:

### Response:
SELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = "[[[|u]]]"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are the Semifinalists, when the Week is May 12?

### Context:
CREATE TABLE table_name_52 (semifinalists VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT semifinalists FROM table_name_52 WHERE week = "may 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most lanes used that had a winner from Ireland?

### Context:
CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 event that had a prize of zł 1,226,711?

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

### Response:

### Response:
SELECT event FROM table_name_22 WHERE prize = "zł 1,226,711"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the game played on 30 May 2004?

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

### Response:

### Response:
SELECT venue FROM table_name_6 WHERE date = "30 may 2004"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Record has the Res of win with the Event of extreme fighting 1?

### Context:
CREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_30 WHERE res = "win" AND event = "extreme fighting 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:
Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?

### Context:
CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)

### Response:

### Response:
SELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = "no" AND license = "proprietary" AND creator = "microsoft"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?

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

### Response:

### Response:
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the week 4 game?

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

### Response:

### Response:
SELECT date FROM table_17927935_1 WHERE week = 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 Home team score when away team is hawthorn?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what character did naoko watanabe play

### Context:
CREATE TABLE table_name_82 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)

### Response:

### Response:
SELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = "naoko watanabe"</s>


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

### Context:
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)

### Response:

### Response:
SELECT SUM(game) FROM table_name_80 WHERE date = "december 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 every value for  % 40-59 if  % 60-74 is 12,40%?

### Context:
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)

### Response:

### Response:
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Tournament has a Partner of martín rodríguez?

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

### Response:

### Response:
SELECT tournament FROM table_name_19 WHERE partner = "martín rodríguez"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 number of Laps with a Grid of more than 3 and Time of 39:24.967?

### Context:
CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MIN(laps) FROM table_name_8 WHERE grid > 3 AND time = "39:24.967"</s>


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

### Context:
CREATE TABLE table_17386066_2 (opponent VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_17386066_2 WHERE stadium = "Shea stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of episodes listed with a production code of 306?

### Context:
CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?

### Context:
CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the league when the fa cup is qr4 and the fa trophy is qf?

### Context:
CREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR)

### Response:

### Response:
SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "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 team does Joe Deane play for?

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

### Response:

### Response:
SELECT team FROM table_name_20 WHERE player = "joe deane"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when Outcome is Winner, and when Opponent is Angela Haynes?

### Context:
CREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_69 WHERE outcome = "winner" AND opponent = "angela haynes"</s>


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

### Context:
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT visiting_team FROM table_name_59 WHERE date = "december 23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Born-Died, when Name is Maliq Bushati?

### Context:
CREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT born_died FROM table_name_27 WHERE name = "maliq bushati"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the id of the courses that do not have any prerequisite?

### Context:
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)

### Response:

### Response:
SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Swimmer Jiao Liuyang has what for the sum of lane?

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

### Response:

### Response:
SELECT COUNT(lane) FROM table_name_50 WHERE name = "jiao liuyang"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 how many different categories is the value of C_{low} 35.5?

### Context:
CREATE TABLE table_1942366_9 (category VARCHAR, low VARCHAR)

### Response:

### Response:
SELECT COUNT(category) FROM table_1942366_9 WHERE STRUCT(low) = "35.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 Venue of the Competition on 2001-05-05?

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

### Response:

### Response:
SELECT venue FROM table_name_38 WHERE date = "2001-05-05"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 low lap total that has a Time or Retired of accident?

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

### Response:

### Response:
SELECT MIN(laps) FROM table_name_35 WHERE time_retired = "accident"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 T.C. has a Win of 1, and a Race of 21?

### Context:
CREATE TABLE table_name_40 (tc VARCHAR, wins VARCHAR, races VARCHAR)

### Response:

### Response:
SELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the number of winning tickets that have 180.00 as the prize (eur)?

### Context:
CREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR)

### Response:

### Response:
SELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = "180.00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What series had the title rank of various?

### Context:
CREATE TABLE table_name_20 (series VARCHAR, title_rank VARCHAR)

### Response:

### Response:
SELECT series FROM table_name_20 WHERE title_rank = "various"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the channels is wxyzrstuvpq, what is the horizontal order?

### Context:
CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)

### Response:

### Response:
SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_95 WHERE away_team = "rochdale"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?

### Context:
CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)

### Response:

### Response:
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont là" AND place < 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:
Who is the bachelorette of the season that premiered on May 24, 2010?

### Context:
CREATE TABLE table_name_37 (bachelorette VARCHAR, premiered VARCHAR)

### Response:

### Response:
SELECT bachelorette FROM table_name_37 WHERE premiered = "may 24, 2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the patient who has the most recent undergoing treatment?

### Context:
CREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR)

### Response:

### Response:
SELECT patient FROM undergoes ORDER BY dateundergoes 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 Lap Length of the race with a Grand Prix Fia Category?

### Context:
CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What NHL team does Rob White play on?

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

### Response:

### Response:
SELECT nhl_team FROM table_name_45 WHERE player = "rob white"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the lowest closed for capacity of 62,439

### Context:
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)

### Response:

### Response:
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the audience share is 8%, what is the original airing?

### Context:
CREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR)

### Response:

### Response:
SELECT original_airing FROM table_name_60 WHERE audience_share__average_ = "8%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Melbourne's home venue?

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

### Response:

### Response:
SELECT venue FROM table_name_32 WHERE home_team = "melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Against have Played smaller than 18?

### Context:
CREATE TABLE table_name_54 (against VARCHAR, played INTEGER)

### Response:

### Response:
SELECT COUNT(against) FROM table_name_54 WHERE played < 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?

### Context:
CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR)

### Response:

### Response:
SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest played has a Position of 2, and Goals against larger than 53?

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

### Response:

### Response:
SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for 2010 when 2007 is a and 2004 is 2r?

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

### Response:

### Response:
SELECT 2010 FROM table_name_97 WHERE 2007 = "a" AND 2004 = "2r"</s>


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

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

### Response:

### Response:
SELECT 1983 FROM table_name_2 WHERE tournament = "wimbledon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want to see the result for venue of n and attendance more than 20,664

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

### Response:

### Response:
SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664</s>


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

### Context:
CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT division_record FROM table_name_93 WHERE school = "delmar"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Alireza Rouzbahani did not advance to the quarterfinal in what event?

### Context:
CREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_29 WHERE quarterfinal = "did not advance" AND athlete = "alireza rouzbahani"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 enrollment of the course named "Spanish"?

### Context:
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)

### Response:

### Response:
SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which round has the mv agusta f4 1000 mt?

### Context:
CREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR)

### Response:

### Response:
SELECT rounds FROM table_name_75 WHERE motorcycle = "mv agusta f4 1000 mt"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What album is 4:53 long?

### Context:
CREATE TABLE table_name_74 (album VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT album FROM table_name_74 WHERE length = "4:53"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the minimum rockhampton

### Context:
CREATE TABLE table_12570207_1 (rockhampton INTEGER)

### Response:

### Response:
SELECT MIN(rockhampton) FROM table_12570207_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 Zone is the lowest when Managed By Southern and has Platforms under 2?

### Context:
CREATE TABLE table_name_88 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR)

### Response:

### Response:
SELECT MIN(zone) FROM table_name_88 WHERE managed_by = "southern" AND platforms < 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 Nanquan has a Nandao larger than 9.49, and a Rank of 4?

### Context:
CREATE TABLE table_name_76 (nanquan VARCHAR, nandao VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT nanquan FROM table_name_76 WHERE nandao > 9.49 AND rank = 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which street is 12.2 miles long?

### Context:
CREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR)

### Response:

### Response:
SELECT street_names FROM table_10568553_1 WHERE milepost = "12.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:
How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?

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

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_81 WHERE total < "11" AND rank = "11" AND gold < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many KEI catagories are listed when the economic incentive regime is 2.56?

### Context:
CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)

### Response:

### Response:
SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Record of 3–3 has what result?

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

### Response:

### Response:
SELECT result FROM table_name_83 WHERE record = "3–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Club which has a Founded larger than 1875, and a Sport of football?

### Context:
CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player for 68-68-75-74=285

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

### Response:

### Response:
SELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has conv of 5 players on 20 points

### Context:
CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the away team when the crowd was larger than 8,000?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 station name with greatest number of trains.

### Context:
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)

### Response:

### Response:
SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which IHSAA Class has a Mascot of tigers?

### Context:
CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers"</s>


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

### Context:
CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)

### Response:

### Response:
SELECT region_1 FROM table_171320_3 WHERE ep__number = 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the league cup for northern ireland

### Context:
CREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT league AS Cup FROM table_22357065_1 WHERE nation = "Northern Ireland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 publishers with a book published in 1989 and a book in 1990.

### Context:
CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 5th is the regular season what is the highest season?

### Context:
CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR)

### Response:

### Response:
SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "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:
Quotient of 97 350,333 has how many votes?

### Context:
CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)

### Response:

### Response:
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Best Actor has a Best Director of takeshi kitano for outrage beyond?

### Context:
CREATE TABLE table_name_44 (best_actor VARCHAR, best_director VARCHAR)

### Response:

### Response:
SELECT best_actor FROM table_name_44 WHERE best_director = "takeshi kitano for outrage beyond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the production code for the episode that originally aired on January 8, 1993?

### Context:
CREATE TABLE table_2409041_5 (production_code INTEGER, original_air_date VARCHAR)

### Response:

### Response:
SELECT MAX(production_code) FROM table_2409041_5 WHERE original_air_date = "January 8, 1993"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the latest debut in Europe for Henrik Larsson, with less than 108 games?

### Context:
CREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108</s>


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

### Context:
CREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)

### Response:

### Response:
SELECT eastern__number2 FROM table_name_23 WHERE western__number2 = "oakland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the original air date for episode number 96 in the series?

### Context:
CREATE TABLE table_26866299_1 (original_airdate VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT original_airdate FROM table_26866299_1 WHERE series__number = 96</s>


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

### Context:
CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?

### Context:
CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR)

### Response:

### Response:
SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?

### Context:
CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" AND year < 2002</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest rank for new zealand?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_23 WHERE country = "new zealand"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the number of wickets is 29, what was the economy?

### Context:
CREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR)

### Response:

### Response:
SELECT economy FROM table_28797906_3 WHERE wickets = 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:
Which entrant had a chassis of March CG891?

### Context:
CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT entrant FROM table_name_20 WHERE chassis = "march cg891"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pos has a Dutch Cup of winner, and a Tier larger than 1?

### Context:
CREATE TABLE table_name_1 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR)

### Response:

### Response:
SELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = "winner" AND tier > 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 round was adelaide united the opposition with an attendance of 18,345?

### Context:
CREATE TABLE table_name_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_32 WHERE opposition = "adelaide united" AND attendance = "18,345"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What launched has mariner 4 as the spacecraft?

### Context:
CREATE TABLE table_name_17 (launched VARCHAR, spacecraft VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_17 WHERE spacecraft = "mariner 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 Sprints classification has the Points classification, Mark Cavendish and Team classification, Caisse D'epargne?

### Context:
CREATE TABLE table_name_18 (sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)

### Response:

### Response:
SELECT sprints_classification FROM table_name_18 WHERE points_classification = "mark cavendish" AND team_classification = "caisse d'epargne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which location had a round of 3, and an Opponent of matt horwich?

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

### Response:

### Response:
SELECT location FROM table_name_9 WHERE round < 3 AND opponent = "matt horwich"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the constellation for declination for °45′ and right ascension of 07h58m

### Context:
CREATE TABLE table_name_56 (constellation VARCHAR, declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_name_56 WHERE declination___j2000__ = "°45′" AND right_ascension___j2000__ = "07h58m"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 with a 10f distance and mollison as the winner or 2nd?

### Context:
CREATE TABLE table_name_12 (race VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_12 WHERE distance = "10f" AND winner_or_2nd = "mollison"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
15 albums were released in the UK during which year?

### Context:
CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_25 WHERE uk_albums = "15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the episode that had 9.89 million U.S. viewers?

### Context:
CREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT title FROM table_24648983_1 WHERE us_viewers__million_ = "9.89"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps did Chuck Stevenson have with a grid of less than 11?

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

### Response:

### Response:
SELECT COUNT(laps) FROM table_name_35 WHERE driver = "chuck stevenson" AND grid < 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:
Which Score has a Visitor of buffalo sabres and a Record of 1-3?

### Context:
CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-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:
How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?

### Context:
CREATE TABLE table_name_68 (games INTEGER, team VARCHAR, rebounds VARCHAR)

### Response:

### Response:
SELECT SUM(games) FROM table_name_68 WHERE team = "lietuvos rytas vilnius" AND rebounds < 43</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Country has a Player of nick faldo?

### Context:
CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_74 WHERE player = "nick faldo"</s>