<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 film that received an award of £6,245?

### Context:
CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR)

### Response:

### Response:
SELECT director_s_ FROM table_name_10 WHERE award = "£6,245"</s>


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

### Context:
CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)

### Response:

### Response:
SELECT MAX(gold) FROM table_name_42 WHERE silver < 0</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the location and attendance for game 60?

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

### Response:

### Response:
SELECT location_attendance FROM table_17121262_9 WHERE game = 60</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of all Heats of competitors with a Time of 59.11 and a lane higher than 3?

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

### Response:

### Response:
SELECT AVG(heat) FROM table_name_43 WHERE time = "59.11" AND lane > 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 every total for the University of the Cordilleras UC Dance Squad?

### Context:
CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR)

### Response:

### Response:
SELECT total FROM table_21995420_6 WHERE school = "University of the Cordilleras UC Dance Squad"</s>


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

### Context:
CREATE TABLE table_name_81 (home VARCHAR, record VARCHAR)

### Response:

### Response:
SELECT home FROM table_name_81 WHERE record = "16-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:
If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?

### Context:
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)

### Response:

### Response:
SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 the successor was seated for the georgia 6th district?

### Context:
CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the highest number of students with a teacher:student ratio of 20.8?

### Context:
CREATE TABLE table_1414743_1 (students INTEGER, pupil_teacher_ratio VARCHAR)

### Response:

### Response:
SELECT MAX(students) FROM table_1414743_1 WHERE pupil_teacher_ratio = "20.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 wrote the episode with 9.81 million US viewers?

### Context:
CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = "9.81"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the result is d, who are the opponents?

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

### Response:

### Response:
SELECT opponents FROM table_name_19 WHERE result = "d"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a Club of cf calvo sotelo, and a Goal Difference larger than -3?

### Context:
CREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_9 WHERE club = "cf calvo sotelo" AND goal_difference > -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 Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?

### Context:
CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR)

### Response:

### Response:
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 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 highest number of third place runners up held by any of the countries competing in the Mr. International competition?.

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

### Response:

### Response:
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_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 outcome for the match in 1989?

### Context:
CREATE TABLE table_1399994_5 (outcome VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT outcome FROM table_1399994_5 WHERE year = "1989"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Peak Position has a Date of 10 june 1998?

### Context:
CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the order number for the beatles and result is safe

### Context:
CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 write episode number 48 in the series?

### Context:
CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)

### Response:

### Response:
SELECT written_by FROM table_2453243_5 WHERE no_in_series = "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:
What is the lowest number of points scored when there were 1,500 in attendance?

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

### Response:

### Response:
SELECT MIN(points) FROM table_name_50 WHERE attendance = "1,500"</s>


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

### Context:
CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)

### Response:

### Response:
SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the date that a player went to the club Doncaster Rovers?

### Context:
CREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR)

### Response:

### Response:
SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total number of signicand with ~34.0 decimal digits and more than 128 total bits?

### Context:
CREATE TABLE table_name_41 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR)

### Response:

### Response:
SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What institution had 6 wins and a current streak of won 2?

### Context:
CREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)

### Response:

### Response:
SELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = "Won 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 OF-4 of Albania?

### Context:
CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)

### Response:

### Response:
SELECT of_4 FROM table_name_47 WHERE country = "albania"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What engine with the years of 1975-84 has a model of 1600?

### Context:
CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)

### Response:

### Response:
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the original Release date of the Track written by Dallas Frazier?

### Context:
CREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR)

### Response:

### Response:
SELECT original_release FROM table_name_27 WHERE writer_s_ = "dallas frazier"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the season finale for season 4?

### Context:
CREATE TABLE table_10819266_8 (season VARCHAR)

### Response:

### Response:
SELECT season AS finale FROM table_10819266_8 WHERE season = 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's the average round the position of RB was drafted?

### Context:
CREATE TABLE table_name_90 (round INTEGER, position VARCHAR)

### Response:

### Response:
SELECT AVG(round) FROM table_name_90 WHERE position = "rb"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the description of the marketing region China?

### Context:
CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)

### Response:

### Response:
SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.

### Context:
CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR)

### Response:

### Response:
SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit."</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Hasan Shah's hometown?

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

### Response:

### Response:
SELECT hometown FROM table_name_40 WHERE name = "hasan shah"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist where the vocal percussionist is Benjamin Holder?

### Context:
CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)

### Response:

### Response:
SELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = "Benjamin Holder"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the names of the regions which were affected by the storm that killed the greatest number of people.

### Context:
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, Number_Deaths VARCHAR)

### Response:

### Response:
SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id ORDER BY T3.Number_Deaths 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 highest earnings for the golfer who has more than 37 wins?

### Context:
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)

### Response:

### Response:
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?

### Context:
CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)

### Response:

### Response:
SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.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 was the average attendance on October 30, 1938?

### Context:
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938"</s>


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

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

### Response:

### Response:
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 movies have 'Deleted Scenes' as a substring in the special feature?

### Context:
CREATE TABLE film (title VARCHAR, special_features VARCHAR)

### Response:

### Response:
SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 boiler provider for Bhel, India's TG Set provider?

### Context:
CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)

### Response:

### Response:
SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 most recent year a height of 2770 m and a HC climb before 1992 was climbed?

### Context:
CREATE TABLE table_name_56 (most_recent VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR)

### Response:

### Response:
SELECT COUNT(most_recent) FROM table_name_56 WHERE height__m_ = "2770" AND first_time_as_hc_climb < 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:
Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?

### Context:
CREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = "Victor Carbone" AND location = "Braselton, Georgia"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Find the name of customers who have more than one loan.

### Context:
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)

### Response:

### Response:
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was Thierry Henry's average goal when his rank was higher than 7?

### Context:
CREATE TABLE table_name_17 (goals INTEGER, player VARCHAR, rank VARCHAR)

### Response:

### Response:
SELECT AVG(goals) FROM table_name_17 WHERE player = "thierry henry" AND rank > 7</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What driver won the VII Rand Grand Prix?

### Context:
CREATE TABLE table_name_26 (winning_driver VARCHAR, race_name VARCHAR)

### Response:

### Response:
SELECT winning_driver FROM table_name_26 WHERE race_name = "vii rand grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/10?

### Context:
CREATE TABLE table_name_73 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR)

### Response:

### Response:
SELECT rank__week_ FROM table_name_73 WHERE viewers__millions_ > 7.14 AND rank__night_ = "5" AND rating / SHARE(18 - 49) = 2.9 / 10</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total End term with a Title of prince regent of bavaria?

### Context:
CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)

### Response:

### Response:
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"</s>


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

### Context:
CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb VARCHAR, median_age__in_2006_ VARCHAR)

### Response:

### Response:
SELECT date_first_settled_as_a_suburb FROM table_1174162_1 WHERE median_age__in_2006_ = "40 years"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Please show the most common reigns of wrestlers.

### Context:
CREATE TABLE wrestler (Reign VARCHAR)

### Response:

### Response:
SELECT Reign FROM wrestler GROUP BY Reign 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 game number played on April 3?

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

### Response:

### Response:
SELECT MAX(game) FROM table_27723526_13 WHERE date = "April 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 poll resource provided the most number of candidate information?

### Context:
CREATE TABLE candidate (poll_source VARCHAR)

### Response:

### Response:
SELECT poll_source FROM candidate GROUP BY poll_source 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:
How many round values are associated with Cleveland McCrae?

### Context:
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae"</s>


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

### Context:
CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER)

### Response:

### Response:
SELECT player FROM table_name_43 WHERE money___$__ < 335</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 jp -210- with title and source being fun! fun! minigolf

### Context:
CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR)

### Response:

### Response:
SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 John Love have on a grid less than 11?

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

### Response:

### Response:
SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = "john love"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who is the runner-up from Milwaukee?

### Context:
CREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR)

### Response:

### Response:
SELECT runner_up FROM table_name_27 WHERE city = "milwaukee"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the lowest attendance by the game that had an away team of Vida?

### Context:
CREATE TABLE table_name_47 (attendance INTEGER, away VARCHAR)

### Response:

### Response:
SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 D43 associated with a D41 of r 21?

### Context:
CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR)

### Response:

### Response:
SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Snatch has a Total (kg) smaller than 257?

### Context:
CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)

### Response:

### Response:
SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Party, when Took Office is 1998?

### Context:
CREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR)

### Response:

### Response:
SELECT party FROM table_name_14 WHERE took_office = "1998"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What round does Bryan Berard do?

### Context:
CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)

### Response:

### Response:
SELECT round FROM table_name_64 WHERE player = "bryan berard"</s>


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

### Context:
CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)

### Response:

### Response:
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 belgrano is the home (1st leg) what is the  home (2nd leg)?

### Context:
CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)

### Response:

### Response:
SELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = "Belgrano"</s>


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

### Context:
CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_58 WHERE rounds = "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:
Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?

### Context:
CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)

### Response:

### Response:
SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70</s>


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

### Context:
CREATE TABLE table_name_8 (start VARCHAR, stage VARCHAR)

### Response:

### Response:
SELECT start FROM table_name_8 WHERE stage = 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:
how many times did tunde abdulrahman leave the team?

### Context:
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)

### Response:

### Response:
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Eviction result has a Net vote of 31.86%?

### Context:
CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)

### Response:

### Response:
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many gold medals when the total is more than 1 and 18 silver?

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

### Response:

### Response:
SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 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:
How many field goals were scored by the player that got 7 touchdowns?

### Context:
CREATE TABLE table_25711913_14 (field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR)

### Response:

### Response:
SELECT field_goals__4_points_ FROM table_25711913_14 WHERE touchdowns__5_points_ = 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 the minimum enrollment of the cyclones?

### Context:
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)

### Response:

### Response:
SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = "Cyclones"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the highest points when the second was 4?

### Context:
CREATE TABLE table_name_12 (points INTEGER, second VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_name_12 WHERE second = "4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Round is the lowest one that has a Circuit of donington?

### Context:
CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)

### Response:

### Response:
SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
I want the result for winner of bc 3

### Context:
CREATE TABLE table_name_83 (result VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_83 WHERE winner = "bc 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the m r romaja for kwanbuk

### Context:
CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR)

### Response:

### Response:
SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk"</s>


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

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

### Response:

### Response:
SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the record during the event, UFC 27?

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

### Response:

### Response:
SELECT record FROM table_name_14 WHERE event = "ufc 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:
Who were the scorers in round 3?

### Context:
CREATE TABLE table_name_83 (scorers VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT scorers FROM table_name_83 WHERE round = "round 3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which country has a Lead of sarah wazney?

### Context:
CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_50 WHERE lead = "sarah wazney"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 GFL Premiership when the home ground was Leopold Memorial Park?

### Context:
CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)

### Response:

### Response:
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which countries has the most number of airlines whose active status is 'Y'?

### Context:
CREATE TABLE airlines (country VARCHAR, active VARCHAR)

### Response:

### Response:
SELECT country FROM airlines WHERE active = 'Y' GROUP BY country 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 season has 36 pld, a bbl div, and 6th position?

### Context:
CREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND pos = "6th"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Croats if the value of Roma is 3.1%?

### Context:
CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR)

### Response:

### Response:
SELECT croats FROM table_2374338_2 WHERE roma = "3.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 Mark Joseph Kong's pick?

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

### Response:

### Response:
SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?

### Context:
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)

### Response:

### Response:
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = "Best R&B Contributor"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number in series's are written by Greg Haddrick?

### Context:
CREATE TABLE table_21666472_1 (no_in_series VARCHAR, written_by VARCHAR)

### Response:

### Response:
SELECT COUNT(no_in_series) FROM table_21666472_1 WHERE written_by = "Greg Haddrick"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?

### Context:
CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR)

### Response:

### Response:
SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143"</s>


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

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

### Response:

### Response:
SELECT date FROM table_name_54 WHERE week = 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 maximum points did Curtis scored?

### Context:
CREATE TABLE table_25711913_2 (points INTEGER, player VARCHAR)

### Response:

### Response:
SELECT MAX(points) FROM table_25711913_2 WHERE player = "Curtis"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 associated with the date July 6, 1949?

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

### Response:

### Response:
SELECT player FROM table_name_93 WHERE date = "july 6, 1949"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the visiting team on December 17?

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

### Response:

### Response:
SELECT visitor FROM table_name_90 WHERE date = "december 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:
Who won Division Southwest when Madžari Solidarnost won Division North?

### Context:
CREATE TABLE table_name_4 (division_southwest VARCHAR, division_north VARCHAR)

### Response:

### Response:
SELECT division_southwest FROM table_name_4 WHERE division_north = "madžari solidarnost"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number was the lyricist  ahmed metwally?

### Context:
CREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR)

### Response:

### Response:
SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally"</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_18 WHERE position = "forward"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
From which country was the player whose year(s) won was 1983?

### Context:
CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)

### Response:

### Response:
SELECT country FROM table_name_9 WHERE year_s__won = "1983"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 role for Feb 4, 1961 closing date

### Context:
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)

### Response:

### Response:
SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Venue of the 2009 St. Louis Rams Home game?

### Context:
CREATE TABLE table_name_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT venue FROM table_name_58 WHERE year = 2009 AND home_team = "st. louis rams"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much is the total BBC 2 viewing in 1999?

### Context:
CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT bbc_two_total_viewing FROM table_name_57 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:
What is Status, when Date is 10/05/1975?

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

### Response:

### Response:
SELECT status FROM table_name_33 WHERE date = "10/05/1975"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opening film has the opening date of august 23?

### Context:
CREATE TABLE table_18220102_1 (opening_film VARCHAR, date__opening_ VARCHAR)

### Response:

### Response:
SELECT opening_film FROM table_18220102_1 WHERE date__opening_ = "August 23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which season had a home 2-3?

### Context:
CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_2 WHERE home = "2-3"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How big was the crowd when Geelong was the home team?

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

### Response:

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


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Finish of the Reno Bighorns Wins?

### Context:
CREATE TABLE table_name_41 (finish VARCHAR, wins VARCHAR)

### Response:

### Response:
SELECT finish FROM table_name_41 WHERE wins = "reno bighorns"</s>


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

### Context:
CREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)

### Response:

### Response:
SELECT r1st FROM table_name_49 WHERE ryds = "36"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the away team when the result was 2–1 and home team was the bohemians?

### Context:
CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)

### Response:

### Response:
SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Run 1, when Run 4 is 1:56.59?

### Context:
CREATE TABLE table_name_62 (run_1 VARCHAR, run_4 VARCHAR)

### Response:

### Response:
SELECT run_1 FROM table_name_62 WHERE run_4 = "1:56.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:
Which TV Time has a Date of january 2, 2005?

### Context:
CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT tv_time FROM table_name_23 WHERE date = "january 2, 2005"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many clubs were remaining in the preliminary round?

### Context:
CREATE TABLE table_28039032_1 (clubs_remaining VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT clubs_remaining FROM table_28039032_1 WHERE round = "Preliminary round"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date was Richmond hosted as the away team?

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

### Response:

### Response:
SELECT date FROM table_name_50 WHERE away_team = "richmond"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what is the country for geoff ogilvy?

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

### Response:

### Response:
SELECT country FROM table_name_88 WHERE player = "geoff ogilvy"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the Score on February 18, 2008?

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

### Response:

### Response:
SELECT score FROM table_name_32 WHERE date = "february 18, 2008"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?

### Context:
CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, nation VARCHAR)

### Response:

### Response:
SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament was the champion nick saviano florin segărceanu 6–3, 6–4?

### Context:
CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR)

### Response:

### Response:
SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus?

### Context:
CREATE TABLE table_name_96 (purpose VARCHAR, location VARCHAR, name VARCHAR)

### Response:

### Response:
SELECT purpose FROM table_name_96 WHERE location = "enewetak, runit (yvonne)" AND name = "cactus"</s>


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

### Context:
CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)

### Response:

### Response:
SELECT win__percentage FROM table_name_4 WHERE losses = "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:
What is the sum of the prominence in m of moussa ali terara peak?

### Context:
CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)

### Response:

### Response:
SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What RECNet has elk lake as the city of license?

### Context:
CREATE TABLE table_name_57 (recnet VARCHAR, city_of_license VARCHAR)

### Response:

### Response:
SELECT recnet FROM table_name_57 WHERE city_of_license = "elk lake"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Where was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?

### Context:
CREATE TABLE table_name_31 (place_of_birth VARCHAR, committee VARCHAR, took_office VARCHAR, district VARCHAR)

### Response:

### Response:
SELECT place_of_birth FROM table_name_31 WHERE took_office > 1982 AND district < 43 AND committee = "health and government operations"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?

### Context:
CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET 722</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes

### Context:
CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR)

### Response:

### Response:
SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the opponent at the game that had a loss of Leonard (7–8)?

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

### Response:

### Response:
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?

### Context:
CREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the total for Canada during round 2?

### Context:
CREATE TABLE table_name_12 (overall VARCHAR, nationality VARCHAR, round VARCHAR)

### Response:

### Response:
SELECT overall FROM table_name_12 WHERE nationality = "canada" AND round = 2</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date had a CD format, under Columbia/Legacy from the UK?

### Context:
CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)

### Response:

### Response:
SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 category was william ivey long a nominee and nominated in?

### Context:
CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)

### Response:

### Response:
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the game with an attendance of 18304, what was the final score?

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

### Response:

### Response:
SELECT result FROM table_17294353_1 WHERE attendance = 18304</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
 What club is associated with draft number 155?

### Context:
CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)

### Response:

### Response:
SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mixed doubles is didit juang indrianto yayu rahayu what is the most current year?

### Context:
CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR)

### Response:

### Response:
SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the tyre for the peugeot a20 engine?

### Context:
CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)

### Response:

### Response:
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won Silver in 2000?

### Context:
CREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR)

### Response:

### Response:
SELECT silver FROM table_name_53 WHERE year = 2000</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the build date when total produced is 2?

### Context:
CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)

### Response:

### Response:
SELECT build_date FROM table_name_80 WHERE total_produced = 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 percentage of the votes did McCain get in Hinds?

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

### Response:

### Response:
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the winner on the Amaroo Park circuit?

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

### Response:

### Response:
SELECT winner FROM table_name_38 WHERE circuit = "amaroo 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 total number that had a rank larger than 17 and a gold greater than 0?

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

### Response:

### Response:
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 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:
Find the ids of the students who participate in Canoeing and Kayaking.

### Context:
CREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR)

### Response:

### Response:
SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking'</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
what was the attendance when the away team was boreham wood?

### Context:
CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR)

### Response:

### Response:
SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood"</s>


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

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

### Response:

### Response:
SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What's the language of classes in the school founded in 1874?

### Context:
CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)

### Response:

### Response:
SELECT language FROM table_1930857_1 WHERE year_founded = "1874"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 teams came in fourth when Otsuka Pharmaceuticals won?

### Context:
CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR)

### Response:

### Response:
SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?

### Context:
CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)

### Response:

### Response:
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.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 Architecture and modelling has a Unit test of no, and a Projects templates of limited?

### Context:
CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR)

### Response:

### Response:
SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the score from the Sacramento monarchs from the west and the Connecticut sun from the east?

### Context:
CREATE TABLE table_name_83 (result VARCHAR, western_champion VARCHAR, eastern_champion VARCHAR)

### Response:

### Response:
SELECT result FROM table_name_83 WHERE western_champion = "sacramento monarchs" AND eastern_champion = "connecticut sun"</s>


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

### Context:
CREATE TABLE Person (gender VARCHAR, age INTEGER)

### Response:

### Response:
SELECT AVG(age), gender FROM Person GROUP BY gender</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the total number of results for octubre

### Context:
CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)

### Response:

### Response:
SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver had less than 65 laps for Sigma Autosport?

### Context:
CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)

### Response:

### Response:
SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What season had a game in the first round with a result of 4–1, 0–1?

### Context:
CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many losses had more than 122 years and more than 1244 total games?

### Context:
CREATE TABLE table_name_2 (lost INTEGER, years VARCHAR, total_games VARCHAR)

### Response:

### Response:
SELECT SUM(lost) FROM table_name_2 WHERE years > 122 AND total_games > 1244</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which School has a Year Joined larger than 1926, and a Mascot of vikings?

### Context:
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)

### Response:

### Response:
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
WHAT DATE HAS A CATALOG OF 486553.4?

### Context:
CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)

### Response:

### Response:
SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.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 name of the episode that was written by Scott M. Gimple?

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

### Response:

### Response:
SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Report the first name and last name of all the teachers.

### Context:
CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR)

### Response:

### Response:
SELECT DISTINCT firstname, lastname FROM teachers</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 relationship of the woman who died at 96?

### Context:
CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR)

### Response:

### Response:
SELECT relationship FROM table_name_95 WHERE age_at_death = "96"</s>


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

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

### Response:

### Response:
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season was there a club of South Melbourne?

### Context:
CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR)

### Response:

### Response:
SELECT season FROM table_name_75 WHERE club = "south melbourne"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
On what date did the Rockets play Memphis?

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

### Response:

### Response:
SELECT date FROM table_17288825_9 WHERE team = "Memphis"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 BR number has an LMS number over 14768?

### Context:
CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER)

### Response:

### Response:
SELECT br_number FROM table_name_5 WHERE lms_number > 14768</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is "Win"?

### Context:
CREATE TABLE table_name_22 (score VARCHAR, venue VARCHAR, result VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_22 WHERE venue = "riyadh, saudi arabia" AND result = "win"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
How many numbers were recorded on the fields goals of the Left End player?

### Context:
CREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR)

### Response:

### Response:
SELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = "Left end"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is Surface, when Score in Final is 3-6, 6-3, 6-2?

### Context:
CREATE TABLE table_name_23 (surface VARCHAR, score_in_final VARCHAR)

### Response:

### Response:
SELECT surface FROM table_name_23 WHERE score_in_final = "3-6, 6-3, 6-2"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?

### Context:
CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)

### Response:

### Response:
SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = "sub-orbital" AND function = "aeronomy research" AND rocket = "nike orion" AND site = "poker flat"</s>


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

### Context:
CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR)

### Response:

### Response:
SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which Mascot has an IHSAA Class of aaa, and a Location of russiaville?

### Context:
CREATE TABLE table_name_53 (mascot VARCHAR, ihsaa_class VARCHAR, location VARCHAR)

### Response:

### Response:
SELECT mascot FROM table_name_53 WHERE ihsaa_class = "aaa" AND location = "russiaville"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Club/province of direito, less than 21 caps, and a Position of lock?

### Context:
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)

### Response:

### Response:
SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock"</s>


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

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

### Response:

### Response:
SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?

### Context:
CREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)

### Response:

### Response:
SELECT sideline_reporters FROM table_name_84 WHERE color_commentator = "john harkes" AND pregame_analysts = "alexi lalas and steve mcmanaman"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the score when the home team was Stockport County?

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

### Response:

### Response:
SELECT score FROM table_name_73 WHERE home_team = "stockport county"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
display the department name and number of employees in each of the department.

### Context:
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)

### Response:

### Response:
SELECT T2.department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What number corresponds to Presidet Yves Krattinger of the Socialist party?

### Context:
CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR)

### Response:

### Response:
SELECT number FROM table_name_14 WHERE party = "socialist party" AND président = "yves krattinger"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What average week has october 8, 1950 as the date?

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

### Response:

### Response:
SELECT AVG(week) FROM table_name_8 WHERE date = "october 8, 1950"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the season did the date December 2, 1962 fall on?

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

### Response:

### Response:
SELECT week FROM table_14984078_1 WHERE date = "December 2, 1962"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?

### Context:
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Length of retirement of the President with an Age at inauguration of 70years, 53days?

### Context:
CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)

### Response:

### Response:
SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
When the away team was geelong, what was the away team score?

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

### Response:

### Response:
SELECT away_team AS score FROM table_name_7 WHERE away_team = "geelong"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?

### Context:
CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)

### Response:

### Response:
SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill"</s>


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

### Context:
CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR)

### Response:

### Response:
SELECT AVG(attendance) FROM table_name_71 WHERE visitor = "toronto"</s>


<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?

### Context:
CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)

### Response:

### Response:
SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 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 title of the episode with the production code 2-19?

### Context:
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)

### Response:

### Response:
SELECT title FROM table_234886_3 WHERE prod_code = "2-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 day is collingwood the home side?

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

### Response:

### Response:
SELECT date FROM table_name_79 WHERE home_team = "collingwood"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What was the record for the game on November 28 when the decision was Backstrom?

### Context:
CREATE TABLE table_name_69 (record VARCHAR, decision VARCHAR, date VARCHAR)

### Response:

### Response:
SELECT record FROM table_name_69 WHERE decision = "backstrom" AND date = "november 28"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the catalogue with song title of love me tonight

### Context:
CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)

### Response:

### Response:
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"</s>


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

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

### Response:

### Response:
SELECT high_assists FROM table_28768469_5 WHERE team = "Utah"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Name the game for june 7

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

### Response:

### Response:
SELECT game FROM table_18894744_5 WHERE date = "June 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 HSN's official virtual channel in Minneapolis-St. Paul?

### Context:
CREATE TABLE table_1404984_1 (virtual_channel VARCHAR, network VARCHAR)

### Response:

### Response:
SELECT virtual_channel FROM table_1404984_1 WHERE network = "HSN"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?

### Context:
CREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)

### Response:

### Response:
SELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = "catherine untalan"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
What is the Score for the Date of April 23?

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

### Response:

### Response:
SELECT score FROM table_name_69 WHERE date = "april 23"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
Who was the Constructor at the Argentine Grand Prix?

### Context:
CREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)

### Response:

### Response:
SELECT constructor FROM table_name_21 WHERE race = "argentine grand prix"</s>


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

You must output the SQL query that answers the question.

    ### Dialect:
sqlite

### Input:
who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser

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

### Response:

### Response:
SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Leopold Bauer Alfred Kohlhauser"</s>