<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 trainer had a time of 1:10.09 with a year less than 2009?

### Context:
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"</s>


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

### Context:
CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)

### Response:

### Response:
SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 where visitor is phoenix suns and record is 31–30

### Context:
CREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT date FROM table_11964047_9 WHERE visitor = "Phoenix Suns" AND record = "31–30"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In how many district has a politician took office on 1844-10-14?

### Context:
CREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR)

### Response:

### Response:
SELECT district FROM table_26362472_1 WHERE took_office = "1844-10-14"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the heat rank for senegal

### Context:
CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT heat_rank FROM table_name_22 WHERE country = "senegal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?

### Context:
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)

### Response:

### Response:
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "23' 18.82 97.102mph"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winner on 28 December 2007?

### Context:
CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_59 WHERE date = "28 december 2007"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the youngest employee in the company? List employee's first and last name.

### Context:
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)

### Response:

### Response:
SELECT first_name, last_name FROM employees ORDER BY birth_date 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:
Tell me the date for detroit and game more than 3

### Context:
CREATE TABLE table_name_53 (date VARCHAR, team VARCHAR, game VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_53 WHERE team = "detroit" AND game > 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 high capacity that has an average under 489 and a highest over 778?

### Context:
CREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR)

### Response:

### Response:
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?

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

### Response:

### Response:
SELECT COUNT(gold) FROM table_name_32 WHERE silver > 1 AND nation = "vietnam" AND bronze < 3</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Place has an English translation of lullaby for my beloved?

### Context:
CREATE TABLE table_name_58 (place INTEGER, english_translation VARCHAR)

### Response:

### Response:
SELECT MAX(place) FROM table_name_58 WHERE english_translation = "lullaby for my beloved"</s>


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

### Context:
CREATE TABLE table_name_31 (year VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 this constellation with an area of 245.375 sq. deg.?

### Context:
CREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR)

### Response:

### Response:
SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries?

### Context:
CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR)

### Response:

### Response:
SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolles & heinz union"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Land (sqmi) has a GEO ID smaller than 3800587900?

### Context:
CREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER)

### Response:

### Response:
SELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which team has a car # before 99, a Toyota, and is driven by Mike Skinner?

### Context:
CREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_1 WHERE car__number < 99 AND make = "toyota" AND driver = "mike skinner"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Trofeo Fast team for roberto visentini

### Context:
CREATE TABLE table_name_58 (trofeo_fast_team VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT trofeo_fast_team FROM table_name_58 WHERE winner = "roberto visentini"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What competition took place in a year later than 2009 with team notes?

### Context:
CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when Steffi Graf was the opponent in the final and the score was 2–6, 0–6?

### Context:
CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "steffi graf" AND score_in_the_final = "2–6, 0–6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points total are there later than 2003?

### Context:
CREATE TABLE table_name_99 (points INTEGER, year INTEGER)

### Response:

### Response:
SELECT SUM(points) FROM table_name_99 WHERE year > 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 is the total when the league cup is less than 1, and the fa cup is less than 1?

### Context:
CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR)

### Response:

### Response:
SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 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 Nationality has a Lane of 5, and a Time of 7:08.04?

### Context:
CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Pinyin for 依兰县?

### Context:
CREATE TABLE table_name_53 (hanyu_pinyin VARCHAR, hanzi VARCHAR)

### Response:

### Response:
SELECT hanyu_pinyin FROM table_name_53 WHERE hanzi = "依兰县"</s>


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

### Context:
CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)

### Response:

### Response:
SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "NBC"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Number Of Episodes, when Notes is "Moved to run a farm with boyfriend Jake."?

### Context:
CREATE TABLE table_name_74 (number_of_episodes VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake."</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 man who received 87,676 votes in Queens won what percentage of the total for the election?

### Context:
CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)

### Response:

### Response:
SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the candidates in the Kentucky 4 voting district?

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

### Response:

### Response:
SELECT candidates FROM table_1342218_17 WHERE district = "Kentucky 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:
Who was the 4 lane person from Canada?

### Context:
CREATE TABLE table_name_9 (heat INTEGER, lane VARCHAR, nationality VARCHAR)

### Response:

### Response:
SELECT MIN(heat) FROM table_name_9 WHERE lane = 4 AND nationality = "canada"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many entries are listed under "current status" for the WJW-TV ++ Station?

### Context:
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)

### Response:

### Response:
SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the role of midfielder for 1999-2003?

### Context:
CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-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:
Find the name and checking balance of the account with the lowest saving balance.

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

### Response:

### Response:
SELECT T2.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the number of playoffs for semifinals

### Context:
CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR)

### Response:

### Response:
SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What team was the game on November 21 played against?

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

### Response:

### Response:
SELECT team FROM table_17326036_5 WHERE date = "November 21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's listed for the Station Code that has the Arrival of 02:20?

### Context:
CREATE TABLE table_name_40 (station_code VARCHAR, arrival VARCHAR)

### Response:

### Response:
SELECT station_code FROM table_name_40 WHERE arrival = "02: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:
How many parties does the incumbent Donald A. Bailey a member of?

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey"</s>


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

### Context:
CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR)

### Response:

### Response:
SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?

### Context:
CREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest pts after 1952 with connaught type a?

### Context:
CREATE TABLE table_name_79 (pts INTEGER, year VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = "connaught type 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:
Who was the director where the role was Fred Ayres?

### Context:
CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_13 WHERE role = "fred ayres"</s>


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

### Context:
CREATE TABLE table_name_42 (text_symbol VARCHAR, border VARCHAR)

### Response:

### Response:
SELECT text_symbol FROM table_name_42 WHERE border = "red"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Record has a Week smaller than 15, and an Opponent of at new york jets?

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

### Response:

### Response:
SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at 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 Date has a Label of grilled cheese?

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

### Response:

### Response:
SELECT date FROM table_name_25 WHERE label = "grilled cheese"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Tell me the opponents for mashona washington november 21, 2009

### Context:
CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many wins did the team with 5 podiums have?

### Context:
CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR)

### Response:

### Response:
SELECT wins FROM table_name_15 WHERE podiums = "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:
Which winner has a points classification of Tony Rominger at stage 17?

### Context:
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mega pass* (senior/disabled) is the type of fare what is the cash fare?

### Context:
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)

### Response:

### Response:
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)"</s>


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

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

### Response:

### Response:
SELECT record FROM table_name_37 WHERE opponent = "akiko inoue"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 aspect ratio of the DVD released on 12/10/2009?

### Context:
CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)

### Response:

### Response:
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest total that has 1992 as the year (s) won?

### Context:
CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)

### Response:

### Response:
SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992"</s>


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

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

### Response:

### Response:
SELECT score FROM table_name_18 WHERE date = "7 may 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:
what is id of students who registered some courses but the least number of courses in these students?

### Context:
CREATE TABLE student_course_registrations (student_id VARCHAR)

### Response:

### Response:
SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?

### Context:
CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.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 directed the episode that was viewed by 2.57 million people in the U.S.?

### Context:
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)

### Response:

### Response:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 production in 2010 with 2011 production of 2,240,000?

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

### Response:

### Response:
SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the second party that has a conservative first party and second member John Cotes?

### Context:
CREATE TABLE table_name_95 (second_party VARCHAR, first_party VARCHAR, second_member VARCHAR)

### Response:

### Response:
SELECT second_party FROM table_name_95 WHERE first_party = "conservative" AND second_member = "john cotes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1

### Context:
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = "1979"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many different kickoffs happened when the oppenent was at Rhein Fire?

### Context:
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Country, when Score is "73-68=141"?

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

### Response:

### Response:
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed the episode with the production code 176252?

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

### Response:

### Response:
SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Lost of 10 and a Try Bonus of 4, what are the points against them?

### Context:
CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR)

### Response:

### Response:
SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?

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

### Response:

### Response:
SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who has a license of proprietary (available on inquiry)?

### Context:
CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)"</s>


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

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What week has a Date of October 4, 1992?

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

### Response:

### Response:
SELECT SUM(week) FROM table_name_78 WHERE date = "october 4, 1992"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lost stats have a played number of less than 8?

### Context:
CREATE TABLE table_name_1 (lost VARCHAR, played INTEGER)

### Response:

### Response:
SELECT COUNT(lost) FROM table_name_1 WHERE played < 8</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506?

### Context:
CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR)

### Response:

### Response:
SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = — AND term_[c_] = "1987–1988" AND win_percentage < 0.506</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who directed the eula goodnight movie after 1949?

### Context:
CREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR)

### Response:

### Response:
SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What place is David Graham in?

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

### Response:

### Response:
SELECT place FROM table_name_47 WHERE player = "david graham"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?

### Context:
CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)

### Response:

### Response:
SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.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 High Assists, when High Rebounds is "Dwight Howard , Rashard Lewis (10)"?

### Context:
CREATE TABLE table_name_80 (high_assists VARCHAR, high_rebounds VARCHAR)

### Response:

### Response:
SELECT high_assists FROM table_name_80 WHERE high_rebounds = "dwight howard , rashard lewis (10)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what TV season did the 3rd season air?

### Context:
CREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT TV AS season FROM table_1348989_2 WHERE season = "3rd"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent when he went more than 1 round with a record of 12-7?

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

### Response:

### Response:
SELECT opponent FROM table_name_46 WHERE round > 1 AND record = "12-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:
I want to know the away team score for vfl park venue

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl 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's the smallest grid for Time/Retired of +22.687?

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

### Response:

### Response:
SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687"</s>


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

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

### Response:

### Response:
SELECT score FROM table_27722734_11 WHERE team = "Denver"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ezhavas and syrian christians being 26.2

### Context:
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR)

### Response:

### Response:
SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = "26.2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the result when Dundee was the opponent?

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

### Response:

### Response:
SELECT result FROM table_name_74 WHERE opponent = "dundee"</s>


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

### Context:
CREATE TABLE table_name_61 (overs INTEGER, runs VARCHAR)

### Response:

### Response:
SELECT MIN(overs) FROM table_name_61 WHERE runs = 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 are the notes for bydgoszcz, Poland?

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

### Response:

### Response:
SELECT notes FROM table_name_37 WHERE venue = "bydgoszcz, poland"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production code by paul lieberstein

### Context:
CREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lieberstein"</s>


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

### Context:
CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)

### Response:

### Response:
SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What train number is heading to amritsar?

### Context:
CREATE TABLE table_12095519_1 (train_no VARCHAR, destination VARCHAR)

### Response:

### Response:
SELECT train_no FROM table_12095519_1 WHERE destination = "Amritsar"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which points classification shares a general classification of Bernard Hinault, a Trofeo Fast Tem of Bianchi, was won by Urs Freuler, and was stage 4?

### Context:
CREATE TABLE table_name_7 (points_classification VARCHAR, stage VARCHAR, winner VARCHAR, general_classification VARCHAR, trofeo_fast_team VARCHAR)

### Response:

### Response:
SELECT points_classification FROM table_name_7 WHERE general_classification = "bernard hinault" AND trofeo_fast_team = "bianchi" AND winner = "urs freuler" AND stage = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?

### Context:
CREATE TABLE table_name_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)

### Response:

### Response:
SELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = "state" AND name = "orere school"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Time, when Method is "submission (knees)"?

### Context:
CREATE TABLE table_name_14 (time VARCHAR, method VARCHAR)

### Response:

### Response:
SELECT time FROM table_name_14 WHERE method = "submission (knees)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ

### Context:
CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR)

### Response:

### Response:
SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What teams rank is higher than 4 with a speed of 104.574mph?

### Context:
CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph"</s>


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

### Context:
CREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR)

### Response:

### Response:
SELECT target FROM table_name_96 WHERE brand_name = "mylotarg"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many laps did Jos Verstappen do on Grid 2?

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

### Response:

### Response:
SELECT SUM(laps) FROM table_name_43 WHERE grid > 2 AND driver = "jos verstappen"</s>


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

### Context:
CREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What rank is Belarus (BLR), which earned 15 medals total?

### Context:
CREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR)

### Response:

### Response:
SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus (blr)" AND total < 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:
Name the average bronze with silver more than 0, total of 6 and gold more than 0

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

### Response:

### Response:
SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the rank of the player in lane 6?

### Context:
CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR)

### Response:

### Response:
SELECT AVG(rank) FROM table_name_73 WHERE lane = 6</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average frequency in MHz for stations with an ERP W of 170?

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

### Response:

### Response:
SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the most silver when bronze is more than 1 and total is more than 48?

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

### Response:

### Response:
SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 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:
When the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population amount?

### Context:
CREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)

### Response:

### Response:
SELECT COUNT(population) FROM table_name_56 WHERE official_name = "balmoral" AND area_km_2 > 43.51</s>


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

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

### Response:

### Response:
SELECT home_team FROM table_name_54 WHERE venue = "princes park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total number of Round that has a Time of 6:04?

### Context:
CREATE TABLE table_name_85 (round INTEGER, time VARCHAR)

### Response:

### Response:
SELECT SUM(round) FROM table_name_85 WHERE time = "6:04"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?

### Context:
CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)

### Response:

### Response:
SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-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:
Show minimum, maximum, and average market value for all companies.

### Context:
CREATE TABLE company (market_value INTEGER)

### Response:

### Response:
SELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 terminini of the highway with an east west direction and remarks that it was replaced by us 59?

### Context:
CREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)

### Response:

### Response:
SELECT termini FROM table_name_19 WHERE direction = "east west" AND remarks = "replaced by us 59"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what round was a left wing drafted?

### Context:
CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_58 WHERE position = "left wing"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 state of the city of denver, which has a rank less than 10?

### Context:
CREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT state FROM table_name_99 WHERE rank < 10 AND city = "denver"</s>


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

### Context:
CREATE TABLE table_2522473_1 (seasons INTEGER)

### Response:

### Response:
SELECT MAX(seasons) FROM table_2522473_1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What venue did the 2000 tiger cup take place at on November 10, 2000?

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

### Response:

### Response:
SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many points were there when the try bonus was 2?

### Context:
CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)

### Response:

### Response:
SELECT points FROM table_name_35 WHERE try_bonus = "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:
Which suffix has the prefix of isothiocyanato- (-ncs)?

### Context:
CREATE TABLE table_name_17 (suffix VARCHAR, prefix VARCHAR)

### Response:

### Response:
SELECT suffix FROM table_name_17 WHERE prefix = "isothiocyanato- (-ncs)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2 is the k-band what is the v-band?

### Context:
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR)

### Response:

### Response:
SELECT v_band FROM table_186468_1 WHERE k_band = "2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the tyres for the JBW type 2 chassis?

### Context:
CREATE TABLE table_name_70 (tyres VARCHAR, chassis VARCHAR)

### Response:

### Response:
SELECT tyres FROM table_name_70 WHERE chassis = "jbw type 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:
When was the time of 12:49:08 first set?

### Context:
CREATE TABLE table_name_7 (year INTEGER, time VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714?

### Context:
CREATE TABLE table_name_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR)

### Response:

### Response:
SELECT week FROM table_name_44 WHERE tv_time = "cbs 1:00pm" AND attendance = "72,714"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?

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

### Response:

### Response:
SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What place did jacky cupit take when his To par was under 13?

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

### Response:

### Response:
SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit"</s>


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

### Context:
CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)

### Response:

### Response:
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 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 Location has a Previous Conference of independents, and a Mascot of hilltoppers?

### Context:
CREATE TABLE table_name_95 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_95 WHERE previous_conference = "independents" AND mascot = "hilltoppers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Intercontinental Cup 1999 result for the team with a Copa Conmebol 1999 result of runner-up?

### Context:
CREATE TABLE table_name_63 (intercontinental_cup_1999 VARCHAR, copa_conmebol_1999 VARCHAR)

### Response:

### Response:
SELECT intercontinental_cup_1999 FROM table_name_63 WHERE copa_conmebol_1999 = "runner-up"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal?

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

### Response:

### Response:
SELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player went to college at Tennessee?

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

### Response:

### Response:
SELECT player FROM table_2508633_3 WHERE college = "Tennessee"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the Honda ra168e 1.5 v6 t engine used?

### Context:
CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR)

### Response:

### Response:
SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t"</s>


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

### Context:
CREATE TABLE table_name_93 (name VARCHAR, statistic VARCHAR)

### Response:

### Response:
SELECT name FROM table_name_93 WHERE statistic = "most assists"</s>


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

### Context:
CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_34 WHERE record = "50-19"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Average Finals Goals if the Total Goals is less than 1?

### Context:
CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER)

### Response:

### Response:
SELECT AVG(finals_goals) FROM table_name_40 WHERE total_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:
What is the Romanization of the Mandarin word whose Rōmaji is ūroncha

### Context:
CREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, rōmaji VARCHAR)

### Response:

### Response:
SELECT romanization FROM table_name_81 WHERE source_language = "mandarin" AND rōmaji = "ūroncha"</s>


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

### Context:
CREATE TABLE airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)

### Response:

### Response:
SELECT T3.id, COUNT(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id JOIN airport AS T3 ON T2.airport_id = T3.id GROUP BY T3.id</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which date was associated with the release in Europe on the Wichita Recordings label?

### Context:
CREATE TABLE table_name_5 (date VARCHAR, region VARCHAR, label VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the average number of years for the Houston Rockets 2004-05?

### Context:
CREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR)

### Response:

### Response:
SELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = "2004-05"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Away Team, when Home Team is "Boston United"?

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

### Response:

### Response:
SELECT away_team FROM table_name_30 WHERE home_team = "boston united"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When did Motherwell win?

### Context:
CREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_15 WHERE winners = "motherwell"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which player is from Australia, and has a place of t9?

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

### Response:

### Response:
SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the largest number of Games Played with Losses of 3, and more Wins than 5?

### Context:
CREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the note result when the runner finished 19th in 2008?

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

### Response:

### Response:
SELECT notes FROM table_name_94 WHERE year = 2008 AND position = "19th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What RolePlay actor played the same role Alison Pargeter played in the original production?

### Context:
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)

### Response:

### Response:
SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who were the Brazil scorers who scored 3-3?

### Context:
CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT brazil_scorers FROM table_name_11 WHERE score = "3-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was 2010 tournament where the United States received the silver?

### Context:
CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 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:
On what date(s) was the winning team Prema Powerteam?

### Context:
CREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR)

### Response:

### Response:
SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what's the result for district ohio 2

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

### Response:

### Response:
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?

### Context:
CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR)

### Response:

### Response:
SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti"</s>


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

### Context:
CREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR)

### Response:

### Response:
SELECT team FROM table_name_59 WHERE home_city = "terni"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 "The Word" segments for episode number 727?

### Context:
CREATE TABLE table_25691838_6 (the_wørd VARCHAR, episode__number VARCHAR)

### Response:

### Response:
SELECT COUNT(the_wørd) FROM table_25691838_6 WHERE episode__number = 727</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
in what round types did the opponent come from south africa?

### Context:
CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR)

### Response:

### Response:
SELECT round FROM table_25505246_8 WHERE against = "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 PLACE WITH THE SCORE 69-71-66-73=279?

### Context:
CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)

### Response:

### Response:
SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?

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

### Response:

### Response:
SELECT rank FROM table_name_25 WHERE silver > 1 AND gold > 1 AND bronze > 4</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is every value for points if rebounds is 6 and blocks is 0?

### Context:
CREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)

### Response:

### Response:
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 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 was the record on the game that was played on october 27?

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

### Response:

### Response:
SELECT record FROM table_name_72 WHERE date = "october 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:
where did rochdale play as opponent?

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

### Response:

### Response:
SELECT venue FROM table_name_77 WHERE opponent = "rochdale"</s>


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

### Context:
CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR)

### Response:

### Response:
SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54"</s>


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

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

### Response:

### Response:
SELECT position FROM table_23619005_3 WHERE player = "Doug Borden"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya?

### Context:
CREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR)

### Response:

### Response:
SELECT headquarter FROM table_name_11 WHERE type = "government-owned" AND newspaper_magazine = "al-jumhuriya"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top 5 genres by number of tracks. List genres name and total tracks.

### Context:
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)

### Response:

### Response:
SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 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:
How many lanes have a Nationality of iceland?

### Context:
CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR)

### Response:

### Response:
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland"</s>


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

### Context:
CREATE TABLE table_name_38 (decile VARCHAR, area VARCHAR)

### Response:

### Response:
SELECT decile FROM table_name_38 WHERE area = "purua"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
In what round was the loss at ufc 118?

### Context:
CREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Thomas J. Lane is the incumbent of how many parties?

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

### Response:

### Response:
SELECT COUNT(party) FROM table_1342013_20 WHERE incumbent = "Thomas J. Lane"</s>


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

### Context:
CREATE TABLE table_11950720_4 (bowling_style VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?

### Context:
CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)

### Response:

### Response:
SELECT going_to FROM table_18365784_3 WHERE calling_at = "Boston, Sleaford, Nottingham Victoria"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What percentage of the vote did McCain win in Waynesboro (city)?

### Context:
CREATE TABLE table_20524090_1 (mccain_percentage VARCHAR, county VARCHAR)

### Response:

### Response:
SELECT mccain_percentage FROM table_20524090_1 WHERE county = "Waynesboro (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:
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?

### Context:
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)

### Response:

### Response:
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue hosted the Dixie Derby Girls?

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

### Response:

### Response:
SELECT venue FROM table_name_68 WHERE club = "dixie derby girls"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a broadcast date and run time of 24:43?

### Context:
CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)

### Response:

### Response:
SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24: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:
Show the range that has the most number of mountains.

### Context:
CREATE TABLE mountain (Range VARCHAR)

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the points for when the total points is 6?

### Context:
CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT points_for FROM table_1676073_13 WHERE points = "6"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many weeks in the top 10 was spent by a song performed by Peter Kay?

### Context:
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR)

### Response:

### Response:
SELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = "Peter Kay"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state did Samuel Thatcher of the Federalist party represent?

### Context:
CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)

### Response:

### Response:
SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the date for tirrana?

### Context:
CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_18 WHERE name = "tirrana"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ids of the investors who have at least two transactions.

### Context:
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR)

### Response:

### Response:
SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who narrated the lap-by-lap to a 13.4 million audience?

### Context:
CREATE TABLE table_11691212_2 (lap_by_lap VARCHAR, viewers VARCHAR)

### Response:

### Response:
SELECT lap_by_lap FROM table_11691212_2 WHERE viewers = "13.4 million"</s>


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

### Context:
CREATE TABLE table_name_26 (location VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT location FROM table_name_26 WHERE result = "21–16"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Show card number, name, and hometown for all members in a descending order of level.

### Context:
CREATE TABLE member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR)

### Response:

### Response:
SELECT card_number, name, hometown FROM member ORDER BY LEVEL DESC</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Aberdeen team's date of vacancy?

### Context:
CREATE TABLE table_name_37 (date_of_vacancy VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT date_of_vacancy FROM table_name_37 WHERE team = "aberdeen"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the platelet count when partial thromboplastin time and bleeding time are unaffected?

### Context:
CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)

### Response:

### Response:
SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected"</s>


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

### Context:
CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR)

### Response:

### Response:
SELECT semifinals FROM table_17427004_7 WHERE athlete = "Hamza Kramou"</s>


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

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

### Response:

### Response:
SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 BBC two total viewing 7,530,000?

### Context:
CREATE TABLE table_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR)

### Response:

### Response:
SELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = "7,530,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:
Who is the visitor of the match on July 29?

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

### Response:

### Response:
SELECT visitor FROM table_name_13 WHERE date = "july 29"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 minimum attendance against the New Orleans Saints?

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

### Response:

### Response:
SELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = "New Orleans Saints"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?

### Context:
CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)

### Response:

### Response:
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi"</s>


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

### Context:
CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)

### Response:

### Response:
SELECT july FROM table_name_58 WHERE december = "morgan fox"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Nick Price's score?

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

### Response:

### Response:
SELECT score FROM table_name_20 WHERE player = "nick price"</s>


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

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

### Response:

### Response:
SELECT Park FROM roller_coaster ORDER BY Speed 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:
Who is the female talent in 1999?

### Context:
CREATE TABLE table_name_41 (talent__female_ VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT talent__female_ FROM table_name_41 WHERE year = 1999</s>


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

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

### Response:

### Response:
SELECT COUNT(game) FROM table_name_96 WHERE score = "5–4" AND points < 49</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?

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

### Response:

### Response:
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the To par of the player with a Finish of T20?

### Context:
CREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR)

### Response:

### Response:
SELECT to_par FROM table_name_67 WHERE finish = "t20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What position does krylja sovetov (russia) play?

### Context:
CREATE TABLE table_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR)

### Response:

### Response:
SELECT position FROM table_2781227_9 WHERE college_junior_club_team = "Krylja Sovetov (Russia)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round was the match at Westpac Stadium that had the Newcastle Jets as the away team?

### Context:
CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle 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:
Which Airport has a Carrier of malaysia airlines?

### Context:
CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR)

### Response:

### Response:
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines"</s>


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

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

### Response:

### Response:
SELECT score FROM table_23248940_9 WHERE game = 50</s>