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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which nation's total is less than 19 when there's less than 1 bronze?

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

### Response:

### Response:
SELECT nation FROM table_name_54 WHERE total < 19 AND bronze < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the visitor at the axa sports center in round 20?

### Context:
CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the built date when the CR number is more than 940 and the LMS number is 14760?

### Context:
CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)

### Response:

### Response:
SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_33 WHERE cfl_team = "hamilton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which faith has a name of Belswains?

### Context:
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT faith FROM table_name_40 WHERE name = "belswains"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?

### Context:
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 injured in mayurbhanj, odisha and less than 1 killed?

### Context:
CREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR)

### Response:

### Response:
SELECT MIN(injured) FROM table_name_49 WHERE place = "mayurbhanj, odisha" AND killed < 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 launch site of the satellite with a 2003-041a COSPAR ID?

### Context:
CREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_№ VARCHAR)

### Response:

### Response:
SELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_№ = "2003-041a"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 losing bonus that had 1 draw and a 10 try bonus?

### Context:
CREATE TABLE table_name_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR)

### Response:

### Response:
SELECT losing_bonus FROM table_name_51 WHERE drawn = "1" AND try_bonus = "10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest area in Alaska with a population of 39 and rank over 19?

### Context:
CREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR)

### Response:

### Response:
SELECT MAX(area__km_2__) FROM table_name_41 WHERE location = "alaska" AND population__2000_ = "39" AND rank > 19</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who owned the team Jeremy Mayfield raced for?

### Context:
CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR)

### Response:

### Response:
SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?

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

### Response:

### Response:
SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number listed under against when there were 15 losses and more than 1 win?

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

### Response:

### Response:
SELECT MAX(against) FROM table_name_97 WHERE losses = 15 AND wins > 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 Notre Dame position has a pick lower than 5 and round 7?

### Context:
CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_88 WHERE pick < 5 AND college = "notre dame" AND round = 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 competition has a Score of 7–0?

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

### Response:

### Response:
SELECT competition FROM table_name_85 WHERE score = "7–0"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
for goals less than 48 and 8 games played what is the count of losses?

### Context:
CREATE TABLE table_name_19 (losses INTEGER, games_played VARCHAR, goals_for VARCHAR)

### Response:

### Response:
SELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 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:
What was the result of the match on December 9, 1962?

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

### Response:

### Response:
SELECT result FROM table_name_78 WHERE date = "december 9, 1962"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fight against Brandon Bledsoe, how many rounds did the fight last?

### Context:
CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?

### Context:
CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the names of the swimmers who have both "win" and "loss" results in the record.

### Context:
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)

### Response:

### Response:
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games were played when the record was 26-21?

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

### Response:

### Response:
SELECT COUNT(game) FROM table_13619135_6 WHERE record = "26-21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times was incumbent Noble Jones Gregory first elected?

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

### Response:

### Response:
SELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = "Noble Jones Gregory"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Team Classification if the Winner is Cyril Dessel?

### Context:
CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT team_classification FROM table_name_30 WHERE winner = "cyril dessel"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day was St. Louis the visitor?

### Context:
CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_85 WHERE visitor = "st. louis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.

### Context:
CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)

### Response:

### Response:
SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where the length is 91', what is the year built?

### Context:
CREATE TABLE table_name_38 (year_built VARCHAR, length VARCHAR)

### Response:

### Response:
SELECT year_built FROM table_name_38 WHERE length = "91'"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record in a week less than 13 on November 9, 2003?

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

### Response:

### Response:
SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was taxidermia nominated?

### Context:
CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)

### Response:

### Response:
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has the first leg that has a round in the semi-final?

### Context:
CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT first_leg FROM table_name_53 WHERE round = "semi-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:
What was the score when the tie number was a replay and the home team was mansfield town?

### Context:
CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is 4zr's callsign?

### Context:
CREATE TABLE table_name_67 (callsign VARCHAR, on_air_id VARCHAR)

### Response:

### Response:
SELECT callsign FROM table_name_67 WHERE on_air_id = "4zr"</s>


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

### Context:
CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT population__2011_ FROM table_26321719_1 WHERE name = "Beaubassin East"</s>


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

### Context:
CREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR)

### Response:

### Response:
SELECT points_classification FROM table_29077342_19 WHERE general_classification = "Levi Leipheimer"</s>


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

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

### Response:

### Response:
SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Raw bandwidth (Mbit/s) for the SAS 300?

### Context:
CREATE TABLE table_name_8 (raw_bandwidth__mbit_s_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT raw_bandwidth__mbit_s_ FROM table_name_8 WHERE name = "sas 300"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 place when the televote/sms is 2.39%?

### Context:
CREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR)

### Response:

### Response:
SELECT SUM(place) FROM table_name_47 WHERE televote_sms = "2.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:
Who has a birth of 16 august 1401?

### Context:
CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_21 WHERE birth = "16 august 1401"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position has a height (cm) greater than 180, and brian lawton as the name?

### Context:
CREATE TABLE table_name_68 (position VARCHAR, height__cm_ VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_68 WHERE height__cm_ > 180 AND name = "brian lawton"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is channel 83 broadcasted?

### Context:
CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)

### Response:

### Response:
SELECT territory FROM table_name_86 WHERE channel = 83</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Peterson Gym is in what city?

### Context:
CREATE TABLE table_name_60 (city VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_60 WHERE venue = "peterson gym"</s>


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

### Context:
CREATE TABLE table_1998037_9 (television_commentator VARCHAR, year_s_ VARCHAR)

### Response:

### Response:
SELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the highest laps for Marco Melandri?

### Context:
CREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR)

### Response:

### Response:
SELECT MAX(laps) FROM table_name_67 WHERE rider = "marco melandri"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people are women's singles in the season of 2000/01?

### Context:
CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/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:
Which Market/Rank is associated with WCRN calls?

### Context:
CREATE TABLE table_10333757_1 (market_rank VARCHAR, calls VARCHAR)

### Response:

### Response:
SELECT market_rank FROM table_10333757_1 WHERE calls = "WCRN"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did the episode rank that was written by thomas l. moran?

### Context:
CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT rank__week_ FROM table_28026156_1 WHERE written_by = "Thomas L. Moran"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the location attendance for 20

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

### Response:

### Response:
SELECT location_attendance FROM table_17322817_6 WHERE game = 20</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the (MT) time which has kansas city chiefs as an opponent on nov 11?

### Context:
CREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT time___mt__ FROM table_name_13 WHERE opponent = "kansas city chiefs" AND date = "nov 11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What digital channel corresponds to virtual channel 23.2?

### Context:
CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR)

### Response:

### Response:
SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "23.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 highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?

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

### Response:

### Response:
SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 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:
What is the score for the game played on January 25?

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

### Response:

### Response:
SELECT score FROM table_17288825_7 WHERE date = "January 25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What tournament was held on 21 May 2006?

### Context:
CREATE TABLE table_name_80 (tournament VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_80 WHERE date = "21 may 2006"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Founded year of the school located in Paul Smiths, New York?

### Context:
CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points did the Toronto Downtown Dingos score?

### Context:
CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR)

### Response:

### Response:
SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for a match where Sophie Gustafson played?

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

### Response:

### Response:
SELECT score FROM table_name_44 WHERE player = "sophie gustafson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did the playoffs reached Conference Finals?

### Context:
CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR)

### Response:

### Response:
SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals"</s>


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

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

### Response:

### Response:
SELECT 2011 FROM table_name_31 WHERE 2008 = "134"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game smaller than 19, and Points smaller than 19, and a Score of 4–6?

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

### Response:

### Response:
SELECT record FROM table_name_24 WHERE game < 19 AND points < 19 AND score = "4–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which class starts after 1939 and has a road number smaller than 3508?

### Context:
CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508</s>


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

### Context:
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bowl game had a conference matchup of Ohio State vs. Texas?

### Context:
CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR)

### Response:

### Response:
SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa?

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

### Response:

### Response:
SELECT grid FROM table_name_5 WHERE laps > 0 AND time_retired = "engine" AND driver = "pedro de la rosa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List all the candidates for the seat where the incumbent is Sam Gibbons?

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

### Response:

### Response:
SELECT candidates FROM table_1341472_11 WHERE incumbent = "Sam Gibbons"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 st kilda was playing at home what was the away teams score?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Rome is in which country?

### Context:
CREATE TABLE table_14903081_1 (country VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT country FROM table_14903081_1 WHERE location = "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 date had a kickoff of 1:00 and a result of l 27-14?

### Context:
CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-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 was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?

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

### Response:

### Response:
SELECT AVG(week) FROM table_name_41 WHERE date = "november 29, 1970" AND attendance < 31 OFFSET 427</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theme the Year They Were Born, what is the song of choice?

### Context:
CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR)

### Response:

### Response:
SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for the catalog 32xa-112?

### Context:
CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_42 WHERE catalog = "32xa-112"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 home team with a round of 2nd and Vitória da Conquista as the way team?

### Context:
CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitória da conquista"</s>


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

### Context:
CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)

### Response:

### Response:
SELECT moving_to FROM table_name_78 WHERE nat = "tri"</s>


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

### Context:
CREATE TABLE table_21269143_1 (date VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT COUNT(date) FROM table_21269143_1 WHERE round = "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:
Which Points against has a Lost of 13, and Points for of 671?

### Context:
CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_name_9 WHERE lost = "13" AND points_for = "671"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top tens had an average start of 29.4?

### Context:
CREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR)

### Response:

### Response:
SELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = "29.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 circuit when the date is 16 april?

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

### Response:

### Response:
SELECT circuit FROM table_name_60 WHERE date = "16 april"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Winner when the Runner-up was Real Salt Lake?

### Context:
CREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_20 WHERE runner_up = "real salt lake"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 15 is the number in season what is the highest number in series?

### Context:
CREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?

### Context:
CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)

### Response:

### Response:
SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 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's the IHSAA Class Football if the panthers are the mascot?

### Context:
CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entries are listed for party during the 69th congress?

### Context:
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)

### Response:

### Response:
SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 2006 censusn population when is the administrative capital is Eleme?

### Context:
CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)

### Response:

### Response:
SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE administrative_capital = "Eleme"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the highest that has a Team of walker racing, and Wins larger than 1?

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

### Response:

### Response:
SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 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 points for have 30 as the game, and 73 as the total points?

### Context:
CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_name_92 WHERE games = "30" AND total_points = "73"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the rank for switzerland

### Context:
CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "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:
Name the To par of payne stewart?

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

### Response:

### Response:
SELECT to_par FROM table_name_4 WHERE player = "payne 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:
Name the jury of 10 points

### Context:
CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT professional_jury FROM table_14977252_2 WHERE points = 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many games did Robert Peare play?

### Context:
CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What season has a regionalliga süd league, a 1-0 home, and an away of 2-3?

### Context:
CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which airport is in Xinjiang province in the city Kuqa?

### Context:
CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"</s>


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

### Context:
CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)

### Response:

### Response:
SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge"</s>


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

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

### Response:

### Response:
SELECT builder FROM table_name_84 WHERE built = "1920"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Nat Lofthouse, and goals more than 255?

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

### Response:

### Response:
SELECT MAX(rank) FROM table_name_20 WHERE name = "nat lofthouse" AND goals > 255</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 golds have a bronze greater than 1, total as the nation, and a silver less than 18?

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

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 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:
In what stadium were the New England Patriots the visiting team?

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

### Response:

### Response:
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 individual in the event of 1998 Pokljuka?

### Context:
CREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT individual FROM table_name_33 WHERE event = "1998 pokljuka"</s>


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

### Context:
CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR)

### Response:

### Response:
SELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = "Macedonia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the total when the rank is 7 and gold is more than 0?

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

### Response:

### Response:
SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Position of the Player from Temple Hills, MD?

### Context:
CREATE TABLE table_name_86 (position VARCHAR, home_town VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_86 WHERE home_town = "temple hills, md"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all players who have a crossing score higher than 90 and prefer their right foot.

### Context:
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, crossing VARCHAR, preferred_foot VARCHAR)

### Response:

### Response:
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.crossing > 90 AND T2.preferred_foot = "right"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played at home for the second leg and has an aggregate score of 2-4?

### Context:
CREATE TABLE table_name_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)

### Response:

### Response:
SELECT home__2nd_leg_ FROM table_name_39 WHERE aggregate = "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:
What is the Title of the Pye Label mono LP release?

### Context:
CREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR)

### Response:

### Response:
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 votes given for michael russo, genevy dimitrion , manny ortega

### Context:
CREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR)

### Response:

### Response:
SELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = "Michael Russo, Genevy Dimitrion , Manny Ortega"</s>


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

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

### Response:

### Response:
SELECT COUNT(year) FROM table_name_67 WHERE points > 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 Date of the game with a Record of 5-3?

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

### Response:

### Response:
SELECT date FROM table_name_53 WHERE record = "5-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 number of region 4 for the series of the complete seventh series?

### Context:
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)

### Response:

### Response:
SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_65 WHERE gold > 0 AND rank > 1 AND total < 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:
Which Name has a Height (m) of 2980?

### Context:
CREATE TABLE table_name_63 (name VARCHAR, height__m_ VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_63 WHERE height__m_ = 2980</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the class of the player with a weight of 242 pounds?

### Context:
CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)

### Response:

### Response:
SELECT class FROM table_name_9 WHERE weight = 242</s>


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

### Context:
CREATE TABLE table_name_37 (week VARCHAR, eastern__number2 VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_37 WHERE eastern__number2 = "houston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the years with authority of state and decile more than 6 with roll less than 33

### Context:
CREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many king beds are there?

### Context:
CREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)

### Response:

### Response:
SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the names of conductors that have conducted more than one orchestras.

### Context:
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)

### Response:

### Response:
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID 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:
Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed?

### Context:
CREATE TABLE table_name_36 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR)

### Response:

### Response:
SELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = "co-ed"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Home Team in Game 2?

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

### Response:

### Response:
SELECT home_team FROM table_name_80 WHERE game = "game 2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the margin of the score 52-12?

### Context:
CREATE TABLE table_name_14 (margin INTEGER, score VARCHAR)

### Response:

### Response:
SELECT SUM(margin) FROM table_name_14 WHERE score = "52-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 was the date of the game attended by 25,022?

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

### Response:

### Response:
SELECT date FROM table_name_70 WHERE attendance = "25,022"</s>


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

### Context:
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR)

### Response:

### Response:
SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni"</s>


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

### Context:
CREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_94 WHERE opposing_team = "poverty bay"</s>


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

### Context:
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name of the product that has the smallest capacity.

### Context:
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)

### Response:

### Response:
SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity 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:
On April 28, what was the average number of people attending?

### Context:
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 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 is the total amount of players for the rockets in 1998 only?

### Context:
CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR)

### Response:

### Response:
SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the game ending with a record of 31-43-2, what was the decision?

### Context:
CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT decision FROM table_name_10 WHERE record = "31-43-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 round had a record of 4-1?

### Context:
CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_17 WHERE record = "4-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 venue was the 2000 AFC Asian Cup qualification held at?

### Context:
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries have more than two members?

### Context:
CREATE TABLE member (Country VARCHAR)

### Response:

### Response:
SELECT Country FROM member GROUP BY Country HAVING COUNT(*) > 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score of the Fifa World Cup 1986 Qualifying Competition?

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

### Response:

### Response:
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?

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

### Response:

### Response:
SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score?

### Context:
CREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_7 WHERE award = "17th bangkok critics assembly awards" AND category = "best original score"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament Buick Classic occured on what dates?

### Context:
CREATE TABLE table_1507431_1 (date VARCHAR, tournament VARCHAR)

### Response:

### Response:
SELECT date FROM table_1507431_1 WHERE tournament = "Buick Classic"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Air Force - Navy score in the 1983 season?

### Context:
CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 1983</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?

### Context:
CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, population__2010_ VARCHAR)

### Response:

### Response:
SELECT COUNT(no_of_barangays) FROM table_2402209_1 WHERE population__2010_ = 13824</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?

### Context:
CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)

### Response:

### Response:
SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which years did the Tampa Bay Storm win the Championships?

### Context:
CREATE TABLE table_name_71 (championships__years_ VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT championships__years_ FROM table_name_71 WHERE club = "tampa bay storm"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 125cc winner with circuit of estoril

### Context:
CREATE TABLE table_name_2 (circuit VARCHAR)

### Response:

### Response:
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the position for van den brink, bas

### Context:
CREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT position FROM table_21220720_1 WHERE name = "van den Brink, Bas"</s>


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

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_16 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:
Which drivers won $40,000 in the NASCAR Winston Cup?

### Context:
CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)

### Response:

### Response:
SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Home team that has a Tie no of 20?

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

### Response:

### Response:
SELECT home_team FROM table_name_74 WHERE tie_no = "20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Distance had a Race Leader in Km (mi)?

### Context:
CREATE TABLE table_name_94 (distance VARCHAR, race_leader VARCHAR)

### Response:

### Response:
SELECT distance FROM table_name_94 WHERE race_leader = "km (mi)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team?

### Context:
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 historical reference of the episode that aired on October 23, 2005?

### Context:
CREATE TABLE table_name_38 (historical_references VARCHAR, podcast_date VARCHAR)

### Response:

### Response:
SELECT historical_references FROM table_name_38 WHERE podcast_date = "october 23, 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 being the maximum total passengers 2008 with change 2008/09 being 6.5%

### Context:
CREATE TABLE table_13836704_4 (total_passengers_2008 INTEGER, change_2008_09 VARCHAR)

### Response:

### Response:
SELECT MAX(total_passengers_2008) FROM table_13836704_4 WHERE change_2008_09 = "6.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:
On what type of surface did they play on 13 February 1994?

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

### Response:

### Response:
SELECT surface FROM table_name_80 WHERE date = "13 february 1994"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Venue when the result was 2-1?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the game played where Collingwood was the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_99 WHERE away_team = "collingwood"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Lijsttrekker, when Cabinet is "Hans Van Mierlo", and when Fractievoorzitter is "Thom De Graaf"?

### Context:
CREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR)

### Response:

### Response:
SELECT lijsttrekker FROM table_name_81 WHERE cabinet = "hans van mierlo" AND fractievoorzitter = "thom de graaf"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listing date for the verdigris creek bridge in royal of antelope county?

### Context:
CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in attendance for when the bulls visited

### Context:
CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_50 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 is the analog type for wxmi?

### Context:
CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT analog FROM table_name_9 WHERE callsign = "wxmi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 league of 400 (21) has what years listed?

### Context:
CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_87 WHERE league = "400 (21)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Namr the total number of played for 5 losses

### Context:
CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 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 Genre for Malina (ger.-aus.-fr.), an Original Title?

### Context:
CREATE TABLE table_name_12 (genre VARCHAR, original_title VARCHAR)

### Response:

### Response:
SELECT genre FROM table_name_12 WHERE original_title = "malina (ger.-aus.-fr.)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?

### Context:
CREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = "boston united" AND league < 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 was the score in Hampden Park, Glasgow?

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

### Response:

### Response:
SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Result of third place, and a Style of cha-cha-cha?

### Context:
CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What document status codes do we have?

### Context:
CREATE TABLE Ref_Document_Status (document_status_code VARCHAR)

### Response:

### Response:
SELECT document_status_code FROM Ref_Document_Status</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away captain for matches played at Trent Bridge?

### Context:
CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the label for the CD format in North America?

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

### Response:

### Response:
SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america"</s>


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

### Context:
CREATE TABLE table_name_53 (height__ft_ VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT height__ft_ FROM table_name_53 WHERE country = "macedonia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the quake that began at 14:07?

### Context:
CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)

### Response:

### Response:
SELECT location FROM table_25643046_1 WHERE origin_time = "14:07"</s>


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

### Context:
CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)

### Response:

### Response:
SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "Zozo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 league goals did the player with 10 league apps and 0 FA cup goals have?

### Context:
CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)

### Response:

### Response:
SELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = "10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?

### Context:
CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)

### Response:

### Response:
SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 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:
If the matches for NQF is 2009, what is the position?

### Context:
CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)

### Response:

### Response:
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the greatest number of losses when there are more than 0 draws and 1390 against matches?

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

### Response:

### Response:
SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away team that has the Home team of south dragons, and the Score of 94-81?

### Context:
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-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 Date of designation has a Name of kurume?

### Context:
CREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT date_of_designation FROM table_name_36 WHERE name = "kurume"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the number of candidates when Leon Sacks was incumbent?

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

### Response:

### Response:
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 propulsion for the RB 04 earlier than 1962?

### Context:
CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = "rb 04"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Power has Location in metro manila

### Context:
CREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila"</s>


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

### Context:
CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?

### Context:
CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)

### Response:

### Response:
SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the event in a year before 1989?

### Context:
CREATE TABLE table_name_37 (event VARCHAR, year INTEGER)

### Response:

### Response:
SELECT event FROM table_name_37 WHERE year < 1989</s>


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

### Context:
CREATE TABLE table_24565004_21 (appearances¹ INTEGER, name VARCHAR)

### Response:

### Response:
SELECT MIN(appearances¹) FROM table_24565004_21 WHERE name = "Sammy Traoré"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue featured a notes of 2:38:44?

### Context:
CREATE TABLE table_name_63 (venue VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_63 WHERE notes = "2:38: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:
Name the w/l for czech republic

### Context:
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic"</s>


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

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

### Response:

### Response:
SELECT visitor FROM table_name_27 WHERE date = "april 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:
Who was the team for game 34?

### Context:
CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_79 WHERE game = 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:
For the game whose developer was Ailive, is it a Move-only release?

### Context:
CREATE TABLE table_26538035_1 (move_only VARCHAR, developer VARCHAR)

### Response:

### Response:
SELECT move_only FROM table_26538035_1 WHERE developer = "AiLive"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 best score, with the worst dancer(s) gethin jones/kenny logan?

### Context:
CREATE TABLE table_name_19 (best_score VARCHAR, worst_dancer_s_ VARCHAR)

### Response:

### Response:
SELECT best_score FROM table_name_19 WHERE worst_dancer_s_ = "gethin jones/kenny logan"</s>


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

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

### Response:

### Response:
SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
College of san diego state, and a Pick # smaller than 30 has what lowest overall?

### Context:
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest Top-25 with Wins less than 0?

### Context:
CREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER)

### Response:

### Response:
SELECT MIN(top_25) FROM table_name_2 WHERE wins < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team in the game with more than 1675, and Olimpia was the away side?

### Context:
CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played where the points were 80?

### Context:
CREATE TABLE table_12807904_5 (played VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT played FROM table_12807904_5 WHERE points = "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:
Who were the candidates in the election in the Tennessee 9 district?

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

### Response:

### Response:
SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 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 average number lost when points is 14 and position is more than 1?

### Context:
CREATE TABLE table_name_64 (lost INTEGER, points VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 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 time of round 2 against Taylor Mccorriston?

### Context:
CREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which competition had an opponent of Police at the Selayang Stadium?

### Context:
CREATE TABLE table_name_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_31 WHERE opponent = "police" AND venue = "selayang stadium"</s>