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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?

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

### Response:

### Response:
SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = "switzerland" AND silver > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Voivodeship or city of nowogródzkie has what capital?

### Context:
CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)

### Response:

### Response:
SELECT capital FROM table_name_75 WHERE voivodeship_or_city = "nowogródzkie"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 diameter (km) of longitude 170.1e

### Context:
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR)

### Response:

### Response:
SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title of the episode with a production code of ad1b04?

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

### Response:

### Response:
SELECT title FROM table_name_50 WHERE production_code = "ad1b04"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the result for the category of best actor in a supporting role?

### Context:
CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"</s>


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

### Context:
CREATE TABLE table_name_99 (total VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT total FROM table_name_99 WHERE year_s__won = "1977"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of points of the game before game 2 before October 10?

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

### Response:

### Response:
SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND 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 date was the Izmir Cup in which İlhan played against Somdev Devvarman?

### Context:
CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Championship Game that has 4 Bids and a .600 Win %?

### Context:
CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)

### Response:

### Response:
SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 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:
When was there a game at Kardinia Park?

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

### Response:

### Response:
SELECT date FROM table_name_78 WHERE venue = "kardinia park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Gary Player's highest total when his To par was over 15?

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

### Response:

### Response:
SELECT MAX(total) FROM table_name_41 WHERE player = "gary player" AND to_par > 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 POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR?

### Context:
CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_67 WHERE pick < 33 AND player = "darrell arthur"</s>


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

### Context:
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)

### Response:

### Response:
SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many vehicle thefts data were recorded if forcible rape is 1232?

### Context:
CREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)

### Response:

### Response:
SELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE forcible_rape = 1232</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Away, when Home is "marathon"?

### Context:
CREATE TABLE table_name_14 (away VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT away FROM table_name_14 WHERE home = "marathon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 season number of the episode seen by 10.11 million people in the US?

### Context:
CREATE TABLE table_19995378_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT no_in_season FROM table_19995378_1 WHERE us_viewers__millions_ = "10.11"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the Winner for the City of Loutraki?

### Context:
CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_65 WHERE city = "loutraki"</s>


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

### Context:
CREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT score FROM table_20745746_1 WHERE attendance = 7260</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What positions were drafted from Las Vegas, NV?

### Context:
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the Election of 1953?

### Context:
CREATE TABLE table_name_46 (date VARCHAR, election VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_46 WHERE election = "1953"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score of the game larger than 57 with a Record of 4–55?

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

### Response:

### Response:
SELECT score FROM table_name_15 WHERE game > 57 AND record = "4–55"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are end dates (last night) for the season of 1918?

### Context:
CREATE TABLE table_159359_2 (end_date__last_night_ VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT end_date__last_night_ FROM table_159359_2 WHERE season = "1918"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the sum of money ($) that angela park has won?

### Context:
CREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)

### Response:

### Response:
SELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = "angela park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the data point for s hindu where the buddhist data point is 73.0%?

### Context:
CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR)

### Response:

### Response:
SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the january 15-16 where march 27-29 where march 29, 2006

### Context:
CREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR)

### Response:

### Response:
SELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = "March 29, 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:
On what date was the attendance at TD Garden 18,624?

### Context:
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Alexander Wronski's Position?

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

### Response:

### Response:
SELECT position FROM table_name_31 WHERE name = "alexander wronski"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 if the incumbent was Henry Logan?

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

### Response:

### Response:
SELECT candidates FROM table_2668173_4 WHERE incumbent = "Henry 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:
How many parties were represented for Charles R. Crisp?

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the college when the over is larger than 15 in round 7?

### Context:
CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_41 WHERE overall > 15 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:
Which gender makes up the majority of the staff?

### Context:
CREATE TABLE staff (gender VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country had notes of sa/b and a rank of 2?

### Context:
CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 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 date was the loss of ponson (4–3)?

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

### Response:

### Response:
SELECT date FROM table_name_68 WHERE loss = "ponson (4–3)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the points total for the team with points average more than 34, 1984 score more than 37 and N/A in 1982?

### Context:
CREATE TABLE table_name_99 (total_points VARCHAR, points_average VARCHAR)

### Response:

### Response:
SELECT COUNT(total_points) FROM table_name_99 WHERE 1982 = "n/a" AND points_average > 34 AND 1984 > 37</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens doubles when mens doubles is charalambos kazilas stepan partemian

### Context:
CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)

### Response:

### Response:
SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Charalambos Kazilas Stepan Partemian"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which nationality does Florida Tech have?

### Context:
CREATE TABLE table_name_1 (nationality VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_1 WHERE school = "florida tech"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Of the games that sold 321,000 units in the UK, what is their average place?

### Context:
CREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR)

### Response:

### Response:
SELECT AVG(place) FROM table_name_86 WHERE units_sold_in_the_uk = "321,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date of the Bulgarian Victory at the Battle of Arcadiopolis?

### Context:
CREATE TABLE table_name_55 (date VARCHAR, result VARCHAR, battle VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_55 WHERE result = "bulgarian victory" AND battle = "battle of arcadiopolis"</s>


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

### Context:
CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)

### Response:

### Response:
SELECT value FROM table_name_40 WHERE british_name = "maxima"</s>


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

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

### Response:

### Response:
SELECT place FROM table_name_94 WHERE player = "jimmy demaret"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the attendance at the game that had a loss of Crabtree (0-1)?

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

### Response:

### Response:
SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-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 Career with the franchise [b ], when Previous Team is "New Jersey Nets"?

### Context:
CREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR)

### Response:

### Response:
SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament for 2006 of a, 1996 of 1r and 2004 of 1r

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

### Response:

### Response:
SELECT tournament FROM table_name_68 WHERE 2006 = "a" AND 1996 = "1r" AND 2004 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many airports are there per city in the United States? Order the cities by decreasing number of airports.

### Context:
CREATE TABLE airports (city VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT COUNT(*), city FROM airports WHERE country = 'United States' GROUP BY city ORDER BY COUNT(*) 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:
What is the genre for the hot fm station?

### Context:
CREATE TABLE table_1601792_3 (genre VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT genre FROM table_1601792_3 WHERE station = "Hot FM"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many authors or editors are there for the book title elf child?

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

### Response:

### Response:
SELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = "Elf Child"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Country, when the Transfer fee is "loan", and when the Name is Lynch?

### Context:
CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 first appearance when Chad Williams is a portrayal?

### Context:
CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)

### Response:

### Response:
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college did Ray Graves attend?

### Context:
CREATE TABLE table_name_2 (college VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_2 WHERE name = "ray graves"</s>


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

### Context:
CREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT score FROM table_15869204_7 WHERE team = "San Antonio"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
At which location did 29753 fans show up to watch the game?

### Context:
CREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT game_site FROM table_24481478_1 WHERE attendance = 29753</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least value for week?

### Context:
CREATE TABLE table_23916462_3 (week INTEGER)

### Response:

### Response:
SELECT MIN(week) FROM table_23916462_3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the location and attendance when lebron james (10) had the high assists?

### Context:
CREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT location_attendance FROM table_27713030_16 WHERE high_assists = "LeBron James (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 score when the team is @ cleveland?

### Context:
CREATE TABLE table_name_20 (score VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_20 WHERE team = "@ cleveland"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What country does robert allenby represent?

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

### Response:

### Response:
SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least amount of Byes when there are more than 2 wins and 1946 against?

### Context:
CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 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 Winner, when Location is Connie Mack Stadium, and when Year is 1946?

### Context:
CREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ranks have a rebound average smaller than 6.1?

### Context:
CREATE TABLE table_name_27 (rank VARCHAR, reb_avg INTEGER)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_27 WHERE reb_avg < 6.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 was the home captain at Sydney Cricket Ground?

### Context:
CREATE TABLE table_name_34 (home_captain VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground"</s>


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

### Context:
CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"</s>


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

### Context:
CREATE TABLE table_name_4 (b_score INTEGER, a_score INTEGER)

### Response:

### Response:
SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 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:
What Status does Freddie Jackson have?

### Context:
CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR)

### Response:

### Response:
SELECT status FROM table_name_32 WHERE artist = "freddie jackson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 competition located in Northampton had a resulting score of what?

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

### Response:

### Response:
SELECT score FROM table_name_75 WHERE location = "northampton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 highest game against the New York Rangers with more than 55 points?

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

### Response:

### Response:
SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55</s>


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

### Context:
CREATE TABLE table_name_20 (caps VARCHAR, scotland_career VARCHAR)

### Response:

### Response:
SELECT caps FROM table_name_20 WHERE scotland_career = "1920–1923"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 To par score for the tournament with a margin of victory of 1 stroke?

### Context:
CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What counties mascot are the Red Ramblers?

### Context:
CREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT county FROM table_name_85 WHERE mascot = "red ramblers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was the game on February 27 played against?

### Context:
CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT team FROM table_22879323_8 WHERE date = "February 27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the result with week of 16

### Context:
CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_72 WHERE week = "16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the producer of city sharks?

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

### Response:

### Response:
SELECT producer FROM table_name_57 WHERE title = "city sharks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Loss of schrom happened on what date?

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

### Response:

### Response:
SELECT date FROM table_name_39 WHERE loss = "schrom"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 origins of all flights with destination Honolulu.

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

### Response:

### Response:
SELECT origin FROM Flight WHERE destination = "Honolulu"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?

### Context:
CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR)

### Response:

### Response:
SELECT MAX(land_area__km²_) FROM table_name_12 WHERE population_density__per_km²_ > 112.6 AND population__2006_ > 785 AND name = "pinehouse"</s>


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

### Context:
CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)

### Response:

### Response:
SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name and price of the product that has been ordered the greatest number of times.

### Context:
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)

### Response:

### Response:
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the doubles w-l for player seol jae-min (none)

### Context:
CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT doubles_w_l FROM table_10023387_1 WHERE player = "Seol Jae-Min (none)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who had the high points when the score was w 112-110?

### Context:
CREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_27902171_7 WHERE score = "W 112-110"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most number of families in regions where average family size is 2.7?

### Context:
CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)

### Response:

### Response:
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.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's the rank of Igor Rakočević of Tau Cerámica with more than 377 points?

### Context:
CREATE TABLE table_name_87 (rank INTEGER, points VARCHAR, team VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_87 WHERE team = "tau cerámica" AND name = "igor rakočević" AND points > 377</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?

### Context:
CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)

### Response:

### Response:
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.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 rank is above floor 47?

### Context:
CREATE TABLE table_name_83 (rank VARCHAR, floors INTEGER)

### Response:

### Response:
SELECT rank FROM table_name_83 WHERE floors > 47</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What nation had more than 97 Gold Medals and fewer than 332 Silver Medals?

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

### Response:

### Response:
SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many years premiered have Sa Beining as main presenter?

### Context:
CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)

### Response:

### Response:
SELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Sa Beining"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 image name and URLs in the order of their names.

### Context:
CREATE TABLE images (image_name VARCHAR, image_url VARCHAR)

### Response:

### Response:
SELECT image_name, image_url FROM images ORDER BY image_name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which English has a Sanskrit of samādhi?

### Context:
CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR)

### Response:

### Response:
SELECT english FROM table_name_42 WHERE sanskrit = "samādhi"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the High points with a Score that is l 64–94 (ot)?

### Context:
CREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT high_points FROM table_name_73 WHERE score = "l 64–94 (ot)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 saka era for sign of zodiac being pisces

### Context:
CREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR)

### Response:

### Response:
SELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = "Pisces"</s>


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

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_96 WHERE venue = "junction oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player went to the college of Western Washington?

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

### Response:

### Response:
SELECT player FROM table_name_84 WHERE college = "western washington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many nationalities are the pick 193?

### Context:
CREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?

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

### Response:

### Response:
SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the first week when there was an attendance over 75,007 at Mile High Stadium?

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_21 WHERE game_site = "mile high stadium" AND attendance > 75 OFFSET 007</s>


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

### Context:
CREATE TABLE basketball_match (acc_percent VARCHAR)

### Response:

### Response:
SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name all the candidates vying for Albert Bustamante's seat.

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

### Response:

### Response:
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time of the game against the Royals with a record of 81–73?

### Context:
CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–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:
What was the result for the contestant whose background was as a business major?

### Context:
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)

### Response:

### Response:
SELECT result FROM table_19810459_1 WHERE background = "Business major"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What entrant has osella fa1c chassis after 1981?

### Context:
CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2

### Context:
CREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR)

### Response:

### Response:
SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 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 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"?

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

### Response:

### Response:
SELECT 1997 FROM table_name_63 WHERE 1996 = "1r" AND 1990 = "2r" AND 1991 = "f"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a January larger than 21, and Points of 63?

### Context:
CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_18 WHERE january > 21 AND points = 63</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the open 1st viii with u15 6th iv being bgs

### Context:
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)

### Response:

### Response:
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"</s>


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

### Context:
CREATE TABLE captain (CLASS VARCHAR)

### Response:

### Response:
SELECT CLASS FROM captain GROUP BY CLASS 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:
Who was the opponent in the game that had an attendance of 60,066?

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

### Response:

### Response:
SELECT opponent FROM table_name_30 WHERE attendance = "60,066"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Avg/G has a Name of josh freeman, and a Loss smaller than 134?

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

### Response:

### Response:
SELECT SUM(avg_g) FROM table_name_59 WHERE name = "josh freeman" AND loss < 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:
What rounds did rider Mika Kallio with a Ducati constructor have?

### Context:
CREATE TABLE table_name_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR)

### Response:

### Response:
SELECT rounds FROM table_name_63 WHERE constructor = "ducati" AND rider = "mika kallio"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 charts had debut sales of 101976?

### Context:
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)

### Response:

### Response:
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Set 2 is 25-13?

### Context:
CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_29 WHERE set_2 = "25-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:
Name the scores for michael buerk and russell howard

### Context:
CREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR)

### Response:

### Response:
SELECT scores FROM table_23575917_2 WHERE lees_team = "Michael Buerk and Russell Howard"</s>


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

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

### Response:

### Response:
SELECT year FROM table_name_56 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:
Who has a reported death of 6 march 1998?

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

### Response:

### Response:
SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 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:
What's listed for the Turnout % with a Ngilu of 30,535?

### Context:
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR)

### Response:

### Response:
SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?

### Context:
CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)

### Response:

### Response:
SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 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:
List the names of wrestlers that have not been eliminated.

### Context:
CREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR)

### Response:

### Response:
SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 themes of parties and the names of the party hosts.

### Context:
CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR)

### Response:

### Response:
SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which race is located in kyalami?

### Context:
CREATE TABLE table_1140073_2 (race VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT race FROM table_1140073_2 WHERE location = "Kyalami"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What episoe number in the season originally aired on February 11, 1988?

### Context:
CREATE TABLE table_2818164_5 (no_in_season VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Third has a Second of scott pfeifer?

### Context:
CREATE TABLE table_name_29 (third VARCHAR, second VARCHAR)

### Response:

### Response:
SELECT third FROM table_name_29 WHERE second = "scott pfeifer"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the match played in Victoria Park?

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

### Response:

### Response:
SELECT date FROM table_name_78 WHERE venue = "victoria park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?

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

### Response:

### Response:
SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a Visitor of atlanta?

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

### Response:

### Response:
SELECT score FROM table_name_72 WHERE visitor = "atlanta"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of all colleges whose enrollment is greater than that of all colleges in the FL state.

### Context:
CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)

### Response:

### Response:
SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 speeds of the longest roller coaster?

### Context:
CREATE TABLE roller_coaster (Speed VARCHAR, LENGTH VARCHAR)

### Response:

### Response:
SELECT Speed FROM roller_coaster ORDER BY LENGTH DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which school has a decile of 8 and a roll of 705?

### Context:
CREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 year where opponent in the final is John Mcenroe at Wimbledon?

### Context:
CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)

### Response:

### Response:
SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Date of october 8 happened at what time?

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

### Response:

### Response:
SELECT time FROM table_name_1 WHERE date = "october 8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the party of the youngest people?

### Context:
CREATE TABLE people (Party VARCHAR, Age VARCHAR)

### Response:

### Response:
SELECT Party FROM people ORDER BY Age 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:
Which location names contain the word "film"?

### Context:
CREATE TABLE LOCATIONS (Location_Name VARCHAR)

### Response:

### Response:
SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the final score when the player was an e to par?

### Context:
CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_97 WHERE to_par = "e"</s>


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

### Context:
CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR)

### Response:

### Response:
SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 school where the year of last win is 1985-86?

### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)

### Response:

### Response:
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "1985-86"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the rank for less than 6 plays?

### Context:
CREATE TABLE table_name_47 (rank INTEGER, played INTEGER)

### Response:

### Response:
SELECT SUM(rank) FROM table_name_47 WHERE played < 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:
Name the preliminary average for utah

### Context:
CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT preliminary_average FROM table_name_34 WHERE state = "utah"</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_34 WHERE college = "calgary"</s>


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

### Context:
CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)

### Response:

### Response:
SELECT team_name FROM table_name_92 WHERE races = 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 college or club did the round 9 draft pick from Canada come from?

### Context:
CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result of the game played in front of 65,473?

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

### Response:

### Response:
SELECT result FROM table_name_19 WHERE attendance = "65,473"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_19789597_6 WHERE date = "July 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:
Which European Cup is in the 1990-91 season?

### Context:
CREATE TABLE table_name_78 (european_cup VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT european_cup FROM table_name_78 WHERE season = "1990-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 is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?

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

### Response:

### Response:
SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 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:
Where was the shot pct 78?

### Context:
CREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR)

### Response:

### Response:
SELECT locale FROM table_21093403_1 WHERE shot_pct = 78</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?

### Context:
CREATE TABLE table_name_50 (qual_1 VARCHAR, best VARCHAR, qual_2 VARCHAR)

### Response:

### Response:
SELECT qual_1 FROM table_name_50 WHERE best < 58.669 AND qual_2 < 57.897</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 away team that plays at Punt Road Oval?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_43 WHERE venue = "punt road oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What status is shown for Cadeby?

### Context:
CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT status FROM table_name_17 WHERE name = "cadeby"</s>


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

### Context:
CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR)

### Response:

### Response:
SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square"</s>


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

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

### Response:

### Response:
SELECT opponent FROM table_name_62 WHERE date = "october 14, 1984"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percentage of EU average GDP (PPP) in the region where € per capita is 2519

### Context:
CREATE TABLE table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ VARCHAR, €_per_capita__2005_ VARCHAR)

### Response:

### Response:
SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ = 2519</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what year did the team from the Western school join the conference?

### Context:
CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT year_joined FROM table_name_10 WHERE school = "western"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the surface when the partner was Robert Haybittel?

### Context:
CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"</s>


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

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

### Response:

### Response:
SELECT away_team FROM table_name_93 WHERE home_team = "arsenal"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total show when silver is 0, bronze is 1, and the rank is less than 3?

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

### Response:

### Response:
SELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 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 total gold from New zealand and a rank less than 14?

### Context:
CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 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:
Name the period for michel prost

### Context:
CREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT period FROM table_24565004_17 WHERE name = "Michel Prost"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Halang has a Rera of ʒo²?

### Context:
CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)

### Response:

### Response:
SELECT halang FROM table_name_6 WHERE rera = "ʒo²"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 week that has t 35-35 as the result?

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

### Response:

### Response:
SELECT MAX(week) FROM table_name_69 WHERE result = "t 35-35"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Lead has Katarina Radonic as Skip?

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

### Response:

### Response:
SELECT lead FROM table_name_10 WHERE skip = "katarina radonic"</s>


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

### Context:
CREATE TABLE table_13196576_2 (team VARCHAR)

### Response:

### Response:
SELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = "Ducati Xerox"</s>


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

### Context:
CREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR)

### Response:

### Response:
SELECT revenue_per_capita FROM table_name_2 WHERE state = "vermont"</s>


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

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

### Response:

### Response:
SELECT netflix FROM table_name_64 WHERE series_ep = "15-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:
Who replaced the manager on Team Cfr Cluj?

### Context:
CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT replaced_by FROM table_17115950_2 WHERE team = "CFR Cluj"</s>


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

### Context:
CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR)

### Response:

### Response:
SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of people in attendance when the record was 9–26?

### Context:
CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_7 WHERE record = "9–26"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest rank of a nation with fewer than 0 silver medals?

### Context:
CREATE TABLE table_name_43 (rank INTEGER, silver INTEGER)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_43 WHERE silver < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the stadium with final score of 20-10

### Context:
CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR)

### Response:

### Response:
SELECT stadium FROM table_name_35 WHERE final_score = "20-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 operating system was needed for 2D games?

### Context:
CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT required_os FROM table_name_91 WHERE type = "2d"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the away team for tie number 9?

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

### Response:

### Response:
SELECT away_team FROM table_name_6 WHERE tie_no = "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 home team had an attendance record of 16,971?

### Context:
CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT home_team FROM table_name_68 WHERE attendance = "16,971"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the episode directed by Matthew Penn, what is the total number in the series?

### Context:
CREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT no_in_series FROM table_23117208_5 WHERE directed_by = "Matthew Penn"</s>


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

### Context:
CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was playing when the score was 5–7, 6–7 (4–7)?

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

### Response:

### Response:
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 6–7 (4–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 shows for notes when rank is more than 4, and country is South Korea?

### Context:
CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 GNIS Feature ID from County of sheridan?

### Context:
CREATE TABLE table_name_39 (gnis_feature_id INTEGER, county VARCHAR)

### Response:

### Response:
SELECT MIN(gnis_feature_id) FROM table_name_39 WHERE county = "sheridan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is shown for fri 26 aug when mon 22 aug is —— no time?

### Context:
CREATE TABLE table_30058355_2 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)

### Response:

### Response:
SELECT fri_26_aug FROM table_30058355_2 WHERE mon_22_aug = "—— No Time"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the height of the school club team members in clemson?

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

### Response:

### Response:
SELECT height_in_ft FROM table_11734041_7 WHERE school_club_team_country = "Clemson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the mean Founded number when the team is the Baton Rouge Blaze?

### Context:
CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR)

### Response:

### Response:
SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 goal difference with more than 38 played and more than 47 goals against?

### Context:
CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was the date that week 9 started?

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

### Response:

### Response:
SELECT date FROM table_name_65 WHERE week = "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 Style of the dance by Choreographer Luda and Oliver?

### Context:
CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)

### Response:

### Response:
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver"</s>


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

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

### Response:

### Response:
SELECT country FROM table_name_93 WHERE player = "ian woosnam"</s>


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

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

### Response:

### Response:
SELECT book_title FROM table_20193855_2 WHERE publisher = "Black Car Publishing"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what artist has a book called cyberella

### Context:
CREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR)

### Response:

### Response:
SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 result for the game before week 7 against BYE?

### Context:
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What opponent has 76,202 attendance ?

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

### Response:

### Response:
SELECT opponent FROM table_name_5 WHERE attendance = "76,202"</s>


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

### Context:
CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)

### Response:

### Response:
SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?

### Context:
CREATE TABLE table_name_42 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_name_42 WHERE outgoing_manager = "hakan kutlu"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total medals for germany with under 56 bronzes?

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

### Response:

### Response:
SELECT SUM(total) FROM table_name_46 WHERE nation = "germany" AND bronze < 56</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many gold(s) for teams with a total of 14, and over 6 bronze medals?

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

### Response:

### Response:
SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the inroductory phase for the episode with neil shubin as a guest?

### Context:
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR)

### Response:

### Response:
SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 unknown is larger than 1.0, what is the maximum two year amount?

### Context:
CREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER)

### Response:

### Response:
SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the enrollment at the school of Hamilton community?

### Context:
CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)

### Response:

### Response:
SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the fastest lap with grand prix being european grand prix

### Context:
CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = "European grand_prix"</s>