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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date did a game higher than 10 have a score of 99-89?

### Context:
CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_26 WHERE game > 10 AND score = "99-89"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 against with 1 draw and less than 8 played?

### Context:
CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)

### Response:

### Response:
SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 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:
Name the california where alaska tennessee

### Context:
CREATE TABLE table_17425749_1 (california VARCHAR, alaska VARCHAR)

### Response:

### Response:
SELECT california FROM table_17425749_1 WHERE alaska = "Tennessee"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nominated for best supporting actor in the movie Going My Way?

### Context:
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Best Supporting Actor"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 roles are there in the club "Bootup Baltimore"?

### Context:
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)

### Response:

### Response:
SELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day in october was game number 4 with under 3 points?

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

### Response:

### Response:
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?

### Context:
CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 laps for Karl Muggeridge on a grid less than 16?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_74 WHERE rider = "karl muggeridge" AND grid < 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 grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position?

### Context:
CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)

### Response:

### Response:
SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "michael schumacher"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 match at venue A with the celtic as the opponent?

### Context:
CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_41 WHERE venue = "a" AND opponent = "celtic"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 regular season had the playoffs of 0 mls cups?

### Context:
CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR)

### Response:

### Response:
SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score when parkgate is at home?

### Context:
CREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_38 WHERE home_team = "parkgate"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Election year was Adalberto Mosaner the Mayor with less than 16,170 Inhabitants?

### Context:
CREATE TABLE table_name_64 (election INTEGER, mayor VARCHAR, inhabitants VARCHAR)

### Response:

### Response:
SELECT SUM(election) FROM table_name_64 WHERE mayor = "adalberto mosaner" AND inhabitants < 16 OFFSET 170</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 belong to the institution "University of Oxford"? Show the first names and last names.

### Context:
CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "University of Oxford"</s>


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

### Context:
CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)

### Response:

### Response:
SELECT surname FROM table_name_38 WHERE first = "marc"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was before 2010 and was a role-playing game?

### Context:
CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR)

### Response:

### Response:
SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "role-playing game"</s>


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

### Context:
CREATE TABLE table_name_81 (centerfold_model VARCHAR, cover_model VARCHAR)

### Response:

### Response:
SELECT centerfold_model FROM table_name_81 WHERE cover_model = "irina voronina"</s>


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

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

### Response:

### Response:
SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?

### Context:
CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)

### Response:

### Response:
SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the points against for november 14

### Context:
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_15607589_2 WHERE date = "November 14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the venue when the result is loss and the opponent is st george-illawarra dragons?

### Context:
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest numbered episode in the series?

### Context:
CREATE TABLE table_28019988_5 (series__number INTEGER)

### Response:

### Response:
SELECT MAX(series__number) FROM table_28019988_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:
Find the number of female students (with F sex) living in Smith Hall

### Context:
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)

### Response:

### Response:
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the catalog number for the Grilled Cheese label?

### Context:
CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)

### Response:

### Response:
SELECT catalog FROM table_name_33 WHERE label = "grilled cheese"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 actor plays the character Helga Beimer?

### Context:
CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR)

### Response:

### Response:
SELECT actor FROM table_name_83 WHERE character = "helga beimer"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latest year when the best finish is 2 and the scoring average is less than 71.24?

### Context:
CREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_51 WHERE best_finish = "2" AND scoring_average < 71.24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the least year for evonne goolagong helen gourlay

### Context:
CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 imprint when the title is owari no chronicle (ahead series)?

### Context:
CREATE TABLE table_name_22 (imprint VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT imprint FROM table_name_22 WHERE title = "owari no chronicle (ahead 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:
Which Record has a High points of hoffman (16)?

### Context:
CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_58 WHERE high_points = "hoffman (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:
Which party has Peter A. Quinn as a representative?

### Context:
CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_77 WHERE score = "21-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 score on April 12?

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

### Response:

### Response:
SELECT score FROM table_name_88 WHERE date = "april 12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the series count at for game 5?

### Context:
CREATE TABLE table_11963601_11 (series VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT series FROM table_11963601_11 WHERE game = 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:
In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?

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

### Response:

### Response:
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306</s>


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

### Context:
CREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT scorers FROM table_name_63 WHERE opponent = "aberdeen"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 no opinion score during 1954 November that is more favorable than 35?

### Context:
CREATE TABLE table_name_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR)

### Response:

### Response:
SELECT AVG(no_opinion) FROM table_name_94 WHERE date = "1954 november" AND favorable > 35</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many floors are in little Italy?

### Context:
CREATE TABLE table_name_42 (floors VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT COUNT(floors) FROM table_name_42 WHERE location = "little italy"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first election for the labor party is James Sharpe a part of?

### Context:
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_name_28 WHERE party = "labor" AND member = "james sharpe"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the year in which the driver was in 1st place.

### Context:
CREATE TABLE table_25561038_1 (season VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT season FROM table_25561038_1 WHERE position = "1st"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 occurred after 1980 with a score of 0:5 in Jerusalem?

### Context:
CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem"</s>


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

### Context:
CREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR)

### Response:

### Response:
SELECT approx_premium FROM table_10408617_5 WHERE tariff_code = "g9"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?

### Context:
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)

### Response:

### Response:
SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 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:
When karl ridderbusch is the la roche who is the olivier?

### Context:
CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)

### Response:

### Response:
SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 score when they played at Brunswick Street Oval?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_92 WHERE venue = "brunswick street 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:
Who won the Silver the Year Katie Curtis Unknown won the Bronze?

### Context:
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)

### Response:

### Response:
SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Week, when Result is W 34-21?

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

### Response:

### Response:
SELECT MAX(week) FROM table_name_89 WHERE result = "w 34-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:
What wheel arrangement was made in 1910?

### Context:
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)

### Response:

### Response:
SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest rank of a company that has 1,715.8 billion in assets?

### Context:
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.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 are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances?

### Context:
CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)

### Response:

### Response:
SELECT seasons_by_team FROM table_274117_5 WHERE position = "OL" AND number = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What day was the high assist Mike Taylor (5)?

### Context:
CREATE TABLE table_name_95 (date VARCHAR, high_assists VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_95 WHERE high_assists = "mike taylor (5)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the frequency for the station with DYBT as its callsign?

### Context:
CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_53 WHERE callsign = "dybt"</s>


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

### Context:
CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the authors of submissions and the acceptance results of their submissions.

### Context:
CREATE TABLE acceptance (Result VARCHAR, Submission_ID VARCHAR); CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR)

### Response:

### Response:
SELECT T2.Author, T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was Motherwell the opponent at Fir Park?

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

### Response:

### Response:
SELECT date FROM table_name_77 WHERE opponent = "motherwell" AND venue = "fir park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which attendance has 9 as the tie no.?

### Context:
CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_43 WHERE tie_no = 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Peak with a Project Name that is talakan ph 1?

### Context:
CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR)

### Response:

### Response:
SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the source of an ENG transfer that paid a £1.5m transfer fee?

### Context:
CREATE TABLE table_name_88 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR)

### Response:

### Response:
SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much did Jerry Barber score to come in at T9?

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

### Response:

### Response:
SELECT score FROM table_name_79 WHERE place = "t9" AND player = "jerry barber"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of laps with a Grid larger than 14, a Time/Retired of + 2 laps, and a Driver of helmut marko?

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

### Response:

### Response:
SELECT MAX(laps) FROM table_name_30 WHERE grid > 14 AND time_retired = "+ 2 laps" AND driver = "helmut marko"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
List the most common type of competition.

### Context:
CREATE TABLE competition (Competition_type VARCHAR)

### Response:

### Response:
SELECT Competition_type FROM competition GROUP BY Competition_type 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:
Name the % for core moldova being 4.36%

### Context:
CREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR)

### Response:

### Response:
SELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2006 when the 2010 is 27

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

### Response:

### Response:
SELECT 2006 FROM table_name_26 WHERE 2010 = "27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the smallest total number of medals for rank 11 and more than 0 silver medals?

### Context:
CREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR)

### Response:

### Response:
SELECT MIN(total) FROM table_name_25 WHERE rank = "11" AND silver > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total react number with a time less than 20.05 and a lane less than 6?

### Context:
CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR)

### Response:

### Response:
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 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:
Region of eastern england has what investment income?

### Context:
CREATE TABLE table_name_30 (investment_income VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT investment_income FROM table_name_30 WHERE region = "eastern england"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the record 21-25?

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

### Response:

### Response:
SELECT date FROM table_name_79 WHERE record = "21-25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which December has a Record of 21–7–2, and a Game larger than 30?

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

### Response:

### Response:
SELECT MAX(december) FROM table_name_59 WHERE record = "21–7–2" AND game > 30</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the average crowd size when the away team was South Melbourne?

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

### Response:

### Response:
SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What chassis had an entrant of G.A. Vandervell?

### Context:
CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR)

### Response:

### Response:
SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 facility was Pittsburgh's home game played?

### Context:
CREATE TABLE table_28298589_4 (site VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT site FROM table_28298589_4 WHERE home_team = "Pittsburgh"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Pole Position for the German Grand Prix

### Context:
CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of products ordered before 2018-03-17 07:13:53.

### Context:
CREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)

### Response:

### Response:
SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < "2018-03-17 07:13:53"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team has a 118 Point for?

### Context:
CREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_24 WHERE points_for = "118"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT WAS THE SCORE FOR GAME 31?

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

### Response:

### Response:
SELECT score FROM table_15869204_6 WHERE game = 31</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Wickets with a 26.13 average?

### Context:
CREATE TABLE table_name_8 (wickets VARCHAR, average VARCHAR)

### Response:

### Response:
SELECT COUNT(wickets) FROM table_name_8 WHERE average = 26.13</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m?

### Context:
CREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR)

### Response:

### Response:
SELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = "11,312 feet 3448 m"</s>


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

### Context:
CREATE TABLE table_name_28 (circuit VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_28 WHERE winning_driver = "jochen rindt"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the sum of Hull number with portugal destination

### Context:
CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR)

### Response:

### Response:
SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009's 2010 featured the wta premier 5 tournaments?

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

### Response:

### Response:
SELECT 2009 FROM table_name_72 WHERE 2010 = "wta premier 5 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:
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?

### Context:
CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)

### Response:

### Response:
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 letters were given to the organization with a founding date of 1997-12-12?

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

### Response:

### Response:
SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the host city in years where the host school was école de technologie supérieure?

### Context:
CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)

### Response:

### Response:
SELECT host_city FROM table_2331549_1 WHERE host_school = "École de technologie supérieure"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score of the match with a save postponed rescheduled for June 24?

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

### Response:

### Response:
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was the Blue Jays record 60-56?

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

### Response:

### Response:
SELECT date FROM table_name_25 WHERE record = "60-56"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team won against the New England Patriots 40-21?

### Context:
CREATE TABLE table_name_14 (winner VARCHAR, loser VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_14 WHERE loser = "new england patriots" AND result = "40-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:
What lane has a time of 1:57.71?

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

### Response:

### Response:
SELECT SUM(lane) FROM table_name_95 WHERE time = "1:57.71"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0?

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

### Response:

### Response:
SELECT MAX(against) FROM table_name_56 WHERE losses > 9 AND byes = 2 AND draws > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the to par number of the person who won in 2003?

### Context:
CREATE TABLE table_name_40 (to_par VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_40 WHERE year_s__won = "2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the opponent when the method is tko (punches) at 4:26 of round 1?

### Context:
CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of Team 2 with a Team 1 of Al Qadsia?

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

### Response:

### Response:
SELECT team_2 FROM table_name_4 WHERE team_1 = "al qadsia"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percentage of safari when firefox was 24.66%

### Context:
CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR)

### Response:

### Response:
SELECT safari FROM table_name_10 WHERE firefox = "24.66%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
which country won swimming track & field when lexington won swimming and madison won volleyball

### Context:
CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR)

### Response:

### Response:
SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did the Paris Marathon occur?

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

### Response:

### Response:
SELECT venue FROM table_name_47 WHERE competition = "paris marathon"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where did Richmond play as an away team?

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

### Response:

### Response:
SELECT venue FROM table_name_70 WHERE away_team = "richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?

### Context:
CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"</s>


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

### Context:
CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)

### Response:

### Response:
SELECT launch_date FROM table_name_22 WHERE designation = "atv-002"</s>


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

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

### Response:

### Response:
SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When rashard lewis (24) has the highest amount of points who is the team?

### Context:
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)

### Response:

### Response:
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the highest division number through the years?

### Context:
CREATE TABLE table_1990460_1 (division INTEGER)

### Response:

### Response:
SELECT MAX(division) FROM table_1990460_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What To par has a Country of united states, and a Score of 67-66-78-77=288?

### Context:
CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the period for uruguay

### Context:
CREATE TABLE table_24565004_19 (period VARCHAR, nationality² VARCHAR)

### Response:

### Response:
SELECT period FROM table_24565004_19 WHERE nationality² = "Uruguay"</s>


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

### Context:
CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)

### Response:

### Response:
SELECT owner FROM table_name_60 WHERE seats = 84</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year has the time of 55:29:20?

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

### Response:

### Response:
SELECT COUNT(year) FROM table_name_16 WHERE time = "55:29:20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the captain rank that has some captains in both Cutter and Armed schooner classes.

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

### Response:

### Response:
SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Player with a Cross Code Debut of RL Test GB v France?

### Context:
CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent of the game played on November 20, 1995?

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

### Response:

### Response:
SELECT opponent FROM table_name_66 WHERE date = "november 20, 1995"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of cities of markets with low film market estimate bigger than 10000?

### Context:
CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)

### Response:

### Response:
SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 surface on march 2, 1997?

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

### Response:

### Response:
SELECT surface FROM table_name_91 WHERE date = "march 2, 1997"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of air dates for 05 cycle

### Context:
CREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)

### Response:

### Response:
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "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:
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)

### Context:
CREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)

### Response:

### Response:
SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the title when the series # is 7?

### Context:
CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR)

### Response:

### Response:
SELECT title FROM table_29747178_2 WHERE series__number = 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Start has a 0 Conv, 0 Pens and 8 Tries?

### Context:
CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR)

### Response:

### Response:
SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "8"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which game was played on march 2?

### Context:
CREATE TABLE table_name_4 (game INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(game) FROM table_name_4 WHERE date = "march 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 country of t1 place player wayne grady?

### Context:
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the away score with a record of 7-4, win% of 0.637, and 2010 season?

### Context:
CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR)

### Response:

### Response:
SELECT away FROM table_name_22 WHERE record = "7-4" AND win__percentage = 0.637 AND season = "2010"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many high assists did the Lakers have?

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

### Response:

### Response:
SELECT high_assists FROM table_name_84 WHERE team = "lakers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 episode number where jimmy mulville was the 4th performer?

### Context:
CREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR)

### Response:

### Response:
SELECT AVG(episode) FROM table_name_35 WHERE performer_4 = "jimmy mulville"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film or series was nominated in the category of best fansite?

### Context:
CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR)

### Response:

### Response:
SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 coast guard cross when you recieve the navy distinguished service medal?

### Context:
CREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR)

### Response:

### Response:
SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Player, when Country is "England", and when Place is "T7"?

### Context:
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 celebrity who exited on day 13?

### Context:
CREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR)

### Response:

### Response:
SELECT celebrity FROM table_name_35 WHERE exited = "day 13"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?

### Context:
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)

### Response:

### Response:
SELECT school FROM table_11677691_2 WHERE college = "South Carolina"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who are all the writers of episodes in season 24?

### Context:
CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)

### Response:

### Response:
SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the type of glycosylase that has an E. coli of Muty?

### Context:
CREATE TABLE table_name_11 (type VARCHAR, e_coli VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_11 WHERE e_coli = "muty"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Score has a To par of –4, and a Player of duffy waldorf?

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

### Response:

### Response:
SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf"</s>


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

### Context:
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 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 country is ranked number 2 and has less than 5 total medals?

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

### Response:

### Response:
SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 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 lowest production code value in series #10?

### Context:
CREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR)

### Response:

### Response:
SELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps have a Time/Retired of +12.5 secs?

### Context:
CREATE TABLE table_name_87 (laps VARCHAR, time_retired VARCHAR)

### Response:

### Response:
SELECT COUNT(laps) FROM table_name_87 WHERE time_retired = "+12.5 secs"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1 for the major league soccer all-star game?

### Context:
CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR)

### Response:

### Response:
SELECT score1 FROM table_name_20 WHERE competition_or_tour = "major league soccer all-star game"</s>


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

### Context:
CREATE TABLE table_name_8 (player VARCHAR, span VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_8 WHERE span = "1998-2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is nominated for the film Rugrats Go Wild?

### Context:
CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)

### Response:

### Response:
SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 emails of customers who has filed a complaints of the product with the most complaints.

### Context:
CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)

### Response:

### Response:
SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the writer for the episode with an Original air date of october 9, 2000?

### Context:
CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many people were at Washington's home game against Miami?

### Context:
CREATE TABLE table_name_31 (attendance VARCHAR, visitor VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT COUNT(attendance) FROM table_name_31 WHERE visitor = "miami" AND home = "washington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the  score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where are the headquarters of the company whose sales were 69.2 billion?

### Context:
CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR)

### Response:

### Response:
SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.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 uninterrupted ranks does john dingell have?

### Context:
CREATE TABLE table_name_87 (uninterrupted_rank VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(uninterrupted_rank) FROM table_name_87 WHERE name = "john dingell"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the songs whose name contains the word "the".

### Context:
CREATE TABLE songs (title VARCHAR)

### Response:

### Response:
SELECT title FROM songs WHERE title LIKE '% the %'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 average year that the venue was Bokskogens?

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

### Response:

### Response:
SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the points average when the tied is greater than 8, less than 82 games and the coach of Bryan Mclay † Morris Lallo ‡ Gerry Moore ‡, and greater than 322 goals?

### Context:
CREATE TABLE table_name_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_13 WHERE tied > 8 AND games < 82 AND coach = "bryan mclay † morris lallo ‡ gerry moore ‡" AND goals_against > 322</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college had the 93 pick?

### Context:
CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_50 WHERE pick = 93</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What away team played when the crowd was over 27,463 people?

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

### Response:

### Response:
SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 with a height of 205 and shirt no 8?

### Context:
CREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 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:
Who was the winner on the Symmons Plains Raceway?

### Context:
CREATE TABLE table_14016079_1 (winner VARCHAR, circuit VARCHAR)

### Response:

### Response:
SELECT winner FROM table_14016079_1 WHERE circuit = "Symmons Plains 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:
Who directed the episode that had 3.55 million viewers?

### Context:
CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)

### Response:

### Response:
SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
During the 1st Place (Won the Series), who was the act?

### Context:
CREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR)

### Response:

### Response:
SELECT act FROM table_23429629_4 WHERE place_came = "1st Place (Won the 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 was the record after the game on November 10?

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

### Response:

### Response:
SELECT record FROM table_27755784_6 WHERE date = "November 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:
Tell me the time for buffalo bills

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

### Response:

### Response:
SELECT time FROM table_name_9 WHERE opponent = "buffalo bills"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the average laps driven by david coulthard?

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

### Response:

### Response:
SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the game that had a loss of Stottlemyre (10-12)?

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

### Response:

### Response:
SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-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:
How many authors are there?

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Saffir-Simpson category for the hurricane named Bonnie?

### Context:
CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie"</s>


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

### Context:
CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_69 WHERE height = "6-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 the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?

### Context:
CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)

### Response:

### Response:
SELECT role FROM table_name_26 WHERE notes = "antagonist" AND title = "salud, dinero y amor"</s>


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

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

### Response:

### Response:
SELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Song has a Draw of less than 4 with a Percentage of 32.22%?

### Context:
CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)

### Response:

### Response:
SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.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:
What time is it for the southern home team?

### Context:
CREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_82 WHERE home_team = "southern"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every year named for the latitude of 66.5N?

### Context:
CREATE TABLE table_16799784_12 (year_named VARCHAR, latitude VARCHAR)

### Response:

### Response:
SELECT year_named FROM table_16799784_12 WHERE latitude = "66.5N"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 percentage of Android use when Windows is 1.15%?

### Context:
CREATE TABLE table_11381701_3 (android VARCHAR, windows VARCHAR)

### Response:

### Response:
SELECT android FROM table_11381701_3 WHERE windows = "1.15%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was Melbourne's home team opponent?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the center of the Artsakh province?

### Context:
CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)

### Response:

### Response:
SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"</s>


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

### Context:
CREATE TABLE table_name_17 (episode_number VARCHAR, podcast_date VARCHAR)

### Response:

### Response:
SELECT episode_number FROM table_name_17 WHERE podcast_date = "august 8, 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:
Who is the opponent with 16 points?

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

### Response:

### Response:
SELECT opponent FROM table_name_5 WHERE opponents = 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:
Which round has 4 clubs involved?

### Context:
CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_51 WHERE clubs_involved = 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 player is from Ohio State college?

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

### Response:

### Response:
SELECT player FROM table_11677691_9 WHERE college = "Ohio State"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 man of the match for 24th

### Context:
CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every reason for change for the Washington 3rd District?

### Context:
CREATE TABLE table_2159571_2 (reason_for_change VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT reason_for_change FROM table_2159571_2 WHERE district = "Washington 3rd"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 position of Greg Fredlund in years after 2008?

### Context:
CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 put on the show where the numbers were 227412

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

### Response:

### Response:
SELECT directed_by FROM table_27716091_1 WHERE production_code = 227412</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 elections have resulted in retired democratic hold?

### Context:
CREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR)

### Response:

### Response:
SELECT COUNT(party) FROM table_1341453_34 WHERE results = "Retired Democratic hold"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What college did the player who was drafted by Calgary go to?

### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR)

### Response:

### Response:
SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show the addresses of the buildings that have apartments with more than 2 bathrooms.

### Context:
CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER)

### Response:

### Response:
SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_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 Away Team Score of the Collingwood Home Team?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the value of Ends Lost when Blank Ends is 9.

### Context:
CREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR)

### Response:

### Response:
SELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 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 Decision has a Date of april 25?

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

### Response:

### Response:
SELECT decision FROM table_name_85 WHERE date = "april 25"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Record, when Date is October 31?

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

### Response:

### Response:
SELECT record FROM table_name_37 WHERE date = "october 31"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?

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

### Response:

### Response:
SELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 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 rank is the parish with 482.81 km^2?

### Context:
CREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR)

### Response:

### Response:
SELECT census_ranking FROM table_171356_2 WHERE area_km_2 = "482.81"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Nation has a Second of tomas pitonak?

### Context:
CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR)

### Response:

### Response:
SELECT nation FROM table_name_72 WHERE second = "tomas pitonak"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location of quezon city , metro manila what is the athletic nickname?

### Context:
CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT athletic_nickname FROM table_22171978_1 WHERE location = "Quezon City , Metro Manila"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the listed year that has a rank smaller than 8 and moving from Olympiacos?

### Context:
CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the To par and holds the t8 place of the United States player Tiger Woods?

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

### Response:

### Response:
SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Date of the Game with a Record of 46-22?

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

### Response:

### Response:
SELECT date FROM table_name_17 WHERE record = "46-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:
What year was communications and corporate affairs held by Jeff Rotman?

### Context:
CREATE TABLE table_12113818_1 (year VARCHAR, communications_and_corporate_affairs VARCHAR)

### Response:

### Response:
SELECT year FROM table_12113818_1 WHERE communications_and_corporate_affairs = "Jeff Rotman"</s>


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

### Context:
CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_24 WHERE game = 24</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the placement date of the order whose invoice number is 10?

### Context:
CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)

### Response:

### Response:
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10</s>