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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points were scored by car number 10 that ended with a collision?

### Context:
CREATE TABLE table_name_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_20 WHERE time_retired = "collision" AND car_no = "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 height for shanghai x-1 financial building?

### Context:
CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points has a Team of são paulo athletic, and a Position larger than 5?

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

### Response:

### Response:
SELECT SUM(points) FROM table_name_15 WHERE team = "são paulo athletic" AND position > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On channel 32, when the power is 32 kW horizontal, what is the modulation?

### Context:
CREATE TABLE table_name_91 (modulation VARCHAR, power VARCHAR, channel VARCHAR)

### Response:

### Response:
SELECT modulation FROM table_name_91 WHERE power = "32 kw horizontal" AND channel = 32</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many licenses have version 1.2.2.0?

### Context:
CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)

### Response:

### Response:
SELECT COUNT(license) FROM table_15038373_1 WHERE version = "1.2.2.0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When Bianca Manalo won Miss Universe Philippines who was the second runner-up?

### Context:
CREATE TABLE table_name_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR)

### Response:

### Response:
SELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = "bianca manalo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 torque formula for the 1.6 Duratec ti-vct model/engine?

### Context:
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)

### Response:

### Response:
SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.6 Duratec Ti-VCT"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 D 43 √ when the value of D 42 √ is d 42 √?

### Context:
CREATE TABLE table_name_58 (d_43_√ VARCHAR, d_42_√ VARCHAR)

### Response:

### Response:
SELECT d_43_√ FROM table_name_58 WHERE d_42_√ = "d 42 √"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week was the Result W 34–24?

### Context:
CREATE TABLE table_name_22 (week INTEGER, result VARCHAR)

### Response:

### Response:
SELECT AVG(week) FROM table_name_22 WHERE result = "w 34–24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Location, when Circuit is August 16?

### Context:
CREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_1 WHERE circuit = "august 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:
Name the least ends won for pf being 78

### Context:
CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)

### Response:

### Response:
SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which album awarded Paul McGuinness a Lifetime Achievement Award?

### Context:
CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)

### Response:

### Response:
SELECT album FROM table_name_20 WHERE lifetime_achievement_award = "paul mcguinness"</s>


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

### Context:
CREATE TABLE table_name_7 (finalist VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT finalist FROM table_name_7 WHERE tournament = "miami"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?

### Context:
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?

### Context:
CREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_77 WHERE result = "1-0" AND venue = "a" AND opponent = "newcastle 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:
What is the product with the highest height? Give me the catalog entry name.

### Context:
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, height VARCHAR)

### Response:

### Response:
SELECT catalog_entry_name FROM catalog_contents ORDER BY height 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:
Who has a DCSF number of 3373?

### Context:
CREATE TABLE table_name_19 (name VARCHAR, dcsf_number VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_19 WHERE dcsf_number = 3373</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does he get when he starts at 10?

### Context:
CREATE TABLE table_2169966_1 (wins VARCHAR, starts VARCHAR)

### Response:

### Response:
SELECT wins FROM table_2169966_1 WHERE starts = 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Nominated Work earlier than 2003?

### Context:
CREATE TABLE table_name_85 (nominated_work VARCHAR, year INTEGER)

### Response:

### Response:
SELECT nominated_work FROM table_name_85 WHERE year < 2003</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface has a Score of 6–4, 6–2?

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

### Response:

### Response:
SELECT surface FROM table_name_65 WHERE score = "6–4, 6–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What did vijay singh score with a +5 to par?

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

### Response:

### Response:
SELECT score FROM table_name_92 WHERE to_par = "+5" AND player = "vijay singh"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 replaced by when the date of vacancy is 27 december 2010?

### Context:
CREATE TABLE table_26998135_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR)

### Response:

### Response:
SELECT replaced_by FROM table_26998135_2 WHERE date_of_vacancy = "27 December 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 is the total number of losses for teams with more than 0 byes?

### Context:
CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of March that has 25-10-9 record and a Game more than 44?

### Context:
CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which display has an ISO range of 80-800, and 0.8 Seconds/Frame?

### Context:
CREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR)

### Response:

### Response:
SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.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 maximum capacity of the Otkrytie Arena stadium?

### Context:
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)

### Response:

### Response:
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning team has Iowa city as the site, and december 3, 2006 as the date?

### Context:
CREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_name_42 WHERE site = "iowa city" AND date = "december 3, 2006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the most rebounds and how many did he have during the game on June 11?

### Context:
CREATE TABLE table_name_41 (high_rebounds VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_41 WHERE date = "june 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the role for Challenge TV?

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

### Response:

### Response:
SELECT role FROM table_name_55 WHERE broadcaster = "challenge tv"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance at the game played at Moorabbin Oval?

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

### Response:

### Response:
SELECT crowd FROM table_name_78 WHERE venue = "moorabbin oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?

### Context:
CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 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 total number of heat for Chinyere Pigot?

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

### Response:

### Response:
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot"</s>


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

### Context:
CREATE TABLE users (user_login VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM users WHERE user_login = 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 average December, when Game is "36"?

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

### Response:

### Response:
SELECT AVG(december) FROM table_name_39 WHERE game = 36</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What studio is director David Fincher from?

### Context:
CREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT studio FROM table_name_95 WHERE director = "david fincher"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship Miami , United States, what is the score in the final?

### Context:
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the English translation of the Japanese title of the game Ranma ½: Chougi Rambuhen?

### Context:
CREATE TABLE table_12744399_1 (english_title_translation VARCHAR, japanese_title VARCHAR)

### Response:

### Response:
SELECT english_title_translation FROM table_12744399_1 WHERE japanese_title = "Ranma ½: Chougi Rambuhen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest lane for nisha millet?

### Context:
CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 day Number and date of all the documents?

### Context:
CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)

### Response:

### Response:
SELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the type that ends in 2009?

### Context:
CREATE TABLE table_name_32 (type VARCHAR, ends VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_32 WHERE ends = "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 was the score for the match were the opponent in the final was james cerretani todd perry?

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

### Response:

### Response:
SELECT score FROM table_name_95 WHERE opponents_in_the_final = "james cerretani todd perry"</s>


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

### Context:
CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)

### Response:

### Response:
SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"</s>


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

### Context:
CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)

### Response:

### Response:
SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526</s>


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

### Context:
CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR)

### Response:

### Response:
SELECT lost_to FROM table_name_74 WHERE film = "chicago"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is listed in new points when status is second round lost to xavier malisse?

### Context:
CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR)

### Response:

### Response:
SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 positions with both players having more than 20 points and less than 10 points.

### Context:
CREATE TABLE player (POSITION VARCHAR, Points INTEGER)

### Response:

### Response:
SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 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 Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?

### Context:
CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)

### Response:

### Response:
SELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time = "prolonged" AND condition = "factor v deficiency"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the production number for episode 23?

### Context:
CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)

### Response:

### Response:
SELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which FIS Nordic World Ski Championships has Winter Olympics of 1960?

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

### Response:

### Response:
SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = "1960"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue features collingwood as the home side?

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

### Response:

### Response:
SELECT venue FROM table_name_47 WHERE home_team = "collingwood"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score on 19/08/2012?

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

### Response:

### Response:
SELECT score FROM table_name_30 WHERE date = "19/08/2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Result, when Losses is "Did Not Qualify"?

### Context:
CREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_41 WHERE losses = "did not qualify"</s>


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

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

### Response:

### Response:
SELECT year FROM table_name_61 WHERE qual = "totals"</s>


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

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

### Response:

### Response:
SELECT course FROM table_name_10 WHERE date = "1 june"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 date with Great Expectations label with LP format?

### Context:
CREATE TABLE table_name_92 (date INTEGER, label VARCHAR, format VARCHAR)

### Response:

### Response:
SELECT MIN(date) FROM table_name_92 WHERE label = "great expectations" AND format = "lp"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 home detroit and visitor was chicago?

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

### Response:

### Response:
SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 led the most laps when brandon wagner had the fastest lap?

### Context:
CREATE TABLE table_29690363_3 (most_laps_led VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT most_laps_led FROM table_29690363_3 WHERE fastest_lap = "Brandon Wagner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 episode number where john bird was the 4th performer?

### Context:
CREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR)

### Response:

### Response:
SELECT MIN(episode) FROM table_name_48 WHERE performer_4 = "john bird"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theatre for aaron jablonski schuyler grogan with performances more than 49

### Context:
CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)

### Response:

### Response:
SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is shown on Friday when Tuesday is Jay Mohr Sports?

### Context:
CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR)

### Response:

### Response:
SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr 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:
Which Points have Drawn of 1, and a Played larger than 14?

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

### Response:

### Response:
SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins of average has cuts made less than 0?

### Context:
CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER)

### Response:

### Response:
SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which region has the format CD and label MCA?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?

### Context:
CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)

### Response:

### Response:
SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)"</s>


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

### Context:
CREATE TABLE table_name_43 (rank INTEGER, studio_s_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_43 WHERE studio_s_ = "dharma productions" AND year < 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 is the points against when drawn is drawn?

### Context:
CREATE TABLE table_name_96 (points_against VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn"</s>


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

### Context:
CREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)

### Response:

### Response:
SELECT played FROM table_name_50 WHERE points_difference = "+261"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?

### Context:
CREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR)

### Response:

### Response:
SELECT chambering FROM table_26967904_1 WHERE f_bolt = "N (lbf)" AND p_max___bar__ = 3900</s>


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

### Context:
CREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_49 WHERE date = 2007</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average crowd size for games with hawthorn as the home side?

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What event is on 18 December 2009?

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

### Response:

### Response:
SELECT event FROM table_name_59 WHERE date = "18 december 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 highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3?

### Context:
CREATE TABLE table_name_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AND club = "sd indautxu" AND position > 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 was the name of the song in Amma Cheppindi?

### Context:
CREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR)

### Response:

### Response:
SELECT song_title FROM table_name_84 WHERE movie = "amma cheppindi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?

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

### Response:

### Response:
SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 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 country is ranked higher than 5?

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

### Response:

### Response:
SELECT country FROM table_name_29 WHERE 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:
How many were in Attendance on the Date May 29?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 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:
What is the location of the Saints having 1979- as Years in GFL?

### Context:
CREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Australian, when British is "aɪ, ɪ, ə"?

### Context:
CREATE TABLE table_name_12 (australian VARCHAR, british VARCHAR)

### Response:

### Response:
SELECT australian FROM table_name_12 WHERE british = "aɪ, ɪ, ə"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date does visiting team Minnesota score higher than 47 points?

### Context:
CREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_34 WHERE points > 47 AND visitor = "minnesota"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What method was there in round 1 when the location was Aruba?

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

### Response:

### Response:
SELECT method FROM table_name_25 WHERE round = "1" AND location = "aruba"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What place is Fred Funk in?

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

### Response:

### Response:
SELECT place FROM table_name_30 WHERE player = "fred funk"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did Essendon play as the home team?

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

### Response:

### Response:
SELECT date FROM table_name_70 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:
Name the capacity for the torque of n·m (lb·ft) @4150

### Context:
CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR)

### Response:

### Response:
SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = "n·m (lb·ft) @4150"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 policies are listed for the customer named "Dayana Robel"?

### Context:
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Dayana Robel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people voted for others in the county where McCain got 65.5% of the votes?

### Context:
CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR)

### Response:

### Response:
SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.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:
Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator?

### Context:
CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)

### Response:

### Response:
SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away team at the match where the crowd was larger than 30,000?

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

### Response:

### Response:
SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Car Model has the Manufacturer of Saab, and Driver Dean Randle?

### Context:
CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT car_model FROM table_name_35 WHERE manufacturer = "saab" AND driver = "dean randle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the game against North Carolina?

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

### Response:

### Response:
SELECT date FROM table_name_10 WHERE opponent = "north 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:
What is the 1993 value of the 1996 atp masters series?

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

### Response:

### Response:
SELECT 1993 FROM table_name_15 WHERE 1996 = "atp masters series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What United States player has a score of 69-73-68=210?

### Context:
CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = "united states"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what city is the toamasina airport in?

### Context:
CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_42 WHERE airport = "toamasina airport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the names of the top 3 departments that provide the largest amount of courses?

### Context:
CREATE TABLE course (dept_name VARCHAR)

### Response:

### Response:
SELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 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 rank is Austria?

### Context:
CREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_42 WHERE nation = "austria"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which language is the most popular on the Asian continent?

### Context:
CREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)

### Response:

### Response:
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = "Asia" GROUP BY T2.Language ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What driver was the winner when constructor was Maserati at the Monaco grand prix?

### Context:
CREATE TABLE table_name_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_36 WHERE constructor = "maserati" AND race = "monaco grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record in the game where the opponent wasd the atlanta falcons?

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

### Response:

### Response:
SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Game site of candlestick park had what opponent?

### Context:
CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_57 WHERE game_site = "candlestick 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:
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?

### Context:
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)

### Response:

### Response:
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 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 HOME TEAM WITH A TIE OF 14?

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

### Response:

### Response:
SELECT home_team FROM table_name_21 WHERE tie_no = "14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the status of eliminated of anton dela paz

### Context:
CREATE TABLE table_name_15 (status VARCHAR, eliminated VARCHAR)

### Response:

### Response:
SELECT status FROM table_name_15 WHERE eliminated = "anton dela paz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sawyer hannay's total pick number?

### Context:
CREATE TABLE table_name_39 (pick__number VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_name_39 WHERE player = "sawyer hannay"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 GDP (nominal) with Population of 5,125,693?

### Context:
CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the label for a CD released in 2004?

### Context:
CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 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:
Of all players with an overall rating greater than 80, how many are right-footed and left-footed?

### Context:
CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)

### Response:

### Response:
SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot</s>


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

### Context:
CREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR)

### Response:

### Response:
SELECT mission FROM table_name_16 WHERE resident_country = "switzerland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of japanese for amagasaki

### Context:
CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki"</s>


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

### Context:
CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)

### Response:

### Response:
SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "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:
Date of october 10, 1965 had what lowest attendance?

### Context:
CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 the grid when there was a Time/Retired of engine and less than 9 laps?

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

### Response:

### Response:
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 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:
return the smallest salary for every departments.

### Context:
CREATE TABLE employees (department_id VARCHAR, salary INTEGER)

### Response:

### Response:
SELECT MIN(salary), department_id FROM employees GROUP BY department_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 class when the frequency is 560 AM?

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

### Response:

### Response:
SELECT class FROM table_name_57 WHERE frequency = "560 am"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest #?

### Context:
CREATE TABLE table_11964047_10 (_number INTEGER)

### Response:

### Response:
SELECT MIN(_number) FROM table_11964047_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 to total number of par with laurie ayton?

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

### Response:

### Response:
SELECT COUNT(to_par) FROM table_name_99 WHERE player = "laurie ayton"</s>


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

### Context:
CREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_22654073_7 WHERE date = "December 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:
How many championships were there where the score was  4–6, 7–6 (7–5) , [5–10]?

### Context:
CREATE TABLE table_29163303_4 (championship VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(championship) FROM table_29163303_4 WHERE score = "4–6, 7–6 (7–5) , [5–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:
How far did the pilot go when averaging 124.1km/h?

### Context:
CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR)

### Response:

### Response:
SELECT distance FROM table_name_44 WHERE speed = "124.1km/h"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the player who played for the Miami Sol and went to school at North Carolina State?

### Context:
CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 child sex ratio in groups where employment is 31.3%?

### Context:
CREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)

### Response:

### Response:
SELECT MIN(sex_ratio__child_) FROM table_10710364_2 WHERE work_participation___percentage_ = "31.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 HDTV when documentaries are the content?

### Context:
CREATE TABLE table_name_84 (hdtv VARCHAR, content VARCHAR)

### Response:

### Response:
SELECT hdtv FROM table_name_84 WHERE content = "documentaries"</s>


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

### Context:
CREATE TABLE table_23239946_3 (starts INTEGER)

### Response:

### Response:
SELECT MIN(starts) FROM table_23239946_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 grid total when there are 37 laps?

### Context:
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest lap count for Walker Racing with a grid larger than 15?

### Context:
CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 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:
Find the names of all stores in Khanewal District.

### Context:
CREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)

### Response:

### Response:
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is "Muhammad Fairul Azreen Bin Mohd Zahid"?

### Context:
CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)

### Response:

### Response:
SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = "muhammad fairul azreen bin mohd zahid"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Georgia 6 district, what is the elected party?

### Context:
CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT party FROM table_1341663_11 WHERE district = "Georgia 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 episode number in the series was viewed by 13.66 million people in the U.S.?

### Context:
CREATE TABLE table_25668962_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_25668962_1 WHERE us_viewers__million_ = "13.66"</s>


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

### Context:
CREATE TABLE table_name_45 (athlete VARCHAR, wind VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_45 WHERE wind = "1.8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which retitled network has a Show of supermarket sweep?

### Context:
CREATE TABLE table_name_92 (retitled_as_same VARCHAR, show VARCHAR)

### Response:

### Response:
SELECT retitled_as_same FROM table_name_92 WHERE show = "supermarket sweep"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What stadiums had an attendance of 8,256?

### Context:
CREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR)

### Response:

### Response:
SELECT ground FROM table_14425454_1 WHERE crowd = "8,256"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were first elected when the incumbent was Morgan M. Moulder?

### Context:
CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT COUNT(first_elected) FROM table_1342198_25 WHERE incumbent = "Morgan M. Moulder"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location of the race on 11 November?

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

### Response:

### Response:
SELECT location FROM table_name_14 WHERE date = "11 november"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the Holy Cross of Davao College campus located?

### Context:
CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)

### Response:

### Response:
SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the voting order when bunny carr was the commentator?

### Context:
CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)

### Response:

### Response:
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record for the Orangemen when they played against Army?

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

### Response:

### Response:
SELECT record FROM table_23346983_1 WHERE opponent = "Army"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 From club has a Date of 20 oct. 2008?

### Context:
CREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT from_club FROM table_name_49 WHERE date = "20 oct. 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
There were 68 worcs f-c matches played on Chester Road North Ground.

### Context:
CREATE TABLE table_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR)

### Response:

### Response:
SELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = "Chester Road North Ground"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the minimum altitude (mslm) in all the commons?

### Context:
CREATE TABLE table_1449169_1 (altitude__mslm_ INTEGER)

### Response:

### Response:
SELECT MIN(altitude__mslm_) FROM table_1449169_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 name of people whose height is lower than the average.

### Context:
CREATE TABLE people (name VARCHAR, height INTEGER)

### Response:

### Response:
SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What area has less than 0.97 mil in population and is on the east?

### Context:
CREATE TABLE table_name_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_name_95 WHERE pop__km² < 0.97 AND _english_ = "east"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest overall number of hurricanes?

### Context:
CREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER)

### Response:

### Response:
SELECT MIN(number_of_hurricanes) FROM table_2930244_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:
Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?

### Context:
CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)

### Response:

### Response:
SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the position for pick of 146

### Context:
CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_7 WHERE pick = "146"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every value for area if change% is -3.6?

### Context:
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.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 were the number of laps led by the driver with a finish position of 14?

### Context:
CREATE TABLE table_name_38 (laps VARCHAR, fin_pos VARCHAR)

### Response:

### Response:
SELECT laps AS Led FROM table_name_38 WHERE fin_pos = "14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?

### Context:
CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-105"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright?

### Context:
CREATE TABLE table_21313498_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_21313498_1 WHERE us_viewers__millions_ = "3.3" AND written_by = "Rob Wright"</s>


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

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

### Response:

### Response:
SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which class has *alanaz as Part 4?

### Context:
CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_62 WHERE part_4 = "*alanaz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a Record of 7–6–3, and Points smaller than 17?

### Context:
CREATE TABLE table_name_74 (game VARCHAR, record VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(game) FROM table_name_74 WHERE record = "7–6–3" AND points < 17</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What District has a Location of villupuram?

### Context:
CREATE TABLE table_name_53 (district VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT district FROM table_name_53 WHERE location = "villupuram"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 assists have uic pavilion 3,520 as the location/attendance?

### Context:
CREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_name_31 WHERE location_attendance = "uic pavilion 3,520"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?

### Context:
CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when the game was 80?

### Context:
CREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT score FROM table_22879323_10 WHERE game = 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:
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?

### Context:
CREATE TABLE table_name_88 (rider VARCHAR, rounds VARCHAR, constructor VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT rider FROM table_name_88 WHERE constructor = "honda" AND team = "scot racing team" AND rounds = "6-17"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who constructed the car that had a grid of 6?

### Context:
CREATE TABLE table_name_29 (constructor VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_29 WHERE grid = "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:
Who was the champion that drove the car with the Ford engine in 1971?

### Context:
CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the minimum manhunt beauty  contest?

### Context:
CREATE TABLE table_30018460_1 (manhunt_international INTEGER)

### Response:

### Response:
SELECT MIN(manhunt_international) FROM table_30018460_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 lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function?

### Context:
CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)

### Response:

### Response:
SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = "no" AND s_default_argument = "no" AND functions = "no" AND eval_function = "no"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vap values are associated with 140469 valid votes?

### Context:
CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR)

### Response:

### Response:
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score for the match where the opponent in the final was james cerretani todd perry?

### Context:
CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"</s>


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

### Context:
CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)

### Response:

### Response:
SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?

### Context:
CREATE TABLE table_name_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_41 WHERE entrant = "peter whitehead" AND chassis = "alta f2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which week's game had an attendance of 90,138?

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

### Response:

### Response:
SELECT week FROM table_name_37 WHERE attendance = "90,138"</s>


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

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

### Response:

### Response:
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 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 average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20?

### Context:
CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)

### Response:

### Response:
SELECT AVG(against) FROM table_name_88 WHERE drawn > 2 AND difference = "- 17" AND played < 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many stations are transmitted on frequency 7 uhf?

### Context:
CREATE TABLE table_1601792_4 (transmitted VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = "7 UHF"</s>


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

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

### Response:

### Response:
SELECT set_2 FROM table_name_98 WHERE date = "jun 29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many heats does Julia Wilkinson have?

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

### Response:

### Response:
SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What all capacities have turbines between 50-60?

### Context:
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)

### Response:

### Response:
SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-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:
WWhich rder had a vehicle manufactured by kr211v?

### Context:
CREATE TABLE table_name_26 (rider VARCHAR, manufacturer VARCHAR)

### Response:

### Response:
SELECT rider FROM table_name_26 WHERE manufacturer = "kr211v"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton

### Context:
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)

### Response:

### Response:
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high rebounds for l 92–96 (ot)

### Context:
CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record on April 1?

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

### Response:

### Response:
SELECT record FROM table_name_44 WHERE date = "april 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:
Tell me the School/Club team of the player from the United States that play'de guard?

### Context:
CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum t20 on green lane?

### Context:
CREATE TABLE table_1176371_1 (t20_matches INTEGER, name_of_ground VARCHAR)

### Response:

### Response:
SELECT MAX(t20_matches) FROM table_1176371_1 WHERE name_of_ground = "Green Lane"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outcomes were there for matches played with Chuck McKinley on grass in 1962?

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

### Response:

### Response:
SELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = "Grass" AND partner = "Chuck McKinley" AND year = 1962</s>


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

### Context:
CREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR)

### Response:

### Response:
SELECT location FROM table_26166836_1 WHERE road_race = "Berlin Marathon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the tournament for dominican republic

### Context:
CREATE TABLE table_25938117_1 (tournament VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_25938117_1 WHERE location = "Dominican Republic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who wrote the episode where the original air date is july20,2007?

### Context:
CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the girl on week 1 that preceded week 2's Kamila Sulewska?

### Context:
CREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR)

### Response:

### Response:
SELECT week_1 FROM table_name_12 WHERE week_2 = "kamila sulewska"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What club has a played number of 19, and the lost of 14?

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

### Response:

### Response:
SELECT club FROM table_name_93 WHERE played = "19" AND lost = "14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has a Length of feet 9inches (m), and a Builder of portland terminal company?

### Context:
CREATE TABLE table_name_3 (date INTEGER, length VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT AVG(date) FROM table_name_3 WHERE length = "feet 9inches (m)" AND builder = "portland terminal company"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the University that is also called Owls?

### Context:
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT location FROM table_19210115_1 WHERE nickname = "Owls"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 county where produces the most number of wines with score higher than 90.

### Context:
CREATE TABLE WINE (Appelation VARCHAR, Score INTEGER); CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR)

### Response:

### Response:
SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the amount of fog where the rain is 1 109?

### Context:
CREATE TABLE table_name_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR)

### Response:

### Response:
SELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_year_ = "1 109"</s>