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:
Name the least 2 credits for flush
### Context:
CREATE TABLE table_148535_2 (hand VARCHAR)
### Response:
### Response:
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Flush"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Universities were founded in Tacoma, Washington?
### Context:
CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(founded) FROM table_16078390_2 WHERE location = "Tacoma, Washington"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 government form name and total population for each government form whose average life expectancy is longer than 72.
### Context:
CREATE TABLE country (GovernmentForm VARCHAR, Population INTEGER, LifeExpectancy INTEGER)
### Response:
### Response:
SELECT SUM(Population), GovernmentForm FROM country GROUP BY GovernmentForm HAVING AVG(LifeExpectancy) > 72</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 violent crimes occurred the year that the index was 191037?
### Context:
CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR)
### Response:
### Response:
SELECT violent FROM table_25271777_1 WHERE index = 191037</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of people living in the nations that do not use English?
### Context:
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Population INTEGER, Name VARCHAR)
### Response:
### Response:
SELECT SUM(Population) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English")</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 College with a Round # that is 290?
### Context:
CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_20 WHERE round__number = 290</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title was No. 4 in season?
### Context:
CREATE TABLE table_16090262_1 (title VARCHAR, no_in_season VARCHAR)
### Response:
### Response:
SELECT title FROM table_16090262_1 WHERE no_in_season = 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the incumbent in Virginia 3?
### Context:
CREATE TABLE table_2668374_18 (incumbent VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT incumbent FROM table_2668374_18 WHERE district = "Virginia 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 Set 2 has a Set 3 of 25–20, and a Time of 13:45?
### Context:
CREATE TABLE table_name_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT set_2 FROM table_name_5 WHERE set_3 = "25–20" AND time = "13: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 is the Result of the game against the Indianapolis Colts?
### Context:
CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?
### Context:
CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR)
### Response:
### Response:
SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= "1975-01-01" AND T1.date_order_placed <= "1976-01-01"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Score, when Name is Nicole 赖淞凤?
### Context:
CREATE TABLE table_name_38 (score VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_38 WHERE name = "nicole 赖淞凤"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 person died May 22, 1895 is the reason for vacancy what is the district?
### Context:
CREATE TABLE table_2417445_4 (district VARCHAR, reason_for_vacancy VARCHAR)
### Response:
### Response:
SELECT district FROM table_2417445_4 WHERE reason_for_vacancy = "Died May 22, 1895"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of the acquisition of import in the 2002 season?
### Context:
CREATE TABLE table_name_19 (number VARCHAR, acquisition_via VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT number FROM table_name_19 WHERE acquisition_via = "import" AND season = "2002"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 weights of entrepreneurs in descending order of money requested?
### Context:
CREATE TABLE entrepreneur (People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Weight VARCHAR, People_ID VARCHAR)
### Response:
### Response:
SELECT T2.Weight FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested 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:
Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School?
### Context:
CREATE TABLE table_name_64 (hometown VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT hometown FROM table_name_64 WHERE school = "kennedy-kenrick catholic high school"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the driver when the tyre is p and the entrant is officine alfieri maserati?
### Context:
CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mnay greek designation in tampa
### Context:
CREATE TABLE table_18159601_1 (greek_designation VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = "Tampa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Set 3 with a Date of 04 oct, and a Set 2 with 15–5?
### Context:
CREATE TABLE table_name_33 (set_3 VARCHAR, date VARCHAR, set_2 VARCHAR)
### Response:
### Response:
SELECT set_3 FROM table_name_33 WHERE date = "04 oct" AND set_2 = "15–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 grid has 2 laps?
### Context:
CREATE TABLE table_name_93 (grid VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT grid FROM table_name_93 WHERE laps = "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 result on Saturday that's রবিবার robibar on Sunday
### Context:
CREATE TABLE table_name_14 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
### Response:
### Response:
SELECT saturday_shani__saturn_ FROM table_name_14 WHERE sunday_surya__the_sun_ = "রবিবার robibar"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was febian brandy loaned out until, when was loaned out on 2 february 2009.?
### Context:
CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR)
### Response:
### Response:
SELECT date_to FROM table_name_12 WHERE name = "febian brandy" AND date_from = "2 february 2009"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
when was the ship completed when laid down is 21 august 1925?
### Context:
CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR)
### Response:
### Response:
SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
### Context:
CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)
### Response:
### Response:
SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which race has a replica of DNF?
### Context:
CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR)
### Response:
### Response:
SELECT race FROM table_name_16 WHERE replica = "dnf"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 won as the result on the date of December 14, 2004?
### Context:
CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 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:
What was the location of the match that had a result of 3-3?
### Context:
CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_13 WHERE result = "3-3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player played guard for toronto in 1996-97?
### Context:
CREATE TABLE table_10015132_11 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)
### Response:
### Response:
SELECT player FROM table_10015132_11 WHERE position = "Guard" AND years_in_toronto = "1996-97"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the least amount of draws with an against of 1261?
### Context:
CREATE TABLE table_name_16 (draws INTEGER, against VARCHAR)
### Response:
### Response:
SELECT MIN(draws) FROM table_name_16 WHERE against = 1261</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date had a 4ad label and a CD (reissue) format?
### Context:
CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 railway number of a D(rebuild) class?
### Context:
CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 engine for the Arciero Racing team?
### Context:
CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT engine FROM table_name_49 WHERE team = "arciero 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:
When the role is role what was the status?
### Context:
CREATE TABLE table_name_14 (status VARCHAR)
### Response:
### Response:
SELECT status FROM table_name_14 WHERE "role" = "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:
What position has 1958 as the NFL Draft, and jerry kramer as the player?
### Context:
CREATE TABLE table_name_55 (position VARCHAR, nfl_draft VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_55 WHERE nfl_draft = 1958 AND player = "jerry kramer"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Venue held the Olympic games in 2012?
### Context:
CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 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:
When essendon was the home team, how much did they score?
### Context:
CREATE TABLE table_name_56 (home_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_56 WHERE home_team = "essendon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the least week for opponent of washington redskins
### Context:
CREATE TABLE table_name_87 (week INTEGER, opponent VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_87 WHERE opponent = "washington redskins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Whic teams scored l 97–107 (ot)
### Context:
CREATE TABLE table_17323092_5 (team VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (OT)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the opponent when the record was 61-57?
### Context:
CREATE TABLE table_name_89 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_89 WHERE record = "61-57"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which room has cheapest base price? List the room's name and the base price.
### Context:
CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)
### Response:
### Response:
SELECT roomName, basePrice FROM Rooms ORDER BY basePrice 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 Manufacturer with a Fuel Type that is diesel?
### Context:
CREATE TABLE table_name_9 (manufacturer VARCHAR, fuel_type VARCHAR)
### Response:
### Response:
SELECT manufacturer FROM table_name_9 WHERE fuel_type = "diesel"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What state has a semifinal average of 8.538 (8) ?
### Context:
CREATE TABLE table_16268026_3 (state VARCHAR, semifinal_average VARCHAR)
### Response:
### Response:
SELECT state FROM table_16268026_3 WHERE semifinal_average = "8.538 (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:
Player than won in 2003?
### Context:
CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_94 WHERE year_s__won = "2003"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many have been played for 362 points?
### Context:
CREATE TABLE table_17510803_2 (played VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT played FROM table_17510803_2 WHERE points_for = "362"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which team had a year over 1995, machine of RS125R, and ranked 1st?
### Context:
CREATE TABLE table_name_95 (team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_95 WHERE year > 1995 AND machine = "rs125r" AND rank = "1st"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 attendance on September 12?
### Context:
CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_76 WHERE date = "september 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:
Name the institutional authority for launch date of october 12, 2004
### Context:
CREATE TABLE table_name_47 (institutional_authority VARCHAR, launch_date VARCHAR)
### Response:
### Response:
SELECT institutional_authority FROM table_name_47 WHERE launch_date = "october 12, 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:
What record has candlestick park as the game site, and october 12, 2008 as the date?
### Context:
CREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 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:
Who was home at Princes Park?
### Context:
CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_55 WHERE venue = "princes park"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the code of city where most of students are living in.
### Context:
CREATE TABLE student (city_code VARCHAR)
### Response:
### Response:
SELECT city_code FROM student GROUP BY city_code 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 year was mcmahon stadium founded?
### Context:
CREATE TABLE table_27599216_6 (founded INTEGER, football_stadium VARCHAR)
### Response:
### Response:
SELECT MAX(founded) FROM table_27599216_6 WHERE football_stadium = "McMahon 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:
When the finish is t27 what is the year (s) won?
### Context:
CREATE TABLE table_name_57 (year_s__won VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT year_s__won FROM table_name_57 WHERE finish = "t27"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 million U.S. viewers watched the epiode with a production code of 1arc12?
### Context:
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC12"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 movies that are written and dircted by john sullivan with the airdate of 15january2009.
### Context:
CREATE TABLE table_17641206_8 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_17641206_8 WHERE written_by = "John Sullivan" AND original_airdate = "15January2009"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which airport is in Saudi Arabia when the ICAO is oejn?
### Context:
CREATE TABLE table_name_20 (airport VARCHAR, country VARCHAR, icao VARCHAR)
### Response:
### Response:
SELECT airport FROM table_name_20 WHERE country = "saudi arabia" AND icao = "oejn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct countries of managers.
### Context:
CREATE TABLE manager (Country VARCHAR)
### Response:
### Response:
SELECT DISTINCT Country FROM manager</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What American Southwest Conference school was founded in 1883?
### Context:
CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR)
### Response:
### Response:
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For the year won of 2001, what is the To Par?
### Context:
CREATE TABLE table_name_29 (to_par VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_29 WHERE year_s__won = "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:
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
### Context:
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)
### Response:
### Response:
SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38?
### Context:
CREATE TABLE table_name_63 (ends_lost INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)
### Response:
### Response:
SELECT MAX(ends_lost) FROM table_name_63 WHERE shot__percentage > 78 AND ends_won < 38</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Song has a Length of 2:50?
### Context:
CREATE TABLE table_name_7 (song_title VARCHAR, length VARCHAR)
### Response:
### Response:
SELECT song_title FROM table_name_7 WHERE length = "2: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:
How much Col (m) has a Prominence (m) of 2,344?
### Context:
CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR)
### Response:
### Response:
SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what team played on may 20 on the home side
### Context:
CREATE TABLE table_name_50 (home_team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_50 WHERE date = "may 20"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date were Romania at Home at the Bucharest Venue with a Score of 13-19?
### Context:
CREATE TABLE table_name_80 (date VARCHAR, score VARCHAR, home VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_80 WHERE home = "romania" AND venue = "bucharest" AND score = "13-19"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?
### Context:
CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR)
### Response:
### Response:
SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which station has a frequency of 873khz?
### Context:
CREATE TABLE table_name_18 (station VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT station FROM table_name_18 WHERE frequency = "873khz"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time for entries being 907
### Context:
CREATE TABLE table_2534387_10 (time__et_ VARCHAR, entries VARCHAR)
### Response:
### Response:
SELECT time__et_ FROM table_2534387_10 WHERE entries = "907"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What record has a score of 111-96?
### Context:
CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_56 WHERE score = "111-96"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which country has a rank of 2?
### Context:
CREATE TABLE table_name_93 (country VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_93 WHERE rank = 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 story code of the story published on 2002-12?
### Context:
CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT story AS code FROM table_name_38 WHERE date = "2002-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's the weekly rank of episode 1.03?
### Context:
CREATE TABLE table_28283535_4 (weekly_rank VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT weekly_rank FROM table_28283535_4 WHERE episode = "1.03"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was Stéphan Perrot rank average?
### Context:
CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_61 WHERE name = "stéphan perrot"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 three is class 4?
### Context:
CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT part_3 FROM table_name_4 WHERE class = "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 platform is nds4droid on for the nintendo ds?
### Context:
CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sponsored the bill introduced on June 9, 2011?
### Context:
CREATE TABLE table_name_77 (sponsor_s_ VARCHAR, date_introduced VARCHAR)
### Response:
### Response:
SELECT sponsor_s_ FROM table_name_77 WHERE date_introduced = "june 9, 2011"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 name and os of web client accelerators that do not work with only a 'Broadband' type connection?
### Context:
CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, CONNECTION VARCHAR)
### Response:
### Response:
SELECT name, operating_system FROM web_client_accelerator WHERE CONNECTION <> 'Broadband'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1?
### Context:
CREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR)
### Response:
### Response:
SELECT MAX(jerseys) FROM table_name_72 WHERE points = 0 AND different_holders < 3 AND giro_wins < 1 AND young_rider > 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Long has redshirt for its Avg/G?
### Context:
CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR)
### Response:
### Response:
SELECT long FROM table_name_97 WHERE avg_g = "redshirt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ISBN 1-84990-243-7?
### Context:
CREATE TABLE table_2950964_1 (title VARCHAR, isbn VARCHAR)
### Response:
### Response:
SELECT title FROM table_2950964_1 WHERE isbn = "isbn 1-84990-243-7"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what date has the class of non-championship f2 as well as a driver name josé froilán gonzález that has a position larger than 2?
### Context:
CREATE TABLE table_name_27 (date VARCHAR, position VARCHAR, class VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_27 WHERE class = "non-championship f2" AND driver = "josé froilán gonzález" AND position > 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which podiums have a final placing of 10th?
### Context:
CREATE TABLE table_15852257_1 (podiums VARCHAR, final_placing VARCHAR)
### Response:
### Response:
SELECT podiums FROM table_15852257_1 WHERE final_placing = "10th"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings?
### Context:
CREATE TABLE table_name_51 (runs VARCHAR, average VARCHAR, innings VARCHAR)
### Response:
### Response:
SELECT COUNT(runs) FROM table_name_51 WHERE average > 31.25 AND innings < 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:
Which months have more than 2 happy hours?
### Context:
CREATE TABLE happy_hour (MONTH VARCHAR)
### Response:
### Response:
SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING COUNT(*) > 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Name has Apparent Magnitude smaller than 11.4, and R.A. (J2000) of 04h17m35.8s?
### Context:
CREATE TABLE table_name_75 (name VARCHAR, apparent_magnitude VARCHAR, ra___j2000__ VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_75 WHERE apparent_magnitude < 11.4 AND ra___j2000__ = "04h17m35.8s"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parishes for beira baixa province
### Context:
CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR)
### Response:
### Response:
SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa Province"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of Bagel World?
### Context:
CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR)
### Response:
### Response:
SELECT chef FROM table_name_6 WHERE location = "toronto, on" AND original_name = "n/a" AND restaurant_name = "bagel world"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 pick for a year after 2010, and a round smaller than 1?
### Context:
CREATE TABLE table_name_11 (pick INTEGER, year VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT MAX(pick) FROM table_name_11 WHERE year > 2010 AND round < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
### Context:
CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR)
### Response:
### Response:
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What unit has an Avoirdupois value of 57.602 gr.?
### Context:
CREATE TABLE table_name_9 (unit VARCHAR, avoirdupois_value VARCHAR)
### Response:
### Response:
SELECT unit FROM table_name_9 WHERE avoirdupois_value = "57.602 gr."</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Margin of victory has a Year larger than 1994, and a To par of –14, and a Score of 69-67-69-69=274?
### Context:
CREATE TABLE table_name_25 (margin_of_victory VARCHAR, year VARCHAR, to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT margin_of_victory FROM table_name_25 WHERE year > 1994 AND to_par = "–14" AND score = 69 - 67 - 69 - 69 = 274</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Melbourne's home venue?
### Context:
CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_74 WHERE home_team = "melbourne"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which headquarters are associated with the school board Renfrew County Catholic District School Board?
### Context:
CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR)
### Response:
### Response:
SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mount gauttier is the peak what is the highest prominence in meters?
### Context:
CREATE TABLE table_18946749_1 (prominence__m_ INTEGER, peak VARCHAR)
### Response:
### Response:
SELECT MAX(prominence__m_) FROM table_18946749_1 WHERE peak = "Mount Gauttier"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?
### Context:
CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Response:
### Response:
SELECT dominant_religion__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the away team's score at the match played at The Western Oval?
### Context:
CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_62 WHERE venue = "western oval"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Wins before 1960 with less than 2 Points?
### Context:
CREATE TABLE table_name_47 (wins INTEGER, year VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(wins) FROM table_name_47 WHERE year < 1960 AND points < 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:
How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have?
### Context:
CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 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 Label released a CD single in 1993?
### Context:
CREATE TABLE table_name_5 (label VARCHAR, format VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_5 WHERE format = "cd single" AND date = "1993"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away has a Score of 1:2, and a Home of vida?
### Context:
CREATE TABLE table_name_31 (away VARCHAR, score VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT away FROM table_name_31 WHERE score = "1:2" AND home = "vida"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When hayden roulston is the winner what is the stage?
### Context:
CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT stage FROM table_28298471_14 WHERE winner = "Hayden Roulston"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.