inputs stringlengths 400 1.34k |
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Wht years did truck robinson play?
### Context:
CREATE TABLE table_11545282_17 (years_for_jazz VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT years_for_jazz FROM table_11545282_17 WHERE player = "Truck Robinson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
### Context:
CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)
### Response:
### Response:
SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What team does Anthony Redmond ride for?
### Context:
CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player represented Vista Murrieta High School?
### Context:
CREATE TABLE table_11677691_10 (player VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT player FROM table_11677691_10 WHERE school = "Vista Murrieta High school"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the first leg score in the 2nd round?
### Context:
CREATE TABLE table_name_41 (first_leg VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT first_leg FROM table_name_41 WHERE round = "2nd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 24/11/1979, what is the opposing teams?
### Context:
CREATE TABLE table_name_26 (opposing_teams VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opposing_teams FROM table_name_26 WHERE date = "24/11/1979"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the distance when the weight is 9.2?
### Context:
CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR)
### Response:
### Response:
SELECT distance FROM table_name_16 WHERE weight = 9.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 Result, when Year is greater than 1999, when White is "Kramnik", and when Tournament is "Mainz CC Champions Duel (5)"?
### Context:
CREATE TABLE table_name_77 (result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_77 WHERE year > 1999 AND white = "kramnik" AND tournament = "mainz cc champions duel (5)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
### Context:
CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was the first store that had a hypermarket of 3?
### Context:
CREATE TABLE table_name_2 (first_store VARCHAR, hypermarkets VARCHAR)
### Response:
### Response:
SELECT first_store FROM table_name_2 WHERE hypermarkets = 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people vacated to successor Dave E. Satterfield, Jr. (d)?
### Context:
CREATE TABLE table_2159547_3 (vacator VARCHAR, successor VARCHAR)
### Response:
### Response:
SELECT COUNT(vacator) FROM table_2159547_3 WHERE successor = "Dave E. Satterfield, Jr. (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:
With 37 tries against, what is the try bonus?
### Context:
CREATE TABLE table_name_82 (try_bonus VARCHAR, tries_against VARCHAR)
### Response:
### Response:
SELECT try_bonus FROM table_name_82 WHERE tries_against = "37"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the ansi code fore ashtabula
### Context:
CREATE TABLE table_18600760_1 (ansi_code INTEGER, township VARCHAR)
### Response:
### Response:
SELECT MIN(ansi_code) FROM table_18600760_1 WHERE township = "Ashtabula"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show all flight number from Los Angeles.
### Context:
CREATE TABLE Flight (flno VARCHAR, origin VARCHAR)
### Response:
### Response:
SELECT flno FROM Flight WHERE origin = "Los Angeles"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many seasons are there for the 3rd position?
### Context:
CREATE TABLE table_29471472_1 (season VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(season) FROM table_29471472_1 WHERE position = "3rd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the names of editors and the theme of journals for which they serve on committees.
### Context:
CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)
### Response:
### Response:
SELECT T2.Name, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result against Errol Zimmerman on 2007-04-07?
### Context:
CREATE TABLE table_name_81 (result VARCHAR, opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 trofeo fast team of stage 16
### Context:
CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT COUNT(trofeo_fast_team) FROM table_12261806_2 WHERE stage = "16"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the latest opened year of the team in Glasgow, Scotland?
### Context:
CREATE TABLE table_name_34 (opened INTEGER, city VARCHAR)
### Response:
### Response:
SELECT MAX(opened) FROM table_name_34 WHERE city = "glasgow, scotland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tourism receipts 2003 for colombia
### Context:
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT tourism_receipts__2003___as__percentage_of_gdp_ FROM table_18524_6 WHERE country = "Colombia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 syndicate is associated with the stars & stripes yacht?
### Context:
CREATE TABLE table_name_8 (syndicate VARCHAR, yacht VARCHAR)
### Response:
### Response:
SELECT syndicate FROM table_name_8 WHERE yacht = "stars & stripes"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what was the away team score in a game with north melbourne as home team?
### Context:
CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_31 WHERE home_team = "melbourne"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the average losses for draws larger than 6 and played more than 38
### Context:
CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 38</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the run time for the episode with 7.9 million viewers?
### Context:
CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Caps, when Province / Club is DRFC, and when Position is Center?
### Context:
CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 barrel length for barrel twist of 1:7
### Context:
CREATE TABLE table_name_90 (barrel_length VARCHAR, barrel_twist VARCHAR)
### Response:
### Response:
SELECT barrel_length FROM table_name_90 WHERE barrel_twist = "1: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:
Name the website for car number of 92
### Context:
CREATE TABLE table_1688640_4 (website VARCHAR, car__number VARCHAR)
### Response:
### Response:
SELECT website FROM table_1688640_4 WHERE car__number = "92"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home team faced the Away team, Hawthorn?
### Context:
CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_9 WHERE away_team = "hawthorn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In which ceremony was Harnam Singh Rawail nominated for an award?
### Context:
CREATE TABLE table_name_80 (ceremony VARCHAR, nominee VARCHAR)
### Response:
### Response:
SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years did the new york giants win with a result of 15-7 at lincoln financial field?
### Context:
CREATE TABLE table_name_53 (year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_53 WHERE location = "lincoln financial field" AND winner = "new york giants" AND result = "15-7"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Ensemble Name has the Advertisement date October 2007?
### Context:
CREATE TABLE table_name_79 (ensemble_name VARCHAR, advertisement_date VARCHAR)
### Response:
### Response:
SELECT ensemble_name FROM table_name_79 WHERE advertisement_date = "october 2007"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average, maximum, and minimum budget for all movies before 2000.
### Context:
CREATE TABLE movie (budget_million INTEGER, YEAR INTEGER)
### Response:
### Response:
SELECT AVG(budget_million), MAX(budget_million), MIN(budget_million) FROM movie 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 country scored 71-66-66-71=274?
### Context:
CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_32 WHERE score = 71 - 66 - 66 - 71 = 274</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest number for tropical Lows for the 1990–91 season with more than 10 tropical cyclones?
### Context:
CREATE TABLE table_name_13 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)
### Response:
### Response:
SELECT MAX(tropical_lows) FROM table_name_13 WHERE season = "1990–91" AND tropical_cyclones > 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 date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?
### Context:
CREATE TABLE table_name_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Location Attendance with a Record that is 1-4?
### Context:
CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_name_31 WHERE record = "1-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 money has player Jack Fleck with t1 place?
### Context:
CREATE TABLE table_name_4 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT money___$__ FROM table_name_4 WHERE place = "t1" AND player = "jack fleck"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 power for General Santos?
### Context:
CREATE TABLE table_2610582_7 (power__kw_ VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT power__kw_ FROM table_2610582_7 WHERE location = "General Santos"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the position for overall less than 254, round less than 5 and pick number less than 13?
### Context:
CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What institution is located in athens, ga, us?
### Context:
CREATE TABLE table_name_55 (institution VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT institution FROM table_name_55 WHERE location = "athens, ga, us"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 district is the incumbent John Linder?
### Context:
CREATE TABLE table_19753079_13 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_19753079_13 WHERE incumbent = "John Linder"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the surface for Julie Halard when the final score was 6–3, 6–2?
### Context:
CREATE TABLE table_name_55 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_55 WHERE partner = "julie halard" AND score_in_the_final = "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 is the average Wins, when Points is less than "19"?
### Context:
CREATE TABLE table_name_32 (wins INTEGER, points INTEGER)
### Response:
### Response:
SELECT AVG(wins) FROM table_name_32 WHERE points < 19</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the production code for the episode where the patient portrayer is Kathy Lamkin?
### Context:
CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR)
### Response:
### Response:
SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Against has a Peel of waroona, and a Byes larger than 0?
### Context:
CREATE TABLE table_name_55 (against INTEGER, peel VARCHAR, byes VARCHAR)
### Response:
### Response:
SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 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's the lowest grid with and entrant of fred saunders?
### Context:
CREATE TABLE table_name_47 (grid INTEGER, entrant VARCHAR)
### Response:
### Response:
SELECT MIN(grid) FROM table_name_47 WHERE entrant = "fred saunders"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa?
### Context:
CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR)
### Response:
### Response:
SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_supporters_shield_runner_up = "Chivas USA"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Score of the Pingguo Tournament?
### Context:
CREATE TABLE table_name_94 (score VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_94 WHERE tournament = "pingguo"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 "date became customers" of the customers whose ID is between 10 and 20.
### Context:
CREATE TABLE customers (date_became_customer VARCHAR, customer_id INTEGER)
### Response:
### Response:
SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?
### Context:
CREATE TABLE table_name_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)
### Response:
### Response:
SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 County has a Location of edinburgh?
### Context:
CREATE TABLE table_name_74 (county VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT county FROM table_name_74 WHERE location = "edinburgh"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 report of the Belgian Grand Prix?
### Context:
CREATE TABLE table_1132600_3 (report VARCHAR, grand_prix VARCHAR)
### Response:
### Response:
SELECT report FROM table_1132600_3 WHERE grand_prix = "Belgian 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:
The album titled I had what chart positions?
### Context:
CREATE TABLE table_name_21 (chart_positions VARCHAR, album_title VARCHAR)
### Response:
### Response:
SELECT chart_positions FROM table_name_21 WHERE album_title = "i"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What round was it when the method was TKO (would not stand up from Butt Scoot)?
### Context:
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)
### Response:
### Response:
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Team has Laps of 100, and a Time/Retired of +8.6 secs?
### Context:
CREATE TABLE table_name_33 (team VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_33 WHERE laps = 100 AND time_retired = "+8.6 secs"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
With a 2011 of 0 what was the 2006 result?
### Context:
CREATE TABLE table_name_83 (Id VARCHAR)
### Response:
### Response:
SELECT 2006 FROM table_name_83 WHERE 2011 = "0"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the locations of parties with hosts older than 50.
### Context:
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER)
### Response:
### Response:
SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 venue with a 3.3km c prologue discipline?
### Context:
CREATE TABLE table_name_95 (venue VARCHAR, discipline VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_95 WHERE discipline = "3.3km c prologue"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position in the club team of Kansas?
### Context:
CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_21 WHERE school_club_team = "kansas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 A-side for catalog 902?
### Context:
CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR)
### Response:
### Response:
SELECT a_side FROM table_name_87 WHERE catalog_number = "902"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week larger than 10 for opponent of new england patriots
### Context:
CREATE TABLE table_name_90 (result VARCHAR, week VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_90 WHERE week > 10 AND opponent = "new england patriots"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Attendance when the Home team was Montreal, on the Date of March 24?
### Context:
CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
### Context:
CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)
### Response:
### Response:
SELECT MIN(al_ahly_wins) FROM table_name_29 WHERE draws = 0 AND el_zamalek_wins < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had the high points when high assists is tim duncan (5)?
### Context:
CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (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:
If the channels is wxyzuv, what is the number of channels?
### Context:
CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR)
### Response:
### Response:
SELECT number_of_channels FROM table_233830_1 WHERE channels = "WXYZUV"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the date for the tournament joué-lès-tours?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_52 WHERE tournament = "joué-lès-tours"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140?
### Context:
CREATE TABLE table_name_2 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_2 WHERE to_par = "e" AND score = 68 - 72 = 140</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 August 22, how many people came to the game?
### Context:
CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_39 WHERE date = "august 22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was the ensemble closed that went on air in June 2003?
### Context:
CREATE TABLE table_name_96 (closure_date VARCHAR, on_air_date VARCHAR)
### Response:
### Response:
SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Pick, when Position is OL, and when Round is less than 6?
### Context:
CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the director when the writer was John Sullivan?
### Context:
CREATE TABLE table_17641206_4 (directed_by VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_17641206_4 WHERE written_by = "John Sullivan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player who has a Place of t7 in Country of united states?
### Context:
CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_45 WHERE place = "t7" AND country = "united states"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 total goals for a player with 6 league goals?
### Context:
CREATE TABLE table_27170987_5 (total_goals INTEGER, league_goals VARCHAR)
### Response:
### Response:
SELECT MIN(total_goals) FROM table_27170987_5 WHERE league_goals = 6</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the home team of the game on February 3?
### Context:
CREATE TABLE table_name_72 (home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_72 WHERE date = "february 3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the tournament when the winning score is –9 (69-69-70-71=279)?
### Context:
CREATE TABLE table_name_84 (tournament VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_84 WHERE winning_score = –9(69 - 69 - 70 - 71 = 279)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
### Context:
CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
### Response:
### Response:
SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which FCC info has an ERP W of 100 watts?
### Context:
CREATE TABLE table_name_67 (fcc_info VARCHAR, erp_w VARCHAR)
### Response:
### Response:
SELECT fcc_info FROM table_name_67 WHERE erp_w = "100 watts"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the least point for mv agusta and rank of 13th for wins less than 0
### Context:
CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_name_52 WHERE team = "mv agusta" AND rank = "13th" AND wins < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many Bangladeshi citizens live in the borough ranked at number 14?
### Context:
CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR)
### Response:
### Response:
SELECT MAX(bangladeshi_population) FROM table_19149550_9 WHERE rank = 14</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the surface of the final which had score 6-2, 6-3
### Context:
CREATE TABLE table_1918850_2 (surface VARCHAR, score_in_the_final VARCHAR)
### Response:
### Response:
SELECT surface FROM table_1918850_2 WHERE score_in_the_final = "6-2, 6-3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Title of the angry brigade involves which lowest year?
### Context:
CREATE TABLE table_name_49 (year INTEGER, title VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 points for with points against being 556
### Context:
CREATE TABLE table_13940275_5 (points_for VARCHAR, points_against VARCHAR)
### Response:
### Response:
SELECT points_for FROM table_13940275_5 WHERE points_against = "556"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbents come from alvin bush's district?
### Context:
CREATE TABLE table_1341930_38 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT COUNT(candidates) FROM table_1341930_38 WHERE incumbent = "Alvin Bush"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo?
### Context:
CREATE TABLE table_name_20 (visitor VARCHAR, game__number VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_20 WHERE game__number < 67 AND home = "buffalo"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race had a distance of 4 miles where the runner-up was not known?
### Context:
CREATE TABLE table_name_22 (race_name VARCHAR, dist__miles_ VARCHAR, runner_up VARCHAR)
### Response:
### Response:
SELECT race_name FROM table_name_22 WHERE dist__miles_ = "4" AND runner_up = "not known"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallist population in 2010?
### Context:
CREATE TABLE table_261951_1 (population__2010_ INTEGER)
### Response:
### Response:
SELECT MIN(population__2010_) FROM table_261951_1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score of Tommy Aaron (2) when the tournament was in georgia?
### Context:
CREATE TABLE table_name_38 (score VARCHAR, location VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_38 WHERE location = "georgia" AND winner = "tommy aaron (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 date of airing for episodes with ratings under 10.1 and production number of 96 5-09?
### Context:
CREATE TABLE table_name_74 (original_airing VARCHAR, rating VARCHAR, episode_number_production_number VARCHAR)
### Response:
### Response:
SELECT original_airing FROM table_name_74 WHERE rating < 10.1 AND episode_number_production_number = "96 5-09"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date that the st. george-illawarra dragons lost?
### Context:
CREATE TABLE table_11236195_5 (grand_finaldate VARCHAR, losingteam VARCHAR)
### Response:
### Response:
SELECT grand_finaldate FROM table_11236195_5 WHERE losingteam = "St. George-Illawarra Dragons"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many seasons did the canterbury bulldogs (8) win?
### Context:
CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR)
### Response:
### Response:
SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (8)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of Year with a Result of champions, and Matches larger than 5?
### Context:
CREATE TABLE table_name_34 (year VARCHAR, result VARCHAR, matches VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_34 WHERE result = "champions" AND matches > 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 year did the rank of 31 happen in?
### Context:
CREATE TABLE table_name_75 (year VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_75 WHERE rank = "31"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Weeks on Top have an Issue Date(s) of 20 november?
### Context:
CREATE TABLE table_name_94 (weeks_on_top INTEGER, issue_date_s_ VARCHAR)
### Response:
### Response:
SELECT SUM(weeks_on_top) FROM table_name_94 WHERE issue_date_s_ = "20 november"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Date, when Home Team is "Luton Town"?
### Context:
CREATE TABLE table_name_53 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_53 WHERE home_team = "luton town"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 singer for 1.45m
### Context:
CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, ratings VARCHAR)
### Response:
### Response:
SELECT singer_s_ FROM table_29135051_2 WHERE ratings = "1.45m"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Record for the Team of Indiana?
### Context:
CREATE TABLE table_name_4 (record VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_4 WHERE team = "indiana"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 venue of the match where the score was 1:3 and team 2 was binh duong?
### Context:
CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR, team_2 VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_61 WHERE score = "1:3" AND team_2 = "binh duong"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year contains the title of machineries of joy vol. 4?
### Context:
CREATE TABLE table_name_54 (year INTEGER, title VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_54 WHERE title = "machineries of joy vol. 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 Case Suffix (Case), when English Meaning is "to Georgia, in Georgia"?
### Context:
CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR)
### Response:
### Response:
SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in 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:
How many millions of people in the US saw the episode number 226?
### Context:
CREATE TABLE table_23294081_11 (us_viewers__millions_ VARCHAR, no VARCHAR)
### Response:
### Response:
SELECT us_viewers__millions_ FROM table_23294081_11 WHERE no = 226</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.