<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 george bush for ronald reagan of 43%

### Context:
CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)

### Response:

### Response:
SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the distance for the course Civitavecchia to San Vincenzo?

### Context:
CREATE TABLE table_name_72 (distance VARCHAR, course VARCHAR)

### Response:

### Response:
SELECT distance FROM table_name_72 WHERE course = "civitavecchia to san vincenzo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Circuit has a Winning Driver of hans-joachim stuck, and a Round of 3?

### Context:
CREATE TABLE table_name_74 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_74 WHERE winning_driver = "hans-joachim stuck" AND round = 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of goals on the debut date of 14-04-1907?

### Context:
CREATE TABLE table_11585313_1 (number_of_goals VARCHAR, date_of_debut VARCHAR)

### Response:

### Response:
SELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = "14-04-1907"</s>


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

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

### Response:

### Response:
SELECT venue FROM table_21350934_2 WHERE score = "34-18"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the rating in 1997?

### Context:
CREATE TABLE table_11691212_2 (ratings VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT ratings FROM table_11691212_2 WHERE year = 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:
WHAT IS THE PLACE WITH PLAYER mark o'meara?

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

### Response:

### Response:
SELECT place FROM table_name_78 WHERE player = "mark o'meara"</s>


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

### Context:
CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT frequency FROM table_name_91 WHERE location = "davao city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If collingwood was the Home team, what Date did they play?

### Context:
CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_71 WHERE home_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:
Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?

### Context:
CREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR)

### Response:

### Response:
SELECT MAX(laps) FROM table_name_25 WHERE time_retired = "+1 lap" AND constructor = "brm" AND grid > 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 date for game 8

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

### Response:

### Response:
SELECT date FROM table_21091157_1 WHERE game = 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 opponent before week 5 that played on September 23, 2001?

### Context:
CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 bronzes that is less than 1 in total?

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

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_24 WHERE total < 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which circuit did alfa romeo win?

### Context:
CREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_41 WHERE winning_constructor = "alfa romeo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position had notes of 20km and a year earlier than 2002?

### Context:
CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
If the proto-semitic is *bayt-, what are the geez?

### Context:
CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR)

### Response:

### Response:
SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 finish when there was more than 192 laps and a qual of 135.736?

### Context:
CREATE TABLE table_name_2 (finish VARCHAR, laps VARCHAR, qual VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_2 WHERE laps > 192 AND qual = "135.736"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What years runner-up is Birmingham city, with over 1 runners-up?

### Context:
CREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the FIS Nordic World Ski Championships when holmenkollen is 1976?

### Context:
CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, holmenkollen VARCHAR)

### Response:

### Response:
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE holmenkollen = "1976"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the jockey for the winning horse Rafael Bejarano?

### Context:
CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)

### Response:

### Response:
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who are the candidates in the race where Wright Patman is the incumbent?

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

### Response:

### Response:
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?

### Context:
CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–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 Tries Against, when Points For is 98?

### Context:
CREATE TABLE table_name_22 (tries_against VARCHAR, points_for VARCHAR)

### Response:

### Response:
SELECT tries_against FROM table_name_22 WHERE points_for = "98"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the name of the player who is Sco and moving to greenock morton in the summer?

### Context:
CREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 lap total for the grid under 15 that retired due to transmission?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_65 WHERE grid < 15 AND time_retired = "transmission"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 actor/actress with a last appearance of 1 january 2010 and total is 20 and character is vanessa 'nessa' jenkins?

### Context:
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, character VARCHAR, last_appearance VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT actor_actress FROM table_25831483_1 WHERE last_appearance = "1 January 2010" AND total = 20 AND character = "Vanessa 'Nessa' Jenkins"</s>


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

### Context:
CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT position FROM table_name_57 WHERE school = "north 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 had the highest rebounds against detroit?

### Context:
CREATE TABLE table_name_65 (high_rebounds VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT high_rebounds FROM table_name_65 WHERE team = "detroit"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents have a Team of arsenal, and a Year of 1963–64?

### Context:
CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_84 WHERE date = "february 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:
How many scores are listed for game 37?

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

### Response:

### Response:
SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Winning driver of mercedes on 22 august?

### Context:
CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the 2012 club of the cf pos. player?

### Context:
CREATE TABLE table_name_85 (pos VARCHAR)

### Response:

### Response:
SELECT 2012 AS _club FROM table_name_85 WHERE pos = "cf"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT IS THE FIRST LEG OF TUILLA?

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

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were in Attendance during a Tie no of 1?

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

### Response:

### Response:
SELECT attendance FROM table_name_89 WHERE tie_no = 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 Tournament, when 2003 is "A"?

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

### Response:

### Response:
SELECT tournament FROM table_name_90 WHERE 2003 = "a"</s>


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

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_94 WHERE away_team = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
For the Loss of Plesac (1-5), what is the Record?

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

### Response:

### Response:
SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of points for field goals being 1

### Context:
CREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR)

### Response:

### Response:
SELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 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:
How many averages were listed for the couple who had 12 dances?

### Context:
CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)

### Response:

### Response:
SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score with a Winning team that is san antonio spurs?

### Context:
CREATE TABLE table_name_48 (score VARCHAR, winning_team VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_48 WHERE winning_team = "san antonio spurs"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Fulham as Team 1 has the 2nd leg score of what?

### Context:
CREATE TABLE table_name_44 (team_1 VARCHAR)

### Response:

### Response:
SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 captain with a Venue that is old trafford?

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

### Response:

### Response:
SELECT away_captain FROM table_name_36 WHERE venue = "old trafford"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the height in inches if the represented is Erongo?

### Context:
CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)

### Response:

### Response:
SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 goals scored when less than 34 were played and there were more than 2 draws?

### Context:
CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)

### Response:

### Response:
SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 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:
Name the first elected for kentucky 1

### Context:
CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 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 tyre with a 56 chassis?

### Context:
CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_99 WHERE chassis = "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:
Name the score for fiji

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

### Response:

### Response:
SELECT score FROM table_name_99 WHERE country = "fiji"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which method's event was flawless fighting championship 1: the beginning?

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

### Response:

### Response:
SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Saturday has a Thursday of 木曜日 mokuyōbi

### Context:
CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)

### Response:

### Response:
SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?

### Context:
CREATE TABLE table_name_21 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)

### Response:

### Response:
SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = "13 ships for usmc (plus 37 more for usn)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the first round when team 1 was toulouse fc (d1)?

### Context:
CREATE TABLE table_name_44 (team_1 VARCHAR)

### Response:

### Response:
SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest rink for Kingston?

### Context:
CREATE TABLE table_name_94 (rank INTEGER, location VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_94 WHERE location = "kingston"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many Points have a Score of 3–2, and an Attendance larger than 17,398?

### Context:
CREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT SUM(points) FROM table_name_86 WHERE score = "3–2" AND attendance > 17 OFFSET 398</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of games when for the term [c] of 1969 – 1973?

### Context:
CREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR)

### Response:

### Response:
SELECT SUM(games) FROM table_name_24 WHERE term_[c_] = "1969 – 1973"</s>


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

### Context:
CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR)

### Response:

### Response:
SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stores in the district with the most population.

### Context:
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)

### Response:

### Response:
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population 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:
how many hometowns for faisal aden?

### Context:
CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(hometown) FROM table_29598261_1 WHERE name = "Faisal Aden"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
The player with a rank of 9, made a move from what football club?

### Context:
CREATE TABLE table_name_55 (moving_from VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT moving_from FROM table_name_55 WHERE rank = 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:
Name the number of captains for barcelona

### Context:
CREATE TABLE table_29398373_2 (captain VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT COUNT(captain) FROM table_29398373_2 WHERE team = "Barcelona"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Blue Jays lose to when their record was 36-20?

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

### Response:

### Response:
SELECT loss FROM table_name_3 WHERE record = "36-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:
Who was the visiting team who played at the hubert h. humphrey metrodome stadium?

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

### Response:

### Response:
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 end (UTC) for spacecraft STS-114 Eva 3?

### Context:
CREATE TABLE table_22385461_6 (end__utc_ VARCHAR, spacecraft VARCHAR)

### Response:

### Response:
SELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = "STS-114 EVA 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?

### Context:
CREATE TABLE table_name_85 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)

### Response:

### Response:
SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = "0.54%" AND population > 105 OFFSET 275</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When was Hon Les Johnson in office?

### Context:
CREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR)

### Response:

### Response:
SELECT term_in_office FROM table_name_74 WHERE member = "hon les johnson"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?

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

### Response:

### Response:
SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 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:
Where is the orchestra when the year of recording is 1934?

### Context:
CREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)

### Response:

### Response:
SELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1934</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the To par for leland gibson

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

### Response:

### Response:
SELECT to_par FROM table_name_59 WHERE player = "leland gibson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Class of 350cc, with less than 13 points in 1959?

### Context:
CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_93 WHERE class = "350cc" AND points < 13 AND year = 1959</s>


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

### Context:
CREATE TABLE table_name_9 (chassis___engine VARCHAR, laps VARCHAR)

### Response:

### Response:
SELECT chassis___engine FROM table_name_9 WHERE laps = 77</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½?

### Context:
CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 38</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Japanese orthography for the abbreviation of ndmc?

### Context:
CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR)

### Response:

### Response:
SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the names of users whose emails contain ‘superstar’ or ‘edu’.

### Context:
CREATE TABLE user_profiles (name VARCHAR, email VARCHAR)

### Response:

### Response:
SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest number of members lost when the  net change is −1?

### Context:
CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)

### Response:

### Response:
SELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = "−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:
Tell me lived for name of 1994/2003

### Context:
CREATE TABLE table_name_99 (lived_when___mya__ VARCHAR, discovery___publication_of_name VARCHAR)

### Response:

### Response:
SELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = "1994/2003"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What name has 8 as the number?

### Context:
CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_5 WHERE number = "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 date did the Colts play New York Jets?

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

### Response:

### Response:
SELECT date FROM table_14945608_1 WHERE opponent = "New York Jets"</s>


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

### Context:
CREATE TABLE table_2140071_7 (season INTEGER)

### Response:

### Response:
SELECT MAX(season) FROM table_2140071_7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is To Par, when Country is "United States", when Place is "T4", and when Score is "71-68=139"?

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

### Response:

### Response:
SELECT to_par FROM table_name_75 WHERE country = "united states" AND place = "t4" AND score = 71 - 68 = 139</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date for the 130-56 game?

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

### Response:

### Response:
SELECT date FROM table_name_26 WHERE score = "130-56"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many figures for wickets when the strike rate is 54.0?

### Context:
CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR)

### Response:

### Response:
SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.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 away team score has carlton home team?

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

### Response:

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


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

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

### Response:

### Response:
SELECT attendance FROM table_name_65 WHERE tie_no = "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 day did Geelong play as the away team?

### Context:
CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_73 WHERE away_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what are all the result for New York 7 district

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

### Response:

### Response:
SELECT result FROM table_1341395_33 WHERE district = "New York 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:
List the name of all rooms sorted by their prices.

### Context:
CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)

### Response:

### Response:
SELECT roomName FROM Rooms ORDER BY basePrice</s>


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

### Context:
CREATE TABLE Employees (employee_ID VARCHAR, employee_name VARCHAR)

### Response:

### Response:
SELECT employee_ID FROM Employees WHERE employee_name = "Ebba"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 millions of US viewers watched the episode written by Jack Sanderson?

### Context:
CREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = "Jack Sanderson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest chapter with chinese of 釋言

### Context:
CREATE TABLE table_name_24 (chapter INTEGER, chinese VARCHAR)

### Response:

### Response:
SELECT MAX(chapter) FROM table_name_24 WHERE chinese = "釋言"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?

### Context:
CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most points that the Maserati 250F chassis scored in years after 1955?

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

### Response:

### Response:
SELECT MAX(points) FROM table_name_39 WHERE chassis = "maserati 250f" AND year > 1955</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 earliest year that there was a cosworth v8 engine and 12 points?

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

### Response:

### Response:
SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Fatalities when the tail number was unknown and in Kabul>

### Context:
CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college's overall number is more than 158 when Travian Robertson is the name?

### Context:
CREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT college FROM table_name_87 WHERE overall > 158 AND name = "travian robertson"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries spent $83.7 billion on international tourism in 2012?

### Context:
CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)

### Response:

### Response:
SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 viewers watched the episode written by shana goldberg-meehan & greg malins?

### Context:
CREATE TABLE table_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which school is in Riverside, CA?

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

### Response:

### Response:
SELECT school FROM table_name_76 WHERE hometown = "riverside, ca"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 To Par, when Score is "70-75-76=221"?

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

### Response:

### Response:
SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot?

### Context:
CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_43 WHERE size < 674 AND county = "19 dubois" AND mascot = "rangers"</s>


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

### Context:
CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_66 WHERE district = "colorado 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 average draw has points greater than 12?

### Context:
CREATE TABLE table_name_52 (draw INTEGER, points INTEGER)

### Response:

### Response:
SELECT AVG(draw) FROM table_name_52 WHERE points > 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:
Name the opponent that has attendance of 76,965

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

### Response:

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


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the shop that have the largest quantity of devices in stock.

### Context:
CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)

### Response:

### Response:
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the average number of silver medals when bronze is less than 0?

### Context:
CREATE TABLE table_name_86 (silver INTEGER, bronze INTEGER)

### Response:

### Response:
SELECT AVG(silver) FROM table_name_86 WHERE bronze < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest crowd population when the away team is Geelong?

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

### Response:

### Response:
SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the nba draft for al-farouq aminu?

### Context:
CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of processors for october 2006 - january 2010

### Context:
CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)

### Response:

### Response:
SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 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:
Name the total number of sinhalese for indian tamil being 177

### Context:
CREATE TABLE table_24574438_1 (sinhalese VARCHAR, indian_tamil VARCHAR)

### Response:

### Response:
SELECT COUNT(sinhalese) FROM table_24574438_1 WHERE indian_tamil = 177</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 office held by member Mark Coulton?

### Context:
CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)

### Response:

### Response:
SELECT in_office FROM table_name_58 WHERE member = "mark coulton"</s>


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

### Context:
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)

### Response:

### Response:
SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh"</s>


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

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

### Response:

### Response:
SELECT away_team FROM table_name_47 WHERE home_team = "essendon"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?

### Context:
CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR)

### Response:

### Response:
SELECT market_income_per_capita FROM table_22815568_3 WHERE status = "Distressed" AND unemployment_rate = "10.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 player played in 2000?

### Context:
CREATE TABLE table_name_66 (player VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_66 WHERE year = 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:
On what Date did the massacre result with 21 Injured?

### Context:
CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_73 WHERE injured = "21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many games played for the team with 48 points?

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

### Response:

### Response:
SELECT played FROM table_1676073_12 WHERE points = "48"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Leopold VI, Duke of Austria is the father-in-law of which person?

### Context:
CREATE TABLE table_name_26 (spouse VARCHAR, father VARCHAR)

### Response:

### Response:
SELECT spouse FROM table_name_26 WHERE father = "leopold vi, duke of austria"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was elected in 2003 with incumbent Mark Obenshain?

### Context:
CREATE TABLE table_name_47 (party VARCHAR, elected VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = "mark obenshain"</s>


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

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

### Response:

### Response:
SELECT tie_no FROM table_name_98 WHERE home_team = "scarborough"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What years did the person coach who had less than 82 wins and more than 24 losses?

### Context:
CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 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 type is locomotive number CTN 46?

### Context:
CREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR)

### Response:

### Response:
SELECT type FROM table_name_26 WHERE locomotive_number = "ctn 46"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of series episode for s piston

### Context:
CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR)

### Response:

### Response:
SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Losses have a Ballarat FL of melton south, and an Against larger than 1468?

### Context:
CREATE TABLE table_name_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT COUNT(losses) FROM table_name_10 WHERE ballarat_fl = "melton south" AND against > 1468</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What countries are visited in the episode presented by Brian B. Thompson?

### Context:
CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR)

### Response:

### Response:
SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the event average for a top-25 smaller than 0?

### Context:
CREATE TABLE table_name_84 (events INTEGER, top_25 INTEGER)

### Response:

### Response:
SELECT AVG(events) FROM table_name_84 WHERE top_25 < 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 Injured, when Date is "09.15 Sep. 15"?

### Context:
CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the description when the reserve is Half Moon Caye?

### Context:
CREATE TABLE table_name_40 (description VARCHAR, reserve VARCHAR)

### Response:

### Response:
SELECT description FROM table_name_40 WHERE reserve = "half moon caye"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?

### Context:
CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)

### Response:

### Response:
SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?

### Context:
CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What boat was laid down on 25 april 1887?

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

### Response:

### Response:
SELECT name FROM table_name_26 WHERE laid_down = "25 april 1887"</s>


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

### Context:
CREATE TABLE table_28211103_1 (attendance VARCHAR, st_kilda_score VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_28211103_1 WHERE st_kilda_score = "13.10.88"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 capital (endonym) where Douglas is the Capital (exonym)?

### Context:
CREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)

### Response:

### Response:
SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = "Douglas"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 maximum horsepower and the make of the car models with 3 cylinders?

### Context:
CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)

### Response:

### Response:
SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the altitude for the distance medellin downtown (km) is 42?

### Context:
CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR)

### Response:

### Response:
SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Input/output operations per second for the emlc flash?

### Context:
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)

### Response:

### Response:
SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 the people in attendance when there was a Loss of clement (5–7)?

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

### Response:

### Response:
SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What Losing bonus has a Points against of 588?

### Context:
CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR)

### Response:

### Response:
SELECT losing_bonus FROM table_name_62 WHERE points_against = "588"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which city is Alianza?

### Context:
CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT city FROM table_name_62 WHERE name = "alianza"</s>


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

### Context:
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)

### Response:

### Response:
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the to par when South Africa was in T4 place?

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

### Response:

### Response:
SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Term end that has a Party of united australia and 184 days in office?

### Context:
CREATE TABLE table_name_74 (term_end VARCHAR, party VARCHAR, term_in_office VARCHAR)

### Response:

### Response:
SELECT term_end FROM table_name_74 WHERE party = "united australia" AND term_in_office = "184 days"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1st leg of the match that had an aggregate of 4-3?

### Context:
CREATE TABLE table_name_11 (agg VARCHAR)

### Response:

### Response:
SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score of the game that had a loss of Embree (1-2)?

### Context:
CREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_98 WHERE loss = "embree (1-2)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the innings for 5088 runs scored

### Context:
CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR)

### Response:

### Response:
SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps?

### Context:
CREATE TABLE table_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT class AS pos FROM table_name_25 WHERE year > 1997 AND team = "corvette racing" AND class = "gt1" AND laps = 327</s>


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

### Context:
CREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR)

### Response:

### Response:
SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 West Asian Games 2005 on 10 dec 2005?

### Context:
CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the venue of teh carfax 250 race?

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

### Response:

### Response:
SELECT venue FROM table_name_62 WHERE race = "carfax 250"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when andray blatche , al thornton (20) had the high points?

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

### Response:

### Response:
SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (20)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?

### Context:
CREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR)

### Response:

### Response:
SELECT attempts FROM table_name_42 WHERE team = "iowa" AND yards = "2,249"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 date entered service with ships name koningin wilhelmina

### Context:
CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)

### Response:

### Response:
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Koningin Wilhelmina"</s>


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

### Context:
CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?

### Context:
CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)

### Response:

### Response:
SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What episode was writted by John A. Norris?

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

### Response:

### Response:
SELECT title FROM table_11695215_1 WHERE written_by = "John A. Norris"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many episodes did actress Vanessa Ferlito appear in?

### Context:
CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR)

### Response:

### Response:
SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito"</s>


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

### Context:
CREATE TABLE table_name_58 (round INTEGER, college VARCHAR)

### Response:

### Response:
SELECT MIN(round) FROM table_name_58 WHERE college = "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:
Name the venue for 27th position

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

### Response:

### Response:
SELECT venue FROM table_name_1 WHERE position = "27th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 R. Magjistari scores over 12, what is the highest number of points?

### Context:
CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)

### Response:

### Response:
SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total having a bronze value over 1, silver under 5, and ranked 9?

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

### Response:

### Response:
SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "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:
Name the record for february 27

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

### Response:

### Response:
SELECT record FROM table_name_67 WHERE date = "february 27"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times is player Stanislas Wawrinka on the list?

### Context:
CREATE TABLE table_26218783_6 (points VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(points) AS defending FROM table_26218783_6 WHERE player = "Stanislas Wawrinka"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home team with the ny rangers as the visitor team?

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

### Response:

### Response:
SELECT home FROM table_name_16 WHERE visitor = "ny rangers"</s>


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

### Context:
CREATE TABLE table_2850912_7 (position VARCHAR, nhl_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_2850912_7 WHERE nhl_team = "Los Angeles Kings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the names listed in the family  il-1f2?

### Context:
CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR)

### Response:

### Response:
SELECT name FROM table_29871617_1 WHERE family_name = "IL-1F2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the London Marathon held?

### Context:
CREATE TABLE table_name_19 (venue VARCHAR, event VARCHAR, competition VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_19 WHERE event = "marathon" AND competition = "london 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:
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?

### Context:
CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the result for thomas s. mcmillan?

### Context:
CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)

### Response:

### Response:
SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing managers were replaced by Bob Peeters?

### Context:
CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)

### Response:

### Response:
SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters"</s>


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

### Context:
CREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the player on a team from the 1970s?

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

### Response:

### Response:
SELECT player FROM table_name_63 WHERE team = "1970s"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the home teams score at Victoria Park?

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

### Response:

### Response:
SELECT home_team AS score FROM table_name_31 WHERE venue = "victoria park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when the Blue Jays had a record of 39-20?

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

### Response:

### Response:
SELECT score FROM table_name_56 WHERE record = "39-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:
Who is the opponent on November 20, 1966?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much does each charge type costs? List both charge type and amount.

### Context:
CREATE TABLE Charges (charge_type VARCHAR, charge_amount VARCHAR)

### Response:

### Response:
SELECT charge_type, charge_amount FROM Charges</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?

### Context:
CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR)

### Response:

### Response:
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "VijayaLaxmi" AND lyricist = "Shakeel Badayuni"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What type is González?

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

### Response:

### Response:
SELECT type FROM table_name_20 WHERE name = "gonzález"</s>


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

### Context:
CREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = "cardinal-bishop of albano"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?

### Context:
CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"</s>


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

### Context:
CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR)

### Response:

### Response:
SELECT construction AS date FROM table_22180353_1 WHERE registration = "HB-HOS"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What score has april 28 as the date?

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

### Response:

### Response:
SELECT score FROM table_name_5 WHERE date = "april 28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the episode with the 183,000 viewers?

### Context:
CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR)

### Response:

### Response:
SELECT episode FROM table_name_64 WHERE viewers = "183,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?

### Context:
CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR)

### Response:

### Response:
SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What shows for miles [One Way] when the fans took 340?

### Context:
CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR)

### Response:

### Response:
SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1994 if 1995 has a 1R?

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

### Response:

### Response:
SELECT 1994 FROM table_name_84 WHERE 1995 = "1r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Gold, when Rank is 7?

### Context:
CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT gold FROM table_name_38 WHERE rank = "7"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the result was l 13-7 ot, who was the opponent?

### Context:
CREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT opponent FROM table_name_27 WHERE result = "l 13-7 ot"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the score for international friendly 17 august 2013

### Context:
CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the race where the pole position is niki lauda and the date is 27 april?

### Context:
CREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT race FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND date = "27 April"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the circuit for jim clark

### Context:
CREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR)

### Response:

### Response:
SELECT circuit FROM table_name_25 WHERE fastest_lap = "jim clark"</s>