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

### Context:
CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)

### Response:

### Response:
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 3rd performer when christopher smith was the 2nd performer?

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

### Response:

### Response:
SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_12 WHERE week = 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many rounds have a position of C?

### Context:
CREATE TABLE table_name_95 (round VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_95 WHERE position = "c"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What batting partners batted for pakistan?

### Context:
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR)

### Response:

### Response:
SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan"</s>


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

### Context:
CREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_89 WHERE year_built = 1857</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How may players played for the Grizzlies from 2000-2002?

### Context:
CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR)

### Response:

### Response:
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-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 date of the game when the opponent is the Cleveland Browns?

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

### Response:

### Response:
SELECT date FROM table_name_98 WHERE opponent = "cleveland browns"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale?

### Context:
CREATE TABLE table_name_21 (authority VARCHAR, area VARCHAR, gender VARCHAR, decile VARCHAR)

### Response:

### Response:
SELECT authority FROM table_name_21 WHERE gender = "coed" AND decile < 6 AND area = "merivale"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Ram's conference record when they were the CBI champions?

### Context:
CREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR)

### Response:

### Response:
SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What number is shown for november 3 where january 15-16 is 151?

### Context:
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)

### Response:

### Response:
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the surface of the French Championships?

### Context:
CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT surface FROM table_2215159_2 WHERE championship = "French championships"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Silver, when Gold is less than 34, when Rank is "6", and when Total is greater than 10?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps?

### Context:
CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Nelson Philippe drove with a grid larger than 16, what was the timre/retired?

### Context:
CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = "nelson philippe"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st leg has a Team #1 of ummc ekaterinburg?

### Context:
CREATE TABLE table_name_33 (team__number1 VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Position of defensive back, and an Overall smaller than 69 is what lowest pick #?

### Context:
CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)

### Response:

### Response:
SELECT MIN(pick__number) FROM table_name_7 WHERE position = "defensive back" AND overall < 69</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest season with an advertising account manager profile?

### Context:
CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR)

### Response:

### Response:
SELECT MIN(season) FROM table_name_38 WHERE profile = "advertising account manager"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which college was the wide receiver whose pick was less than 130.0 picked from?

### Context:
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many losses for the team with less than 4 wins, more than 0 byes and 2510 against?

### Context:
CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND 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 is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_44 WHERE rank < 8 AND total = 12 AND bronze < 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the first names and last names of the employees who live in Calgary city.

### Context:
CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, City VARCHAR)

### Response:

### Response:
SELECT FirstName, LastName FROM EMPLOYEE WHERE City = "Calgary"</s>


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

### Context:
CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_57 WHERE home_team = "burnley"</s>


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

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

### Response:

### Response:
SELECT tournament FROM table_name_14 WHERE date = "august 17, 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest rank for the boys swimming team in Albuquerque?

### Context:
CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"</s>


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

### Context:
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nation who is ranked greater than 1 and has 4 Gold medals have?

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

### Response:

### Response:
SELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 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:
on what date was tie number 4?

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

### Response:

### Response:
SELECT date FROM table_name_80 WHERE tie_no = "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 maximum completed for address on 410 22nd st e

### Context:
CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR)

### Response:

### Response:
SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people lived in the city which has 1.2530 km² in the year 2000?

### Context:
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)

### Response:

### Response:
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 floors does detroit marriott at the renaissance center have?

### Context:
CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MAX(floors) FROM table_name_70 WHERE name = "detroit marriott at the renaissance center"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the partnering that had the opponents of Marcelo Melo André Sá?

### Context:
CREATE TABLE table_name_29 (partnering VARCHAR, opponents_in_final VARCHAR)

### Response:

### Response:
SELECT partnering FROM table_name_29 WHERE opponents_in_final = "marcelo melo andré sá"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Human Resources & Operations when David Hornsby was in Academic & University Affairs?

### Context:
CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)

### Response:

### Response:
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby"</s>


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

### Context:
CREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR)

### Response:

### Response:
SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position did the kr team player play?

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

### Response:

### Response:
SELECT position FROM table_name_15 WHERE team = "kr"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of field goals scored by a right halfback who had more than 3 touchdowns?

### Context:
CREATE TABLE table_name_80 (field_goals INTEGER, position VARCHAR, touchdowns VARCHAR)

### Response:

### Response:
SELECT AVG(field_goals) FROM table_name_80 WHERE position = "right halfback" AND touchdowns > 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 bronzes have a Nation of jamaica (jam), and a Total smaller than 7?

### Context:
CREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_6 WHERE nation = "jamaica (jam)" AND total < 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the title for the Undercard of Stevenson/Bellew?

### Context:
CREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT titles FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the longitude of the feature named Razia Patera?

### Context:
CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location of the game that has a number smaller than 2?

### Context:
CREATE TABLE table_name_68 (location VARCHAR, game INTEGER)

### Response:

### Response:
SELECT location FROM table_name_68 WHERE game < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average game that has December 17 as the date?

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

### Response:

### Response:
SELECT AVG(game) FROM table_name_32 WHERE date = "december 17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?

### Context:
CREATE TABLE table_name_47 (broadcasts__tv__1 INTEGER, series VARCHAR, us_release_date VARCHAR)

### Response:

### Response:
SELECT SUM(broadcasts__tv__1) FROM table_name_47 WHERE series = "3 4" AND us_release_date = "27 december 2006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of points for a position over 5 with more than 2 draws?

### Context:
CREATE TABLE table_name_79 (points INTEGER, drawn VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_79 WHERE drawn > 2 AND position > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the production code of the episode seen by 7.49 million people in the US?

### Context:
CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which school shows #/county of 29 hamilton?

### Context:
CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton"</s>


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

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

### Response:

### Response:
SELECT song FROM table_name_8 WHERE artist = "liam reilly"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1st Edition for the Episode 4?

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

### Response:

### Response:
SELECT 1 AS st_edition FROM table_name_77 WHERE episode = "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 money for the player with a score of 68-69-67-73=277?

### Context:
CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?

### Context:
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)

### Response:

### Response:
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Rider had a Time of +1:08.291?

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

### Response:

### Response:
SELECT rider FROM table_name_14 WHERE time = "+1:08.291"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Estonia, which won more than 1 gold and less than 97 medals total, win?

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

### Response:

### Response:
SELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = "estonia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of series sorted for when released is april 2010

### Context:
CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)

### Response:

### Response:
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 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 language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?

### Context:
CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ties do teams with 25 Goals For and more than 5 wins have?

### Context:
CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 who is the captain where coach is geoff miles

### Context:
CREATE TABLE table_1165048_1 (captain VARCHAR, coach VARCHAR)

### Response:

### Response:
SELECT captain FROM table_1165048_1 WHERE coach = "Geoff Miles"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?

### Context:
CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"</s>


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

### Context:
CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Hawthorn play as the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_89 WHERE away_team = "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 is Location, when Class / Type is "Sloop"?

### Context:
CREATE TABLE table_name_33 (location VARCHAR, class___type VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_33 WHERE class___type = "sloop"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine has the Mercedes AMG Petronas f1 team, and 93 points?

### Context:
CREATE TABLE table_name_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_1 WHERE entrant = "mercedes amg petronas f1 team" AND points = "93"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which competition did he win on August 15, 2012?

### Context:
CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 coin that weighs 3 g made of?

### Context:
CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)

### Response:

### Response:
SELECT composition FROM table_name_33 WHERE weight = "3 g"</s>


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

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

### Response:

### Response:
SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result for 2006 of a tournament that is 107 in 2010?

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

### Response:

### Response:
SELECT 2006 FROM table_name_73 WHERE 2010 = "107"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0?

### Context:
CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 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:
Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000

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

### Response:

### Response:
SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 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:
What is the attendance amount of the race with a time of 2:07?

### Context:
CREATE TABLE table_name_38 (attendance INTEGER, time VARCHAR)

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_38 WHERE time = "2:07"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Was the University of Michigan Signed?

### Context:
CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT signed FROM table_name_13 WHERE school = "university of michigan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 countries of mountains with height bigger than 5000?

### Context:
CREATE TABLE mountain (Country VARCHAR, Height INTEGER)

### Response:

### Response:
SELECT Country FROM mountain WHERE Height > 5000</s>


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

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

### Response:

### Response:
SELECT 1821 FROM table_name_30 WHERE 1861 = "3733"</s>


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

### Context:
CREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR)

### Response:

### Response:
SELECT cat__number FROM table_name_85 WHERE release_date = "november 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 place had a ribbon below 9.8 and a 19.2 total?

### Context:
CREATE TABLE table_name_23 (place INTEGER, ribbon VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(place) FROM table_name_23 WHERE ribbon < 9.8 AND total = 19.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 was sent to the third island in week 1?

### Context:
CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)

### Response:

### Response:
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "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:
Who was in 2nd leg when Boca Juniors was in home (1st leg)?

### Context:
CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Steve Nash (24) got high points for how many teams?

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

### Response:

### Response:
SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (24)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Law Hiu Fung's time?

### Context:
CREATE TABLE table_name_26 (time VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_26 WHERE athlete = "law hiu fung"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the chassis for engine of brm v12

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

### Response:

### Response:
SELECT chassis FROM table_name_49 WHERE engine = "brm v12"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Republican have with the incumbent, Billy Tauzin?

### Context:
CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium?

### Context:
CREATE TABLE table_name_53 (kickoff VARCHAR, game_site VARCHAR, nflcom_recap VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT kickoff FROM table_name_53 WHERE nflcom_recap = "recap" AND week < 17 AND game_site = "arrowhead 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:
Who drives for Newman-Haas Racing with a time of 1:51:47.260?

### Context:
CREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the least track with song of little sister

### Context:
CREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR)

### Response:

### Response:
SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 literacy rate for groups that grew 103.1% between 1991 and 2001?

### Context:
CREATE TABLE table_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR)

### Response:

### Response:
SELECT literacy___percentage_ FROM table_10710364_2 WHERE growth__1991_2001_ = "103.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 name of the tournament played 13 November 2000?

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

### Response:

### Response:
SELECT tournament FROM table_name_35 WHERE date = "13 november 2000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?

### Context:
CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the object number of railways that do not have any trains.

### Context:
CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)

### Response:

### Response:
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who played the bass for the Against the Grain album after 1982?

### Context:
CREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR)

### Response:

### Response:
SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 duchess, who was married on 11 july 1643, born?

### Context:
CREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR)

### Response:

### Response:
SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643"</s>


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

### Context:
CREATE TABLE table_27823359_1 (written_by VARCHAR, season__number VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_27823359_1 WHERE season__number = "23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which average rank has an Earning amount that is less than $224,589?

### Context:
CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?

### Context:
CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = "kōzō murashita"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest crowd when st kilda was the away team?

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

### Response:

### Response:
SELECT MAX(crowd) FROM table_name_60 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:
On which circuit does lorenzo bandini have the fastest lap as well as the pole position?

### Context:
CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine does the Tasman Motorsports team have?

### Context:
CREATE TABLE table_name_63 (engine VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_63 WHERE team = "tasman motorsports"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 team's record on may 12 when they play the giants?

### Context:
CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "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 average year with nominated result?

### Context:
CREATE TABLE table_name_32 (year INTEGER, result VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_32 WHERE result = "nominated"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total number of kickoff [a ] where week is week

### Context:
CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)

### Response:

### Response:
SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE "week" = "week"</s>


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

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

### Response:

### Response:
SELECT date_of_vacancy FROM table_name_80 WHERE outgoing_manager = "tommy mclean"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 type when the bie recognised is yes and year(s) is 1960?

### Context:
CREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a surface of road and an event of half marathon?

### Context:
CREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_63 WHERE surface = "road" AND event = "half marathon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Matches of 127 has how many total number of inns?

### Context:
CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)

### Response:

### Response:
SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?

### Context:
CREATE TABLE table_name_26 (team_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT team_classification FROM table_name_26 WHERE points_classification = "alejandro valverde" AND winner = "alejandro valverde" AND stage = "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 proto-oceanic has louse as the animal?

### Context:
CREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR)

### Response:

### Response:
SELECT proto_oceanic FROM table_name_86 WHERE animal = "louse"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Position has a Pick # smaller than 23, and a Player of garrett sutherland?

### Context:
CREATE TABLE table_name_12 (position VARCHAR, pick__number VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_12 WHERE pick__number < 23 AND player = "garrett sutherland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record for a game lower than 79?

### Context:
CREATE TABLE table_name_90 (record VARCHAR, game INTEGER)

### Response:

### Response:
SELECT record FROM table_name_90 WHERE game < 79</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the original air date for no. 2?

### Context:
CREATE TABLE table_12722302_2 (original_air_date VARCHAR, no VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_12722302_2 WHERE no = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many masters fought using a boxing style?

### Context:
CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR)

### Response:

### Response:
SELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = "Boxing"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?

### Context:
CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs"</s>


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

### Context:
CREATE TABLE table_name_71 (Prime VARCHAR, minister VARCHAR)

### Response:

### Response:
SELECT Prime AS minister FROM table_name_71 WHERE minister = "antoine wehenkel"</s>


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

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

### Response:

### Response:
SELECT record FROM table_23186738_6 WHERE team = "Houston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on December 10, 2000?

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

### Response:

### Response:
SELECT opponent FROM table_name_36 WHERE date = "december 10, 2000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the entrant for Gary Brabham?

### Context:
CREATE TABLE table_name_5 (entrant VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT entrant FROM table_name_5 WHERE driver = "gary brabham"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 races did the jockey weigh less than 55.5 kg?

### Context:
CREATE TABLE table_name_78 (race VARCHAR, weight__kg_ INTEGER)

### Response:

### Response:
SELECT race FROM table_name_78 WHERE weight__kg_ < 55.5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the game where North Melbourne was the home team?

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

### Response:

### Response:
SELECT date FROM table_name_65 WHERE home_team = "north melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the grid of driver tomas scheckter from vision racing team?

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

### Response:

### Response:
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"</s>


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

### Context:
CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_76 WHERE time = 13.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 country is ranked larger than 4?

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

### Response:

### Response:
SELECT country FROM table_name_72 WHERE 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:
Name the awardee for tingya

### Context:
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR)

### Response:

### Response:
SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = "Tingya"</s>


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

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

### Response:

### Response:
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-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 were Holly Scouler's total votes?

### Context:
CREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR)

### Response:

### Response:
SELECT total_votes FROM table_name_27 WHERE members = "holly scouler"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of popular votes for mn attorney general in 1994

### Context:
CREATE TABLE table_name_74 (popular_votes VARCHAR, office VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(popular_votes) FROM table_name_74 WHERE office = "mn attorney general" AND year = 1994</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 courtesy title of the person whose tenure goes from 1766–1794?

### Context:
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)

### Response:

### Response:
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 term had a Democratic representative from district 7?

### Context:
CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)

### Response:

### Response:
SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average value for Rd 8 in a position less than 2 for Audi Sport Australia?

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

### Response:

### Response:
SELECT AVG(rd_8) FROM table_name_68 WHERE team = "audi sport australia" AND position < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Home of buffalo happened on what date?

### Context:
CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_39 WHERE home = "buffalo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?

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

### Response:

### Response:
SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance of the match with motagua as the home team?

### Context:
CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"</s>


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

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

### Response:

### Response:
SELECT COUNT(position) FROM table_11545282_6 WHERE player = "Jim Farmer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people attended the game whose score was 1-1?

### Context:
CREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_62 WHERE record = "1-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:
Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?

### Context:
CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = "zhenya rasskazova" AND draw > 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein?

### Context:
CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = "4.1" AND written_by = "Douglas Lieblein"</s>


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

### Context:
CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT hometown FROM table_name_68 WHERE player = "tre madden"</s>


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

### Context:
CREATE TABLE table_28898974_3 (reason VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT reason FROM table_28898974_3 WHERE incumbent = "James Seaton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Total larger than 3, and a Rank of 4, and a Silver larger than 0 has what average gold?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many 4 credits is the hand two pair?

### Context:
CREATE TABLE table_11200856_1 (hand VARCHAR)

### Response:

### Response:
SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all institutions with a team name of the Cardinals.

### Context:
CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR)

### Response:

### Response:
SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_83 WHERE player = "nick faldo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4?

### Context:
CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_16 WHERE team = "team vodafone" AND grid > 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:
Can you tell me what is FCC info for harmony township, new jersey?

### Context:
CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times is the tournament the masters tournament and the top-10 is less than 2?

### Context:
CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)

### Response:

### Response:
SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 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 locations logged a score of 206 (-7)?

### Context:
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?

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

### Response:

### Response:
SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 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 did the away team score when playing against fitzroy?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week was the Bye attendance week?

### Context:
CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_20 WHERE attendance = "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 was the highest game number when the opponent was the Miami Heat?

### Context:
CREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 states where have the colleges whose enrollments are less than the largest size.

### Context:
CREATE TABLE college (state VARCHAR, enr INTEGER)

### Response:

### Response:
SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM 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 home team when the away team was Frickley Athletic?

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

### Response:

### Response:
SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 premiere date for the episode whose alternate title was miłość i przeznaczenie?

### Context:
CREATE TABLE table_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR)

### Response:

### Response:
SELECT series_premiere FROM table_29799700_2 WHERE alternante_title = "Miłość i przeznaczenie"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country is Howard Clark from?

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

### Response:

### Response:
SELECT country FROM table_name_18 WHERE player = "howard clark"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of wind m/s for sunday emmanuel

### Context:
CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = "Sunday Emmanuel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 format of the date February 14, 2002?

### Context:
CREATE TABLE table_name_53 (format VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_53 WHERE date = "february 14, 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:
Who is the player with a +3 to par and a 74-71-68=213 score?

### Context:
CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = 74 - 71 - 68 = 213</s>


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

### Context:
CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many tries against got the club with 62 tries for?

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

### Response:

### Response:
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player is from Marshall and played 1974-75?

### Context:
CREATE TABLE table_11545282_12 (player VARCHAR, years_for_jazz VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_11545282_12 WHERE years_for_jazz = "1974-75" AND school_club_team = "Marshall"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away score when North Melbourne was played?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many matches had the result of 6–3, 6–2?

### Context:
CREATE TABLE table_11636213_7 (partnering VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT COUNT(partnering) FROM table_11636213_7 WHERE result = "6–3, 6–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which game number was played at Chicago Stadium?

### Context:
CREATE TABLE table_name_63 (game VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_63 WHERE location = "chicago 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 finishes maximum number?

### Context:
CREATE TABLE table_23385853_20 (finishes INTEGER)

### Response:

### Response:
SELECT MAX(finishes) FROM table_23385853_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:
Who had most laps led at Chicagoland speedway?

### Context:
CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR)

### Response:

### Response:
SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Player has 23 Tries?

### Context:
CREATE TABLE table_name_61 (player VARCHAR, tries VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_61 WHERE tries = 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:
If the Steals are 20, what are the blocks?

### Context:
CREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR)

### Response:

### Response:
SELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 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's the score on December 12, 1998?

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

### Response:

### Response:
SELECT score FROM table_name_11 WHERE date = "december 12, 1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which engine was on a car with G tires, a chassis model of 003 002 004 005 006, driven by Jackie Stewart?

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

### Response:

### Response:
SELECT engine FROM table_name_98 WHERE tyre = "g" AND chassis = "003 002 004 005 006" AND driver = "jackie stewart"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Delivered as name of the H3 Locomotive?

### Context:
CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR)

### Response:

### Response:
SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game had a record of 6-9-7?

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

### Response:

### Response:
SELECT game FROM table_17360840_5 WHERE record = "6-9-7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many inches is the barrel length when the rear sight is weaver and the barrel profile is A2?

### Context:
CREATE TABLE table_12834315_8 (barrel_length VARCHAR, rear_sight VARCHAR, barrel_profile VARCHAR)

### Response:

### Response:
SELECT barrel_length FROM table_12834315_8 WHERE rear_sight = "Weaver" AND barrel_profile = "A2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What districts does incumbent Curt Weldon hold?

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

### Response:

### Response:
SELECT district FROM table_1341568_39 WHERE incumbent = "Curt Weldon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 female students (sex is F) whose age is below 25?

### Context:
CREATE TABLE student (sex VARCHAR, age VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 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:
Name the population 1891 for area being 175836

### Context:
CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)

### Response:

### Response:
SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was opponen in baltimore, at 2:00pm, on 4/06/08?

### Context:
CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_11 WHERE city = "baltimore" AND time = "2:00pm" AND date = "4/06/08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Average crowd when the away team was north melbourne?

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many viewers in millions watched the episode with the production code 6acx16?

### Context:
CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT us_viewers__million_ FROM table_22261877_1 WHERE production_code = "6ACX16"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 pole position of the Belgian Grand Prix?

### Context:
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the competition played in budva against italy?

### Context:
CREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?

### Context:
CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = "1904" AND wpct = 0.296</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 song title with time of 1:51

### Context:
CREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT song_title FROM table_name_75 WHERE time = "1:51"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What line is 24.7 km and head towards Toyohashi East?

### Context:
CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team plays at Lake Oval?

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

### Response:

### Response:
SELECT home_team FROM table_name_39 WHERE venue = "lake oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the satellite that has a COSPAR ID of 1967-042a launched?

### Context:
CREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR)

### Response:

### Response:
SELECT launch_date FROM table_name_80 WHERE cospar_id = "1967-042a"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jushin Liger has a Super Shocker of liger (13:59)?

### Context:
CREATE TABLE table_name_44 (jushin_liger VARCHAR, super_shocker VARCHAR)

### Response:

### Response:
SELECT jushin_liger FROM table_name_44 WHERE super_shocker = "liger (13:59)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which score has a record of 58–15–8?

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

### Response:

### Response:
SELECT score FROM table_name_80 WHERE record = "58–15–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 Pre-Season has a A-League of 0 1, and a Finals larger than 0?

### Context:
CREATE TABLE table_name_4 (pre_season INTEGER, a_league VARCHAR, finals VARCHAR)

### Response:

### Response:
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Record of the game on November 24 with a Score of 6–2?

### Context:
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?

### Context:
CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july"</s>


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

### Context:
CREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people at Arden Street Oval?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?

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

### Response:

### Response:
SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = "piercarlo ghinzani"</s>