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 rating of episode 1.04?
### Context:
CREATE TABLE table_28283535_4 (rating VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT rating FROM table_28283535_4 WHERE episode = "1.04"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who produced track 7?
### Context:
CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR)
### Response:
### Response:
SELECT producer_s_ FROM table_name_7 WHERE track = 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 Delivery has a Name of quince?
### Context:
CREATE TABLE table_name_80 (delivery VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT delivery FROM table_name_80 WHERE name = "quince"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of electorates (2009) has 188 Constituents?
### Context:
CREATE TABLE table_name_93 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)
### Response:
### Response:
SELECT number_of_electorates__2009_ FROM table_name_93 WHERE constituency_number = "188"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parter against Marin čilić lovro Zovko?
### Context:
CREATE TABLE table_name_41 (partnering VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT partnering FROM table_name_41 WHERE opponents = "marin čilić lovro zovko"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of conversions for the Cardiff Blues with less than 14 tries?
### Context:
CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
### Response:
### Response:
SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 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 Home Team, when Date is "22 Nov 1989", and when Away Team is "Bath City"?
### Context:
CREATE TABLE table_name_85 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_85 WHERE date = "22 nov 1989" AND away_team = "bath city"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show ids, first names, last names, and phones for all customers.
### Context:
CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR)
### Response:
### Response:
SELECT customer_id, customer_first_name, customer_last_name, customer_phone FROM Customers</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 value for SF round for the country of England?
### Context:
CREATE TABLE table_23293785_2 (sf_round INTEGER, country VARCHAR)
### Response:
### Response:
SELECT MAX(sf_round) FROM table_23293785_2 WHERE country = "England"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What positions did Paul Jones play?
### Context:
CREATE TABLE table_14342367_7 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_14342367_7 WHERE player = "Paul Jones"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latitude when the diameter is 184.0?
### Context:
CREATE TABLE table_16768245_2 (latitude VARCHAR, diameter VARCHAR)
### Response:
### Response:
SELECT latitude FROM table_16768245_2 WHERE diameter = "184.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 districtwith party being democratic
### Context:
CREATE TABLE table_1342359_5 (district VARCHAR, party VARCHAR)
### Response:
### Response:
SELECT district FROM table_1342359_5 WHERE party = "Democratic"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Advisor 1121 has how many students?
### Context:
CREATE TABLE Student (Advisor VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Student WHERE Advisor = 1121</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who played on clay on 3 march 2012?
### Context:
CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Odjidja-Ofoe's transfer fee?
### Context:
CREATE TABLE table_name_82 (transfer_fee VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_82 WHERE name = "odjidja-ofoe"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Matts Nilsson's team that's ranked better than 7?
### Context:
CREATE TABLE table_name_81 (team VARCHAR, rank VARCHAR, rider VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "matts nilsson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score on January 12?
### Context:
CREATE TABLE table_name_27 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_27 WHERE date = "january 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:
Find the id and surname of the driver who participated the most number of races?
### Context:
CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)
### Response:
### Response:
SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid 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 was his record when the method was technical submission (forearm choke)?
### Context:
CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_57 WHERE method = "technical submission (forearm choke)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Away, when Home is Guelph Gargoyles?
### Context:
CREATE TABLE table_name_24 (away VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT away FROM table_name_24 WHERE home = "guelph gargoyles"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 48-55?
### Context:
CREATE TABLE table_name_66 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_66 WHERE record = "48-55"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first elected with district being north carolina 2
### Context:
CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 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 least total that has fewer golds than 2, a higher rank than 4 and fewer bronzes than 1?
### Context:
CREATE TABLE table_name_81 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_81 WHERE gold < 2 AND rank = 4 AND bronze < 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 location of the home game for Slovakia?
### Context:
CREATE TABLE table_name_62 (location VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_62 WHERE home_team = "slovakia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 outcome on June 9, 1997?
### Context:
CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the chassis when there is 25 points?
### Context:
CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_name_41 WHERE points = "25"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 part has the least chargeable amount? List the part id and amount.
### Context:
CREATE TABLE Parts (part_id VARCHAR, chargeable_amount VARCHAR)
### Response:
### Response:
SELECT part_id, chargeable_amount FROM Parts ORDER BY chargeable_amount 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 are the maximum and minimum number of transit passengers of all aiports.
### Context:
CREATE TABLE airport (Transit_Passengers INTEGER)
### Response:
### Response:
SELECT MAX(Transit_Passengers), MIN(Transit_Passengers) FROM airport</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which state has a royal house of Jiang?
### Context:
CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_5 WHERE royal_house = "jiang"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round for Arizona with a pick over 100?
### Context:
CREATE TABLE table_name_48 (round INTEGER, school VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT AVG(round) FROM table_name_48 WHERE school = "arizona" AND pick > 100</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Beohari's highest number of electorates?
### Context:
CREATE TABLE table_name_81 (number_of_electorates__2009_ INTEGER, name VARCHAR)
### Response:
### Response:
SELECT MAX(number_of_electorates__2009_) FROM table_name_81 WHERE name = "beohari"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date has friendly as the type of game, france as an opponent, and paris, france as the city?
### Context:
CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the minimum pick # where position is defensive tackle
### Context:
CREATE TABLE table_10650711_1 (pick__number INTEGER, position VARCHAR)
### Response:
### Response:
SELECT MIN(pick__number) FROM table_10650711_1 WHERE position = "Defensive Tackle"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a winning team of Penske Racing, and a winning driver of Bobby Unser?
### Context:
CREATE TABLE table_name_62 (name VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_62 WHERE winning_team = "penske racing" AND winning_driver = "bobby unser"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the title of episode 2?
### Context:
CREATE TABLE table_2430014_8 (title VARCHAR, episode_no VARCHAR)
### Response:
### Response:
SELECT title FROM table_2430014_8 WHERE episode_no = 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 termination of mission date of the representative with a presentation of credentials date on July 4, 1898?
### Context:
CREATE TABLE table_name_58 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR)
### Response:
### Response:
SELECT termination_of_mission FROM table_name_58 WHERE presentation_of_credentials = "july 4, 1898"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
### Context:
CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)
### Response:
### Response:
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface?
### Context:
CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND score = "3–6, 6–3, 7–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 points for where the tries for is 29?
### Context:
CREATE TABLE table_name_34 (points_for VARCHAR, tries_for VARCHAR)
### Response:
### Response:
SELECT points_for FROM table_name_34 WHERE tries_for = "29"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was awarded after 1947 in the category of, the best actor in a leading role?
### Context:
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT award FROM table_name_90 WHERE year > 1947 AND category = "best actor in a leading role"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many different counts of the Raiders first downs are there for the game number 9?
### Context:
CREATE TABLE table_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT COUNT(raiders_first_downs) FROM table_18207285_2 WHERE game = 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 the average Joined with a Nickname of wildcats in longmeadow, massachusetts?
### Context:
CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT AVG(joined) FROM table_name_55 WHERE nickname = "wildcats" AND location = "longmeadow, massachusetts"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round that has Res of win and an Opponent of demian maia?
### Context:
CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning drivers in the kraco twin 125 (r2) race were there?
### Context:
CREATE TABLE table_10706879_3 (winning_driver VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(winning_driver) FROM table_10706879_3 WHERE name = "Kraco Twin 125 (R2)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals were there in game 47?
### Context:
CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT goals FROM table_name_29 WHERE games = "47"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number in the Indy F3 Challenge circuit had John Martin in pole position?
### Context:
CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR)
### Response:
### Response:
SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many different degree names are offered?
### Context:
CREATE TABLE Degree_Programs (degree_summary_name VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT degree_summary_name) FROM Degree_Programs</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What score has a record of 22-28-7-4?
### Context:
CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_9 WHERE record = "22-28-7-4"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
### Context:
CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 headphone classes have a US MSRP of $150?
### Context:
CREATE TABLE table_1601027_1 (headphone_class VARCHAR, us_msrp VARCHAR)
### Response:
### Response:
SELECT COUNT(headphone_class) FROM table_1601027_1 WHERE us_msrp = "$150"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time for athlete torri edwards, and a rank larger than 6?
### Context:
CREATE TABLE table_name_31 (time INTEGER, athlete VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MAX(time) FROM table_name_31 WHERE athlete = "torri edwards" AND rank > 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 was the last year that they had less than 16 points in class 500cc?
### Context:
CREATE TABLE table_name_11 (year INTEGER, points VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_11 WHERE points < 16 AND class = "500cc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 booking status code and the corresponding number of bookings.
### Context:
CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR)
### Response:
### Response:
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_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:
Show the budget type code and description and the corresponding document id.
### Context:
CREATE TABLE Ref_budget_codes (budget_type_code VARCHAR, budget_type_description VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)
### Response:
### Response:
SELECT T2.budget_type_code, T2.budget_type_description, T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_budget_codes AS T2 ON T1.budget_type_code = T2.budget_type_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 is the Term in office with an Order that is 9?
### Context:
CREATE TABLE table_name_21 (term_in_office VARCHAR, order VARCHAR)
### Response:
### Response:
SELECT term_in_office FROM table_name_21 WHERE order = "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 the origin of the constellation that can be abbreviated to tele?
### Context:
CREATE TABLE table_287159_1 (origin VARCHAR, other_abbreviation VARCHAR)
### Response:
### Response:
SELECT origin FROM table_287159_1 WHERE other_abbreviation = "Tele"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and oldest age for students with different sex.
### Context:
CREATE TABLE student (sex VARCHAR, age INTEGER)
### Response:
### Response:
SELECT AVG(age), MAX(age), sex FROM student GROUP BY sex</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names of movies whose created year is after all movies directed by Steven Spielberg?
### Context:
CREATE TABLE Movie (title VARCHAR, YEAR INTEGER, director VARCHAR)
### Response:
### Response:
SELECT title FROM Movie WHERE YEAR > (SELECT MAX(YEAR) FROM Movie WHERE director = "Steven Spielberg")</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What number was the game resulting in a 5-11 record?
### Context:
CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-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:
Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19?
### Context:
CREATE TABLE table_name_72 (oilers_points INTEGER, opponent VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT MAX(oilers_points) FROM table_name_72 WHERE opponent = "san francisco 49ers" AND opponents > 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:
Name the Venue which has a Losing Team of newcastle knights?
### Context:
CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 drop zone time in the N drop zone for the 1st Pathfinder Prov.?
### Context:
CREATE TABLE table_name_22 (drop_zone INTEGER, troop_carrier_group VARCHAR)
### Response:
### Response:
SELECT AVG(drop_zone) AS Time FROM table_name_22 WHERE drop_zone = "n" AND troop_carrier_group = "1st pathfinder prov."</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What city had a score of 20 in aigburth after 1907?
### Context:
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 athlete who's rank is 8 and competed in the olympics during 1948–1952?
### Context:
CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)
### Response:
### Response:
SELECT athlete FROM table_22355_20 WHERE rank = 8 AND olympics = "1948–1952"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total of the River Mile in Greenup, Kentucky?
### Context:
CREATE TABLE table_name_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)
### Response:
### Response:
SELECT SUM(river_mile) FROM table_name_34 WHERE location_[l_] = "greenup, kentucky"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 NFL team is the Minnesota Vikings, what is the position?
### Context:
CREATE TABLE table_2508633_8 (position VARCHAR, nfl_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_2508633_8 WHERE nfl_team = "Minnesota Vikings"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When the country is Cambodia and the total is smaller than 1 what's the lowest silver?
### Context:
CREATE TABLE table_name_42 (silver INTEGER, country VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MIN(silver) FROM table_name_42 WHERE country = "cambodia" AND total < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the socket of sSpec number of sr0pk(e1)?
### Context:
CREATE TABLE table_name_31 (socket VARCHAR, sspec_number VARCHAR)
### Response:
### Response:
SELECT socket FROM table_name_31 WHERE sspec_number = "sr0pk(e1)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 English character for Lin Ming Kuan (林明寬)?
### Context:
CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR)
### Response:
### Response:
SELECT english FROM table_name_88 WHERE character = "lin ming kuan (林明寬)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 authority when the decile is 6 for pongaroa school
### Context:
CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa 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 are the average scores of contestants whose home state is Pennsylvania?
### Context:
CREATE TABLE table_16390001_2 (average VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT average FROM table_16390001_2 WHERE country = "Pennsylvania"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver yuji tachikawa had a make of lexus, what team did he represent?
### Context:
CREATE TABLE table_name_38 (team VARCHAR, make VARCHAR, drivers VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_38 WHERE make = "lexus" AND drivers = "yuji tachikawa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 from the Date that is December 8, 1963?
### Context:
CREATE TABLE table_name_24 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_24 WHERE date = "december 8, 1963"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fleet number when the length (ft) is 30?
### Context:
CREATE TABLE table_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR)
### Response:
### Response:
SELECT fleet__number FROM table_19643196_1 WHERE length__ft_ = 30</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which mountains classification is listed under stage 3?
### Context:
CREATE TABLE table_27112708_2 (mountains_classification VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT mountains_classification FROM table_27112708_2 WHERE stage = 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Nominee has an Award Ceremony of tony award, and a Category of the best performance by a leading actor in a musical?
### Context:
CREATE TABLE table_name_73 (nominee VARCHAR, award_ceremony VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT nominee FROM table_name_73 WHERE award_ceremony = "tony award" AND category = "best performance by a leading actor in a musical"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the opponent on September 9, 1979?
### Context:
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_99 WHERE date = "september 9, 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:
In what year was Lesli Margherita nominated?
### Context:
CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_90 WHERE nominee = "lesli margherita"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Road Team in the game with a Result of 105-95?
### Context:
CREATE TABLE table_name_39 (road_team VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT road_team FROM table_name_39 WHERE result = "105-95"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What character did Vicky Versavel play for 13 years?
### Context:
CREATE TABLE table_name_93 (character VARCHAR, duration VARCHAR, actor VARCHAR)
### Response:
### Response:
SELECT character FROM table_name_93 WHERE duration = "13 years" AND actor = "vicky versavel"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 leading scorer of the game on 9 February 2008?
### Context:
CREATE TABLE table_name_31 (leading_scorer VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT leading_scorer FROM table_name_31 WHERE date = "9 february 2008"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Away Team, when Home Team is "Swindon Town"?
### Context:
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_3 WHERE home_team = "swindon 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:
Which Source model has a 16-bit* Architecture?
### Context:
CREATE TABLE table_name_27 (source_model VARCHAR, architecture VARCHAR)
### Response:
### Response:
SELECT source_model FROM table_name_27 WHERE architecture = "16-bit*"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the Played that has the Club of club?
### Context:
CREATE TABLE table_name_15 (played VARCHAR)
### Response:
### Response:
SELECT played FROM table_name_15 WHERE "club" = "club"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 game with loss of Aker (3–8)?
### Context:
CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_4 WHERE loss = "aker (3–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 CPU chip in the Dishplayer 7100, which is a dish tuner with a v.90 modem?
### Context:
CREATE TABLE table_name_10 (cpu_chip VARCHAR, model VARCHAR, modem VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT cpu_chip FROM table_name_10 WHERE modem = "v.90" AND type = "dish tuner" AND model = "dishplayer 7100"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 attendance for December 14, 1958 after week 12?
### Context:
CREATE TABLE table_name_76 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT MIN(attendance) FROM table_name_76 WHERE date = "december 14, 1958" AND week > 12</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date of game 9?
### Context:
CREATE TABLE table_name_61 (date VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_61 WHERE game = 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 country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943?
### Context:
CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What club received a DF player for free?
### Context:
CREATE TABLE table_name_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
### Response:
### Response:
SELECT to_club FROM table_name_52 WHERE transfer_fee = "free" AND pos = "df"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 carries of the player Jeremiah Pope?
### Context:
CREATE TABLE table_name_83 (car INTEGER, player VARCHAR)
### Response:
### Response:
SELECT SUM(car) FROM table_name_83 WHERE player = "jeremiah pope"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many wins for team mv agusta, over 10 points, and after 1957?
### Context:
CREATE TABLE table_name_59 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the reasons that venues closed in the 1990s?
### Context:
CREATE TABLE table_name_59 (reason VARCHAR, closed VARCHAR)
### Response:
### Response:
SELECT reason FROM table_name_59 WHERE closed = "1990s"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 yield for a blast that was in nts area 3s?
### Context:
CREATE TABLE table_name_39 (yield VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT yield FROM table_name_39 WHERE location = "nts area 3s"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 game on February 27 with New Jersey as the visitor team?
### Context:
CREATE TABLE table_name_25 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many games lost for the team that drew 5 times and had over 41 points?
### Context:
CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn for danish and mathias
### Context:
CREATE TABLE table_name_37 (draw VARCHAR, language VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT COUNT(draw) FROM table_name_37 WHERE language = "danish" AND artist = "mathias"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the home team at windy hill?
### Context:
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_39 WHERE venue = "windy hill"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what status is the vehicle numbers of adb977554?
### Context:
CREATE TABLE table_name_78 (status VARCHAR, vehicle_numbers VARCHAR)
### Response:
### Response:
SELECT status FROM table_name_78 WHERE vehicle_numbers = "adb977554"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the planned delivery dates and actual delivery dates of bookings.
### Context:
CREATE TABLE BOOKINGS (Planned_Delivery_Date VARCHAR, Actual_Delivery_Date VARCHAR)
### Response:
### Response:
SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.