<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 in season is the episode directed by Gene Stupnitsky?

### Context:
CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT no_in_season FROM table_17482534_1 WHERE directed_by = "Gene Stupnitsky"</s>


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

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

### Response:

### Response:
SELECT engine FROM table_name_24 WHERE chassis = "lotus 44 f2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the 2008 of 2001 olympic games

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

### Response:

### Response:
SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 date that Morocco has an Against along with a surface of hard?

### Context:
CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 method of resolution when Mikhail Ilyukhin's record was 4-0?

### Context:
CREATE TABLE table_name_92 (method VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT method FROM table_name_92 WHERE record = "4-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 having things for privacy, intimate spaces of togetherness

### Context:
CREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR)

### Response:

### Response:
SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score of misa eguchi eri hozumi

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

### Response:

### Response:
SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 new council number when the election result is smaller than 0?

### Context:
CREATE TABLE table_name_57 (new_council INTEGER, election_result INTEGER)

### Response:

### Response:
SELECT AVG(new_council) FROM table_name_57 WHERE election_result < 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 scoreboard for total being 23.5

### Context:
CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT scoreboard FROM table_21234111_6 WHERE total = "23.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:
Name the reward eliminated hilca

### Context:
CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)

### Response:

### Response:
SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Whose is the manufacturer for team Ranier-Lundy?

### Context:
CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT manufacturer FROM table_2268216_1 WHERE team = "Ranier-Lundy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 Goals scored that has more than 45 Points?

### Context:
CREATE TABLE table_name_74 (goals_scored VARCHAR, points INTEGER)

### Response:

### Response:
SELECT COUNT(goals_scored) FROM table_name_74 WHERE points > 45</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many values reflect the overall record of the team coached by Frank Beamer?

### Context:
CREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR)

### Response:

### Response:
SELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = "Frank Beamer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 santiago del estero is the hometown who is the contestant?

### Context:
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero"</s>


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

### Context:
CREATE TABLE table_name_8 (section VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT section FROM table_name_8 WHERE position = "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:
How many average 100s were there for Tim Bresnan?

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

### Response:

### Response:
SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the fewest Laps for Huub Rothengatter and grid less than 24

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

### Response:

### Response:
SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 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 goals less than 41 that goalkeeper Claudio Bravo had?

### Context:
CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)

### Response:

### Response:
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What place is player Brad Faxon from?

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

### Response:

### Response:
SELECT place FROM table_name_33 WHERE player = "brad faxon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What percentage of Slovenes lived in the village of Roach in 1951?

### Context:
CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)

### Response:

### Response:
SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?

### Context:
CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR)

### Response:

### Response:
SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"</s>


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

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

### Response:

### Response:
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the try bonus for when tries against is 43?

### Context:
CREATE TABLE table_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR)

### Response:

### Response:
SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "43"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average decile for te puru school?

### Context:
CREATE TABLE table_name_84 (decile INTEGER, name VARCHAR)

### Response:

### Response:
SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the director that had a recipient of Redbag Pictures Ltd?

### Context:
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)

### Response:

### Response:
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which week was the game held at Kingdome on October 13, 1991?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_71 WHERE game_site = "kingdome" AND date = "october 13, 1991"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the census division for the city named Kenora?

### Context:
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Railway number(s) has a Year(s) of manufacture of 1899–1907?

### Context:
CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)

### Response:

### Response:
SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Result, when Date is "2000-05-23"?

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

### Response:

### Response:
SELECT result FROM table_name_57 WHERE date = "2000-05-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:
Name the college/junior club team for john campbell

### Context:
CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rangers' record on Game 14?

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

### Response:

### Response:
SELECT record FROM table_name_44 WHERE game = 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?

### Context:
CREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_64 WHERE voltage = "1.6v" AND part_number_s_ = "kp80524kx300256kc80524kx300256pmg30002002aa"</s>


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

### Context:
CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)

### Response:

### Response:
SELECT SUM(pick) FROM table_name_99 WHERE position = "guard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Anna Khlistunova's Nationality?

### Context:
CREATE TABLE table_name_20 (nationality VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_20 WHERE name = "anna khlistunova"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?

### Context:
CREATE TABLE table_name_25 (song VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many overalls has 1 combined and 24 downhills?

### Context:
CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR)

### Response:

### Response:
SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "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 Mark, when Lane is less than 5, and when React is 0.217?

### Context:
CREATE TABLE table_name_88 (mark VARCHAR, lane VARCHAR, react VARCHAR)

### Response:

### Response:
SELECT mark FROM table_name_88 WHERE lane < 5 AND react = 0.217</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the different nationalities and the number of journalists of each nationality.

### Context:
CREATE TABLE journalist (Nationality VARCHAR)

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 appearances did Gary Depalma make when he scored less than 30 goals?

### Context:
CREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT appearances FROM table_name_75 WHERE goals < 30 AND name = "gary depalma"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result for Thirst in 2010 at the Green Globe Film Awards?

### Context:
CREATE TABLE table_name_91 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_91 WHERE film_series = "thirst" AND year = 2010 AND group = "green globe film awards"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What kansas vs. that has w 2 as the current streak, and 31 as games played?

### Context:
CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)

### Response:

### Response:
SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "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 F Player was previously with the New York Knicks?

### Context:
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"</s>


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

### Context:
CREATE TABLE table_name_9 (loss VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT loss FROM table_name_9 WHERE time = "2:42"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Result has a Game of game 1?

### Context:
CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_86 WHERE game = "game 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who are the candidates for district new york 10?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the director of the episode written by Russell T Davies and James Moran?

### Context:
CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What horse was shown by with Britta Näpel and got less than 71.909?

### Context:
CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT horse FROM table_name_61 WHERE athlete = "britta näpel" AND result < 71.909</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Seahawks play when the listed attendance was 61615?

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

### Response:

### Response:
SELECT opponent FROM table_13258876_2 WHERE attendance = 61615</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Retrieve the open and close dates of all the policies associated with the customer whose name contains "Diana"

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

### Response:

### Response:
SELECT t2.date_opened, t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE "%Diana%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the nationality when the heat is less than 3 and the time is 2:35.31?

### Context:
CREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_81 WHERE heat < 3 AND time = "2:35.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 is the hometown of Cody Zeller?

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

### Response:

### Response:
SELECT hometown FROM table_name_83 WHERE player = "cody zeller"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many bronze medals were won in 1998?

### Context:
CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT bronze FROM table_name_27 WHERE year = "1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on the September 3 game?

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

### Response:

### Response:
SELECT opponent FROM table_name_38 WHERE date = "september 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the record with result being w 21–7

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

### Response:

### Response:
SELECT record FROM table_14951643_1 WHERE result = "W 21–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 years does Our Lady Sacred Heart School, which is state integrated, have?

### Context:
CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the finalist when the winner was First Vienna FC?

### Context:
CREATE TABLE table_name_83 (finalist VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT finalist FROM table_name_83 WHERE winner = "first vienna fc"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If podiums are 26, what's the lowest WChmp?

### Context:
CREATE TABLE table_name_49 (wchmp INTEGER, podiums VARCHAR)

### Response:

### Response:
SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when Player is "Jeff Maggert"?

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

### Response:

### Response:
SELECT score FROM table_name_76 WHERE player = "jeff maggert"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 opening when white is Anand with fewer than 61 moves for a result of  ½–½?

### Context:
CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR)

### Response:

### Response:
SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the names of poker players ordered by the final tables made in ascending order.

### Context:
CREATE TABLE poker_player (People_ID VARCHAR, Final_Table_Made VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)

### Response:

### Response:
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 bonus points when there are 2 drawn and the points against is 599?

### Context:
CREATE TABLE table_name_83 (bonus_points VARCHAR, drawn VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT bonus_points FROM table_name_83 WHERE drawn = "2" AND points_against = "599"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winning team for circuit zolder?

### Context:
CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)?

### Context:
CREATE TABLE table_name_31 (launched VARCHAR, time_elapsed VARCHAR)

### Response:

### Response:
SELECT launched FROM table_name_31 WHERE time_elapsed = "1991 days (5 yr, 5 mo, 12 d)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team had a year entering the league under 2009, located in Bath?

### Context:
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the player is Marcelo, what is the minimum R?

### Context:
CREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR)

### Response:

### Response:
SELECT MIN(r) FROM table WHERE player = Marcelo</s>


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

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

### Response:

### Response:
SELECT country FROM table_name_90 WHERE player = "todd hamilton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the constructor of driver Alexander Wurz?

### Context:
CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_84 WHERE driver = "alexander wurz"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?

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

### Response:

### Response:
SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Notes after 1983 have a Position of 18th?

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

### Response:

### Response:
SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 term of Bruce Biers Kendall whose hometown is Anchorage?

### Context:
CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team had a qualifying 2 time of 1:01.093?

### Context:
CREATE TABLE table_name_11 (team VARCHAR, qual_2 VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_11 WHERE qual_2 = "1:01.093"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bmw activee is the vehicle type what is the u.s national average electric mix?

### Context:
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)

### Response:

### Response:
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower?

### Context:
CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 that has a Constructor of brm, tony maggs, and a Laps larger than 102?

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

### Response:

### Response:
SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the place that has a census ranking of 1,229 of 5,008?

### Context:
CREATE TABLE table_name_63 (official_name VARCHAR, census_ranking VARCHAR)

### Response:

### Response:
SELECT official_name FROM table_name_63 WHERE census_ranking = "1,229 of 5,008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Class for the ERP W of more than 2 and the call sign of w223au?

### Context:
CREATE TABLE table_name_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = "w223au"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 publisher of the book titled daughters of an emerald dusk?

### Context:
CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)

### Response:

### Response:
SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the incumbent for first elected 1958

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

### Response:

### Response:
SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1958</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?

### Context:
CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)

### Response:

### Response:
SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"</s>


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

### Context:
CREATE TABLE table_name_33 (air_date VARCHAR, episode_number VARCHAR)

### Response:

### Response:
SELECT air_date FROM table_name_33 WHERE episode_number = 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 number has 2008 as the season?

### Context:
CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT number FROM table_name_38 WHERE season = "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 was the Sp of the 2nd Position?

### Context:
CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total number of games with more than 20 points for the 1976 season?

### Context:
CREATE TABLE table_name_89 (games VARCHAR, season VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT COUNT(games) FROM table_name_89 WHERE season = "1976" AND points > 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:
Who were the candidates when Lamar S. Smith was incumbent?

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

### Response:

### Response:
SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?

### Context:
CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)

### Response:

### Response:
SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the highest silver for table tennis and bronze more than 0

### Context:
CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points total for san lorenzo?

### Context:
CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 h.264 is 9.0, how much is vp9 ( webm )

### Context:
CREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, h264 VARCHAR)

### Response:

### Response:
SELECT vp9___webm__ FROM table_26099252_1 WHERE h264 = "9.0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?

### Context:
CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)

### Response:

### Response:
SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006?

### Context:
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)

### Response:

### Response:
SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which round 5 Grand Prix had Daijiro Hiura at pole position?

### Context:
CREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT grand_prix FROM table_18303274_1 WHERE pole_position = "Daijiro Hiura" AND round = 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:
Name the order number for 1960s

### Context:
CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT order__number FROM table_19508635_1 WHERE theme = "1960s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which school/club team has a player named Mark Sanford?

### Context:
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ?

### Context:
CREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR)

### Response:

### Response:
SELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = "#1 Patrón Highcroft Racing" AND gtc_winning_team = "#81 Alex Job Racing"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Points of 26, and a Rank smaller than 27 had what sum of wins?

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

### Response:

### Response:
SELECT SUM(wins) FROM table_name_82 WHERE points = 26 AND rank < 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:
Which manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams?

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

### Response:

### Response:
SELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = "jeremy mcwilliams"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score when Philadelphia was the visitor with a Record of 7–4–0?

### Context:
CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the athlete in the 56kg event having a did not advance in the finals?

### Context:
CREATE TABLE table_name_65 (athlete VARCHAR, finals VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT athlete FROM table_name_65 WHERE finals = "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:
What is the name of the activity that has the most faculty members involved in?

### Context:
CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)

### Response:

### Response:
SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID 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 measure where the yes% is 44.06%?

### Context:
CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)

### Response:

### Response:
SELECT description FROM table_256286_39 WHERE _percentage_yes = "44.06%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years have a final score of 6–3, 6–2?

### Context:
CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_22834834_3 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:
Which Team has a Year of 2000?

### Context:
CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_45 WHERE year = 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What record has detroit as the home and mtl. maroons as the visitor?

### Context:
CREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?

### Context:
CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)

### Response:

### Response:
SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Took Office that has a Party of democrat, under the name of John Hancock

### Context:
CREATE TABLE table_name_30 (took_office VARCHAR, party VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT took_office FROM table_name_30 WHERE party = "democrat" AND name = "john hancock"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is josé maría olazábal's country?

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

### Response:

### Response:
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of games played associated with a first game in 1997 and over 0 games drawn?

### Context:
CREATE TABLE table_name_48 (played INTEGER, first_game VARCHAR, drawn VARCHAR)

### Response:

### Response:
SELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the episode whose original airdate is April 23, 2010?

### Context:
CREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR)

### Response:

### Response:
SELECT title FROM table_26982362_2 WHERE original_airdate = "April 23, 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:
Record of 3-3-1 had what lowest game?

### Context:
CREATE TABLE table_name_81 (game INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the nationality for Nicholas III?

### Context:
CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Source has a Clinton of 39% and a Undecided of 7%?

### Context:
CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)

### Response:

### Response:
SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "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 are the population and life expectancies in Brazil?

### Context:
CREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR)

### Response:

### Response:
SELECT Population, LifeExpectancy FROM country WHERE Name = "Brazil"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?

### Context:
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT opponent_in_the_final FROM table_name_69 WHERE surface = "hard" AND score = "walkover"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 volume:issue of Sheryl Crow with 3 weeks on top?

### Context:
CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency figures are given for next station service pattern?

### Context:
CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)

### Response:

### Response:
SELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = "Next station"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show all different home cities.

### Context:
CREATE TABLE driver (home_city VARCHAR)

### Response:

### Response:
SELECT DISTINCT home_city FROM driver</s>


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

### Context:
CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a 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 for the Ko (head kick) method?

### Context:
CREATE TABLE table_name_24 (record VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_24 WHERE method = "ko (head kick)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Whas is the released date of the memory type ddr2-667?

### Context:
CREATE TABLE table_name_42 (released VARCHAR, memory_type VARCHAR)

### Response:

### Response:
SELECT released FROM table_name_42 WHERE memory_type = "ddr2-667"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up in the Michelob Light Open at Kingsmill?

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

### Response:

### Response:
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the resale category for the provider NetCologne?

### Context:
CREATE TABLE table_1773908_3 (resale VARCHAR, provider VARCHAR)

### Response:

### Response:
SELECT resale FROM table_1773908_3 WHERE provider = "Netcologne"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?

### Context:
CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)

### Response:

### Response:
SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the share of votes in the 2008 (1) election?

### Context:
CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)

### Response:

### Response:
SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (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:
On what date did Goal 24 take place?

### Context:
CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_76 WHERE goal = 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:
Who were they playing when Bird (1-4) had a loss?

### Context:
CREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_42 WHERE loss = "bird (1-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 Claude Harmon's Place?

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

### Response:

### Response:
SELECT place FROM table_name_37 WHERE player = "claude harmon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time of the bout that ended in a TKO (strikes)?

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

### Response:

### Response:
SELECT time FROM table_name_83 WHERE method = "tko (strikes)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the location for a year later than 2012?

### Context:
CREATE TABLE table_name_82 (location VARCHAR, year INTEGER)

### Response:

### Response:
SELECT location FROM table_name_82 WHERE year > 2012</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many students are enrolled in the class taught by some professor from the accounting department?

### Context:
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting'</s>


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

### Context:
CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent with a points for of 177?

### Context:
CREATE TABLE table_25229283_4 (opponent VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_25229283_4 WHERE points_for = 177</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Opponent, when Date is 8 April 1999?

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

### Response:

### Response:
SELECT opponent FROM table_name_18 WHERE date = "8 april 1999"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest heat of the Lakeside race?

### Context:
CREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR)

### Response:

### Response:
SELECT MIN(heat) FROM table_name_65 WHERE race_title = "lakeside"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which nationality is the player from the Philadelphia Flyers?

### Context:
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent at the game attended by 45,000?

### Context:
CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2003 statistic for general cargo?

### Context:
CREATE TABLE table_name_94 (product VARCHAR)

### Response:

### Response:
SELECT 2003 FROM table_name_94 WHERE product = "general cargo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team's score at princes park?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most serial number for feb 1994

### Context:
CREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR)

### Response:

### Response:
SELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = "Feb 1994"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total number of opponent where date is november 23, 1980

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

### Response:

### Response:
SELECT COUNT(opponent) FROM table_11406866_2 WHERE date = "November 23, 1980"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 min total pts for team dennis conner

### Context:
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)

### Response:

### Response:
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver medals were won by the participant(s) that had more than 12 gold medals and 11 bronze medals?

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

### Response:

### Response:
SELECT silver FROM table_name_54 WHERE gold > 12 AND bronze = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?

### Context:
CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)

### Response:

### Response:
SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-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 chemical class uses the example Chloroethane (ethyl chloride)?

### Context:
CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)

### Response:

### Response:
SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name and id of the item with the highest average rating.

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

### Response:

### Response:
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) 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's the average Rd number for dane jackson with a pick number over 44?

### Context:
CREATE TABLE table_name_2 (rd__number INTEGER, player VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT AVG(rd__number) FROM table_name_2 WHERE player = "dane jackson" AND pick__number > 44</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What 20-29 was in season 2008?

### Context:
CREATE TABLE table_name_69 (season VARCHAR)

### Response:

### Response:
SELECT 20 AS _29 FROM table_name_69 WHERE season = "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 2010 of the Grand Slam Tournaments in 2011?

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

### Response:

### Response:
SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest number of goals for a game held at Hannover?

### Context:
CREATE TABLE table_name_27 (goal INTEGER, venue VARCHAR)

### Response:

### Response:
SELECT MAX(goal) FROM table_name_27 WHERE venue = "hannover"</s>


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

### Context:
CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)

### Response:

### Response:
SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = "at Minnesota Vikings"</s>


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

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

### Response:

### Response:
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii?

### Context:
CREATE TABLE table_name_65 (surface VARCHAR, round VARCHAR, edition VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_65 WHERE round = "gii play-offs" AND edition = "2009 fed cup europe/africa group ii"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Type of ud and a Round of 10 on 2008-06-11?

### Context:
CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Country has a Score of 69-74=143?

### Context:
CREATE TABLE table_name_66 (country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_66 WHERE score = 69 - 74 = 143</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent on clay surface when partnered with Horacio Zeballos?

### Context:
CREATE TABLE table_name_23 (opponents VARCHAR, surface VARCHAR, partnering VARCHAR)

### Response:

### Response:
SELECT opponents FROM table_name_23 WHERE surface = "clay" AND partnering = "horacio zeballos"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average Year, when Start is "11"?

### Context:
CREATE TABLE table_name_42 (year INTEGER, start VARCHAR)

### Response:

### Response:
SELECT AVG(year) FROM table_name_42 WHERE start = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the whole of Drawn that has a Lost of 4?

### Context:
CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)

### Response:

### Response:
SELECT SUM(drawn) FROM table_name_33 WHERE lost = 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 date was the game played at the Delta Center?

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

### Response:

### Response:
SELECT date FROM table_name_9 WHERE location = "delta center"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What chassis did Gordon Johncock use with his cosworth engine?

### Context:
CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total score / week of the contestant who placed in the bottom 2 on august 14?

### Context:
CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 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 D 46 √ with a D 41 √ with d 38 √?

### Context:
CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)

### Response:

### Response:
SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = "d 38 √"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?

### Context:
CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)

### Response:

### Response:
SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing"</s>


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

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

### Response:

### Response:
SELECT college FROM table_28059992_2 WHERE position = "DL"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the To Par that has Tommy Bolt with a Place of t6?

### Context:
CREATE TABLE table_name_6 (to_par VARCHAR, place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_6 WHERE place = "t6" AND player = "tommy bolt"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens?

### Context:
CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_83 WHERE opponent_team = "belgium" AND opponent = "kirsten flipkens"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team when the Tie no is 1?

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

### Response:

### Response:
SELECT home_team FROM table_name_32 WHERE tie_no = "1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many number of screenings have an opening film of the journey of vaan nguyen?

### Context:
CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)

### Response:

### Response:
SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 institutions can be categorized as private/united church of christ?

### Context:
CREATE TABLE table_261895_1 (institution VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?

### Context:
CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838</s>


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

### Context:
CREATE TABLE airport (country VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What group info is available for the 56.5 kg weight?

### Context:
CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)

### Response:

### Response:
SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.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 highest Extras for Farveez Maharoof, with more than 4 wickets?

### Context:
CREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR)

### Response:

### Response:
SELECT MAX(extras) FROM table_name_79 WHERE name = "farveez maharoof" AND wickets > 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 date of the 1986 FIFA World Cup?

### Context:
CREATE TABLE table_name_19 (date VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_19 WHERE competition = "1986 fifa world cup"</s>


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

### Context:
CREATE TABLE table_name_15 (laps INTEGER, year VARCHAR)

### Response:

### Response:
SELECT AVG(laps) FROM table_name_15 WHERE year = "1949"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the N117/2400 IEC3 associated with an N100IEC3 of 25?

### Context:
CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)

### Response:

### Response:
SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which governor took office on January 8, 1877?

### Context:
CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR)

### Response:

### Response:
SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date during week 13?

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

### Response:

### Response:
SELECT date FROM table_name_70 WHERE week = 13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What 1957 engine has a Chassis of connaught type b?

### Context:
CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Wha is the rank for 52 574 avg. att?

### Context:
CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_49 WHERE avgatt = "52 574"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What format was used for Mobil 1?

### Context:
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT format FROM table_name_21 WHERE catalog = "mobil 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 country does charles coody play for?

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

### Response:

### Response:
SELECT country FROM table_name_21 WHERE player = "charles coody"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What consoles was Shenmue released on?

### Context:
CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)

### Response:

### Response:
SELECT console FROM table_12887260_1 WHERE franchise_or_game = "Shenmue"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 freedom can did the people of Guinea experience in 2013?

### Context:
CREATE TABLE table_1604579_2 (freedom_in_the_world_2013 VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT freedom_in_the_world_2013 FROM table_1604579_2 WHERE country = "Guinea"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 (B), when S No is greater than 17?

### Context:
CREATE TABLE table_name_10 (team__b_ VARCHAR, s_no INTEGER)

### Response:

### Response:
SELECT team__b_ FROM table_name_10 WHERE s_no > 17</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What stroke has a max power of 109 ps(80kw)@4000 rpm?

### Context:
CREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR)

### Response:

### Response:
SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm"</s>


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

### Context:
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)

### Response:

### Response:
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "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 high grid for osella - alfa romeo, and a Laps larger than 61?

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

### Response:

### Response:
SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 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:
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas?

### Context:
CREATE TABLE table_name_83 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_83 WHERE tournament = "1st division el salvador" AND finish = "champion" AND team = "fas"</s>