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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the player with 238 hits and years after 1885

### Context:
CREATE TABLE table_name_8 (player VARCHAR, year VARCHAR, hits VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_8 WHERE year > 1885 AND hits = 238</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 match where vampiro was the winner in Mexico City?

### Context:
CREATE TABLE table_name_40 (date VARCHAR, location VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_40 WHERE location = "mexico city" AND winner = "vampiro"</s>


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

### Context:
CREATE TABLE table_14624447_39 (hometown VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT hometown FROM table_14624447_39 WHERE name = "Ventrell Jenkins"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Hamilton Academical is the Opponent, what is the total Attendance?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = "hamilton academical"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Tries against when lost shows 12 for pontycymmer rfc?

### Context:
CREATE TABLE table_name_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT tries_against FROM table_name_79 WHERE lost = "12" AND club = "pontycymmer rfc"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score for the United States when Harry Hampton is the player and the money is $73?

### Context:
CREATE TABLE table_name_23 (score VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_23 WHERE country = "united states" AND money___$__ = "73" AND player = "harry hampton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the date of appointment for manner of departure being sacked

### Context:
CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.

### Context:
CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)

### Response:

### Response:
SELECT name, open_year FROM manufacturer WHERE num_of_shops > 10 OR Num_of_Factories < 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the area of drummond village?

### Context:
CREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR)

### Response:

### Response:
SELECT MAX(area_km_2) FROM table_name_45 WHERE status = "village" AND official_name = "drummond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for 2009 when 25 shows for 2011?

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

### Response:

### Response:
SELECT 2009 FROM table_name_32 WHERE 2011 = "25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Nation when there is a total less than 27, gold is less than 1, and bronze is more than 1?

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

### Response:

### Response:
SELECT nation FROM table_name_62 WHERE total < 27 AND gold < 1 AND bronze > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the average age of female (sex is F) students who have secretary votes in the spring election cycle.

### Context:
CREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, Sex VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)

### Response:

### Response:
SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.Sex = "F" AND T2.Election_Cycle = "Spring"</s>


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

### Context:
CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_10 WHERE result = "124-101"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_22875369_3 WHERE date = "2-27-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:
Which club/province has more than 9 caps and Ben Franks as a player?

### Context:
CREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = "ben franks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s

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

### Response:

### Response:
SELECT declination___j2000__ FROM table_name_55 WHERE constellation = "ophiuchus" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = "16h47m14.5s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Championship is Mackay?

### Context:
CREATE TABLE table_name_72 (date VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_72 WHERE championship = "mackay"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Time/Retired for brabham - climax, on Grid of 10?

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

### Response:

### Response:
SELECT time_retired FROM table_name_89 WHERE constructor = "brabham - climax" AND grid = 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:
Which Home is on january 11?

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

### Response:

### Response:
SELECT home FROM table_name_82 WHERE date = "january 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297?

### Context:
CREATE TABLE table_name_64 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(pick) FROM table_name_64 WHERE round > 8 AND name = "kenny fells" AND overall > 297</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The Qual of 120.006 took place in what year?

### Context:
CREATE TABLE table_name_62 (year VARCHAR, qual VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_62 WHERE qual = "120.006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the number of international and domestic passengers of the airport named London "Heathrow"?

### Context:
CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)

### Response:

### Response:
SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were the candidates in districk Pennsylvania 12?

### Context:
CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the player who's college is listed as direct to nba, school is st. vincent – st. mary high school and the year is 2001-2002?

### Context:
CREATE TABLE table_11677760_1 (player VARCHAR, year VARCHAR, college VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT player FROM table_11677760_1 WHERE college = "Direct to NBA" AND school = "St. Vincent – St. Mary High school" AND year = "2001-2002"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team was in the 2012 clausura tournament?

### Context:
CREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4?

### Context:
CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)

### Response:

### Response:
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 broadcast date for 6.4 million viewers for the archive of 16mm t/r

### Context:
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)

### Response:

### Response:
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What numbered pick attended western ontario and is an OL?

### Context:
CREATE TABLE table_24540893_6 (pick__number VARCHAR, school VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT pick__number FROM table_24540893_6 WHERE school = "Western Ontario" AND position = "OL"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins did Ayr United have?

### Context:
CREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT wins FROM table_name_79 WHERE club = "ayr united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many carries for jeff smoker?

### Context:
CREATE TABLE table_name_54 (car INTEGER, player VARCHAR)

### Response:

### Response:
SELECT SUM(car) FROM table_name_54 WHERE player = "jeff smoker"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?

### Context:
CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)

### Response:

### Response:
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "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 earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57?

### Context:
CREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = "valdimir poelnikov"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 last number in season of the episodes written by Dan Vebber?

### Context:
CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)

### Response:

### Response:
SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Select the average price of each manufacturer's products, showing the manufacturer's name.

### Context:
CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR)

### Response:

### Response:
SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the least area for vas

### Context:
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)

### Response:

### Response:
SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the highest assists when the nuggets record was 2-4?

### Context:
CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_name_64 WHERE record = "2-4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home of the team with Carlos Boozer (27) as the leading scorer?

### Context:
CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (27)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps had a grid of greater than 17 and retired due to collision?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_99 WHERE grid > 17 AND time_retired = "collision"</s>


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

### Context:
CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)

### Response:

### Response:
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?

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

### Response:

### Response:
SELECT name FROM table_name_79 WHERE range = "sivorgfjella" AND rank > 69 AND altitude__meters_ < 2154</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the lowest Gold for silver being 2 and electronic sports

### Context:
CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = "electronic 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:
Name the average year for manly-warringah sea eagles

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

### Response:

### Response:
SELECT AVG(year) FROM table_name_13 WHERE opponent = "manly-warringah sea eagles"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
with rank of 31 what is the year?

### Context:
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_48 WHERE rank = "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:
How many countries had a per capita withdrawal (m 3 /p/yr) of 372?

### Context:
CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)

### Response:

### Response:
SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372</s>


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

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

### Response:

### Response:
SELECT away_team FROM table_name_35 WHERE venue = "kardinia park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Class, when Dates is "22 April - 3 May 2009"?

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

### Response:

### Response:
SELECT class FROM table_name_20 WHERE dates = "22 april - 3 may 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of the British Rail class 111 tslrb description?

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

### Response:

### Response:
SELECT date FROM table_name_40 WHERE description = "british rail class 111 tslrb"</s>


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

### Context:
CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)

### Response:

### Response:
SELECT affiliation FROM table_28211213_1 WHERE institution = "Davenport University"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Advisor has most of students? List advisor and the number of students.

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

### Response:

### Response:
SELECT Advisor, COUNT(*) FROM Student GROUP BY Advisor ORDER BY COUNT(Advisor) 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:
When the Crowd was larger than 25,000. what was the Home Team score?

### Context:
CREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER)

### Response:

### Response:
SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With a Total of less than 29, what is Ian Ryan's most Matches?

### Context:
CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is Mike Wallace's primary Sponsor(s)?

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

### Response:

### Response:
SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position Jason Fitzgerald played?

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

### Response:

### Response:
SELECT position FROM table_name_89 WHERE player = "jason fitzgerald"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Ben Hogan with a score larger than 66 had a place listed of what?

### Context:
CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan"</s>


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

### Context:
CREATE TABLE table_name_59 (founded INTEGER, location VARCHAR)

### Response:

### Response:
SELECT AVG(founded) FROM table_name_59 WHERE location = "chicopee, massachusetts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city has a First season of current spell in Segunda División smaller than 2013?

### Context:
CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER)

### Response:

### Response:
SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What category has a year after 2004?

### Context:
CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)

### Response:

### Response:
SELECT category FROM table_name_33 WHERE year > 2004</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?

### Context:
CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR)

### Response:

### Response:
SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.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:
When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round?

### Context:
CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_95 WHERE playoffs = "did not qualify" AND open_cup = "2nd round"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Name was in the Year 2001?

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

### Response:

### Response:
SELECT name FROM table_name_32 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 year of daylight service when the builder was Alco?

### Context:
CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced?

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

### Response:

### Response:
SELECT directed___undirected FROM table_name_25 WHERE induced___non_induced = "induced" AND name = "fpf (mavisto)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What event did she finish 3rd in 2010?

### Context:
CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament was Kirk Triplett a runner-up in?

### Context:
CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?

### Context:
CREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_47 WHERE score = "1–0" AND competition = "2014 fifa world cup qualification"</s>


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

### Context:
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)

### Response:

### Response:
SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the genre for the group with ages 29-30?

### Context:
CREATE TABLE table_27529608_21 (genre VARCHAR, age_s_ VARCHAR)

### Response:

### Response:
SELECT genre FROM table_27529608_21 WHERE age_s_ = "29-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 Rank of the Film with a Worldwide Gross of $183,031,272?

### Context:
CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Player, when Country is "United States", and when Total is "154"?

### Context:
CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The Apollo astronaut who was 38y 9m 7d when first stepping on the moon is who?

### Context:
CREATE TABLE table_name_27 (born VARCHAR, age_at_first_step VARCHAR)

### Response:

### Response:
SELECT born FROM table_name_27 WHERE age_at_first_step = "38y 9m 7d"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Olympic Games had a silver medal for the Men's Singles?

### Context:
CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR)

### Response:

### Response:
SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver"</s>


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

### Context:
CREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)

### Response:

### Response:
SELECT leader_battle FROM table_25920798_2 WHERE eliminated = "Plamen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?

### Context:
CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)

### Response:

### Response:
SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parties does william b. cravens represent?

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Team 1, Everton, has what as a 1st leg?

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

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = "everton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year did she place 8th in the junior race?

### Context:
CREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_9 WHERE event = "junior race" AND position = "8th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the circuit of Madonie, what was the date that had the winning constructor Bugatti?

### Context:
CREATE TABLE table_name_17 (date VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_17 WHERE circuit = "madonie" AND winning_constructor = "bugatti"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Oberliga Bayern has a Season of 1981-82?

### Context:
CREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long?

### Context:
CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Turbo has the Release price (USD) of $583?

### Context:
CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)

### Response:

### Response:
SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0 eurocup, and there are more than 0 wins?

### Context:
CREATE TABLE table_name_5 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT MAX(races) FROM table_name_5 WHERE podiums < 6 AND series = "formula renault 2.0 eurocup" AND wins > 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 Affiliation, when Nickname is Bulldogs?

### Context:
CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did the away team score at Junction oval?

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

### Response:

### Response:
SELECT away_team AS score 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:
What was the time of the NJKF Titans Neo X event?

### Context:
CREATE TABLE table_name_83 (time VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_83 WHERE event = "njkf titans neo x"</s>


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

### Context:
CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)

### Response:

### Response:
SELECT equipment FROM table_16941304_4 WHERE bike_no = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the ID of marshall landfill on 09/08/1983?

### Context:
CREATE TABLE table_name_98 (cerclis_id VARCHAR, listed VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT cerclis_id FROM table_name_98 WHERE listed = "09/08/1983" AND name = "marshall landfill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 entry for the Australian sound that has an example of illyria, cf. cirrhosis?

### Context:
CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR)

### Response:

### Response:
SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 earnings ($) with more than two wins and a rank less than 2?

### Context:
CREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Label has a Country of canada, and a Format of cd/digital download?

### Context:
CREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_53 WHERE country = "canada" AND format = "cd/digital download"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?

### Context:
CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961</s>


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

### Context:
CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT college FROM table_16376436_1 WHERE position = "Defensive Back"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 maximum game in the  javale mcgee (5) high rebounds?

### Context:
CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who made the car that won the race on May 21?

### Context:
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Boston Bruins minimum pick?

### Context:
CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR)

### Response:

### Response:
SELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = "Boston Bruins"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Games has a Name of stéphane dumas and a Rank larger than 5?

### Context:
CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 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 away team played at Kardinia Park?

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

### Response:

### Response:
SELECT away_team FROM table_name_24 WHERE venue = "kardinia park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What district has a constituency of 60?

### Context:
CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)

### Response:

### Response:
SELECT district FROM table_name_27 WHERE constituency_number = "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:
Name the record when the visitor is st. louis

### Context:
CREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_41 WHERE visitor = "st. louis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?

### Context:
CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)

### Response:

### Response:
SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 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:
Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?

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

### Response:

### Response:
SELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = "camille paglia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 gp città di camaiore race?

### Context:
CREATE TABLE table_name_54 (date VARCHAR, race_name VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_54 WHERE race_name = "gp città di camaiore"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Writer with a Date that is january 1975?

### Context:
CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT writer FROM table_name_63 WHERE date = "january 1975"</s>


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

### Context:
CREATE TABLE table_name_26 (press VARCHAR)

### Response:

### Response:
SELECT 925 FROM table_name_26 WHERE press = "282.5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the sitting Representative In the New York 10 polling area race?

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

### Response:

### Response:
SELECT incumbent FROM table_1342256_32 WHERE district = "New York 10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Run 1, when Athletes is "Theo Kitt & Friedrich Kuhn"?

### Context:
CREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR)

### Response:

### Response:
SELECT run_1 FROM table_name_89 WHERE athletes = "theo kitt & friedrich kuhn"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_81 WHERE away_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the ids and names of festivals that have at least two nominations for artworks.

### Context:
CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)

### Response:

### Response:
SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which chassis has more than 0 points and was before 1966?

### Context:
CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when was the death when the birth was 8 december 1542?

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

### Response:

### Response:
SELECT death FROM table_name_45 WHERE birth = "8 december 1542"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times is the team tauro and played less than 18?

### Context:
CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the IHSAA class in monon?

### Context:
CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT ihsaa_class FROM table_name_56 WHERE location = "monon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?

### Context:
CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)

### Response:

### Response:
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 stone found in Andhra Pradesh, India?

### Context:
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)

### Response:

### Response:
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of wins that has a top-10 of 2, and more events than 8, more cuts than 6?

### Context:
CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, top_10 VARCHAR, events VARCHAR)

### Response:

### Response:
SELECT COUNT(wins) FROM table_name_52 WHERE top_10 = 2 AND events > 8 AND cuts_made > 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team drafted steve scifres?

### Context:
CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountain classification winner in the stage won by Alessandro Ballan?

### Context:
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 seats from the election with 27.0% of votes?

### Context:
CREATE TABLE table_name_55 (seats INTEGER, share_of_votes VARCHAR)

### Response:

### Response:
SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = "27.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 pick for round 8 with a USA nationality in the 2000 draft?

### Context:
CREATE TABLE table_name_72 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT pick FROM table_name_72 WHERE round = "8" AND nationality = "usa" AND draft = 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the average round for the OT position from tulane college with an overall over 38?

### Context:
CREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT AVG(round) FROM table_name_41 WHERE position = "ot" AND college = "tulane" AND overall > 38</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
name the top 5 where the winnings is $52,595

### Context:
CREATE TABLE table_1671401_3 (top_5 VARCHAR, winnings VARCHAR)

### Response:

### Response:
SELECT top_5 FROM table_1671401_3 WHERE winnings = "$52,595"</s>


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

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

### Response:

### Response:
SELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 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:
How many points are listed when the position is 2?

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

### Response:

### Response:
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Coach has a Runner-up of northeastern and a Score of 6–3?

### Context:
CREATE TABLE table_name_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT coach FROM table_name_82 WHERE runner_up = "northeastern" AND score = "6–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 Score in the final has a Surface of clay, and a Partner of martin emmrich?

### Context:
CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The local title "Live to Dance" was aired in which channel?

### Context:
CREATE TABLE table_24598274_20 (channel VARCHAR, local_title VARCHAR)

### Response:

### Response:
SELECT channel FROM table_24598274_20 WHERE local_title = "Live to Dance"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city is the July temperature 23/9°c (73/48°f)?

### Context:
CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region does Old Dominion University represent?

### Context:
CREATE TABLE table_name_33 (region VARCHAR, host VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_33 WHERE host = "old dominion university"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mens doubles when womens doubles is anastasia chervyakova romina gabdullina?

### Context:
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)

### Response:

### Response:
SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are all the episodes with an episode run time of 24:01?

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

### Response:

### Response:
SELECT episode FROM table_1429629_1 WHERE run_time = "24:01"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sequencer when ion torrent pgm is 200-400 bp?

### Context:
CREATE TABLE table_127511_1 (sequencer VARCHAR, ion_torrent_pgm VARCHAR)

### Response:

### Response:
SELECT sequencer FROM table_127511_1 WHERE ion_torrent_pgm = "200-400 bp"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of poles for fastest laps being 6

### Context:
CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR)

### Response:

### Response:
SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position has a time less than 40.2 at the rome venue?

### Context:
CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What high definition television options are available for Italia 1?

### Context:
CREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR)

### Response:

### Response:
SELECT hdtv FROM table_15887683_1 WHERE television_service = "Italia 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 caps have a Date of Birth (Age) of 15 july 1981?

### Context:
CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)

### Response:

### Response:
SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Motherwell Team's manner of departure?

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

### Response:

### Response:
SELECT manner_of_departure FROM table_name_57 WHERE team = "motherwell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 WHEN THE COMPETITION WAS 1978 world cup qualification?

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

### Response:

### Response:
SELECT score FROM table_name_2 WHERE competition = "1978 world cup qualification"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
in what year did the colors red and gold join?

### Context:
CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)

### Response:

### Response:
SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the population of the country of McDowell?

### Context:
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT population FROM table_22815568_7 WHERE county = "McDowell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which Age Category is Marco Manenti?

### Context:
CREATE TABLE table_name_44 (age_category VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT age_category FROM table_name_44 WHERE name = "marco manenti"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score 7–6 (7–3) , 6–4 please mention total number of outcome

### Context:
CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–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 role had thulasidas direction?

### Context:
CREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR)

### Response:

### Response:
SELECT role FROM table_name_55 WHERE direction = "thulasidas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent was played at Forbes Field after week 4?

### Context:
CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was champion in 2005 where the semi-finalist was #1 in western Carolina?

### Context:
CREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)

### Response:

### Response:
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Venue of idrottsparken?

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

### Response:

### Response:
SELECT score FROM table_name_31 WHERE venue = "idrottsparken"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the away team when the home team is Essendon?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_12 WHERE home_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 every ceremony year for the result of nominee?

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

### Response:

### Response:
SELECT year__ceremony_ FROM table_22128871_1 WHERE result = "Nominee"</s>


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

### Context:
CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)

### Response:

### Response:
SELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = "03:15: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:
How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1?

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

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE AWAY WITH HOME AT 2-2?

### Context:
CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT away FROM table_name_15 WHERE home = "2-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the game held where Hawthorn was the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_46 WHERE away_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which area was there a score of 68?

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

### Response:

### Response:
SELECT place FROM table_name_42 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:
In how many locations did Game 13 take place?

### Context:
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the country where moving from is listed as bristol city?

### Context:
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)

### Response:

### Response:
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In game 73, what were the total number of high assists?

### Context:
CREATE TABLE table_28768469_10 (high_assists VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT COUNT(high_assists) FROM table_28768469_10 WHERE game = 73</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years did the role of Steve Rhoades last?

### Context:
CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_21 WHERE role = "steve rhoades"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_67 WHERE attendance = "73,996"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many rounds was the fight against carter williams?

### Context:
CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_2 WHERE opponent = "carter williams"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?

### Context:
CREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)

### Response:

### Response:
SELECT trainer FROM table_name_54 WHERE time = "1:44.80" AND jockey = "william jenkins"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the delegates and the names of the party they belong to.

### Context:
CREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)

### Response:

### Response:
SELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?

### Context:
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the grid 13 time score?

### Context:
CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT time_retired FROM table_name_88 WHERE grid = 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who set the record in the 500 metres event?

### Context:
CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_14 WHERE event = "500 metres"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?

### Context:
CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)

### Response:

### Response:
SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley" AND T2.staff_last_name = "Medhurst"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Senior status has a Chief Judge of 1991–1995?

### Context:
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)

### Response:

### Response:
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the smallest amount of Laps that had a finish of 7 with a start of 6?

### Context:
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)

### Response:

### Response:
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tour was cancelled?

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

### Response:

### Response:
SELECT name FROM table_name_14 WHERE date = "cancelled"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many locations has spain as the winner?

### Context:
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the ids and names of all documents.

### Context:
CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)

### Response:

### Response:
SELECT document_id, document_name FROM Documents</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the record of 0-1 set?

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

### Response:

### Response:
SELECT date FROM table_13258806_2 WHERE record = "0-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many reg GP for nathan barrett in a round less than 8?

### Context:
CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)

### Response:

### Response:
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 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 average Touchdowns, when Yards is less than 293, and when Long is greater than 39?

### Context:
CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)

### Response:

### Response:
SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 STUDIO WITH A GROSS $81,198,894?

### Context:
CREATE TABLE table_name_49 (studio VARCHAR, gross VARCHAR)

### Response:

### Response:
SELECT studio FROM table_name_49 WHERE gross = "$81,198,894"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 experienced a result of lost re-election democratic-republican hold?

### Context:
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the time of the 100m freestyle event?

### Context:
CREATE TABLE table_name_54 (time VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_54 WHERE event = "100m freestyle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Record of 21–29–10 had what total number of points?

### Context:
CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–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:
If the round of 16 was  yulius fernando ( ina ) l pts 5-6, what was the semifinals?

### Context:
CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)

### Response:

### Response:
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the attendance of the san diego chargers game before week 6?

### Context:
CREATE TABLE table_name_97 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_97 WHERE week < 6 AND opponent = "san diego chargers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?

### Context:
CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the To par when Lanny Wadkins is the player?

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

### Response:

### Response:
SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

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

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

### Response:

### Response:
SELECT venue FROM table_name_76 WHERE away_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which club plays soccer in the nwsl?

### Context:
CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR)

### Response:

### Response:
SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team had a visitor of Chicago Black Hawks with a score of 2–3?

### Context:
CREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_87 WHERE visitor = "chicago black hawks" AND score = "2–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?

### Context:
CREATE TABLE table_name_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)

### Response:

### Response:
SELECT MAX(matches) FROM table_name_50 WHERE team = "deccan chargers" AND strike_rate > 15.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 title did the film from Colombia use in its nomination?

### Context:
CREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT film_title_used_in_nomination FROM table_name_33 WHERE country = "colombia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine does Galles Racing use?

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

### Response:

### Response:
SELECT engine FROM table_15736385_1 WHERE team = "Galles Racing"</s>