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

### Context:
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)

### Response:

### Response:
SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 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 series had high rebounds with Marcus Camby (11)?

### Context:
CREATE TABLE table_23286158_11 (series VARCHAR, high_rebounds VARCHAR)

### Response:

### Response:
SELECT series FROM table_23286158_11 WHERE high_rebounds = "Marcus Camby (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:
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?

### Context:
CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dates are shown for the home team of orlando pirates and result of 1–3?

### Context:
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many election results in 2012 had a Cook PVI of D+16?

### Context:
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR)

### Response:

### Response:
SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4?

### Context:
CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR)

### Response:

### Response:
SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Fitzroy's score when they were the home team?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which game did was Bud Eley a player in?

### Context:
CREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT games FROM table_name_88 WHERE name = "bud eley"</s>


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

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

### Response:

### Response:
SELECT location_attendance FROM table_name_51 WHERE game = 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:
When the Away team is footscray, what is the Home team playing?

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

### Response:

### Response:
SELECT home_team FROM table_name_42 WHERE away_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the space where the next one was mike turnesa

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

### Response:

### Response:
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score in the game on March 26?

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

### Response:

### Response:
SELECT score FROM table_27756572_10 WHERE date = "March 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 Feb value having an opponent of the Philadelphia Flyers and is after game 63?

### Context:
CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT MAX(february) FROM table_name_43 WHERE opponent = "philadelphia flyers" AND game > 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:
How many different years was the name/designation cetme?

### Context:
CREATE TABLE table_26389588_1 (year_of_introduction VARCHAR, name___designation VARCHAR)

### Response:

### Response:
SELECT COUNT(year_of_introduction) FROM table_26389588_1 WHERE name___designation = "CETME"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 less than 25 for the university of california?

### Context:
CREATE TABLE table_name_44 (position VARCHAR, pick VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_44 WHERE pick < 25 AND school = "university of california"</s>


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

### Context:
CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR)

### Response:

### Response:
SELECT founding_date FROM table_2538117_7 WHERE letters = "ΚΨΚ"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What record has @ ottawa senators as the opponent?

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

### Response:

### Response:
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"</s>


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

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

### Response:

### Response:
SELECT home_team FROM table_name_95 WHERE venue = "glenferrie 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:
In which Season was the Division Washington Bullets?

### Context:
CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_4 WHERE division = "washington bullets"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of the first elected year of incumbent norm dicks?

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

### Response:

### Response:
SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is listed for the Elevator that has the Elector of Gerardo?

### Context:
CREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)

### Response:

### Response:
SELECT elevator FROM table_name_10 WHERE elector = "gerardo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Special Stage with a 2.40km length and S. Loeb as Winner?

### Context:
CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method was used in round 1 with a record of 1-0?

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

### Response:

### Response:
SELECT method FROM table_name_89 WHERE round = 1 AND record = "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:
Who is the player with a score of 68-71=139?

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

### Response:

### Response:
SELECT player FROM table_name_84 WHERE score = 68 - 71 = 139</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 round of the match at venue A with a result of 1-2 on 7 December 2004?

### Context:
CREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 poor law union for area being 332

### Context:
CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)

### Response:

### Response:
SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 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:
When did the person born 24 September 1851 pass away?

### Context:
CREATE TABLE table_name_66 (date_of_death VARCHAR, date_of_birth VARCHAR)

### Response:

### Response:
SELECT date_of_death FROM table_name_66 WHERE date_of_birth = "24 september 1851"</s>


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

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

### Response:

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


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

### Context:
CREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR)

### Response:

### Response:
SELECT name FROM table_22810095_8 WHERE n = 28</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the captain of Dave Jones' team?

### Context:
CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR)

### Response:

### Response:
SELECT team AS captain FROM table_26593762_2 WHERE manager = "Dave Jones"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist has a draw higher than 4 and fewer than 5 points?

### Context:
CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT artist FROM table_name_7 WHERE draw > 4 AND points < 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the crowd attendance when the home team was Melbourne?

### Context:
CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777

### Context:
CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777</s>


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

### Context:
CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)

### Response:

### Response:
SELECT example FROM table_name_56 WHERE type = "associative"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times is the rank higher than 3 and bronze more than 1?

### Context:
CREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Surface has a Partner of galina voskoboeva?

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

### Response:

### Response:
SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Larry Centers' average number when there were less than 600 yards?

### Context:
CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)

### Response:

### Response:
SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 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:
When is the earliest year for it is in barcelona, spain?

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

### Response:

### Response:
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 departure date when a manager was replaced by Bojan Prašnikar?

### Context:
CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High assists have a Game larger than 21, and a Record of 18-6?

### Context:
CREATE TABLE table_name_21 (high_assists VARCHAR, game VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-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 is Rank, when Event is "LAPT3 Punta Del Este"?

### Context:
CREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT rank FROM table_name_65 WHERE event = "lapt3 punta del este"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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  60,254 (58.0) is the toll poll percentage what is the for percentage?

### Context:
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)

### Response:

### Response:
SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.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:
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?

### Context:
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Points have a January of 18?

### Context:
CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_name_88 WHERE january = 18</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school is in Ligonier?

### Context:
CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_11 WHERE location = "ligonier"</s>


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

### Context:
CREATE TABLE table_19744915_16 (result VARCHAR, judges VARCHAR)

### Response:

### Response:
SELECT result FROM table_19744915_16 WHERE judges = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player had a place of T4?

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

### Response:

### Response:
SELECT player FROM table_name_62 WHERE place = "t4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What school did the player attend who's hometown was Montvale, NJ?

### Context:
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)

### Response:

### Response:
SELECT school FROM table_11677100_18 WHERE hometown = "Montvale, NJ"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the school that jason fraser went to

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

### Response:

### Response:
SELECT school FROM table_name_14 WHERE player = "jason fraser"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_33 WHERE date = "17 april 2013"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first name and major of the students who are not allegry to soy.

### Context:
CREATE TABLE Has_allergy (fname VARCHAR, major VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, major VARCHAR, StuID VARCHAR, Allergy VARCHAR)

### Response:

### Response:
SELECT fname, major FROM Student WHERE NOT StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Soy")</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?

### Context:
CREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)

### Response:

### Response:
SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the region for the album with a catalog number of 7567-83061-2?

### Context:
CREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR)

### Response:

### Response:
SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-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 type of institution is San Diego Christian college?

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

### Response:

### Response:
SELECT type FROM table_2562113_1 WHERE institution = "San Diego Christian College"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?

### Context:
CREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Height has a Position of c, and a Player of yiannis bourousis?

### Context:
CREATE TABLE table_name_50 (height INTEGER, position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT SUM(height) FROM table_name_50 WHERE position = "c" AND player = "yiannis bourousis"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the game with a record of 37–26–9?

### Context:
CREATE TABLE table_name_5 (score VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_5 WHERE record = "37–26–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:
When rider John Hopkins had 21 laps, what was the grid?

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

### Response:

### Response:
SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 draws that have 31 for points, wins greater than 12, with a goal difference less than 11?

### Context:
CREATE TABLE table_name_8 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3–3?

### Context:
CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the MPEG-2 of yes and MPEG-1 of yes

### Context:
CREATE TABLE table_name_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR)

### Response:

### Response:
SELECT realvideo FROM table_name_86 WHERE mpeg_2 = "yes" AND mpeg_1 = "yes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date had a margin victory of 2 strokes?

### Context:
CREATE TABLE table_name_91 (date VARCHAR, margin_of_victory VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_91 WHERE margin_of_victory = "2 strokes"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were the members tenured in the Field school?

### Context:
CREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT tenure FROM table_28051859_3 WHERE school = "Field"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2013 completion schedule, what is the total S.no.?

### Context:
CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)

### Response:

### Response:
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the place that has a Callsign of DWRJ-FM?

### Context:
CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_77 WHERE callsign = "dwrj-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:
What is the difference related to 2 losses and fewer than 10 points?

### Context:
CREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?

### Context:
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the Time for the Competition of european cup and has a Venue of Moscow?

### Context:
CREATE TABLE table_name_87 (time VARCHAR, competition VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_87 WHERE competition = "european cup" AND venue = "moscow"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position has a Round larger than 10, and a Name of shawn mccarthy?

### Context:
CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first elected for lost renomination democratic loss

### Context:
CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the total of arlenes vote when craig voted for brian and karen?

### Context:
CREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR)

### Response:

### Response:
SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen"</s>


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

### Context:
CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_90 WHERE nickname = "tigers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 tournament with a w/o score on November 5, 2007?

### Context:
CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_name_62 WHERE score = "w/o" AND date = "november 5, 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the position of the player who's hometown is North Babylon, NY?

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

### Response:

### Response:
SELECT position FROM table_20785990_2 WHERE home_town = "North Babylon, NY"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What district is Henry Hyde in

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

### Response:

### Response:
SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the First elected that has a republican party and california 4?

### Context:
CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the weight of the person born in 1980?

### Context:
CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR)

### Response:

### Response:
SELECT weight FROM table_name_63 WHERE born = "1980"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the record for rose garden 20,565 attendance

### Context:
CREATE TABLE table_23286158_8 (record VARCHAR, location_attendance VARCHAR)

### Response:

### Response:
SELECT record FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 room temperature with no toxic materials and no ln production?

### Context:
CREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)

### Response:

### Response:
SELECT room_temperature FROM table_name_67 WHERE in_production = "no" AND toxic_materials = "no"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?

### Context:
CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)

### Response:

### Response:
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.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 wrote the episode with a production code greater than 1.4 direcyed by rick wallace?

### Context:
CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = "rick wallace"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many dates have boston college as the opponent?

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

### Response:

### Response:
SELECT COUNT(date) FROM table_21091162_1 WHERE opponent = "Boston College"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 song that has a track larger than 7 and means death.

### Context:
CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR)

### Response:

### Response:
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Saskatoon Accelerators score on January 6, 2008?

### Context:
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 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:
Name the flight up for 10 december 1982 19:02:36 utc

### Context:
CREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)

### Response:

### Response:
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Geelong play as the away team?

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

### Response:

### Response:
SELECT venue FROM table_name_62 WHERE away_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the Australia march 17, 2005

### Context:
CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)

### Response:

### Response:
SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the date of appointment when the date of vacancy is 21 december 2007?

### Context:
CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)

### Response:

### Response:
SELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = "21 December 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What as the production code for the episode directed by Robert Duncan McNeill?

### Context:
CREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cartoon titles and their directors ordered by their air date

### Context:
CREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR)

### Response:

### Response:
SELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rectifier for Det/Pre-amp of x and # tubes of 4

### Context:
CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR)

### Response:

### Response:
SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the avg start that starts at 30?

### Context:
CREATE TABLE table_1458412_1 (avg_start VARCHAR, starts VARCHAR)

### Response:

### Response:
SELECT avg_start FROM table_1458412_1 WHERE starts = 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What were the dates for Round 8?

### Context:
CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)

### Response:

### Response:
SELECT date FROM table_14016079_1 WHERE rd = 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 lowest League Cup Goals, when Scorer is Denis Law?

### Context:
CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)

### Response:

### Response:
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms?

### Context:
CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)

### Response:

### Response:
SELECT kentucky FROM table_18461045_1 WHERE michigan = "Grosse Pointe Farms-City LL Grosse Pointe Farms"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Game, when Opponents is less than 80, and when Record is "1-0"?

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

### Response:

### Response:
SELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = "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:
How many seasons have a premier date of January 6, 2005?

### Context:
CREATE TABLE table_2140071_5 (season VARCHAR, premier_date VARCHAR)

### Response:

### Response:
SELECT COUNT(season) FROM table_2140071_5 WHERE premier_date = "January 6, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest attendance that has oakland raiders as the opponent, with a week greater than 9?

### Context:
CREATE TABLE table_name_83 (attendance INTEGER, opponent VARCHAR, week VARCHAR)

### Response:

### Response:
SELECT MAX(attendance) FROM table_name_83 WHERE opponent = "oakland raiders" AND 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:
Which school did the player that played 2004-05 attend?

### Context:
CREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR)

### Response:

### Response:
SELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = "2004-05"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date of the race in Misano?

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

### Response:

### Response:
SELECT date FROM table_10083598_1 WHERE circuit = "Misano"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2006 what category has the Show of kasautii zindagii kay?

### Context:
CREATE TABLE table_name_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the fixed charge for the user who had a tariff of 11.30?

### Context:
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR)

### Response:

### Response:
SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "11.30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of November, when Game is greater than 23?

### Context:
CREATE TABLE table_name_40 (november INTEGER, game INTEGER)

### Response:

### Response:
SELECT SUM(november) FROM table_name_40 WHERE game > 23</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many positions have figueirense as the team, with a played greater than 38?

### Context:
CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" 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:
what is the turbo when the frequency is 2.2 ghz?

### Context:
CREATE TABLE table_name_63 (turbo VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT turbo FROM table_name_63 WHERE frequency = "2.2 ghz"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 D48 when D 43 is plurality ↑??

### Context:
CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR)

### Response:

### Response:
SELECT d_48 FROM table_name_27 WHERE d_43 = "plurality ↑"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 order of the Tokyo olympic games?

### Context:
CREATE TABLE table_name_9 (order VARCHAR, olympic_games VARCHAR)

### Response:

### Response:
SELECT order FROM table_name_9 WHERE olympic_games = "tokyo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the home team where Trail Blazers were the visitor?

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

### Response:

### Response:
SELECT home FROM table_name_70 WHERE visitor = "trail blazers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the winner women and third is italy and runner-up is finland?

### Context:
CREATE TABLE table_1216097_7 (winner VARCHAR, third VARCHAR, runner_up VARCHAR)

### Response:

### Response:
SELECT winner AS Women FROM table_1216097_7 WHERE third = "Italy" AND runner_up = "Finland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Assist/pass has a Goal of 5?

### Context:
CREATE TABLE table_name_31 (assist_pass VARCHAR, goal VARCHAR)

### Response:

### Response:
SELECT assist_pass FROM table_name_31 WHERE goal = "5"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"?

### Context:
CREATE TABLE table_name_48 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_48 WHERE outcome = "winner" AND opponents = "paul haarhuis sandon stolle"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name of the club that has the most female students.

### Context:
CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)

### Response:

### Response:
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname 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:
In games where st kilda was the away team, what was the smallest crowd?

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

### Response:

### Response:
SELECT MIN(crowd) FROM table_name_68 WHERE away_team = "st kilda"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Rank of the Athletes with a Time of 3:43.491?

### Context:
CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Evening that has a Sunday of no, and a Name of s. vidal/plant express?

### Context:
CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the party with end date of 22 november 1980

### Context:
CREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which average time has eithan urbach as a name with a lane bigger than 2?

### Context:
CREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 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 position does Ed Stokes hold?

### Context:
CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_87 WHERE player = "ed stokes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What game has 27-12 record?

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

### Response:

### Response:
SELECT game FROM table_name_14 WHERE record = "27-12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where is the track located with 18 turns?

### Context:
CREATE TABLE table_name_34 (track VARCHAR, turns VARCHAR)

### Response:

### Response:
SELECT track FROM table_name_34 WHERE turns = "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:
Which competition in Budapest, Hungary gave a result of 8th?

### Context:
CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 zachary sanders is the performer how many people is the music by?

### Context:
CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)

### Response:

### Response:
SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden"</s>


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

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

### Response:

### Response:
SELECT method FROM table_name_37 WHERE round = 1 AND record = "4–2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?

### Context:
CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)

### Response:

### Response:
SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse = "Kumsusan Memorial Palace"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number in series with director as Phil Abraham?

### Context:
CREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)

### Response:

### Response:
SELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = "Phil Abraham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Frequency MHz has a ERP W of 250?

### Context:
CREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR)

### Response:

### Response:
SELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away team score at Hawthorn?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many interviews were there for Miss Virginia?

### Context:
CREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 arranged song(s) with tom lyle on the vocal percussion?

### Context:
CREATE TABLE table_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)

### Response:

### Response:
SELECT arranger_s_ FROM table_28715942_2 WHERE vocal_percussionist_s_ = "Tom Lyle"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 from south korea and has a heat less than 3?

### Context:
CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "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:
Name the IATA of wmkk

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

### Response:

### Response:
SELECT iata FROM table_name_20 WHERE icao = "wmkk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 award show was Bad Girls nominated for Best Loved Drama in 2002?

### Context:
CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the records with a score is w 98–91

### Context:
CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT record FROM table_11964047_7 WHERE score = "W 98–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:
Tell me the highest cuts made with wins more than 1

### Context:
CREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER)

### Response:

### Response:
SELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina?

### Context:
CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fewest number of pages for the title al-jiniral fi matahatihi?

### Context:
CREATE TABLE table_name_39 (pages INTEGER, title VARCHAR)

### Response:

### Response:
SELECT MIN(pages) FROM table_name_39 WHERE title = "al-jiniral fi matahatihi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 track has the original album turbulent indigo?

### Context:
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)

### Response:

### Response:
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top 3 wineries with the greatest number of wines made of white color grapes.

### Context:
CREATE TABLE GRAPES (GRAPE VARCHAR, Color VARCHAR); CREATE TABLE WINE (Winery VARCHAR, GRAPE VARCHAR)

### Response:

### Response:
SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE = T2.GRAPE WHERE T1.Color = "White" GROUP BY T2.Winery ORDER BY COUNT(*) DESC LIMIT 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the NS with normal total of 102

### Context:
CREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR)

### Response:

### Response:
SELECT ns FROM table_name_11 WHERE normal_total = "102"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What home team played Fitzroy?

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

### Response:

### Response:
SELECT home_team FROM table_name_57 WHERE away_team = "fitzroy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date for morocco when the year was lerger than 1981?

### Context:
CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?

### Context:
CREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 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 got the pole position if the supporting is USAC National Midget Series?

### Context:
CREATE TABLE table_25459168_2 (pole_position VARCHAR, supporting VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_25459168_2 WHERE supporting = "USAC National Midget Series"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the June 21 ncaat baseball record for Fresno State Bulldogs?

### Context:
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the score for 1:36 time

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

### Response:

### Response:
SELECT score FROM table_name_20 WHERE time = "1:36"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What driver has a grid under 12 with a Time/Retired of + 3 laps?

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

### Response:

### Response:
SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team that Bradford City is playing against?

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

### Response:

### Response:
SELECT home_team FROM table_name_72 WHERE away_team = "bradford city"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jaime aff and christine langner are the performers what is the subject?

### Context:
CREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR)

### Response:

### Response:
SELECT subject FROM table_191105_3 WHERE performed_by = "Jaime Aff and Christine Langner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 RR numbers of hudswell clarke and years before 1914

### Context:
CREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT rr_nos FROM table_name_15 WHERE builder = "hudswell clarke" AND year < 1914</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 enrollment of the IHSAA A class in wolcott?

### Context:
CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Team has Laps smaller than 105, and a Grid smaller than 18, and Points of 11?

### Context:
CREATE TABLE table_name_16 (team VARCHAR, points VARCHAR, laps VARCHAR, grid VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_16 WHERE laps < 105 AND grid < 18 AND points = 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 manager for the fc inter club?

### Context:
CREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT manager FROM table_29250534_1 WHERE club = "FC Inter"</s>


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

### Context:
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)

### Response:

### Response:
SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala"</s>


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

### Context:
CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)

### Response:

### Response:
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Award, when Category is "Best Actor", and when Year is less than 1988?

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

### Response:

### Response:
SELECT award FROM table_name_35 WHERE category = "best actor" AND year < 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:
What title did George Fury win when on the Oran Park Raceway?

### Context:
CREATE TABLE table_name_6 (race_title VARCHAR, winner VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT race_title FROM table_name_6 WHERE winner = "george fury" AND circuit = "oran park raceway"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team score when the crowd was larger than 30,100?

### Context:
CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)

### Response:

### Response:
SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100</s>


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

### Context:
CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT title FROM table_2791668_1 WHERE written_by = "Philippe Browning"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?

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

### Response:

### Response:
SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When Fred Funk had a to par of E, what was the score?

### Context:
CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"</s>


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

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

### Response:

### Response:
SELECT AVG(laps) FROM table_name_5 WHERE driver = "bob wollek"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date for Game 41?

### Context:
CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_33 WHERE game = "41"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rating larger than 5 have the lowest amount of views in #3 rank with a share of 9?

### Context:
CREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR)

### Response:

### Response:
SELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = "#3" AND share = 9 AND rating > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What class was ren alde?

### Context:
CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT class FROM table_22824312_1 WHERE player = "Ren Alde"</s>


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

### Context:
CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_81 WHERE position = "shooting guard"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the total saving balance for each account name.

### Context:
CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)

### Response:

### Response:
SELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.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 highest pick number had Akeem Dent as a name and where the overall was less than 91?

### Context:
CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)

### Response:

### Response:
SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 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:
Name the college for houston oilers

### Context:
CREATE TABLE table_2508633_6 (college VARCHAR, nfl_team VARCHAR)

### Response:

### Response:
SELECT college FROM table_2508633_6 WHERE nfl_team = "Houston Oilers"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record for the Argonauts on September 7?

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

### Response:

### Response:
SELECT record FROM table_24136814_3 WHERE date = "September 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 Soap Opera with the character Teemu Luotola?

### Context:
CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the game that led to a 7-5 record?

### Context:
CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_91 WHERE record = "7-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:
Tell me the date for original week less than 16 and result of l 23–22

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

### Response:

### Response:
SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"</s>


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

### Context:
CREATE TABLE table_name_17 (bats VARCHAR, uni_number VARCHAR)

### Response:

### Response:
SELECT bats FROM table_name_17 WHERE uni_number = 31</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which nationality has a lane of 6 and a rank smaller than 6?

### Context:
CREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 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:
List all the names of schools with an endowment amount smaller than or equal to 10.

### Context:
CREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)

### Response:

### Response:
SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 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 red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780?

### Context:
CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR)

### Response:

### Response:
SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What player went to DePaul University?

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

### Response:

### Response:
SELECT player FROM table_name_80 WHERE college = "depaul"</s>


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

### Context:
CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR)

### Response:

### Response:
SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 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 are the ids, scores, and dates of the games which caused at least two injury accidents?

### Context:
CREATE TABLE game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)

### Response:

### Response:
SELECT T1.id, T1.score, T1.date FROM game AS T1 JOIN injury_accident AS T2 ON T2.game_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score for the game with a record of 38-18?

### Context:
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_84 WHERE record = "38-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:
Who is the runner(s)-up with a winning score of −5 (72-71-68=211)?

### Context:
CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR)

### Response:

### Response:
SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211)</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Type of museum is the Valdez museum?

### Context:
CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_73 WHERE name = "valdez museum"</s>


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

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

### Response:

### Response:
SELECT result FROM table_name_99 WHERE attendance = "25,418"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score in Tie number 16?

### Context:
CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_16 WHERE tie_no = "16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?

### Context:
CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)

### Response:

### Response:
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie number had a home team of Derby County?

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

### Response:

### Response:
SELECT tie_no FROM table_name_52 WHERE home_team = "derby county"</s>