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:
What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF?
### Context:
CREATE TABLE table_name_92 (Id VARCHAR)
### Response:
### Response:
SELECT 1994 FROM table_name_92 WHERE 1997 = "qf" AND 1995 = "3r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What LINER class has a W.A. of 0-6-0st with a 2 No. Built?
### Context:
CREATE TABLE table_name_44 (lner_class VARCHAR, wa VARCHAR, no_built VARCHAR)
### Response:
### Response:
SELECT lner_class FROM table_name_44 WHERE wa = "0-6-0st" AND no_built = 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 maximum torque at rpm for the engine with code BMM?
### Context:
CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
### Response:
### Response:
SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ranks by average for the couple Tana and Stuart?
### Context:
CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR)
### Response:
### Response:
SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 transamerica field built in?
### Context:
CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT year_built FROM table_name_10 WHERE venue = "transamerica field"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 status of the 10 against?
### Context:
CREATE TABLE table_name_93 (status VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT status FROM table_name_93 WHERE against = 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 latest first year with 0 total medals and over 0 golds?
### Context:
CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the Blue Jays opponent when their record was 84-69?
### Context:
CREATE TABLE table_name_18 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_18 WHERE record = "84-69"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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, when the Position is W, and when the Jersey # is 11?
### Context:
CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what date did episode 2 air?
### Context:
CREATE TABLE table_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_2343740_1 WHERE episode_number = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who is the the writer(s) with original airdate being february 7, 2001
### Context:
CREATE TABLE table_13956521_2 (writer_s_ VARCHAR, original_airdate VARCHAR)
### Response:
### Response:
SELECT writer_s_ FROM table_13956521_2 WHERE original_airdate = "February 7, 2001"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Score has a Record of 18–11–5?
### Context:
CREATE TABLE table_name_85 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_85 WHERE record = "18–11–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:
Who did they play at Atlanta-Fulton County Stadium?
### Context:
CREATE TABLE table_name_20 (opponent VARCHAR, game_site VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_20 WHERE game_site = "atlanta-fulton county stadium"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Results have a Category of the best new actor in lead role(female)?
### Context:
CREATE TABLE table_name_32 (results VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT results FROM table_name_32 WHERE category = "best new actor in lead role(female)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Win-Loss, when Win % is .456?
### Context:
CREATE TABLE table_name_60 (win_loss VARCHAR, win__percentage VARCHAR)
### Response:
### Response:
SELECT win_loss FROM table_name_60 WHERE win__percentage = ".456"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which film was released in August 2004?
### Context:
CREATE TABLE table_name_67 (title VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_67 WHERE date = "august 2004"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 park had most attendances in 2008?
### Context:
CREATE TABLE park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance 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 date was the record 38-22?
### Context:
CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_71 WHERE record = "38-22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the 2nd leg for team #1 River Plate?
### Context:
CREATE TABLE table_24426072_1 (team__number1 VARCHAR)
### Response:
### Response:
SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = "River Plate"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 under the season coach Rich Rodriguez?
### Context:
CREATE TABLE table_name_29 (result VARCHAR, season_coach VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_29 WHERE season_coach = "rich rodriguez"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 votes for the green party?
### Context:
CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR)
### Response:
### Response:
SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?
### Context:
CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)
### Response:
### Response:
SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 form factor with a model name of precision m50?
### Context:
CREATE TABLE table_name_99 (form_factor VARCHAR, model VARCHAR)
### Response:
### Response:
SELECT form_factor FROM table_name_99 WHERE model = "precision m50"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong
### Context:
CREATE TABLE table_15511178_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR)
### Response:
### Response:
SELECT report FROM table_15511178_3 WHERE pole_position = "Carl Skerlong" AND winning_team = "Newman Wachs Racing"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 earliest year with 16 points?
### Context:
CREATE TABLE table_name_33 (year INTEGER, pts VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_33 WHERE pts = "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 Position in Table, when Replaced By is "Sergio Bueno"?
### Context:
CREATE TABLE table_name_21 (position_in_table VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT position_in_table FROM table_name_21 WHERE replaced_by = "sergio bueno"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 normal with que of 24
### Context:
CREATE TABLE table_name_62 (normal_total VARCHAR, que VARCHAR)
### Response:
### Response:
SELECT normal_total FROM table_name_62 WHERE que = "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 was the final score of the game at Texas Stadium?
### Context:
CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was the award of £6,600 was given?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, award VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE award = "£6,600"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has an ICAO of ypph?
### Context:
CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_67 WHERE icao = "ypph"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent is on 29 september 1997?
### Context:
CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_70 WHERE date = "29 september 1997"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the budget for "Thirteen Ghosts"?
### Context:
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR)
### Response:
### Response:
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the value for the item "Tries" when the value of the item "Played" is 18 and the value of the item "Points" is 375?
### Context:
CREATE TABLE table_name_16 (tries_for VARCHAR, played VARCHAR, points_against VARCHAR)
### Response:
### Response:
SELECT tries_for FROM table_name_16 WHERE played = "18" AND points_against = "375"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the total number of years than had best improved singer (躍進歌手)?
### Context:
CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 belonged to the school team from Arizona?
### Context:
CREATE TABLE table_15621965_17 (no VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?
### Context:
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)
### Response:
### Response:
SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 score for match 2 where the score for match 4 is 0 and the total score is 5?
### Context:
CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MAX(match2) FROM table_24538140_2 WHERE match4 = 0 AND total = 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the earliest year associated with 0 wins and 42 points?
### Context:
CREATE TABLE table_name_22 (year INTEGER, wins VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_22 WHERE wins > 0 AND points = 42</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who is the winner when the trofeo fast team is carrera jeans-vagabond in stage 5?
### Context:
CREATE TABLE table_name_55 (winner VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_55 WHERE trofeo_fast_team = "carrera jeans-vagabond" AND stage = "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 Home team is carlton, what's the lowest Crowd found?
### Context:
CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)
### Response:
### Response:
SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest match for goals larger than 36?
### Context:
CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER)
### Response:
### Response:
SELECT MIN(matches) FROM table_name_42 WHERE goals > 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:
In what nation did Darko Sovran place third?
### Context:
CREATE TABLE table_name_19 (nation VARCHAR, third VARCHAR)
### Response:
### Response:
SELECT nation FROM table_name_19 WHERE third = "darko sovran"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the number of fatalities for the Viscount 700?
### Context:
CREATE TABLE table_name_71 (fatalities VARCHAR, aircraft VARCHAR)
### Response:
### Response:
SELECT fatalities FROM table_name_71 WHERE aircraft = "viscount 700"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 release price of the Atom Z510PT processor?
### Context:
CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR)
### Response:
### Response:
SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 picks for round 12?
### Context:
CREATE TABLE table_name_5 (pick__number VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which allergy type has most number of allergies?
### Context:
CREATE TABLE Allergy_type (allergytype VARCHAR)
### Response:
### Response:
SELECT allergytype FROM Allergy_type GROUP BY allergytype 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 cfl team with ryan folk?
### Context:
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 enrollment for the school Highland?
### Context:
CREATE TABLE table_name_30 (enrollment INTEGER, school VARCHAR)
### Response:
### Response:
SELECT SUM(enrollment) FROM table_name_30 WHERE school = "highland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the total number of Grid for Rubens Barrichello
### Context:
CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What years were the inactive North Carolina chapter active?
### Context:
CREATE TABLE table_name_15 (charter_range VARCHAR, status VARCHAR, state VARCHAR)
### Response:
### Response:
SELECT charter_range FROM table_name_15 WHERE status = "inactive" AND state = "north carolina"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the location attendance for utah
### Context:
CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_23211041_10 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:
When the away team was st kilda, what did the home team score?
### Context:
CREATE TABLE table_name_7 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_7 WHERE away_team = "st kilda"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the most races he had in a season?
### Context:
CREATE TABLE table_23128286_1 (races INTEGER)
### Response:
### Response:
SELECT MAX(races) FROM table_23128286_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 earliest year a game was played in Athens?
### Context:
CREATE TABLE table_name_95 (year INTEGER, location VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_95 WHERE location = "athens"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 batter has the last name Graham?
### Context:
CREATE TABLE table_name_61 (bats VARCHAR, surname VARCHAR)
### Response:
### Response:
SELECT bats FROM table_name_61 WHERE surname = "graham"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest Poles with a win that is smaller than 0?
### Context:
CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER)
### Response:
### Response:
SELECT MAX(poles) FROM table_name_74 WHERE 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:
What is the total credit does each department offer?
### Context:
CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER)
### Response:
### Response:
SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 details of all products?
### Context:
CREATE TABLE products (product_details VARCHAR)
### Response:
### Response:
SELECT DISTINCT product_details FROM products</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the tournament that kent state won?
### Context:
CREATE TABLE table_24348134_3 (conference VARCHAR, tournament_winner VARCHAR)
### Response:
### Response:
SELECT conference AS Tournament FROM table_24348134_3 WHERE tournament_winner = "Kent State"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the director of the fimm Biola Tak Berdawai?
### Context:
CREATE TABLE table_13719788_1 (director VARCHAR, original_title VARCHAR)
### Response:
### Response:
SELECT director FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D 42 with R 51 of r 11
### Context:
CREATE TABLE table_name_41 (d_42 VARCHAR, r_51 VARCHAR)
### Response:
### Response:
SELECT d_42 FROM table_name_41 WHERE r_51 = "r 11"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the decision of the game on January 13?
### Context:
CREATE TABLE table_name_24 (decision VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT decision FROM table_name_24 WHERE date = "january 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:
Of the players with 50 free throws, what is the lowest number of three pointers?
### Context:
CREATE TABLE table_22824199_1 (three_pointers INTEGER, free_throws VARCHAR)
### Response:
### Response:
SELECT MIN(three_pointers) FROM table_22824199_1 WHERE free_throws = 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:
Which Position has Notes of 68.76 m?
### Context:
CREATE TABLE table_name_55 (position VARCHAR, notes VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_55 WHERE notes = "68.76 m"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was against the opponents, mădălina gojnea monica niculescu?
### Context:
CREATE TABLE table_name_94 (against VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT against FROM table_name_94 WHERE opponents = "mădălina gojnea monica niculescu"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 order number for the theme of Mariah Carey?
### Context:
CREATE TABLE table_15796100_1 (order__number VARCHAR, theme VARCHAR)
### Response:
### Response:
SELECT order__number FROM table_15796100_1 WHERE theme = "Mariah Carey"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name with a works number of 809?
### Context:
CREATE TABLE table_name_49 (name VARCHAR, works_number VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_49 WHERE works_number = "809"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cmi cross reference id is not related to any parking taxes?
### Context:
CREATE TABLE parking_fines (cmi_cross_ref_id VARCHAR); CREATE TABLE cmi_cross_references (cmi_cross_ref_id VARCHAR)
### Response:
### Response:
SELECT cmi_cross_ref_id FROM cmi_cross_references EXCEPT SELECT cmi_cross_ref_id FROM parking_fines</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )?
### Context:
CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 picked a back in round 16, after pick 89?
### Context:
CREATE TABLE table_name_20 (school VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_20 WHERE pick > 89 AND position = "back" AND round = 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:
Who is the driver whose car was constructed by Renault and whose Q1 pos is greater than 2?
### Context:
CREATE TABLE table_name_4 (driver VARCHAR, constructor VARCHAR, q1_pos VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_4 WHERE constructor = "renault" AND q1_pos > 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was the main role a character named Guan Yu (關羽)?
### Context:
CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_89 WHERE role = "main" AND character = "guan yu (關羽)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Money of the game that was played in the United States with Sam Snead as a player?
### Context:
CREATE TABLE table_name_55 (money___ INTEGER, country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT SUM(money___) AS $__ FROM table_name_55 WHERE country = "united states" AND player = "sam snead"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja?
### Context:
CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR)
### Response:
### Response:
SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most field goals
### Context:
CREATE TABLE table_14342480_5 (field_goals INTEGER)
### Response:
### Response:
SELECT MAX(field_goals) FROM table_14342480_5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most padilla municipality for quechua
### Context:
CREATE TABLE table_2509350_3 (padilla_municipality INTEGER, language VARCHAR)
### Response:
### Response:
SELECT MAX(padilla_municipality) FROM table_2509350_3 WHERE language = "Quechua"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the away team's score when geelong is the away team?
### Context:
CREATE TABLE table_name_73 (away_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_73 WHERE away_team = "geelong"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the series of Kiss Me Cat?
### Context:
CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT series FROM table_name_80 WHERE title = "kiss me cat"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 type of surface was the tournament of Italy f28?
### Context:
CREATE TABLE table_name_84 (surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_84 WHERE tournament = "italy f28"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 channel tv (dt)s are in austin, texas?
### Context:
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
### Response:
### Response:
SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, Texas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 surface at Aptos?
### Context:
CREATE TABLE table_name_88 (surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_88 WHERE tournament = "aptos"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 members and the dates of performances they attended in descending order of attendance of the performances.
### Context:
CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR, Attendance VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)
### Response:
### Response:
SELECT T2.Name, T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T3.Attendance DESC</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the category and typical buying price of the product with name "cumin"?
### Context:
CREATE TABLE products (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR)
### Response:
### Response:
SELECT product_category_code, typical_buying_price FROM products WHERE product_name = "cumin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 of the Turion 64 X2 TL-62?
### Context:
CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)
### Response:
### Response:
SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of english gloss for wakȟáŋyeža
### Context:
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, northern_lakota VARCHAR)
### Response:
### Response:
SELECT COUNT(english_gloss) FROM table_1499774_5 WHERE northern_lakota = "wakȟáŋyeža"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Manufacturer has 1 lap and had an accident?
### Context:
CREATE TABLE table_name_69 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT manufacturer FROM table_name_69 WHERE laps = 1 AND time_retired = "accident"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average age of students living in each dorm and the name of dorm.
### Context:
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR)
### Response:
### Response:
SELECT AVG(T1.age), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_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 nation had more than 3 bronze, 0 gold, and a total of 9?
### Context:
CREATE TABLE table_name_38 (nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT nation FROM table_name_38 WHERE bronze > 3 AND gold = 0 AND total = 9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which game has houston as the road team, and june 15 as the date?
### Context:
CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 15"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the record for dallas visitor
### Context:
CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_86 WHERE visitor = "dallas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given 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 to par with a place of t8 and West Germany as the country?
### Context:
CREATE TABLE table_name_37 (to_par INTEGER, place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final game played in 2007
### Context:
CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT location FROM table_11214772_2 WHERE year = 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 Airdate for the episode titled “thirteen to centaurus” Adapted by stanley miller?
### Context:
CREATE TABLE table_name_30 (airdate VARCHAR, adapted_by VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT airdate FROM table_name_30 WHERE adapted_by = "stanley miller" AND title = "“thirteen to centaurus”"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tries for did the club with a 3 losing bonus and 45 points have?
### Context:
CREATE TABLE table_name_12 (tries_for VARCHAR, losing_bonus VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT tries_for FROM table_name_12 WHERE losing_bonus = "3" AND points = "45"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What division has finalist playoffs and was 3rd round Open Cup?
### Context:
CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
### Response:
### Response:
SELECT division FROM table_name_73 WHERE playoffs = "finalist" AND open_cup = "3rd 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:
What is the highest points total scored by Dan Clarke in a grid higher than 10?
### Context:
CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 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 Season, when Races is less than 16?
### Context:
CREATE TABLE table_name_7 (season VARCHAR, races INTEGER)
### Response:
### Response:
SELECT season FROM table_name_7 WHERE races < 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 yacht type of Icap Leopard?
### Context:
CREATE TABLE table_25561560_2 (yacht VARCHAR)
### Response:
### Response:
SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the Opponent of new england patriots?
### Context:
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT time___et__ FROM table_name_3 WHERE 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 is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
### Context:
CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.