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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team's manager was replaced by Ercan Ertemçöz?

### Context:
CREATE TABLE table_27091128_2 (team VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT team FROM table_27091128_2 WHERE replaced_by = "Ercan Ertemçöz"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date had the patent number US plant patent 12098?

### Context:
CREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 12098"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Location of boston garden, and a Record of 58-23 involved what opponent?

### Context:
CREATE TABLE table_name_34 (opponent VARCHAR, location VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_34 WHERE location = "boston garden" AND record = "58-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:
For which tournament was Anthony Wall the runner-up?

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

### Response:

### Response:
SELECT tournament FROM table_name_11 WHERE runner_s__up = "anthony wall"</s>


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

### Context:
CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER)

### Response:

### Response:
SELECT first_publisher FROM table_name_31 WHERE year < 1999</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 label for US region and catalog of 10008-2

### Context:
CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-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:
Show all team names.

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

### Response:

### Response:
SELECT Name FROM Team</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?

### Context:
CREATE TABLE table_100518_1 (direction VARCHAR, mantra VARCHAR)

### Response:

### Response:
SELECT direction FROM table_100518_1 WHERE mantra = "Oṃ Yaṃ Vāyuve Namaḥ"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 birth/2013 when the death/2012 is 14,1?

### Context:
CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)

### Response:

### Response:
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the release date of model number CORE I7-940?

### Context:
CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tongyong for chinese of  湖內區

### Context:
CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR)

### Response:

### Response:
SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 general elections that have won smaller than 23 with candidates larger than 108?

### Context:
CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)

### Response:

### Response:
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player is pick 64?

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

### Response:

### Response:
SELECT player FROM table_2897457_4 WHERE pick__number = 64</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most attendance

### Context:
CREATE TABLE table_26401898_2 (attendance INTEGER)

### Response:

### Response:
SELECT MIN(attendance) FROM table_26401898_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 number of distinct publication dates?

### Context:
CREATE TABLE publication (Publication_Date VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT Publication_Date) FROM publication</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 university is in Los Angeles county and opened after 1950?

### Context:
CREATE TABLE campuses (campus VARCHAR, county VARCHAR, YEAR VARCHAR)

### Response:

### Response:
SELECT campus FROM campuses WHERE county = "Los Angeles" AND YEAR > 1950</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent when the series was at 1-3?

### Context:
CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_86 WHERE series = "1-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did Mathieu play against Flavio Cipolla?

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

### Response:

### Response:
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly?

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

### Response:

### Response:
SELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = "dunolly"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 water depth that entered service in 2001 named Cajun Express?

### Context:
CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor for Laps less than 17 and Grid more than 11 for alan jones

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

### Response:

### Response:
SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 titles of episodes written by Eric Trueheart?

### Context:
CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit was held on May 7 for 1 hour?

### Context:
CREATE TABLE table_name_24 (circuit VARCHAR, date VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_24 WHERE date = "may 7" AND length = "1 hour"</s>


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

### Context:
CREATE TABLE table_28885977_1 (built_for VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT built_for FROM table_28885977_1 WHERE location = "Adelaide, South Australia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?

### Context:
CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)

### Response:

### Response:
SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.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:
Find the name of the organization that has published the largest number of papers.

### Context:
CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)

### Response:

### Response:
SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team picked from South Carolina college?

### Context:
CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT nfl_team FROM table_14649522_1 WHERE college = "South 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 highest place of a swimmer from the Netherlands?

### Context:
CREATE TABLE table_name_75 (rank INTEGER, nationality VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_75 WHERE nationality = "netherlands"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Group position for the date of 7 November 2007?

### Context:
CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which airport has IATA of BKK?

### Context:
CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)

### Response:

### Response:
SELECT airport FROM table_name_59 WHERE iata = "bkk"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_38 WHERE date = "june 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 production code directed by Matt Shakman?

### Context:
CREATE TABLE table_23799417_1 (production_code VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_23799417_1 WHERE directed_by = "Matt Shakman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?

### Context:
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)

### Response:

### Response:
SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"</s>


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

### Context:
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)

### Response:

### Response:
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 air date  the had atlasphere for event 1 before episode 11?

### Context:
CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR)

### Response:

### Response:
SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = "atlasphere"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?

### Context:
CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen"</s>


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

### Context:
CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)

### Response:

### Response:
SELECT winner FROM table_name_81 WHERE year > 2011</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's Bulgaria's lane with a time more than 21.55?

### Context:
CREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT SUM(lane) FROM table_name_28 WHERE nationality = "bulgaria" AND time > 21.55</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Label of the CD released in Germany on June 6, 2005?

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

### Response:

### Response:
SELECT label FROM table_name_8 WHERE date = "june 6, 2005" AND region = "germany" AND format = "cd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date did the episode air when guy grossi won?

### Context:
CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Name, when Venue is "Motherwell"?

### Context:
CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_71 WHERE venue = "motherwell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the 1984 Olympics hosted?

### Context:
CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_29 WHERE year = 1984</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What average silver has belarus as the nation, with a total less than 1?

### Context:
CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had 2 WSOP cashes and was 6th in final place?

### Context:
CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)

### Response:

### Response:
SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th"</s>


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

### Context:
CREATE TABLE table_17596418_4 (p VARCHAR, moving_from VARCHAR)

### Response:

### Response:
SELECT p FROM table_17596418_4 WHERE moving_from = "Everton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the home team when the opposition is east coast?

### Context:
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coast"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team visited the Jacksonville Municipal Stadium?

### Context:
CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position has over 0 wins and under 3 podiums?

### Context:
CREATE TABLE table_name_16 (position VARCHAR, wins VARCHAR, podiums VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_16 WHERE wins > 0 AND podiums < 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:
In what year did the winner of the FIS championship in 1982 win the Winter Olympics?

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

### Response:

### Response:
SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Result F–A on 21 February 2009, when the league position was 1st?

### Context:
CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 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 Status of the Paris with a Census Ranking of 3,474 of 5,008?

### Context:
CREATE TABLE table_name_2 (status VARCHAR, census_ranking VARCHAR)

### Response:

### Response:
SELECT status FROM table_name_2 WHERE census_ranking = "3,474 of 5,008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which school did player Rodney Purvis belong to?

### Context:
CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_32 WHERE player = "rodney purvis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tyres are associated with a year after 1974 and 5 points?

### Context:
CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "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:
Which office has kieran o'doherty as the conservative ticket?

### Context:
CREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR)

### Response:

### Response:
SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty"</s>


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

### Context:
CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT speed FROM table_name_55 WHERE rider = "john hildreth"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 attendance that has l 42-35 as the result, with a week less than 13?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_82 WHERE result = "l 42-35" AND week < 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 number of results for james shannon?

### Context:
CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest vote result if loss/gain is -0.5%?

### Context:
CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR)

### Response:

### Response:
SELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = "-0.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:
Which Series has a Site of ames and a Sport of w gymnastics?

### Context:
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?

### Context:
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who wrote episode number 81 in the series?

### Context:
CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team?

### Context:
CREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the real name of the movie about love?

### Context:
CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 participating parties when registered voters totaled 643629?

### Context:
CREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR)

### Response:

### Response:
SELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the team that plays in lake oval?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?

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

### Response:

### Response:
SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what urban area is the 2011 population 21561?

### Context:
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)

### Response:

### Response:
SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the opponent when the streak is won 9 on april 13, 1990?

### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Film Festival had participants/recipients of Isao Tomita?

### Context:
CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)

### Response:

### Response:
SELECT film_festival FROM table_26282750_1 WHERE participants_recipients = "Isao Tomita"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2007 with ch callaway's copyright in 2003?

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

### Response:

### Response:
SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright"</s>


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

### Context:
CREATE TABLE table_name_89 (total VARCHAR, league INTEGER)

### Response:

### Response:
SELECT total FROM table_name_89 WHERE league < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on August 30?

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

### Response:

### Response:
SELECT opponent FROM table_name_16 WHERE date = "august 30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the manager that was replaced by Michael Oenning?

### Context:
CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country has the player Johnny Miller?

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

### Response:

### Response:
SELECT country FROM table_name_58 WHERE player = "johnny miller"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)?

### Context:
CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)

### Response:

### Response:
SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Alianza's first season in first division with a promotion after 1959?

### Context:
CREATE TABLE table_name_63 (first_season_in_first_division VARCHAR, first_season_after_most_recent_promotion VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_most_recent_promotion = "1959" AND name = "alianza"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the country of the player with a score less than 68?

### Context:
CREATE TABLE table_name_40 (country VARCHAR, score INTEGER)

### Response:

### Response:
SELECT country FROM table_name_40 WHERE score < 68</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many players played for adams state school?

### Context:
CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT COUNT(player) FROM table_10960039_6 WHERE college = "Adams 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 status has 15/04/1967 as the date?

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

### Response:

### Response:
SELECT status FROM table_name_33 WHERE date = "15/04/1967"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 positioned club with points greater than 40, 16 wins and losses less than 3?

### Context:
CREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MIN(position) FROM table_name_45 WHERE points > 40 AND wins = 16 AND loses < 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 Helium has a Argon of −189.6?

### Context:
CREATE TABLE table_name_54 (helium VARCHAR, argon VARCHAR)

### Response:

### Response:
SELECT helium FROM table_name_54 WHERE argon = "−189.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 date was the record 21-11?

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

### Response:

### Response:
SELECT date FROM table_name_43 WHERE record = "21-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:
How many finalists were there when the years won was 2008 and the won % was greater than 33?

### Context:
CREATE TABLE table_name_47 (finalists INTEGER, years_won VARCHAR, _percentage_won VARCHAR)

### Response:

### Response:
SELECT SUM(finalists) FROM table_name_47 WHERE years_won = "2008" AND _percentage_won > 33</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the lowest number of ties when the losses is 7 and games played is less than 10?

### Context:
CREATE TABLE table_name_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)

### Response:

### Response:
SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 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 tall is the player from Chicago, IL?

### Context:
CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT height FROM table_name_48 WHERE hometown = "chicago, il"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 registration of the station with a retained type and a station number of c03?

### Context:
CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR)

### Response:

### Response:
SELECT registrations FROM table_name_27 WHERE type = "retained" AND station_number = "c03"</s>


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

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

### Response:

### Response:
SELECT assists FROM table_name_66 WHERE year = "1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?

### Context:
CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)

### Response:

### Response:
SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Dennis Kucinich, when % of All is "53%"?

### Context:
CREATE TABLE table_name_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)

### Response:

### Response:
SELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author?

### Context:
CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 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:
Who was Constructor for rider Marco Melandri?

### Context:
CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_76 WHERE rider = "marco melandri"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?

### Context:
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)

### Response:

### Response:
SELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = "#51" AND timeslot = "Tuesday 9:00 p.m."</s>


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

### Context:
CREATE TABLE table_name_41 (district VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT district FROM table_name_41 WHERE name = "abhayapuri south"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the seq is 41, what is the ability to compromise?

### Context:
CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)

### Response:

### Response:
SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Score of 122–105 had what record?

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

### Response:

### Response:
SELECT record FROM table_name_68 WHERE score = "122–105"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of games of the player with a rank less than 1?

### Context:
CREATE TABLE table_name_55 (games INTEGER, rank INTEGER)

### Response:

### Response:
SELECT AVG(games) FROM table_name_55 WHERE 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:
How many men from the Ukraine?

### Context:
CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points for 44 game and january more than 15

### Context:
CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 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 Opponent, when Rank is 3?

### Context:
CREATE TABLE table_name_87 (opponent VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_87 WHERE rank = "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 first party for Lord John Hay earlier than 1857?

### Context:
CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)

### Response:

### Response:
SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and salary of instructors whose salary is below the average salary of the instructors in the Physics department.

### Context:
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)

### Response:

### Response:
SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was god & guns released?

### Context:
CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT date_of_release FROM table_name_15 WHERE title = "god & guns"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all ages and corresponding number of students.

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the episode seen by 2.26 million HK viewers ranked?

### Context:
CREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)

### Response:

### Response:
SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 discs for the complete 4th series?

### Context:
CREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR)

### Response:

### Response:
SELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = "The Complete 4th Series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the virtual callsign if is wnet

### Context:
CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET"</s>


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

### Context:
CREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT turns FROM table_name_35 WHERE city = "san antonio"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?

### Context:
CREATE TABLE table_name_29 (top_10 INTEGER, top_5 VARCHAR, wins VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MIN(top_10) FROM table_name_29 WHERE wins < 4 AND points < 3260 AND top_5 > 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 event for the year less than 1913 with the position of 2nd?

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

### Response:

### Response:
SELECT event FROM table_name_60 WHERE year < 1913 AND position = "2nd"</s>


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

### Context:
CREATE TABLE table_name_36 (react INTEGER, rank INTEGER)

### Response:

### Response:
SELECT AVG(react) FROM table_name_36 WHERE rank > 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 competition had a score of 8-1?

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

### Response:

### Response:
SELECT competition FROM table_name_78 WHERE score = "8-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 district has 213 constituents?

### Context:
CREATE TABLE table_29785324_5 (district VARCHAR, constituency_no VARCHAR)

### Response:

### Response:
SELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which event did Moradi compete and finish in 2nd at the Asian Championships in Kobe, Japan held after 2005?

### Context:
CREATE TABLE table_name_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT event FROM table_name_21 WHERE year > 2005 AND competition = "asian championships" AND position = "2nd" AND venue = "kobe, japan"</s>


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

### Context:
CREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR)

### Response:

### Response:
SELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = "John N. Tillman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does the player with 2 steals have?

### Context:
CREATE TABLE table_24912693_4 (points VARCHAR, steals VARCHAR)

### Response:

### Response:
SELECT points FROM table_24912693_4 WHERE steals = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which league has an FA cup greater than 0, with a total greater than 21?

### Context:
CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the Away team is melbourne, what's the lowest Crowd attended?

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

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many previous years did Maebashi Ikuei high school have a total number of 1 participation?

### Context:
CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR)

### Response:

### Response:
SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the face value is 42¢, what was the issue's date?

### Context:
CREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR)

### Response:

### Response:
SELECT date_of_issue FROM table_15635768_1 WHERE face_value = "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:
What date was the United States the region?

### Context:
CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_25 WHERE region = "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:
for the robot black nickname, what framed size is used

### Context:
CREATE TABLE table_15070195_1 (framed_size VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT framed_size FROM table_15070195_1 WHERE nickname = "Robot Black"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the authors of series episode #25?

### Context:
CREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_12030612_3 WHERE series__number = 25</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which TV station had a Romaji Title Maou?

### Context:
CREATE TABLE table_name_64 (tv_station VARCHAR, romaji_title VARCHAR)

### Response:

### Response:
SELECT tv_station FROM table_name_64 WHERE romaji_title = "maou"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What chassis did the BRM V8 engine have?

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

### Response:

### Response:
SELECT chassis FROM table_name_92 WHERE engine = "brm v8"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 amount of money that the United States one with a To par of –2?

### Context:
CREATE TABLE table_name_93 (money___ VARCHAR, country VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND to_par = "–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?

### Context:
CREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT AVG(date) FROM table_name_80 WHERE label = "cbs" AND region = "australia" AND catalog = "sbp 241031"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Pick, when Player is "Dexter Bailey"?

### Context:
CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT pick FROM table_name_34 WHERE player = "dexter bailey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what place was the song that had a draw of 3?

### Context:
CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_54 WHERE draw = 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 Branding of the Iloilo City Frequency with a Power of 10 Kw?

### Context:
CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT branding FROM table_name_38 WHERE power = "10 kw" AND location = "iloilo city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score from the game where Algeria is the opponent at Porto-Novo?

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

### Response:

### Response:
SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 codes have a density of 621.68, and a Land area (hectares) larger than 75.28?

### Context:
CREATE TABLE table_name_24 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR)

### Response:

### Response:
SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?

### Context:
CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)

### Response:

### Response:
SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the point low with 2 grids?

### Context:
CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR)

### Response:

### Response:
SELECT MIN(points) FROM table_name_88 WHERE grid = "2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years have an Award of venice film festival, and a Title of lust, caution?

### Context:
CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution"</s>


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

### Context:
CREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)

### Response:

### Response:
SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What conference has mayville state as the school?

### Context:
CREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT conference FROM table_name_71 WHERE school = "mayville 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 serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?

### Context:
CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)

### Response:

### Response:
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 amount of money spent by Lucas Mancini?

### Context:
CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)

### Response:

### Response:
SELECT SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"</s>


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

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

### Response:

### Response:
SELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the sum of points with games less than 5

### Context:
CREATE TABLE table_name_25 (points INTEGER, games INTEGER)

### Response:

### Response:
SELECT SUM(points) FROM table_name_25 WHERE games < 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every entry for Latin when Catalan is Mar?

### Context:
CREATE TABLE table_25401_15 (latin VARCHAR, catalan VARCHAR)

### Response:

### Response:
SELECT latin FROM table_25401_15 WHERE catalan = "mar"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the language when the english translation is come to me?

### Context:
CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)

### Response:

### Response:
SELECT language FROM table_name_18 WHERE english_translation = "come to me"</s>


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

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

### Response:

### Response:
SELECT away_team AS score FROM table_14312471_3 WHERE away_team = "Richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which venue had the result 7-1?

### Context:
CREATE TABLE table_name_50 (venue VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_50 WHERE result = "7-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player's hometown was Pewaukee, Wisconsin?

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

### Response:

### Response:
SELECT player FROM table_11677691_4 WHERE hometown = "Pewaukee, Wisconsin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 stepping for the processor released June 5, 2007?

### Context:
CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)

### Response:

### Response:
SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 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:
How many episodes  of 30 minutes were written by John Sullivan?

### Context:
CREATE TABLE table_17641206_4 (duration VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT COUNT(duration) FROM table_17641206_4 WHERE written_by = "John Sullivan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when Tie No is "109"?

### Context:
CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_67 WHERE tie_no = "109"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does the winner from Ohio State with 412 points play?

### Context:
CREATE TABLE table_name_38 (position VARCHAR, school VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_38 WHERE school = "ohio state" AND points = "412"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round was Steve Stonebreaker drafted?

### Context:
CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)

### Response:

### Response:
SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opposition has a Year smaller than 1911, and a Venue of old trafford?

### Context:
CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which coach works with Robert Harvey?

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

### Response:

### Response:
SELECT coach FROM table_name_1 WHERE captain = "robert harvey"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?

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

### Response:

### Response:
SELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = "germany" AND gold < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the release Date for the New Zealand Region?

### Context:
CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_16 WHERE region = "new zealand"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27?

### Context:
CREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many draws did Durham have?

### Context:
CREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT draws FROM table_name_72 WHERE team = "durham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Chauncey Billups (6) had a high assist on what date?

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

### Response:

### Response:
SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (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:
Name the average zone for waddon railway station and has more than 2 platforms

### Context:
CREATE TABLE table_name_54 (zone INTEGER, stations VARCHAR, platforms VARCHAR)

### Response:

### Response:
SELECT AVG(zone) FROM table_name_54 WHERE stations = "waddon railway station" AND platforms > 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the match that resulted in a win in 4:16 held?

### Context:
CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total amount of trees when district is leninsky?

### Context:
CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)

### Response:

### Response:
SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mount gauttier is the peak what is the island?

### Context:
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)

### Response:

### Response:
SELECT island FROM table_18946749_1 WHERE peak = "Mount Gauttier"</s>


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

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes 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:
Which skipper has 78 points?

### Context:
CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT skipper FROM table_name_90 WHERE points = "78"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the home team's score when they played at Lake Oval?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the starting from amalanadhi piran

### Context:
CREATE TABLE table_1852650_1 (starting_from VARCHAR, name_of_the_prabandham VARCHAR)

### Response:

### Response:
SELECT starting_from FROM table_1852650_1 WHERE name_of_the_prabandham = "Amalanadhi piran"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result when he went 1 round against jeremy beck?

### Context:
CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 area for code 98030 with population over 312?

### Context:
CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What race occurred on the date of 15 June?

### Context:
CREATE TABLE table_name_74 (race VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT race FROM table_name_74 WHERE date = "15 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:
Which District has a First elected of 1856, and an Incumbent of william kellogg?

### Context:
CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg"</s>


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

### Context:
CREATE TABLE table_name_72 (nationality VARCHAR, school_country VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_72 WHERE school_country = "temple"</s>


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

### Context:
CREATE TABLE table_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)

### Response:

### Response:
SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What percent of the population has phone in Russia?

### Context:
CREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR)

### Response:

### Response:
SELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = "russia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played when points of is 31-7, position is 16 and goals for is less than 35

### Context:
CREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35</s>


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

### Context:
CREATE TABLE table_name_83 (d_41_√ VARCHAR, d_47_√ VARCHAR)

### Response:

### Response:
SELECT d_41_√ FROM table_name_83 WHERE d_47_√ = "d 34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country mines 24.0% of the world demand of uranium?

### Context:
CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR)

### Response:

### Response:
SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "24.0%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was Louise when Tracy Venner was Dainty June?

### Context:
CREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR)

### Response:

### Response:
SELECT louise FROM table_name_83 WHERE dainty_june = "tracy venner"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the poverty rate is 12.9%, what is the county?

### Context:
CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)

### Response:

### Response:
SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many votes passed are listed on the measure that had 390338 yes votes?

### Context:
CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)

### Response:

### Response:
SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which competition before 1982 had a score of 2:3?

### Context:
CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2:3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Money of the Player with a Score of 69-71-69-72=281?

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

### Response:

### Response:
SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281</s>


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

### Context:
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winner when Mateus Rocha finished in 3rd place?

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

### Response:

### Response:
SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha"</s>


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

### Context:
CREATE TABLE table_21756039_1 (overall VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(overall) FROM table_21756039_1 WHERE year = "2010-2011"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total attendance for a result of 7-23 before 1960?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 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 was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?

### Context:
CREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?

### Context:
CREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 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 nominations was the film 27 Stolen Kisses nominated for?

### Context:
CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR)

### Response:

### Response:
SELECT nomination FROM table_10236830_6 WHERE film_name = "27 Stolen Kisses"</s>