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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the rank when the total is 39 in the county of dublin and the matches is less than 4?

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 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 total number of loses of the club with a 4 position and less than 23 goals conceded?

### Context:
CREATE TABLE table_name_96 (loses VARCHAR, position VARCHAR, goals_conceded VARCHAR)

### Response:

### Response:
SELECT COUNT(loses) FROM table_name_96 WHERE position = 4 AND goals_conceded < 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:
Find the student ID and middle name for all the students with at most two enrollments.

### Context:
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)

### Response:

### Response:
SELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the Overall Record that has the Away Team of miami?

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

### Response:

### Response:
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Loss of buehrle (7-2)?

### Context:
CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-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 are the modern equivalents for the province of "hanju"?

### Context:
CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, province VARCHAR)

### Response:

### Response:
SELECT modern_equivalent FROM table_160510_1 WHERE province = "Hanju"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game 41 held, and how many people attended?

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

### Response:

### Response:
SELECT location_attendance FROM table_22883210_7 WHERE game = 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:
How many C-95 aircrafts originating in Brazil are currently in service?

### Context:
CREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR)

### Response:

### Response:
SELECT in_service FROM table_name_12 WHERE origin = "brazil" AND versions = "c-95"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the incumbent in the Kentucky 8 district?

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

### Response:

### Response:
SELECT incumbent FROM table_2668367_7 WHERE district = "Kentucky 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:
When emt 9 is the series what is the date?

### Context:
CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT date FROM table_25572118_1 WHERE series = "EMT 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:
When was nese malifa born?

### Context:
CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT date_of_birth__age_ FROM table_name_19 WHERE player = "nese malifa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score on April 21?

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

### Response:

### Response:
SELECT score FROM table_name_12 WHERE date = "april 21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the High rebounds of a Game with 56?

### Context:
CREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_70 WHERE game = 56</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Total with a Rank greater than 1, and a Bronze larger than 8?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 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:
For all games with los angeles as visitor, what is the highest attendance of all?

### Context:
CREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR)

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_12 WHERE visitor = "los angeles"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how many times is the home team wollongong hawks?

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

### Response:

### Response:
SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "wollongong hawks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 division for  detroit diesel series 50egr allison wb-400r

### Context:
CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR)

### Response:

### Response:
SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R"</s>


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

### Context:
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_1140116_5 WHERE circuit = "Modena"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Country is Rocco Mediate from?

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

### Response:

### Response:
SELECT country FROM table_name_49 WHERE player = "rocco mediate"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 origin of the one whose final destination is Brandholmen?

### Context:
CREATE TABLE table_name_15 (origin VARCHAR, final_destination VARCHAR)

### Response:

### Response:
SELECT origin FROM table_name_15 WHERE final_destination = "brandholmen"</s>


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

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

### Response:

### Response:
SELECT to_par FROM table_name_93 WHERE country = "england"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The nation of denmark has what average total nad more than 0 gold?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 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:
For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?

### Context:
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when geelong was the away team?

### Context:
CREATE TABLE table_name_45 (home_team VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 notes of the 400 m event before 2004 with a position of 12th (h)?

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

### Response:

### Response:
SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the crowd total for glenferrie oval?

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

### Response:

### Response:
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie 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 location of the tallahassee open, with a Score of 269 (–19)?

### Context:
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"</s>


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

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

### Response:

### Response:
SELECT circuit FROM table_name_49 WHERE date = "15 april"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 yards for a rating larger than 52.8 and more than 13 games?

### Context:
CREATE TABLE table_name_47 (yards INTEGER, rating VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT MAX(yards) FROM table_name_47 WHERE rating > 52.8 AND games > 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 total number of episodes aired in Canada on 22 October 2004?

### Context:
CREATE TABLE table_name_18 (episode VARCHAR, airdate__canada_ VARCHAR)

### Response:

### Response:
SELECT COUNT(episode) FROM table_name_18 WHERE airdate__canada_ = "22 october 2004"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many no votes did North Dakota have?

### Context:
CREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT no_vote FROM table_name_48 WHERE state = "north dakota"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?

### Context:
CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series = "thirst" AND award = "best actress" AND group = "baeksang arts awards"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score with opponent of javier genaro-martinez

### Context:
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the carpet w-l in 1993?

### Context:
CREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?

### Context:
CREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR)

### Response:

### Response:
SELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Does the Scout Association of Hong Kong admit boys, girls, or both?

### Context:
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR)

### Response:

### Response:
SELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = "The Scout Association of Hong Kong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank of the nation with more than 0 silver medals and 38 bronze medals?

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

### Response:

### Response:
SELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which lead had a season of 2009-10?

### Context:
CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT lead FROM table_name_40 WHERE season = "2009-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:
When was the game in which Deron Williams (13) did the high assists played?

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

### Response:

### Response:
SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many runners had placings over 8?

### Context:
CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER)

### Response:

### Response:
SELECT COUNT(runners) FROM table_name_34 WHERE placing > 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:
Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards

### Context:
CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)

### Response:

### Response:
SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND award = "mtv movie awards"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 minutes a goalkeeper with 13 games played has?

### Context:
CREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)

### Response:

### Response:
SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 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 moving from fee in Hun country?

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

### Response:

### Response:
SELECT moving_from FROM table_name_33 WHERE country = "hun"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor?

### Context:
CREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 socket with an order part number of amm300dbo22gq and a September 10, 2009 release date?

### Context:
CREATE TABLE table_name_34 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR)

### Response:

### Response:
SELECT socket FROM table_name_34 WHERE release_date = "september 10, 2009" AND order_part_number = "amm300dbo22gq"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?

### Context:
CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)

### Response:

### Response:
SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
A list of the top 10 countries by average invoice size. List country name and average invoice size.

### Context:
CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)

### Response:

### Response:
SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the regular season results for the year 2011-2012?

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

### Response:

### Response:
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In which series was his position NC† ?

### Context:
CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT series FROM table_25557880_1 WHERE position = "NC†"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?

### Context:
CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)

### Response:

### Response:
SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = "1964-65"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 boat that was built by Chatham and Laid down of 25 april 1887?

### Context:
CREATE TABLE table_name_75 (name VARCHAR, builder VARCHAR, laid_down VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_75 WHERE builder = "chatham" AND laid_down = "25 april 1887"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of To par when the Finish is t11?

### Context:
CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)

### Response:

### Response:
SELECT SUM(to_par) FROM table_name_59 WHERE finish = "t11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which position was the World Indoor Championships in a year later than 2008?

### Context:
CREATE TABLE table_name_64 (position VARCHAR, competition VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_64 WHERE competition = "world indoor championships" AND year > 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which claimant's rank is 200?

### Context:
CREATE TABLE table_name_7 (claimant VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT claimant FROM table_name_7 WHERE rank = 200</s>


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

### Context:
CREATE TABLE table_24319661_3 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_24319661_3 WHERE us_viewers__million_ = "3.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:
Who is the co-presenter of the series Seven (2007)?

### Context:
CREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT co_presenter FROM table_14345690_15 WHERE series = "Seven (2007)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of top-10s in events with more than 0 wins?

### Context:
CREATE TABLE table_name_46 (top_10 INTEGER, wins INTEGER)

### Response:

### Response:
SELECT MAX(top_10) FROM table_name_46 WHERE wins > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average births that had a death rate of 0.4

### Context:
CREATE TABLE table_name_38 (births__000s_ INTEGER, deaths VARCHAR)

### Response:

### Response:
SELECT AVG(births__000s_) FROM table_name_38 WHERE deaths = 0.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 team did the Flames play against when 526 people attended the game?

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

### Response:

### Response:
SELECT opponent FROM table_name_11 WHERE attendance = 526</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the origin of the tth version?

### Context:
CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR)

### Response:

### Response:
SELECT origin FROM table_name_37 WHERE versions = "tth"</s>


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

### Context:
CREATE TABLE table_name_38 (width VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT width FROM table_name_38 WHERE year = "1970"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people attended when the record was broken with 47–63?

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

### Response:

### Response:
SELECT attendance FROM table_name_38 WHERE record = "47–63"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 nationality of the player who played during the years 1989-92; 1994-95?

### Context:
CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_11545282_5 WHERE years_for_jazz = "1989-92; 1994-95"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What player has +21 as the to par?

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

### Response:

### Response:
SELECT player FROM table_name_36 WHERE to_par = "+21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?

### Context:
CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 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 is the Rank of the Swimmer in Lane 5?

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_16 WHERE lane = 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 did United States place when the player was Raymond Floyd?

### Context:
CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Stage 1 winner?

### Context:
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT winner FROM table_22917458_15 WHERE stage = 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:
List all customers’ names in the alphabetical order.

### Context:
CREATE TABLE accounts (name VARCHAR)

### Response:

### Response:
SELECT name FROM accounts ORDER BY name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of teams at the philips arena 19,335?

### Context:
CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = "Philips Arena 19,335"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which week was the game on December 14, 1967?

### Context:
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_27 WHERE date = "december 14, 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 athletes represented the country of germany?

### Context:
CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT athletes FROM table_name_82 WHERE country = "germany"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the games with marks of 21

### Context:
CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR)

### Response:

### Response:
SELECT games FROM table_name_71 WHERE marks = "21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Region that has a Total GDP (€ bn ) of €11,745.353?

### Context:
CREATE TABLE table_name_58 (region VARCHAR, total_gdp__€_bn__ VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_58 WHERE total_gdp__€_bn__ = "€11,745.353"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the candidates when ed markey was the incumbent?

### Context:
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which game has the highest score in October with 9?

### Context:
CREATE TABLE table_name_41 (october INTEGER, game VARCHAR)

### Response:

### Response:
SELECT MAX(october) FROM table_name_41 WHERE game = 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:
Name the original air date for bryan moore & chris peterson

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

### Response:

### Response:
SELECT original_air_date FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country for athlete of ziedonis zaļkalns

### Context:
CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1 New Hampshire as a third place state?

### Context:
CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)

### Response:

### Response:
SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire"</s>


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

### Context:
CREATE TABLE table_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)

### Response:

### Response:
SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.1%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name of the products that have the color description "red" and have the characteristic name "fast".

### Context:
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)

### Response:

### Response:
SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 regionalliga west/südwest with regionalliga süd being stuttgarter kickers

### Context:
CREATE TABLE table_14242137_11 (regionalliga_west_südwest VARCHAR, regionalliga_süd VARCHAR)

### Response:

### Response:
SELECT regionalliga_west_südwest FROM table_14242137_11 WHERE regionalliga_süd = "Stuttgarter Kickers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 segment A also has a segment D of kitchen shears?

### Context:
CREATE TABLE table_name_57 (segment_a VARCHAR, segment_d VARCHAR)

### Response:

### Response:
SELECT segment_a FROM table_name_57 WHERE segment_d = "kitchen shears"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Ken Still (3) when he won first place?

### Context:
CREATE TABLE table_name_14 (score VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_14 WHERE winner = "ken still (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 Player in 2005 Wimbledon had less than 5 Sets?

### Context:
CREATE TABLE table_name_12 (player VARCHAR, sets VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_12 WHERE sets < 5 AND event = "2005 wimbledon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 partition id for users who tweeted less than twice.

### Context:
CREATE TABLE user_profiles (name VARCHAR, partitionid VARCHAR, uid VARCHAR); CREATE TABLE tweets (uid VARCHAR)

### Response:

### Response:
SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the class of the race that takes place on August 25?

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

### Response:

### Response:
SELECT class FROM table_name_20 WHERE date = "august 25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the area for german

### Context:
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"</s>


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

### Context:
CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT music_director FROM table_name_3 WHERE year = 1994</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average for the top five having a number of 42 cuts made.

### Context:
CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR)

### Response:

### Response:
SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 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:
Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium

### Context:
CREATE TABLE table_19317584_2 (city_and_venue VARCHAR)

### Response:

### Response:
SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca 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 were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?

### Context:
CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)

### Response:

### Response:
SELECT episodes FROM table_18173916_6 WHERE tuesday = "224 Assassin's Creed: Brotherhood Circus Training"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Competition when the Club was costa rica u-20?

### Context:
CREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_94 WHERE club = "costa rica u-20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which founding year corresponds with the highest enrollment?

### Context:
CREATE TABLE table_261946_3 (founded INTEGER)

### Response:

### Response:
SELECT MAX(founded) FROM table_261946_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:
Who was the participant or recipient for the Best Female Actor?

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

### Response:

### Response:
SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What decade is the artist the replacements?

### Context:
CREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT decade FROM table_name_92 WHERE artist = "the replacements"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the Capitals game when Columbus was the home team?

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

### Response:

### Response:
SELECT date FROM table_name_28 WHERE home = "columbus"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the game that was played on february 27, 2000?

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

### Response:

### Response:
SELECT result FROM table_name_38 WHERE date = "february 27, 2000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHICH Regular Season has a League of npsl, and a Year of 2008?

### Context:
CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT regular_season FROM table_name_64 WHERE league = "npsl" AND year = "2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Total of the player who won before 1983 with a smaller than 4 To par?

### Context:
CREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR)

### Response:

### Response:
SELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?

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

### Response:

### Response:
SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)?

### Context:
CREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the southern lakota for híŋhaŋna

### Context:
CREATE TABLE table_1499774_5 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)

### Response:

### Response:
SELECT southern_lakota FROM table_1499774_5 WHERE yankton_yanktonai = "híŋhaŋna"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 term in office for liberal and state of sa for ian mclachlan

### Context:
CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day did they play the bolton wanderers with a result F–A of 1–2?

### Context:
CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the location and attendance for the game against New Jersey?

### Context:
CREATE TABLE table_name_33 (location_attendance VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_name_33 WHERE team = "new jersey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the incumbent for north carolina 9

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

### Response:

### Response:
SELECT incumbent FROM table_19753079_36 WHERE district = "North Carolina 9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the location and attendance when the team's record was 16-44?

### Context:
CREATE TABLE table_13464416_8 (location_attendance VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_13464416_8 WHERE record = "16-44"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year did Iljuštšenko compete in Barcelona, Spain?

### Context:
CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_70 WHERE venue = "barcelona, spain"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
how tall is someone who is able to wear 33-24-35

### Context:
CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)

### Response:

### Response:
SELECT height FROM table_27515452_3 WHERE sizes = "33-24-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:
When in 2008 that has a 2007 of f?

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

### Response:

### Response:
SELECT 2008 FROM table_name_30 WHERE 2007 = "f"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sanskrit word for the color red?

### Context:
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)

### Response:

### Response:
SELECT sanskrit_word FROM table_180802_3 WHERE color = "red"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 game when 45,943 attended?

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

### Response:

### Response:
SELECT date FROM table_name_56 WHERE attendance = "45,943"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 interview subject when the centerfold model was Sherry Arnett?

### Context:
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR)

### Response:

### Response:
SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Year larger than 2008 includes which notes?

### Context:
CREATE TABLE table_name_35 (notes VARCHAR, year INTEGER)

### Response:

### Response:
SELECT notes FROM table_name_35 WHERE year > 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Hon. Vicente Q. Roxas appointment date?

### Context:
CREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_name_25 WHERE name = "hon. vicente q. roxas"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the title of the episode with a production code of 3x6404?

### Context:
CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT title FROM table_27776266_1 WHERE production_code = "3X6404"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning drivers are there when the winning team is Bryan herta autosport?

### Context:
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)

### Response:

### Response:
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who wrote the episode that has the production code ad1c05?

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

### Response:

### Response:
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"</s>


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

### Context:
CREATE TABLE table_name_84 (total VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT total FROM table_name_84 WHERE builder = "international"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 college of dave adams, who has a pick greater than 7?

### Context:
CREATE TABLE table_name_63 (college VARCHAR, pick VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_63 WHERE pick > 7 AND name = "dave adams"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Gold where the Nation is Russia (rus) and the number of silver is less than 2?

### Context:
CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 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 challenge leaders were there of the games won by virginia (87-79)?

### Context:
CREATE TABLE table_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT COUNT(challenge_leader) FROM table_29535057_4 WHERE winner = "Virginia (87-79)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2?

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

### Response:

### Response:
SELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the accompaniment when the title is stormy seas blues?

### Context:
CREATE TABLE table_name_26 (accompaniment VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT accompaniment FROM table_name_26 WHERE title = "stormy seas blues"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 October has a Record of 1–0–0?

### Context:
CREATE TABLE table_name_50 (october INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MIN(october) FROM table_name_50 WHERE record = "1–0–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:
Where the Vancouver Grizzlies is the awards, what is the conference?

### Context:
CREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR)

### Response:

### Response:
SELECT conference FROM table_name_29 WHERE awards = "vancouver grizzlies"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 game played against the Chicago Black Hawks?

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

### Response:

### Response:
SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black hawks"</s>


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

### Context:
CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 7 as the round, with a pick # less than 214?

### Context:
CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 "normalized" transliteration for Roman i

### Context:
CREATE TABLE table_name_9 (roman_equivalent VARCHAR)

### Response:

### Response:
SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many values for attendance on the date of August 26?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = "August 26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Grid for Rider Ruben Xaus?

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

### Response:

### Response:
SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 ground of the tim trophy competition, which had a time of 23:00 cet?

### Context:
CREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT ground FROM table_name_83 WHERE competition = "tim trophy" AND time = "23:00 cet"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away team that played Northampton Town at home with a tie number of replay?

### Context:
CREATE TABLE table_name_53 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_53 WHERE tie_no = "replay" AND home_team = "northampton town"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season 5 what episode number was production 06-03-519?

### Context:
CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 match report for the game that was played on 23 august 2008 in stark's park during the second division competition?

### Context:
CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number that 0 silver?

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

### Response:

### Response:
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How man innings were there during the period with a career average of 41.43?

### Context:
CREATE TABLE table_21100348_10 (innings VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT innings FROM table_21100348_10 WHERE average = "41.43"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the tyres for hans binder

### Context:
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 7.08 is the amount of viewers what is the air date?

### Context:
CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR)

### Response:

### Response:
SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the other awards for 1995?

### Context:
CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT other_awards FROM table_name_77 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 was the winner of the game in 1999 with Kansas City Chiefs as the loser?

### Context:
CREATE TABLE table_name_29 (winner VARCHAR, year VARCHAR, loser VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_29 WHERE year = 1999 AND loser = "kansas city chiefs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week did the Seahawks play at los angeles memorial coliseum?

### Context:
CREATE TABLE table_13258876_2 (week INTEGER, game_site VARCHAR)

### Response:

### Response:
SELECT MIN(week) FROM table_13258876_2 WHERE game_site = "Los Angeles Memorial Coliseum"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes.

### Context:
CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR)

### Response:

### Response:
SELECT mahmoud_ahmadinejad FROM table_23390604_1 WHERE mir_hossein_mousavi = 218481</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?

### Context:
CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 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:
Name the position for pick number 39

### Context:
CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT position FROM table_2508633_2 WHERE pick__number = 39</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the earliest first elected for district georgia 1?

### Context:
CREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR)

### Response:

### Response:
SELECT MIN(first_elected) FROM table_1341640_11 WHERE district = "Georgia 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of party with the incubent james william trimble

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Bike with 18 laps and +41.280 as the time?

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

### Response:

### Response:
SELECT bike FROM table_name_51 WHERE laps = 18 AND time = "+41.280"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What home team has a rank greater than 6, and 94,392 as the capacity?

### Context:
CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0?

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

### Response:

### Response:
SELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 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 series was directed by Frank Tashlin and has the production number, 8053?

### Context:
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)

### Response:

### Response:
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much is the Singapore Gross for the film that Siu Wing directed?

### Context:
CREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT singapore_gross FROM table_name_93 WHERE director = "siu wing"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 premier team that has 38 points and won with a score of 38-0?

### Context:
CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT premiers FROM table_name_16 WHERE points = 38 AND score = "38-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 argon has a neon of 10.5?

### Context:
CREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR)

### Response:

### Response:
SELECT argon FROM table_name_51 WHERE neon = "10.5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance when they played at Dallas Cowboys?

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

### Response:

### Response:
SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of Charley Taylor, who has an overall greater than 3?

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

### Response:

### Response:
SELECT SUM(pick) FROM table_name_58 WHERE name = "charley taylor" AND overall > 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 Date of the game with a Score of 6–4, 6–2?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?

### Context:
CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lead has a Skip of mike mcewen?

### Context:
CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)

### Response:

### Response:
SELECT lead FROM table_name_73 WHERE skip = "mike mcewen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 least amount of milk cattle in ontario

### Context:
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)

### Response:

### Response:
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which points classification was used in stage 15?

### Context:
CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT points_classification FROM table_name_54 WHERE stage = "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:
Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?

### Context:
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is richmond's scores when they are the home team?

### Context:
CREATE TABLE table_name_53 (home_team VARCHAR)

### Response:

### Response:
SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Position is listed against a Venue of Debrecen, Hungary

### Context:
CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cardinalatial Title has an Elevator of pope eugenius iv?

### Context:
CREATE TABLE table_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR)

### Response:

### Response:
SELECT cardinalatial_title FROM table_name_77 WHERE elevator = "pope eugenius iv"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name with the builder of Kerr Stuart

### Context:
CREATE TABLE table_142159_1 (name VARCHAR, builder VARCHAR)

### Response:

### Response:
SELECT name FROM table_142159_1 WHERE builder = "Kerr Stuart"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the area of the nation with GDP per capita (US$) of 11,929?

### Context:
CREATE TABLE table_name_11 (area__km²_ VARCHAR, gdp_per_capita__us$_ VARCHAR)

### Response:

### Response:
SELECT area__km²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday?

### Context:
CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR)

### Response:

### Response:
SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini Masters Tournament"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
With an issue date(s) of 12 September, what is in the column for Weeks on Top?

### Context:
CREATE TABLE table_name_96 (weeks_on_top VARCHAR, issue_date_s_ VARCHAR)

### Response:

### Response:
SELECT weeks_on_top FROM table_name_96 WHERE issue_date_s_ = "12 september"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who played Blackpool when Blackpool was at home?

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

### Response:

### Response:
SELECT away_team FROM table_name_2 WHERE home_team = "blackpool"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day was the game held at Firhill against AYR United?

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

### Response:

### Response:
SELECT date FROM table_name_60 WHERE venue = "firhill" AND opponent = "ayr united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total number of average where evening gown is 8.988

### Context:
CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)

### Response:

### Response:
SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = "8.988"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years had other a of 8 (1)?

### Context:
CREATE TABLE table_14962287_1 (years VARCHAR, other_a VARCHAR)

### Response:

### Response:
SELECT years FROM table_14962287_1 WHERE other_a = "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:
Show the names of students who have at least 2 likes.

### Context:
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)

### Response:

### Response:
SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result when the attendance was 12,000?

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

### Response:

### Response:
SELECT result FROM table_name_77 WHERE attendance = "12,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the k. r. narayanan values for pondicherry

### Context:
CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)

### Response:

### Response:
SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Yaroslav Popovych won most corageous, who won the mountains classification?

### Context:
CREATE TABLE table_25055040_22 (mountains_classification VARCHAR, most_courageous VARCHAR)

### Response:

### Response:
SELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = "Yaroslav Popovych"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 NBA draft status for Northeast High School?

### Context:
CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many goals against have 58 points?

### Context:
CREATE TABLE table_name_82 (goals_against VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT goals_against FROM table_name_82 WHERE points = 58</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round when nueza silva played against greece?

### Context:
CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_31 WHERE against = "greece"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 comprehension for non-fluent, effortful, slow

### Context:
CREATE TABLE table_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR)

### Response:

### Response:
SELECT auditory_comprehension FROM table_2088_1 WHERE fluency = "non-fluent, effortful, slow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Against, when Status is "First Test", and when Date is "26/05/2007"?

### Context:
CREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3?

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

### Response:

### Response:
SELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND total > 7 AND silver < 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 Tuesday has a Saturday of 土曜日 doyōbi?

### Context:
CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR)

### Response:

### Response:
SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi"</s>