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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country has a to par larger than 5 and a player John Mahaffey?

### Context:
CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_38 WHERE to_par > 5 AND player = "john mahaffey"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?

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

### Response:

### Response:
SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which visitor has a Los Angeles home?

### Context:
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_20 WHERE home = "los angeles"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the mascot for the school founded in 1923 with the school colors of blue, red & white?

### Context:
CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)

### Response:

### Response:
SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The game on September 2, 1979 was during which week of the season?

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

### Response:

### Response:
SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979"</s>


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

### Context:
CREATE TABLE table_name_91 (lost VARCHAR, played INTEGER)

### Response:

### Response:
SELECT COUNT(lost) FROM table_name_91 WHERE played < 34</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many silver medals had a rank of 3 with bronze larger than 0?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 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:
Name the region for automatic washing machine being 60.9%

### Context:
CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)

### Response:

### Response:
SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the weight of the shortest person?

### Context:
CREATE TABLE people (Weight VARCHAR, Height VARCHAR)

### Response:

### Response:
SELECT Weight FROM people ORDER BY Height 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 highest rank for east germany with points of 128.98 and places less than 70?

### Context:
CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"?

### Context:
CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?

### Context:
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)

### Response:

### Response:
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latest year with a position of 1st at Maputo, Mozambique?

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

### Response:

### Response:
SELECT MAX(year) FROM table_name_60 WHERE position = "1st" AND venue = "maputo, mozambique"</s>


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

### Context:
CREATE TABLE table_name_18 (number INTEGER, artist VARCHAR)

### Response:

### Response:
SELECT AVG(number) FROM table_name_18 WHERE artist = "black milk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 second year class following pag-unawa?

### Context:
CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR)

### Response:

### Response:
SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?

### Context:
CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)

### Response:

### Response:
SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What city has a building with over 57 floors?

### Context:
CREATE TABLE table_name_33 (city VARCHAR, floors INTEGER)

### Response:

### Response:
SELECT city FROM table_name_33 WHERE floors > 57</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Weslake v12 get in 1966?

### Context:
CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when was the first elected when the  candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%?

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

### Response:

### Response:
SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.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 Winner of the Game on November 26?

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

### Response:

### Response:
SELECT winner FROM table_name_7 WHERE date = "november 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's the Südbayern in 1928?

### Context:
CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT südbayern FROM table_name_27 WHERE year = 1928</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ilie Năstase beat runner-up Peter Fleming what year was it?

### Context:
CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_56 WHERE champion = "ilie năstase" AND runner_up = "peter fleming"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's cameron dantley's total avg/g for loss less than 35?

### Context:
CREATE TABLE table_name_69 (avg_g VARCHAR, name VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT COUNT(avg_g) FROM table_name_69 WHERE name = "cameron dantley" AND loss < 35</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE GERMAN NAME OF LIBERALISM?

### Context:
CREATE TABLE table_name_85 (name__german_ VARCHAR, ideology VARCHAR)

### Response:

### Response:
SELECT name__german_ FROM table_name_85 WHERE ideology = "liberalism"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the least week for september 19, 1976

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

### Response:

### Response:
SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 John Belisle, Kosta Tsetsekas stamp issued?

### Context:
CREATE TABLE table_name_43 (date_of_issue VARCHAR, design VARCHAR)

### Response:

### Response:
SELECT date_of_issue FROM table_name_43 WHERE design = "john belisle, kosta tsetsekas"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has attendance listed as 45,024?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Laura Diaz's score for place t9?

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

### Response:

### Response:
SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 members did Europe have the year that America had 403892?

### Context:
CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)

### Response:

### Response:
SELECT europe FROM table_1914090_2 WHERE america = 403892</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The wildcats belong to what school?

### Context:
CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_38 WHERE team = "wildcats"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What percentages of social democratic correspond to a 5.5% left bloc?

### Context:
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)

### Response:

### Response:
SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.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 being qualities for having things of friendships, family, relationships with nature

### Context:
CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR)

### Response:

### Response:
SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature"</s>


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

### Context:
CREATE TABLE table_27487336_1 (season VARCHAR, sacks VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_27487336_1 WHERE sacks = "39"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws?

### Context:
CREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)

### Response:

### Response:
SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 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 th US A.C. in 1985 with a US hot 100 of 57?

### Context:
CREATE TABLE table_name_16 (us_ac VARCHAR, year VARCHAR, us_hot_100 VARCHAR)

### Response:

### Response:
SELECT us_ac FROM table_name_16 WHERE year = 1985 AND us_hot_100 = "57"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT OPPONENT WAS ON OCTOBER 7?

### Context:
CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponent_number FROM table_name_37 WHERE date = "october 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:
Name the opponent for record 10-13-3

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

### Response:

### Response:
SELECT opponent FROM table_27537870_5 WHERE record = "10-13-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest pick of the back player from round 28?

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

### Response:

### Response:
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Date has a Name of thuin circuit?

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

### Response:

### Response:
SELECT date FROM table_name_26 WHERE name = "thuin circuit"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the athlete with a time of 30:48?

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

### Response:

### Response:
SELECT athlete FROM table_name_9 WHERE time = "30:48"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 professionals live in a city containing the substring 'West'? List his or her role, street, city and state.

### Context:
CREATE TABLE professionals (role_code VARCHAR, street VARCHAR, city VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT role_code, street, city, state FROM professionals WHERE city LIKE '%West%'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the lowest ranking rower from Great Britain?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain"</s>


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

### Context:
CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)

### Response:

### Response:
SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the player who joined the Vancouver Canucks originally hail from?

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

### Response:

### Response:
SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visiting team wound up with a final score of 18-40?

### Context:
CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)

### Response:

### Response:
SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what Week is the Rome Tournament?

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

### Response:

### Response:
SELECT week FROM table_name_70 WHERE tournament = "rome"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank has a status of proposed, with 80 floors for Celestia Spaces 4?

### Context:
CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 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 pick number for tulane university?

### Context:
CREATE TABLE table_name_23 (pick INTEGER, school VARCHAR)

### Response:

### Response:
SELECT SUM(pick) FROM table_name_23 WHERE school = "tulane university"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of episodes for クロサギ?

### Context:
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)

### Response:

### Response:
SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high was the amount of winnings (in $) in the year with 15 starts?

### Context:
CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)

### Response:

### Response:
SELECT winnings FROM table_2182562_2 WHERE starts = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most number in season for production code 3abc12

### Context:
CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show ids, customer ids, names for all accounts.

### Context:
CREATE TABLE Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)

### Response:

### Response:
SELECT account_id, customer_id, account_name FROM Accounts</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school/s with is size of 604.

### Context:
CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)

### Response:

### Response:
SELECT school FROM table_1984697_85 WHERE size = 604</s>


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

### Context:
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_51 WHERE iata = "muc"</s>


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

### Context:
CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 current map designation of the feature which was named for discovery rupes?

### Context:
CREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR)

### Response:

### Response:
SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
with a record of 68-80 what was the loss?

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

### Response:

### Response:
SELECT loss FROM table_name_67 WHERE record = "68-80"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year has a Genre of rock (track)?

### Context:
CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR)

### Response:

### Response:
SELECT SUM(year) FROM table_name_3 WHERE genre = "rock (track)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height in ft for the player from wyoming

### Context:
CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)

### Response:

### Response:
SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week 13, who was the opponent?

### Context:
CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_98 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:
How many different municipal mayors were there in the municipality with an area of 42.66 km2?

### Context:
CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)

### Response:

### Response:
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many touchdowns were the when there was more than 1.0 extra point?

### Context:
CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)

### Response:

### Response:
SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.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 1994 finish in the event that had a 1998 finish of 2R?

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

### Response:

### Response:
SELECT 1994 FROM table_name_22 WHERE 1998 = "2r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The UFC 44 event has what method?

### Context:
CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT method FROM table_name_98 WHERE event = "ufc 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 driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?

### Context:
CREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0?

### Context:
CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)

### Response:

### Response:
SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 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:
In what division will you find the team nicknamed the Silver Eagles

### Context:
CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team is sponsored by chameleon sunglasses?

### Context:
CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Away Competition had a Result of lost 2-4?

### Context:
CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-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:
How many Podiums have a Class of 250cc, and an F laps of 0?

### Context:
CREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)

### Response:

### Response:
SELECT SUM(podiums) FROM table_name_18 WHERE class = "250cc" AND f_laps = 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 tournament has an opponent jung jae-sung lee yong-dae?

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

### Response:

### Response:
SELECT tournament FROM table_name_59 WHERE opponent = "jung jae-sung lee yong-dae"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The match that went 1 round, and had a method of submission (rear-naked choke) had what record?

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

### Response:

### Response:
SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Game has a Series of flyers win 3–0? Question 3

### Context:
CREATE TABLE table_name_8 (game INTEGER, series VARCHAR)

### Response:

### Response:
SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–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 date did Toumani Diagouraga, who played position MF, start?

### Context:
CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team for chris duhon , nate robinson , david lee (3)

### Context:
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes were listed as number 29 in the series?

### Context:
CREATE TABLE table_22265225_1 (no_in_season VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_season) FROM table_22265225_1 WHERE no_in_series = "29"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away teams score when Hawthorn played as the home team?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the most year for money list rank is 74

### Context:
CREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 print resolution (FPI) for December 2002?

### Context:
CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)

### Response:

### Response:
SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_86 WHERE date = "november 15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away team that played against Melbourne?

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

### Response:

### Response:
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time/retired with laps less than 33 and a grid of 14?

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

### Response:

### Response:
SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 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:
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?

### Context:
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)

### Response:

### Response:
SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The indicative of si måchan has what as the inverse subjunctive?

### Context:
CREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR)

### Response:

### Response:
SELECT inverse_subjunctive FROM table_name_8 WHERE indicative = "si måchan"</s>


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

### Context:
CREATE TABLE table_1769428_2 (season INTEGER, winning_driver VARCHAR)

### Response:

### Response:
SELECT MAX(season) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"</s>


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

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

### Response:

### Response:
SELECT team FROM table_name_53 WHERE year < 1994</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team played against Al-Ismaily (team 1)?

### Context:
CREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR)

### Response:

### Response:
SELECT team_2 FROM table_name_79 WHERE team_1 = "al-ismaily"</s>


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

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

### Response:

### Response:
SELECT avgatt FROM table_name_90 WHERE rank = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?

### Context:
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)

### Response:

### Response:
SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most cup goals for seasson 1911-12?

### Context:
CREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR)

### Response:

### Response:
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-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 stage was won by Bernard Hinault and had a Points classification of Francesco Moser?

### Context:
CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)

### Response:

### Response:
SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"</s>


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

### Context:
CREATE TABLE table_name_85 (distance__km_ VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT distance__km_ FROM table_name_85 WHERE station = "funao"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What model number uses standard voltage socket?

### Context:
CREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR)

### Response:

### Response:
SELECT model_number FROM table_name_48 WHERE socket = "standard voltage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing manager when the date of vacancy is 13 october 2008?

### Context:
CREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)

### Response:

### Response:
SELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = "13 october 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 mean level number when the example name is lower snake and the approximate number is hus is less than 370?

### Context:
CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)

### Response:

### Response:
SELECT AVG(level) FROM table_name_42 WHERE example_name = "lower snake" AND number_of_hus__approximate_ < 370</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title directed by reginald hudlin

### Context:
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?

### Context:
CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)

### Response:

### Response:
SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang"</s>


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

### Context:
CREATE TABLE Accounts (STATEMENT_ID VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What episode had a run time of 23:38?

### Context:
CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR)

### Response:

### Response:
SELECT episode FROM table_2108684_1 WHERE run_time = "23: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 is the special edition where the english version is nick stewart?

### Context:
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)

### Response:

### Response:
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tyre that was made by cooper - bristol that was driven by bob gerard?

### Context:
CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_77 WHERE constructor = "cooper - bristol" AND driver = "bob gerard"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city of the airport which is the source for the most number of flight routes.

### Context:
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)

### Response:

### Response:
SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid 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 days were games played at Hofstra Stadium?

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

### Response:

### Response:
SELECT date FROM table_name_20 WHERE field = "hofstra stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of Game 16?

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

### Response:

### Response:
SELECT score FROM table_name_4 WHERE game = "16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of wins of a team?

### Context:
CREATE TABLE table_19741316_1 (wins INTEGER)

### Response:

### Response:
SELECT MIN(wins) FROM table_19741316_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:
When Oscar Míguez had over 107 goals, what was the lowest he ranked?

### Context:
CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Region that has a growth of −3.6%?

### Context:
CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What municipality where the human development index in the year 2000 was 0.7827?

### Context:
CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)

### Response:

### Response:
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 top place with over 24 points and more than 14 played?

### Context:
CREATE TABLE table_name_41 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)

### Response:

### Response:
SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 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:
Who are the away teams when subiaco oval was the grounds?

### Context:
CREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people attended the game against Clemson?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_34 WHERE opponent = "clemson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 account name, id and the number of transactions for each account.

### Context:
CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)

### Response:

### Response:
SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total with one hand clean and jerk is 87.5 and snatch is 87.5

### Context:
CREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR)

### Response:

### Response:
SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.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 Latin term for the Greek symbol μ?

### Context:
CREATE TABLE table_name_80 (latin VARCHAR, greek VARCHAR)

### Response:

### Response:
SELECT latin FROM table_name_80 WHERE greek = "μ"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city has an ICAO of TBA?

### Context:
CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_84 WHERE icao = "tba"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 towns exist on the government area with a surface of 110 square kilometers?

### Context:
CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR)

### Response:

### Response:
SELECT MIN(towns) FROM table_23685890_2 WHERE land_area__km²_ = "110"</s>


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

### Context:
CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_6 WHERE place = "t5"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 less than 28,505 attendance?

### Context:
CREATE TABLE table_name_80 (year INTEGER, attendance INTEGER)

### Response:

### Response:
SELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 scored of the team positioned lower than 10?

### Context:
CREATE TABLE table_name_72 (scored VARCHAR, position INTEGER)

### Response:

### Response:
SELECT COUNT(scored) FROM table_name_72 WHERE position > 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:
List the names of mountains that do not have any climber.

### Context:
CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)

### Response:

### Response:
SELECT Name FROM mountain WHERE NOT Mountain_ID IN (SELECT Mountain_ID FROM climber)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the high points in game is 81?

### Context:
CREATE TABLE table_27703902_9 (high_points VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_27703902_9 WHERE game = 81</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which opponent has a Record of 4-5?

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

### Response:

### Response:
SELECT opponent FROM table_name_31 WHERE record = "4-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:
List the writers who have written more than one book.

### Context:
CREATE TABLE book (Writer VARCHAR)

### Response:

### Response:
SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430

### Context:
CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)

### Response:

### Response:
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
From where did the train that arrived in the Anand Vihar Terminal originate?

### Context:
CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR)

### Response:

### Response:
SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal"</s>


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

### Context:
CREATE TABLE table_189893_1 (population__2011_ INTEGER)

### Response:

### Response:
SELECT MIN(population__2011_) FROM table_189893_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 was the highest peak position for the album one of the boys?

### Context:
CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)

### Response:

### Response:
SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys"</s>


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

### Context:
CREATE TABLE table_name_13 (place INTEGER, lost INTEGER)

### Response:

### Response:
SELECT AVG(place) FROM table_name_13 WHERE lost > 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?

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

### Response:

### Response:
SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 worked with Dana Dorian as the writer?

### Context:
CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)

### Response:

### Response:
SELECT director_s_ FROM table_name_44 WHERE writer_s_ = "dana dorian"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 years when the grizzlies had a point guard who attended the school/club Florida?

### Context:
CREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)

### Response:

### Response:
SELECT years_for_grizzlies FROM table_name_56 WHERE position = "point guard" AND school_club_team = "florida"</s>


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

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

### Response:

### Response:
SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names for top three branches with most number of membership?

### Context:
CREATE TABLE branch (name VARCHAR, membership_amount VARCHAR)

### Response:

### Response:
SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance for july 18?

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

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_84 WHERE date = "july 18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the total number of directors who've directed episodes seen by 11.34 million US viewers?

### Context:
CREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = "11.34"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the start time for december 24, 2005

### Context:
CREATE TABLE table_name_48 (start_time VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT start_time FROM table_name_48 WHERE date = "december 24, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?

### Context:
CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score with a Home of colorado, and a Date with may 11?

### Context:
CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_72 WHERE home = "colorado" AND date = "may 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:
Who was the leading scorer against the visiting team Bulls?

### Context:
CREATE TABLE table_name_96 (leading_scorer VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT leading_scorer FROM table_name_96 WHERE visitor = "bulls"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What location is listed from 2005-2010?

### Context:
CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR)

### Response:

### Response:
SELECT location FROM table_26476336_2 WHERE years = "2005-2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament has a 2010 of 1r, and a 2008 of 1r?

### Context:
CREATE TABLE table_name_4 (tournament VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_4 WHERE 2010 = "1r" AND 2008 = "1r"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was at Corio Oval on 4 June 1927?

### Context:
CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the total number of 2012 births for the January–December 2012 Tver Oblast region?

### Context:
CREATE TABLE table_25703_2 (birth_2012 INTEGER, january_december_2012 VARCHAR)

### Response:

### Response:
SELECT MIN(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Tver Oblast"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 iHeartRadio of the Bronson and Christine Show?

### Context:
CREATE TABLE table_name_74 (iheartradio VARCHAR, show VARCHAR)

### Response:

### Response:
SELECT iheartradio FROM table_name_74 WHERE show = "bronson and christine"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2012 value with a 1r in 2011 in the Australian Open?

### Context:
CREATE TABLE table_name_6 (tournament VARCHAR)

### Response:

### Response:
SELECT 2012 FROM table_name_6 WHERE 2011 = "1r" AND tournament = "australian open"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the department name of the instructor whose name contains 'Soisalon'.

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

### Response:

### Response:
SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament had a Score of 6–3, 2–6, [10–8]?

### Context:
CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Opponent has an Attendance that is 26,880?

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

### Response:

### Response:
SELECT opponent FROM table_name_86 WHERE attendance = "26,880"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What air date had 1.01 million U.S. viewers?

### Context:
CREATE TABLE table_28334498_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = "1.01"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What score has detroit as the home and february 17 as the date?

### Context:
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_6 WHERE home = "detroit" AND date = "february 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 was the date of the record of 43-28?

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

### Response:

### Response:
SELECT date FROM table_name_69 WHERE record = "43-28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What females speak Romanian?

### Context:
CREATE TABLE table_name_71 (females VARCHAR, language VARCHAR)

### Response:

### Response:
SELECT females FROM table_name_71 WHERE language = "romanian"</s>


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

### Context:
CREATE TABLE table_name_15 (location VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_15 WHERE opponent = "lyoto machida"</s>


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

### Context:
CREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT leading_scorer FROM table_name_8 WHERE date = "april 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 was the lowest number of wins for the team that scored more than 14 points and had a position of 7?

### Context:
CREATE TABLE table_name_78 (wins INTEGER, position VARCHAR, scored VARCHAR)

### Response:

### Response:
SELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins did the player have in the Formula BMW World Final?

### Context:
CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9?

### Context:
CREATE TABLE table_name_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Jacques Villeneuve was on what grid?

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

### Response:

### Response:
SELECT grid FROM table_name_84 WHERE driver = "jacques villeneuve"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Prohibition ticket has a Socialist Labor ticket of joseph smith?

### Context:
CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)

### Response:

### Response:
SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph 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 lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?

### Context:
CREATE TABLE table_name_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR)

### Response:

### Response:
SELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 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:
when the value (int $1000) is 409566, what is the commodity?

### Context:
CREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR)

### Response:

### Response:
SELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In the country Switzerland, what is the total trade?

### Context:
CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the athens xi where dada xi b is strikers fc?

### Context:
CREATE TABLE table_28759261_5 (athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR)

### Response:

### Response:
SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers 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:
How many times is the original artist Alicia keys?

### Context:
CREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = "Alicia Keys"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 score with marek dupnitsa as opponent?

### Context:
CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra?

### Context:
CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)

### Response:

### Response:
SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra"</s>


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

### Context:
CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT result FROM table_1341604_10 WHERE district = "Florida 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 nationality has steve kerr as the player?

### Context:
CREATE TABLE table_name_95 (nationality VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_95 WHERE player = "steve kerr"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What competition has a Result of 1–2?

### Context:
CREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_73 WHERE result = "1–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 highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?

### Context:
CREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR)

### Response:

### Response:
SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Director Erik Matti's Producer?

### Context:
CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR)

### Response:

### Response:
SELECT producer FROM table_name_57 WHERE director = "erik matti"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the last 5 meetings when Columbia was mu, 4-2?

### Context:
CREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR)

### Response:

### Response:
SELECT last_5_meetings FROM table_name_6 WHERE at_columbia = "mu, 4-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 height of the player born on June 24, 1964, with a weight over 84 kg?

### Context:
CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)

### Response:

### Response:
SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What largest bronze number has a gold number that is bigger than 1?

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

### Response:

### Response:
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which building has 26 storeys?

### Context:
CREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR)

### Response:

### Response:
SELECT building FROM table_name_42 WHERE storeys = 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 are the results for the game with 82,113 attending?

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

### Response:

### Response:
SELECT result FROM table_name_41 WHERE attendance = "82,113"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest number of safeties?

### Context:
CREATE TABLE table_25642873_2 (safeties INTEGER)

### Response:

### Response:
SELECT MIN(safeties) FROM table_25642873_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 Country, when Player is "Dow Finsterwald"?

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

### Response:

### Response:
SELECT country FROM table_name_54 WHERE player = "dow finsterwald"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What grade did jockey Robby Albarado get when racing with Ravens Pass?

### Context:
CREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)

### Response:

### Response:
SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30?

### Context:
CREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?

### Context:
CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?

### Context:
CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)

### Response:

### Response:
SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 uni# of the person with the first name Todd?

### Context:
CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)

### Response:

### Response:
SELECT MAX(uni_number) FROM table_name_32 WHERE first = "todd"</s>


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

### Context:
CREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT position_in_2006 FROM table_name_77 WHERE team = "dnepr"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 cuts made where the top 25 is less than 6 and the top-5 is more than 0?

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

### Response:

### Response:
SELECT SUM(cuts_made) FROM table_name_90 WHERE top_25 < 6 AND top_5 > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the release date of Martial Law: Take Out?

### Context:
CREATE TABLE table_name_45 (release_date VARCHAR, release_title VARCHAR)

### Response:

### Response:
SELECT release_date FROM table_name_45 WHERE release_title = "martial law: take out"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for opened for the Nascar Major Series?

### Context:
CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)

### Response:

### Response:
SELECT opened FROM table_name_84 WHERE major_series = "nascar"</s>