<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament had a final score of 6–3, 6–2?

### Context:
CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 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 2010 when 2009 is w and 2007 is qf?

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

### Response:

### Response:
SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has?

### Context:
CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)

### Response:

### Response:
SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 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 all the district with incumbent being sam hobbs

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

### Response:

### Response:
SELECT district FROM table_1342270_3 WHERE incumbent = "Sam Hobbs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Surface has a Tournament of olbia?

### Context:
CREATE TABLE table_name_62 (surface VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_62 WHERE tournament = "olbia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What purses had a winners share equal to $428650?

### Context:
CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR)

### Response:

### Response:
SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the country of release is EU, what is the label name?

### Context:
CREATE TABLE table_name_39 (label VARCHAR, country_of_release VARCHAR)

### Response:

### Response:
SELECT label FROM table_name_39 WHERE country_of_release = "eu"</s>


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

### Context:
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)

### Response:

### Response:
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740</s>


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

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

### Response:

### Response:
SELECT home_team FROM table_name_80 WHERE tie_no = 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:
What is Team, when Circuit is Phillip Island Grand Prix Circuit?

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

### Response:

### Response:
SELECT team FROM table_name_1 WHERE circuit = "phillip island grand prix circuit"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points for the simtek s951 chassis?

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

### Response:

### Response:
SELECT COUNT(points) FROM table_name_92 WHERE chassis = "simtek s951"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 class team of the player born on 23 February 1973?

### Context:
CREATE TABLE table_name_70 (first_class_team VARCHAR, date_of_birth VARCHAR)

### Response:

### Response:
SELECT first_class_team FROM table_name_70 WHERE date_of_birth = "23 february 1973"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 labour panel when the university of dublin is less than 2 and the agricultural panel is greater than 5?

### Context:
CREATE TABLE table_name_46 (labour_panel INTEGER, university_of_dublin VARCHAR, agricultural_panel VARCHAR)

### Response:

### Response:
SELECT MAX(labour_panel) FROM table_name_46 WHERE university_of_dublin < 2 AND agricultural_panel > 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 are the numbers of the players currently playing for Ironi Nahariya?

### Context:
CREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR)

### Response:

### Response:
SELECT no FROM table_12962773_2 WHERE current_club = "Ironi Nahariya"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 students who took some course offered by Statistics department.

### Context:
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (course_id VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)

### Response:

### Response:
SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'</s>


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

### Context:
CREATE TABLE table_name_18 (opposing_teams VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opposing_teams FROM table_name_18 WHERE date = "06/02/1988"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player has a score of 74-74-73-70=291?

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

### Response:

### Response:
SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names of those who made less than 3 wins in 15 matches?

### Context:
CREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the points for rank 12?

### Context:
CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_13 WHERE rank = 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show ids for all students who live in CHI.

### Context:
CREATE TABLE Student (StuID VARCHAR, city_code VARCHAR)

### Response:

### Response:
SELECT StuID FROM Student WHERE city_code = "CHI"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country has a series premier of unknown and mbc action as their TV network?

### Context:
CREATE TABLE table_name_27 (country VARCHAR, series_premiere VARCHAR, tv_network_s_ VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_27 WHERE series_premiere = "unknown" AND tv_network_s_ = "mbc action"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Home of kings had what score?

### Context:
CREATE TABLE table_name_64 (score VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_64 WHERE home = "kings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what year did naga bonar take place

### Context:
CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR)

### Response:

### Response:
SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 draws when there is 1 Win, and less than 1728 against matches?

### Context:
CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Reuben Foster's college?

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

### Response:

### Response:
SELECT college FROM table_name_59 WHERE player = "reuben foster"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?

### Context:
CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)

### Response:

### Response:
SELECT MIN(wins) FROM table_name_74 WHERE finish = "7th" AND win_percentage > 0.429 AND reds_season < 1915</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 average money when the score was 68-69-68-72=277?

### Context:
CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)

### Response:

### Response:
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 details of journey had simon hoggart as a narrator?

### Context:
CREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR)

### Response:

### Response:
SELECT details_of_journey FROM table_name_48 WHERE narrator = "simon hoggart"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 BR number with a SECR number of 765?

### Context:
CREATE TABLE table_name_39 (br_no INTEGER, secr_no VARCHAR)

### Response:

### Response:
SELECT MAX(br_no) FROM table_name_39 WHERE secr_no = 765</s>


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

### Context:
CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT operator FROM table_1837570_1 WHERE genre = "music"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of gold medals for Canada with more than 7 bronze medals?

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

### Response:

### Response:
SELECT MAX(gold) FROM table_name_31 WHERE nation = "canada" AND bronze > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the grade studying in room 105.

### Context:
CREATE TABLE list (grade VARCHAR, classroom VARCHAR)

### Response:

### Response:
SELECT DISTINCT grade FROM list WHERE classroom = 105</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of laps for grid 20?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_53 WHERE grid = 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?

### Context:
CREATE TABLE table_name_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR)

### Response:

### Response:
SELECT SUM(losses) FROM table_name_56 WHERE team = "montreal hockey club" AND goals_against > 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:
How many different lead margins were stated in the poll administered on September 11, 2008?

### Context:
CREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR)

### Response:

### Response:
SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 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 week number saw a w 31-16 result?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different items appear in the enrollment column that joined in 1931, 1949 1?

### Context:
CREATE TABLE table_261941_1 (enrollment VARCHAR, joined VARCHAR)

### Response:

### Response:
SELECT COUNT(enrollment) FROM table_261941_1 WHERE joined = "1931, 1949 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year has a Match of 63?

### Context:
CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_82 WHERE match = 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 1990–1991 Team when the Birthplace shows as new york?

### Context:
CREATE TABLE table_name_23 (birthplace VARCHAR)

### Response:

### Response:
SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens doubles had champions the years broddi kristjánsson drífa harðardóttir won mixed doubles

### Context:
CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)

### Response:

### Response:
SELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = "Broddi Kristjánsson Drífa Harðardóttir"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round was Bill Hill drafted?

### Context:
CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR)

### Response:

### Response:
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 title of the album that has Popup has the original label?

### Context:
CREATE TABLE table_name_25 (album_title VARCHAR, original_label VARCHAR)

### Response:

### Response:
SELECT album_title FROM table_name_25 WHERE original_label = "popup"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round of 32 during the 56kg when the quarterfinals, semifinals, and finals did not advance?

### Context:
CREATE TABLE table_name_10 (round_of_32 VARCHAR, event VARCHAR, quarterfinals VARCHAR, finals VARCHAR, semifinals VARCHAR)

### Response:

### Response:
SELECT round_of_32 FROM table_name_10 WHERE finals = "did not advance" AND semifinals = "did not advance" AND quarterfinals = "did not advance" AND event = "56kg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd?

### Context:
CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of a pick more than 5 at Washington College?

### Context:
CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Russian has a Ratio of 40?

### Context:
CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)

### Response:

### Response:
SELECT russian FROM table_name_60 WHERE ratio = "40"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 birth place of the prime minister who served George V and entered office on 23 October 1922?

### Context:
CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)

### Response:

### Response:
SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 in the 2 round fight that ended by submission (injury)?

### Context:
CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_70 WHERE round = "2" AND method = "submission (injury)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the date that has a week larger than 3 and a result of w 28-27

### Context:
CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_26 WHERE week > 3 AND result = "w 28-27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Band of am, and a Frequency of 0 846 has what purpose?

### Context:
CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?

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

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?

### Context:
CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
available subnets leading total is?

### Context:
CREATE TABLE table_149426_4 (available_subnets INTEGER)

### Response:

### Response:
SELECT MAX(available_subnets) FROM table_149426_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 points listed that includes P listed Tyres after 1986?

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

### Response:

### Response:
SELECT SUM(points) FROM table_name_76 WHERE tyres = "p" AND year > 1986</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Bleeding has a Condition of congenital afibrinogenemia?

### Context:
CREATE TABLE table_name_75 (bleeding_time VARCHAR, condition VARCHAR)

### Response:

### Response:
SELECT bleeding_time FROM table_name_75 WHERE condition = "congenital afibrinogenemia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losing team had a score of 24-12?

### Context:
CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT losingteam FROM table_11236195_2 WHERE score = "24-12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average grid with more than 23 laps?

### Context:
CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)

### Response:

### Response:
SELECT AVG(grid) FROM table_name_78 WHERE laps > 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:
What is the number of losses for the team with 1 draw and 34 tries against?

### Context:
CREATE TABLE table_name_49 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)

### Response:

### Response:
SELECT lost FROM table_name_49 WHERE drawn = "1" AND tries_against = "34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date when the Lakers were the home team?

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

### Response:

### Response:
SELECT date FROM table_name_1 WHERE home = "lakers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest played amount when there are 2 draws and an against of more than 73?

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

### Response:

### Response:
SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?

### Context:
CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the game for April 16?

### Context:
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_62 WHERE date = "april 16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who did the high points in the game played on December 2?

### Context:
CREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_22871316_6 WHERE date = "December 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 highest Capacity that has the Team of torpedo?

### Context:
CREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MAX(capacity) FROM table_name_66 WHERE team = "torpedo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sum of total where the rank is over 9 and the gold is less than 1?

### Context:
CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)

### Response:

### Response:
SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest game number when the team is Houston?

### Context:
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)

### Response:

### Response:
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 summary for the episode with a coach named Rebecca Star?

### Context:
CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)

### Response:

### Response:
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many rounds did Alex Ardoin achieved a fastest lap?

### Context:
CREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = "Alex Ardoin"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the opponent for december 8

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

### Response:

### Response:
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank was the country with no bronze but at least 1 silver medals?

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

### Response:

### Response:
SELECT AVG(rank) FROM table_name_57 WHERE bronze < 1 AND silver > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05?

### Context:
CREATE TABLE table_name_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR)

### Response:

### Response:
SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?

### Context:
CREATE TABLE table_name_37 (_number_of_prefectural_votes VARCHAR, _percentage_of_prefectural_vote VARCHAR, _number_of_seats_won VARCHAR)

### Response:

### Response:
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_37 WHERE _percentage_of_prefectural_vote = "48.4%" AND _number_of_seats_won > 61</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the final score of game 26?

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

### Response:

### Response:
SELECT score FROM table_name_64 WHERE game = 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:
How many weeks in total were games played at Cleveland Browns Stadium?

### Context:
CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR)

### Response:

### Response:
SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many bonus points were won by 5?

### Context:
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)

### Response:

### Response:
SELECT bonus_points FROM table_17510803_2 WHERE won = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Week has a Result of w 20-13?

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

### Response:

### Response:
SELECT AVG(week) FROM table_name_20 WHERE result = "w 20-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 lowest To par of gary player, with more than 145 total?

### Context:
CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 145</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?

### Context:
CREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT weight FROM table_name_98 WHERE power = "kw (hp) at 1,800rpm" AND name = "9 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:
what is the material of the surface in noida , uttar pradesh, india

### Context:
CREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT surface FROM table_29127804_3 WHERE location = "Noida , Uttar Pradesh, India"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pole position at the japanese grand prix when the fastest lap is damon hill

### Context:
CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Silver, when Notes is "6.24km, 23controls"?

### Context:
CREATE TABLE table_name_86 (silver VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT silver FROM table_name_86 WHERE notes = "6.24km, 23controls"</s>


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

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

### Response:

### Response:
SELECT COUNT(school) FROM table_11677100_17 WHERE player = "Bubba Starling"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?

### Context:
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lowest crowd size when Carlton was the away team.

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many gold medals for the school with less than 1 total?

### Context:
CREATE TABLE table_name_43 (gold_medals VARCHAR, total_medals INTEGER)

### Response:

### Response:
SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 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 reason for change pennsylvania 13th

### Context:
CREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT reason_for_change FROM table_225102_4 WHERE district = "Pennsylvania 13th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the surface on june 11, 1995

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

### Response:

### Response:
SELECT surface FROM table_name_70 WHERE date = "june 11, 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:
For the 27 arrow match event, what's the sum of all scores for that event?

### Context:
CREATE TABLE table_name_63 (score INTEGER, event VARCHAR)

### Response:

### Response:
SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow match"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?

### Context:
CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?

### Context:
CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_87 WHERE recipients_and_nominees = "outstanding achievement in drama" AND 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:
What title episode did Paris Barclay direct?

### Context:
CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR)

### Response:

### Response:
SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 partner count when the opponents in the final was forget leconte?

### Context:
CREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)

### Response:

### Response:
SELECT COUNT(partner) FROM table_22597626_17 WHERE opponents_in_the_final = "Forget Leconte"</s>


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

### Context:
CREATE TABLE table_name_93 (winner VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_93 WHERE tournament = "london"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score of the game earlier than 69 with a record of 4–56?

### Context:
CREATE TABLE table_name_41 (score VARCHAR, game VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_41 WHERE game < 69 AND record = "4–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 most # that aired on september 29, 2008?

### Context:
CREATE TABLE table_11235334_2 (_number INTEGER, air_date VARCHAR)

### Response:

### Response:
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 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 year that has a character named Wu Ji Wei (無極威)?

### Context:
CREATE TABLE table_name_27 (year INTEGER, character VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode(s) aired in the U.S. on 4 april 2008, what were the names?

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

### Response:

### Response:
SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team does mario andretti play pole position for?

### Context:
CREATE TABLE table_name_9 (winning_team VARCHAR, pole_position VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_name_9 WHERE pole_position = "mario andretti"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 round where a back named Ed Cody can be found?

### Context:
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Date has a Record of 29–47?

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

### Response:

### Response:
SELECT date FROM table_name_4 WHERE record = "29–47"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every CFL team with pick#1?

### Context:
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 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:
Where is the company with estimated revenue of 33.3 billion headquartered?

### Context:
CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR)

### Response:

### Response:
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.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:
How many ends won catagories are listed when there are 8 stolen ends?

### Context:
CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)

### Response:

### Response:
SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which series episode has a netflix figure of s04e21?

### Context:
CREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR)

### Response:

### Response:
SELECT series_ep FROM table_name_45 WHERE netflix = "s04e21"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 from Conquest Racing had the best time of 1:34.748 in Qual 1?

### Context:
CREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR)

### Response:

### Response:
SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many votes did the security guard get?

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

### Response:

### Response:
SELECT votes FROM table_name_78 WHERE occupation = "security guard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which ship was sunk at 01:00?

### Context:
CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 project ids and the number of documents in each project.

### Context:
CREATE TABLE Documents (project_id VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential?

### Context:
CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)

### Response:

### Response:
SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When 1546 is inns of court and chancery what is the finsbury division?

### Context:
CREATE TABLE table_16677738_1 (finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR)

### Response:

### Response:
SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the high rebounds for 17-33

### Context:
CREATE TABLE table_23274514_7 (high_rebounds VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the tie no when Wrexham was the away team?

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

### Response:

### Response:
SELECT tie_no FROM table_name_97 WHERE away_team = "wrexham"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a Reaction Time larger than 0.17500000000000002, and a Lane of 3?

### Context:
CREATE TABLE table_name_62 (time VARCHAR, reaction_time VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT COUNT(time) FROM table_name_62 WHERE reaction_time > 0.17500000000000002 AND lane = 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 Engine has a Year that's Larger than 2006 and Power of BHP (KW)?

### Context:
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"</s>


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

### Context:
CREATE TABLE table_28846752_4 (average VARCHAR, highest_score VARCHAR)

### Response:

### Response:
SELECT average FROM table_28846752_4 WHERE highest_score = "151"</s>


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

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

### Response:

### Response:
SELECT visitor FROM table_name_78 WHERE score = "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 is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?

### Context:
CREATE TABLE table_name_58 (starts INTEGER, money_list_rank VARCHAR, top_25 VARCHAR)

### Response:

### Response:
SELECT AVG(starts) FROM table_name_58 WHERE money_list_rank = "108" AND top_25 > 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:
Name the year for willie goggin

### Context:
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)

### Response:

### Response:
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin"</s>


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

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Byes that has Ballarat FL of Sunbury against more than 1167?

### Context:
CREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl = "sunbury" AND against > 1167</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 ends when the transfer fee was dkk 14m?

### Context:
CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR)

### Response:

### Response:
SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the highest Decile for roll more than 325 and area of warkworth

### Context:
CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)

### Response:

### Response:
SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_26 WHERE date = "24 july 2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the titles of items that received both a rating higher than 8 and a rating below 5.

### Context:
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)

### Response:

### Response:
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 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 US Country released an album of singles only in 1967?

### Context:
CREATE TABLE table_name_30 (us_country VARCHAR, album VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT us_country FROM table_name_30 WHERE album = "singles only" AND year = 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's the earliest year anybody joined the hockey league?

### Context:
CREATE TABLE table_16384648_2 (joined_tschl INTEGER)

### Response:

### Response:
SELECT MIN(joined_tschl) FROM table_16384648_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 full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?

### Context:
CREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.first_name, T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id = T2.staff_id JOIN customer AS T3 ON T2.customer_id = T3.customer_id WHERE T3.first_name = 'APRIL' AND T3.last_name = 'BURNS'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What race has a Pole Position of Jacques Laffite?

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

### Response:

### Response:
SELECT race FROM table_name_25 WHERE pole_position = "jacques laffite"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 bronze number for the nation with less than 0 gold?

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

### Response:

### Response:
SELECT MIN(bronze) FROM table_name_53 WHERE 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:
Name the date for result loss for duke

### Context:
CREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lieutenant governor to the governor that left office on October 16, 2000?

### Context:
CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR)

### Response:

### Response:
SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 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:
how many video out connections does the sounddock portable have?

### Context:
CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR)

### Response:

### Response:
SELECT COUNT(video_out) FROM table_24384861_1 WHERE version = "SoundDock Portable"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 original names of the districts where the population in the 2010 census was 210450?

### Context:
CREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)

### Response:

### Response:
SELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = 210450</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 greatest number of losses when the against is 1465 and there are more than 7 wins?

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

### Response:

### Response:
SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the capacity of the mine that is operated by Cyprus Amax minerals?

### Context:
CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)

### Response:

### Response:
SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 time is 11.15 and lane is bigger than 7 with notes Q, PB?

### Context:
CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the ICAO when the IATA shows mfm?

### Context:
CREATE TABLE table_name_2 (icao VARCHAR, iata VARCHAR)

### Response:

### Response:
SELECT icao FROM table_name_2 WHERE iata = "mfm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the torque of 1.2 petrol?

### Context:
CREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT torque FROM table_name_49 WHERE name = "1.2 petrol"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%?

### Context:
CREATE TABLE table_name_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR)

### Response:

### Response:
SELECT liberal_leader FROM table_name_86 WHERE seats_won < 100 AND seats_in_house = 215 AND _percentage_of_popular_vote = "43.1%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total enrollment at Laville?

### Context:
CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 draw that has a lost less than 4, gwardia bydgoszcz as the team, with a match greater than 5?

### Context:
CREATE TABLE table_name_14 (draw INTEGER, match VARCHAR, lost VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT AVG(draw) FROM table_name_14 WHERE lost < 4 AND team = "gwardia bydgoszcz" AND match > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the PCT when the total number of games is less than 944?

### Context:
CREATE TABLE table_name_84 (pct VARCHAR, total_games INTEGER)

### Response:

### Response:
SELECT pct FROM table_name_84 WHERE total_games < 944</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue has g1 as the group?

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

### Response:

### Response:
SELECT venue FROM table_name_45 WHERE group = "g1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player had a total of 152?

### Context:
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_60 WHERE total = "152"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 FCC information of 104.5 fm frequency?

### Context:
CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)

### Response:

### Response:
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kitmaker for the team that Uwe Rapolder is the head coach of.

### Context:
CREATE TABLE table_name_84 (kitmaker VARCHAR, head_coach VARCHAR)

### Response:

### Response:
SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 report with fastest lap being felipe massa and winning driver being jenson button

### Context:
CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT report FROM table_12161822_5 WHERE fastest_lap = "Felipe Massa" AND winning_driver = "Jenson Button"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 accreditation level for the approved (awarded 05.12.12) date?

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

### Response:

### Response:
SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Wednesday has a Saturday of གཟའ་སྤེན་པ།?

### Context:
CREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR)

### Response:

### Response:
SELECT wednesday FROM table_name_23 WHERE saturday = "གཟའ་སྤེན་པ།"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Please show the most common occupation of players.

### Context:
CREATE TABLE player (Occupation VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of the year with a Team of johnson city yankees, and a Finish of 6th?

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

### Response:

### Response:
SELECT SUM(year) FROM table_name_33 WHERE team = "johnson city yankees" AND finish = "6th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 what's the swimsuit where average is 8.670

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

### Response:

### Response:
SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Nationality has a Date of 8 may 1942?

### Context:
CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result with opponent being cleveland browns

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

### Response:

### Response:
SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 placed t6 for the United States with a score of 67-69=136?

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

### Response:

### Response:
SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Chinese name that has a 31 average?

### Context:
CREATE TABLE table_11926114_1 (chinese_title VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT chinese_title FROM table_11926114_1 WHERE average = 31</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the ratings of TBS of Episode 10 and had a Japanese title of Scandal?

### Context:
CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)

### Response:

### Response:
SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the points number when 20 shows for played, and lost is 0?

### Context:
CREATE TABLE table_name_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_name_19 WHERE played = "20" AND lost = "0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the candidates when Shirley Chisholm was the incumbent?

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

### Response:

### Response:
SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What season has the champion of Nicolas Kiesa?

### Context:
CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Record of 89-67 had what loss?

### Context:
CREATE TABLE table_name_16 (loss VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_16 WHERE record = "89-67"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state of the college which player Charles is attending.

### Context:
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)

### Response:

### Response:
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Total has a Rank of 4, and a Silver larger than 2?

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

### Response:

### Response:
SELECT MIN(total) FROM table_name_11 WHERE rank = "4" 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 status' are there with a population of 90565?

### Context:
CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 highest attempts that have net yards less than 631, and 2 for the touchdowns?

### Context:
CREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)

### Response:

### Response:
SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number where the player was jimmy demaret

### Context:
CREATE TABLE table_262383_1 (runner_s__up VARCHAR)

### Response:

### Response:
SELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = "Jimmy Demaret"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What number is Tony Dixon?

### Context:
CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT number FROM table_name_22 WHERE name = "tony dixon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Kana of the Province with a Korean name of Chungcheong-Namdo?

### Context:
CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)

### Response:

### Response:
SELECT kana FROM table_name_2 WHERE korean_name = "chungcheong-namdo"</s>


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

### Context:
CREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT composer_s_ FROM table_name_85 WHERE length = "6:24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average laps completed by riders with times of +2:11.524?

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

### Response:

### Response:
SELECT AVG(laps) FROM table_name_90 WHERE time = "+2:11.524"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 car won the 1.4litre to 1.8litre award in 2001?

### Context:
CREATE TABLE table_name_17 (category VARCHAR)

### Response:

### Response:
SELECT 2001 FROM table_name_17 WHERE category = "1.4litre to 1.8litre"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the team captain when the shirt sponser is quick?

### Context:
CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)

### Response:

### Response:
SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gold with total larger than 33

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

### Response:

### Response:
SELECT gold FROM table_name_46 WHERE total > 33</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the density in places where the 2011 census gives a population of 5402?

### Context:
CREATE TABLE table_14325808_1 (density__pop_km²_ VARCHAR, population__2011_census_ VARCHAR)

### Response:

### Response:
SELECT density__pop_km²_ FROM table_14325808_1 WHERE population__2011_census_ = 5402</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the film hi no tsugi ha rekishi from?

### Context:
CREATE TABLE table_name_21 (country VARCHAR, film VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_21 WHERE film = "hi no tsugi ha rekishi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Visitor with a Score with 4 – 3?

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

### Response:

### Response:
SELECT visitor FROM table_name_35 WHERE score = "4 – 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:
Tell me the games for men's 5000 metres

### Context:
CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT games FROM table_name_18 WHERE event = "men's 5000 metres"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Against has Draws of 2, and Losses smaller than 4?

### Context:
CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 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 of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25?

### Context:
CREATE TABLE table_name_24 (lane INTEGER, nationality VARCHAR, split__50m_ VARCHAR)

### Response:

### Response:
SELECT SUM(lane) FROM table_name_24 WHERE nationality = "sweden" AND split__50m_ < 26.25</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Report for the Monaco race?

### Context:
CREATE TABLE table_name_32 (report VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT report FROM table_name_32 WHERE location = "monaco"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?

### Context:
CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (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 School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?

### Context:
CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode written by Rebecca Dameron aired on what date?

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

### Response:

### Response:
SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Bronze, when Nation is "South Africa", and when Total is less than 20?

### Context:
CREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_73 WHERE nation = "south africa" AND total < 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many neighborhoods have a station proposed at a Hospital?

### Context:
CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = "Hospital"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the crowd was greater than 19,498 who was the away team?

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

### Response:

### Response:
SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was My Lord What a Mornin' recorded?

### Context:
CREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT recording_date FROM table_name_55 WHERE title = "my lord what a mornin'"</s>