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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What game was in 2001?

### Context:
CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_66 WHERE year = 2001</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of losses for the over 30 games played?

### Context:
CREATE TABLE table_name_50 (losses VARCHAR, played INTEGER)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_50 WHERE played > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Format(s) of the release on September 23, 2008?

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

### Response:

### Response:
SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 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 team was played on november 24?

### Context:
CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT team FROM table_23211041_5 WHERE date = "November 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the mission name for ocean of storms

### Context:
CREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_landing_site VARCHAR)

### Response:

### Response:
SELECT mission_name FROM table_1558077_8 WHERE lunar_landing_site = "Ocean of Storms"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the lowest position when the name is esv türkheim, and Drawn more than 0?

### Context:
CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR)

### Response:

### Response:
SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 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:
If the points scored were 93.45%, what's the lowest amount of games lost?

### Context:
CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)

### Response:

### Response:
SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many losses for the team with 3 wins and more than 1919 against?

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

### Response:

### Response:
SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919</s>


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

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

### Response:

### Response:
SELECT MAX(first_elected) FROM table_1341472_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:
what is the winter olympics year when the fis nordic world ski championships is 1976?

### Context:
CREATE TABLE table_name_45 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)

### Response:

### Response:
SELECT winter_olympics FROM table_name_45 WHERE fis_nordic_world_ski_championships = "1976"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first and last name of students who are living in the dorms that have amenity TV Lounge.

### Context:
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)

### Response:

### Response:
SELECT T1.fname, T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge')</s>


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

### Context:
CREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)

### Response:

### Response:
SELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = "Bangladesh"</s>


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

### Context:
CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_8 WHERE wins = "28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the surface for score of 7–6(4), 6–1

### Context:
CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points did the away team from Melbourne score?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?

### Context:
CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Blue Jays play against on April 11?

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

### Response:

### Response:
SELECT opponent FROM table_name_52 WHERE date = "april 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the race held most recently?

### Context:
CREATE TABLE races (name VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT name FROM races ORDER BY date DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Location, when the Score is 35-31?

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

### Response:

### Response:
SELECT location FROM table_name_63 WHERE score = "35-31"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the latest year for the role of joan gordon, aka francine la rue?

### Context:
CREATE TABLE table_name_65 (year INTEGER, role VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_65 WHERE role = "joan gordon, aka francine la rue"</s>


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

### Context:
CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)

### Response:

### Response:
SELECT british FROM table_name_10 WHERE american = "ə"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest roll for coed and authority of state integrated with sacred heart school

### Context:
CREATE TABLE table_name_96 (roll INTEGER, name VARCHAR, gender VARCHAR, authority VARCHAR)

### Response:

### Response:
SELECT MAX(roll) FROM table_name_96 WHERE gender = "coed" AND authority = "state integrated" AND name = "sacred heart school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of title with a u.s. air date of April 17, 2009

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

### Response:

### Response:
SELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = "April 17, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points did the opponents score at the game in Knoxville?

### Context:
CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR)

### Response:

### Response:
SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the name of the race in Bordeaux?

### Context:
CREATE TABLE table_1140113_5 (race_name VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT race_name FROM table_1140113_5 WHERE circuit = "Bordeaux"</s>


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

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

### Response:

### Response:
SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Byes have an Against of 972, and more than 11 wins?

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

### Response:

### Response:
SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank has less than 22 wins

### Context:
CREATE TABLE table_name_88 (rank VARCHAR, wins INTEGER)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_88 WHERE wins < 22</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team has a midfielder of konrad warzycha?

### Context:
CREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 races did he do in the year he had 8 points?

### Context:
CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT races FROM table_name_47 WHERE points = "8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Class after 1986?

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

### Response:

### Response:
SELECT class FROM table_name_13 WHERE year > 1986</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times was revenue in millions recorded when the spending per capita was $6,736?

### Context:
CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)

### Response:

### Response:
SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season number for herr ostropolyer, pastry chef

### Context:
CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)

### Response:

### Response:
SELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Tampa Bay Buccaneers play on december 23, 1995?

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

### Response:

### Response:
SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many coins by Suzanne Duranceau were minted?

### Context:
CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest Asian rank?

### Context:
CREATE TABLE table_2248784_4 (rank_asia INTEGER)

### Response:

### Response:
SELECT MIN(rank_asia) FROM table_2248784_4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which class has a city of Richmond, Virginia?

### Context:
CREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points were there when there were less than 16 rebounds and 5 assists?

### Context:
CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 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 U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?

### Context:
CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Home with a Visitor of chicago, and a Series with 3 – 2?

### Context:
CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 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 big was the crowd size, at the Junction Oval venue?

### Context:
CREATE TABLE table_name_30 (crowd INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction 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 was the winning team in 2008?

### Context:
CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_name_22 WHERE year = 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the place with the 68 score?

### Context:
CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_30 WHERE score = 68</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Capacity has a Location of mogilev?

### Context:
CREATE TABLE table_name_38 (capacity INTEGER, location VARCHAR)

### Response:

### Response:
SELECT SUM(capacity) FROM table_name_38 WHERE location = "mogilev"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 vs. Terran when the score vs. Zerg is 69?

### Context:
CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR)

### Response:

### Response:
SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "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:
Which Tie number had Fulham as the away team?

### Context:
CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT tie_no FROM table_name_79 WHERE away_team = "fulham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Package/Option, when Television Service is Sky Inside?

### Context:
CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT package_option FROM table_name_74 WHERE television_service = "sky inside"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217?

### Context:
CREATE TABLE table_name_92 (pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MIN(pick__number) FROM table_name_92 WHERE college = "troy state" AND name = "reggie dwight" AND overall < 217</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 NTFA Div 1 team that has 15 wins and less than 1 draw?

### Context:
CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the engine when the chassis was a porsche 718??

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

### Response:

### Response:
SELECT engine FROM table_name_87 WHERE chassis = "porsche 718"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2008 entry for the row that as a 2011 entry of 1R?

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

### Response:

### Response:
SELECT 2008 FROM table_name_32 WHERE 2011 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?

### Context:
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which director had a worldwide gross of $30,471?

### Context:
CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which rank has a total smaller than 1?

### Context:
CREATE TABLE table_name_23 (rank INTEGER, total INTEGER)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_23 WHERE total < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?

### Context:
CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 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 team website when the institution is indiana university of pennsylvania?

### Context:
CREATE TABLE table_name_93 (team_website VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT team_website FROM table_name_93 WHERE institution = "indiana university of pennsylvania"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6?

### Context:
CREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the winning score of the PGA Championship (3)?

### Context:
CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (3)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country is ranked 24?

### Context:
CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_57 WHERE rank = "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 the score on october 17, 2007?

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

### Response:

### Response:
SELECT score FROM table_name_33 WHERE date = "october 17, 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:
Name the record for june 7

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

### Response:

### Response:
SELECT record FROM table_17104539_9 WHERE date = "June 7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the sum of attendance for round 3

### Context:
CREATE TABLE table_name_22 (attendance INTEGER, round VARCHAR)

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_22 WHERE round = "round 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Thickness has a Year of Issue smaller than 1983?

### Context:
CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)

### Response:

### Response:
SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?

### Context:
CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)

### Response:

### Response:
SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"</s>


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

### Context:
CREATE TABLE table_23982399_1 (challenger VARCHAR, overall_episode__number VARCHAR)

### Response:

### Response:
SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Matt Allen's sail number?

### Context:
CREATE TABLE table_25595209_1 (sail_number VARCHAR, skipper VARCHAR)

### Response:

### Response:
SELECT sail_number FROM table_25595209_1 WHERE skipper = "Matt Allen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 united states player had a To par of 12?

### Context:
CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?

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

### Response:

### Response:
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of bids in the Missouri Valley conference?

### Context:
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)

### Response:

### Response:
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Score of 2–3 ot on what date?

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

### Response:

### Response:
SELECT date FROM table_name_76 WHERE score = "2–3 ot"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?

### Context:
CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster"</s>


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

### Context:
CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_46 WHERE serial = "10b"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 medals under total when silver is less than 2, gold is 3, and bronze is less than 0?

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

### Response:

### Response:
SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the poor law union on Marshalstown?

### Context:
CREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)

### Response:

### Response:
SELECT poor_law_union FROM table_28802165_1 WHERE townland = "Marshalstown"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?

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

### Response:

### Response:
SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of a league in the sport of baseball?

### Context:
CREATE TABLE table_name_96 (league VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT league FROM table_name_96 WHERE sport = "baseball"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum and total number of followers of all users.

### Context:
CREATE TABLE user_profiles (followers INTEGER)

### Response:

### Response:
SELECT MAX(followers), SUM(followers) FROM user_profiles</s>


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

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

### Response:

### Response:
SELECT game FROM table_name_88 WHERE result = "126-95"</s>


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

### Context:
CREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pct has Years of 1957–1970, and Wins smaller than 78?

### Context:
CREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the official name of the land with an area of 276.84 km2?

### Context:
CREATE TABLE table_170958_2 (official_name VARCHAR, area_km_2 VARCHAR)

### Response:

### Response:
SELECT official_name FROM table_170958_2 WHERE area_km_2 = "276.84"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who plays for the chicago bulls?

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

### Response:

### Response:
SELECT player FROM table_name_92 WHERE team = "chicago bulls"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Director Bona Fajardo's Producer?

### Context:
CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT producer FROM table_name_32 WHERE director = "bona fajardo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest Year, when Venue is Rio De Janeiro, Brazil?

### Context:
CREATE TABLE table_name_42 (year INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name and gender for all artists who released songs in March.

### Context:
CREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)

### Response:

### Response:
SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE "%Mar%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the location of the Mong Kok Stadium?

### Context:
CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_12 WHERE home_ground = "mong kok 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:
How many distinct birth places are there?

### Context:
CREATE TABLE people (Birth_Place VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT Birth_Place) FROM people</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 airdate of the episode with 106000 dave ja vu viewers?

### Context:
CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)

### Response:

### Response:
SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On which date did Potts (I) poll at 9%?

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

### Response:

### Response:
SELECT date FROM table_name_92 WHERE potts__i_ = "9%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the #/county that is ihsaa class aaa, has enrollment higher than 611 and the dragons is the mascot?

### Context:
CREATE TABLE table_name_13 (_number___county VARCHAR, mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)

### Response:

### Response:
SELECT _number___county FROM table_name_13 WHERE ihsaa_class = "aaa" AND enrollment > 611 AND mascot = "dragons"</s>


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

### Context:
CREATE TABLE Highschooler (grade VARCHAR)

### Response:

### Response:
SELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the opponents for outcome of runner-up and date of august 7, 2011

### Context:
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?

### Context:
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR)

### Response:

### Response:
SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 s mestizo with asians being 0.2% and whites being 74.8%

### Context:
CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR)

### Response:

### Response:
SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the poor law union of the Lackenagobidane townland?

### Context:
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)

### Response:

### Response:
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Lackenagobidane"</s>


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

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_7 WHERE player = "hale irwin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yards for avg of 9 and rec of 1

### Context:
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)

### Response:

### Response:
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the 1997 for atp masters series 1992

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

### Response:

### Response:
SELECT 1997 FROM table_name_65 WHERE 1992 = "atp masters series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the innovation when the economic incentive grime is 7.14?

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

### Response:

### Response:
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?

### Context:
CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR)

### Response:

### Response:
SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For what country is the skip Andy Kapp?

### Context:
CREATE TABLE table_name_49 (country VARCHAR, skip VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_49 WHERE skip = "andy kapp"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 draws have french as the language, with a place less than 1?

### Context:
CREATE TABLE table_name_93 (draw INTEGER, language VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT SUM(draw) FROM table_name_93 WHERE language = "french" AND place < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the maximum pick # where player is anthony blaylock

### Context:
CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What platform came out before 2009 with the game wii sports?

### Context:
CREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = "wii sports"</s>


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

### Context:
CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)

### Response:

### Response:
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction"</s>


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

### Context:
CREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_name_87 WHERE race = "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:
Which party is Ettore Romoli from?

### Context:
CREATE TABLE table_name_99 (party VARCHAR, mayor VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_99 WHERE mayor = "ettore romoli"</s>


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

### Context:
CREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT result FROM table_2668393_18 WHERE district = "Virginia 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the region for georgia

### Context:
CREATE TABLE table_name_8 (region VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_8 WHERE state = "georgia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of customers who have bought by at least three distinct products.

### Context:
CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"?

### Context:
CREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT pos FROM table_name_66 WHERE from_club = "chelsea" AND date = "30 july 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 value for Gold, when the value for Bronze is less than 0?

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

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the driver when the engine is mercedes fo110m?

### Context:
CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the venue of the match with a score of 33-22?

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

### Response:

### Response:
SELECT venue FROM table_name_45 WHERE score = "33-22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the operator of the ensemble from Yorkshire?

### Context:
CREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT operator FROM table_name_99 WHERE region = "yorkshire"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 municipalities located in the county of Finnmark have populations bigger than 6187.0?

### Context:
CREATE TABLE table_157826_1 (municipality VARCHAR, county VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT municipality FROM table_157826_1 WHERE county = "Finnmark" AND population > 6187.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 shape distortion for the range frequency of 10?

### Context:
CREATE TABLE table_27615520_1 (form_factor VARCHAR, bandwidth__gb_s_ VARCHAR)

### Response:

### Response:
SELECT form_factor FROM table_27615520_1 WHERE bandwidth__gb_s_ = "10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the year with runs of 144?

### Context:
CREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_68 WHERE runs = "144"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who are the writers of the episode with production code IP02009?

### Context:
CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009"</s>


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

### Context:
CREATE TABLE table_name_54 (opponent VARCHAR, game VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_54 WHERE game > 31 AND date > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the results of the mens open when the  womens 40 was Sydney Scorpions defeated Hunter Hornets?

### Context:
CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)

### Response:

### Response:
SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese voice actor of Eagle Rider Ollie Keeawani?

### Context:
CREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR)

### Response:

### Response:
SELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = "ollie keeawani"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the home for 16 april 2008

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

### Response:

### Response:
SELECT home FROM table_name_11 WHERE date = "16 april 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 average bronze when the team is northwest territories and gold is more than 34?

### Context:
CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5?

### Context:
CREATE TABLE table_name_58 (votes INTEGER, draw VARCHAR, place VARCHAR, producer VARCHAR)

### Response:

### Response:
SELECT AVG(votes) FROM table_name_58 WHERE place < 6 AND producer = "carlos coelho" AND draw > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the game with 38,062 people in attendance?

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

### Response:

### Response:
SELECT date FROM table_name_80 WHERE attendance = "38,062"</s>


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

### Context:
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)

### Response:

### Response:
SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total listed when the average is 0.667 and the category is 3-pt field goal percentage?

### Context:
CREATE TABLE table_28628309_9 (totals VARCHAR, average VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT totals FROM table_28628309_9 WHERE average = "0.667" AND category = "3-pt field goal percentage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 womens singles of naoko fukuman kurumi yonao?

### Context:
CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)

### Response:

### Response:
SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao"</s>


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

### Context:
CREATE TABLE table_15581223_8 (int INTEGER)

### Response:

### Response:
SELECT MIN(int) AS yards FROM table_15581223_8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the lowest position of brendan sole

### Context:
CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR)

### Response:

### Response:
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most frequent status of bookings?

### Context:
CREATE TABLE BOOKINGS (Status_Code VARCHAR)

### Response:

### Response:
SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the molecular target of the organism that has a disease area of antiviral?

### Context:
CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR)

### Response:

### Response:
SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 new entries are there for a second phase that has 4 winners from previous rounds?

### Context:
CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)

### Response:

### Response:
SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which championship had arantxa sánchez vicario todd woodbridge as opponents in the final

### Context:
CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR)

### Response:

### Response:
SELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = "Arantxa Sánchez Vicario Todd Woodbridge"</s>


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

### Context:
CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)

### Response:

### Response:
SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 field goals did Stacey Thomas have?

### Context:
CREATE TABLE table_24850487_5 (field_goals VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT field_goals FROM table_24850487_5 WHERE player = "Stacey Thomas"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 inroductory phase for the episode with production code 4005?

### Context:
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT introductory_phrase FROM table_14835674_1 WHERE production_code = 4005</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 label for the album with a catalog number of 83061-2?

### Context:
CREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_96 WHERE catalog__number = "83061-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:
Return all players sorted by college in ascending alphabetical order.

### Context:
CREATE TABLE match_season (player VARCHAR, College VARCHAR)

### Response:

### Response:
SELECT player FROM match_season ORDER BY 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:
List the total scores of body builders in ascending order.

### Context:
CREATE TABLE body_builder (Total VARCHAR)

### Response:

### Response:
SELECT Total FROM body_builder ORDER BY Total</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What NHL team does Denis Desgagnes play for?

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

### Response:

### Response:
SELECT nhl_team FROM table_1965650_8 WHERE player = "Denis Desgagnes"</s>


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

### Context:
CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR)

### Response:

### Response:
SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = "4.44m"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 captain has Gintare Karpaviciute as an alternate?

### Context:
CREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)

### Response:

### Response:
SELECT captain FROM table_name_33 WHERE alternate__1_ = "gintare karpaviciute"</s>


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

### Context:
CREATE TABLE table_name_56 (system VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT system FROM table_name_56 WHERE name = "elkjs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for rank 22 when gold count was more than 0 and Bronze count was less than 5?

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

### Response:

### Response:
SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What university was Kevan George affiliated with?

### Context:
CREATE TABLE table_29836557_2 (affiliation VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT affiliation FROM table_29836557_2 WHERE player = "Kevan George"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most year for brookvale oval

### Context:
CREATE TABLE table_name_93 (year INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_93 WHERE venue = "brookvale 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:
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?

### Context:
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)

### Response:

### Response:
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid is lower for thierry boutsen which laps less than 44?

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

### Response:

### Response:
SELECT MIN(grid) FROM table_name_90 WHERE driver = "thierry boutsen" AND laps < 44</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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/Club Team has a Round larger than 16?

### Context:
CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER)

### Response:

### Response:
SELECT school_club_team FROM table_name_16 WHERE round > 16</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum enrollment of the schools?

### Context:
CREATE TABLE table_26355116_1 (enrollment INTEGER)

### Response:

### Response:
SELECT MAX(enrollment) FROM table_26355116_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Away team has a Home team of al-ain fc, and a Score of 1–1?

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

### Response:

### Response:
SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "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:
What was the winning score in the PGA Championship?

### Context:
CREATE TABLE table_name_14 (winning_score VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT winning_score FROM table_name_14 WHERE championship = "pga championship"</s>


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

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

### Response:

### Response:
SELECT venue FROM table_name_59 WHERE away_team = "essendon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total scored for the 8th position and a score more than 6.6

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

### Response:

### Response:
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.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:
On what date were there 50,324 votes?

### Context:
CREATE TABLE table_name_78 (date VARCHAR, votes VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_78 WHERE votes = "50,324"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had a finish of t16?

### Context:
CREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_81 WHERE finish = "t16"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 death of the Countess of Flanders who was born in 1309?

### Context:
CREATE TABLE table_name_69 (death VARCHAR, birth VARCHAR)

### Response:

### Response:
SELECT death FROM table_name_69 WHERE birth = "1309"</s>


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

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

### Response:

### Response:
SELECT attendance FROM table_name_26 WHERE week = 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Version prior to 1996?

### Context:
CREATE TABLE table_name_45 (version VARCHAR, year INTEGER)

### Response:

### Response:
SELECT version FROM table_name_45 WHERE year < 1996</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the opponent that had a result of l 27-20

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

### Response:

### Response:
SELECT opponent FROM table_name_84 WHERE result = "l 27-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 country has a less than 136.1 total and a 0.02 solar?

### Context:
CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What CD was released in 2009?

### Context:
CREATE TABLE table_name_64 (title VARCHAR, released VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_64 WHERE released = 2009</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the champion for israel bowl of iv

### Context:
CREATE TABLE table_name_33 (champion VARCHAR, israel_bowl VARCHAR)

### Response:

### Response:
SELECT champion FROM table_name_33 WHERE israel_bowl = "iv"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Tie no when the Home team was carshalton athletic?

### Context:
CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton 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:
List all of the ids for left-footed players with a height between 180cm and 190cm.

### Context:
CREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)

### Response:

### Response:
SELECT player_api_id FROM Player WHERE height >= 180 AND height <= 190 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE preferred_foot = "left"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest ethnic group for kosančić

### Context:
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)

### Response:

### Response:
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE settlement = "Kosančić"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result of Courtney Walsh ?

### Context:
CREATE TABLE table_name_36 (result VARCHAR, home_captain VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_36 WHERE home_captain = "courtney walsh"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?

### Context:
CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR)

### Response:

### Response:
SELECT hs_principal FROM table_name_99 WHERE wr_principal = "dave lovering" AND ms_principal = "marty pizur"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up of the competition played at Minikahda Club?

### Context:
CREATE TABLE table_name_55 (runner_up VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT runner_up FROM table_name_55 WHERE venue = "minikahda club"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team is 9th in wickets?

### Context:
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)

### Response:

### Response:
SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result if Coba is the song choice?

### Context:
CREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR)

### Response:

### Response:
SELECT result FROM table_22736523_1 WHERE song_choice = "Coba"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film, directed by Dana Dorian, was nominated?

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

### Response:

### Response:
SELECT film FROM table_name_40 WHERE rank = "nominated" AND director_s_ = "dana dorian"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the opponent(s) in round 6?

### Context:
CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT opponents FROM table_name_12 WHERE round = "round 6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?

### Context:
CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)

### Response:

### Response:
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who finished in third place when the winner was Karina Bacchi?

### Context:
CREATE TABLE table_25214321_1 (third_place VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT third_place FROM table_25214321_1 WHERE winner = "Karina Bacchi"</s>


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

### Context:
CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)

### Response:

### Response:
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 series # when the director is john showalter?

### Context:
CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE COUNTRY WITH DAVE BARR?

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

### Response:

### Response:
SELECT country FROM table_name_26 WHERE player = "dave barr"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the venue when the away team was richmond

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

### Response:

### Response:
SELECT venue FROM table_name_6 WHERE away_team = "richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the apps for less than 61 goals and before rank 6?

### Context:
CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)

### Response:

### Response:
SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away team when the attendance was 7,891?

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

### Response:

### Response:
SELECT away_team FROM table_name_28 WHERE attendance = "7,891"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest pick of player paul stasiuk from a round greater than 12?

### Context:
CREATE TABLE table_name_45 (pick INTEGER, player VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT MIN(pick) FROM table_name_45 WHERE player = "paul stasiuk" AND round > 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:
In what district is the incumbent Charles Fisher?

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

### Response:

### Response:
SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the Ground was Optus Oval, what is the Home team score?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_28 WHERE ground = "optus 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:
Name the mens singles for  jeliazko valkov dobrinka peneva

### Context:
CREATE TABLE table_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)

### Response:

### Response:
SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = "Jeliazko Valkov Dobrinka Peneva"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crops were damaged when the public property damage was 1,03,049.60?

### Context:
CREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR)

### Response:

### Response:
SELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = "1,03,049.60"</s>


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

### Context:
CREATE TABLE table_name_12 (place VARCHAR, score INTEGER)

### Response:

### Response:
SELECT place FROM table_name_12 WHERE score < 69</s>