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:
Who was asked 20 questions in the issue where the cover model is Linda Brava?
### Context:
CREATE TABLE table_1566850_9 (cover_model VARCHAR)
### Response:
### Response:
SELECT 20 AS _questions FROM table_1566850_9 WHERE cover_model = "Linda Brava"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the publication dates of publications with 3 lowest prices.
### Context:
CREATE TABLE publication (Publication_Date VARCHAR, Price VARCHAR)
### Response:
### Response:
SELECT Publication_Date FROM publication ORDER BY Price LIMIT 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 was the Attendance when Lincoln City was the Opponents with H/A of A?
### Context:
CREATE TABLE table_name_20 (attendance VARCHAR, opponents VARCHAR, h___a VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_name_20 WHERE opponents = "lincoln city" AND h___a = "a"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the function of 1.4 version of Windows live messenger?
### Context:
CREATE TABLE table_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT function FROM table_18138132_2 WHERE version = "1.4" AND title = "Windows Live Messenger"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rounds were run in New South Wales?
### Context:
CREATE TABLE table_name_84 (round VARCHAR, state VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_84 WHERE state = "new south wales"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו?
### Context:
CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)
### Response:
### Response:
SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Rank of the building that has a Highest floor larger than 50?
### Context:
CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER)
### Response:
### Response:
SELECT rank FROM table_name_57 WHERE highest_floor > 50</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which IHSAA class does speedway school belong to?
### Context:
CREATE TABLE table_name_85 (ihsaa_class VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT ihsaa_class FROM table_name_85 WHERE school = "speedway"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 operation in Field 103 executed?
### Context:
CREATE TABLE table_13150274_1 (years_of_operation VARCHAR, area_of_operation VARCHAR)
### Response:
### Response:
SELECT years_of_operation FROM table_13150274_1 WHERE area_of_operation = "Field 103"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
tell the number of times where kansas was the location
### Context:
CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many households are in highlands county?
### Context:
CREATE TABLE table_name_70 (number_of_households INTEGER, county VARCHAR)
### Response:
### Response:
SELECT AVG(number_of_households) FROM table_name_70 WHERE county = "highlands"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 records when Elzbieta Urbanczik competed?
### Context:
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)
### Response:
### Response:
SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names and classes of the ships that do not have any captain yet?
### Context:
CREATE TABLE ship (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR); CREATE TABLE captain (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR)
### Response:
### Response:
SELECT name, CLASS FROM ship WHERE NOT ship_id IN (SELECT ship_id FROM captain)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 preliminary average score when the interview score is 8.600 (6)?
### Context:
CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR)
### Response:
### Response:
SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (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 total number of goals that has been played less than 38 times?
### Context:
CREATE TABLE table_name_25 (goals_for VARCHAR, played INTEGER)
### Response:
### Response:
SELECT COUNT(goals_for) FROM table_name_25 WHERE played < 38</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many total goals scored when less than 30 games have been played?
### Context:
CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER)
### Response:
### Response:
SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played < 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:
What are the names and scores of wines that are made of white color grapes?
### Context:
CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Score VARCHAR, Grape VARCHAR)
### Response:
### Response:
SELECT T2.Name, T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Country, when Score is "69-69=138", and when Player is "Ian Poulter"?
### Context:
CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bronze has a Silver of 15, and a Total smaller than 54?
### Context:
CREATE TABLE table_name_23 (bronze INTEGER, silver VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_23 WHERE silver = 15 AND total < 54</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed under general classification on stage 4?
### Context:
CREATE TABLE table_27112708_2 (general_classification VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT general_classification FROM table_27112708_2 WHERE stage = 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 is the Winner, when the Surface is Carpet (i)?
### Context:
CREATE TABLE table_name_80 (winner VARCHAR, surface VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_80 WHERE surface = "carpet (i)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the city and state of the bank branch named morningside.
### Context:
CREATE TABLE bank (city VARCHAR, state VARCHAR, bname VARCHAR)
### Response:
### Response:
SELECT city, state FROM bank WHERE bname = 'morningside'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What tournament had a black of Kramnik and an opening of B66 Sicilian Defence?
### Context:
CREATE TABLE table_name_28 (tournament VARCHAR, black VARCHAR, opening VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_28 WHERE black = "kramnik" AND opening = "b66 sicilian defence"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fumb TD has an Int TD of 1, and a Fumb F. smaller than 1?
### Context:
CREATE TABLE table_name_72 (fumb_td INTEGER, int_td VARCHAR, fumb_f VARCHAR)
### Response:
### Response:
SELECT MIN(fumb_td) FROM table_name_72 WHERE int_td = 1 AND fumb_f < 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:
Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000.
### Context:
CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER)
### Response:
### Response:
SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 a pick less than 20?
### Context:
CREATE TABLE table_name_2 (position VARCHAR, pick INTEGER)
### Response:
### Response:
SELECT position FROM table_name_2 WHERE pick < 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 tournament did Nadal win and had a nadal of 16?
### Context:
CREATE TABLE table_name_75 (tournament VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_75 WHERE winner = "nadal" AND "nadal" = 16</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the attendance of the game on October 17, 2004?
### Context:
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_41 WHERE date = "october 17, 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:
When was SPLC founded?
### Context:
CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR)
### Response:
### Response:
SELECT MIN(founded) FROM table_11318462_29 WHERE abbreviation = "SPLC"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 IN MALAYALAM WITH kartika–agrahayana?
### Context:
CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR)
### Response:
### Response:
SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party for willis alston (j) 93.9% george e. spruill 6.1%
### Context:
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.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 city the track of manzanita speedway is in?
### Context:
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_89 WHERE track = "manzanita speedway"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Bronze, when Nation is "North Korea", and when Total is greater than 5?
### Context:
CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT AVG(bronze) FROM table_name_53 WHERE nation = "north korea" AND total > 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
I want the NGC number for leo of irregular galaxy
### Context:
CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)
### Response:
### Response:
SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most wins for losses more than 2 and points of two with place larger than 7
### Context:
CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 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 score has a Set 2 of 17–25, and a Total of 48–75?
### Context:
CREATE TABLE table_name_10 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_10 WHERE set_2 = "17–25" AND total = "48–75"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
yes or no for the sydney with yes for melbourne, no for perth, no for auckland and no for gold coast?
### Context:
CREATE TABLE table_name_43 (sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR)
### Response:
### Response:
SELECT sydney FROM table_name_43 WHERE melbourne = "yes" AND perth = "no" AND auckland = "no" AND gold_coast = "no"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for the Essendon home team?
### Context:
CREATE TABLE table_name_31 (home_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_31 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:
What is the date ground A and Cartagena as an opponent?
### Context:
CREATE TABLE table_name_50 (date VARCHAR, ground VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_50 WHERE ground = "a" AND opponent = "cartagena"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 places have an area of 409.41 (km2)?
### Context:
CREATE TABLE table_261222_1 (population__2010_ VARCHAR, area__km_2__ VARCHAR)
### Response:
### Response:
SELECT COUNT(population__2010_) FROM table_261222_1 WHERE area__km_2__ = "409.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:
What was the Winning Score on May 29, 1977?
### Context:
CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
I want the driver with Laps larger than 16 with a ferrari and grid less than 15
### Context:
CREATE TABLE table_name_44 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_44 WHERE laps > 16 AND constructor = "ferrari" AND grid < 15</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In what country is Hokkaidō and New Chitose airport located?
### Context:
CREATE TABLE table_name_55 (country VARCHAR, province_region VARCHAR, airport VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_55 WHERE province_region = "hokkaidō" AND airport = "new chitose 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:
What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
### Context:
CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
At what Location was the Runner-up TBD?
### Context:
CREATE TABLE table_name_3 (location VARCHAR, runner_up VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_3 WHERE runner_up = "tbd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what Date was the Venue in Carson?
### Context:
CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_10 WHERE venue = "carson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Amritpur has what constituency number?
### Context:
CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT constituency_number FROM table_name_87 WHERE name = "amritpur"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue had more than 9 goals and a final result of 4-1?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, goal VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_82 WHERE goal > 9 AND result = "4-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:
Where did Footscray play as the away team?
### Context:
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_27 WHERE away_team = "footscray"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?
### Context:
CREATE TABLE table_name_56 (centerfold_model VARCHAR, cover_model VARCHAR)
### Response:
### Response:
SELECT centerfold_model FROM table_name_56 WHERE cover_model = "julie lynn cialini"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What tournament happened on 12 november 2006?
### Context:
CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cards does customer Art Turcotte have?
### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Giant Slalom has a Slalom of 45?
### Context:
CREATE TABLE table_name_26 (Giant VARCHAR, slalom VARCHAR)
### Response:
### Response:
SELECT Giant AS slalom FROM table_name_26 WHERE slalom = "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:
Name the result for kingdome game site and opponent of denver broncos
### Context:
CREATE TABLE table_name_75 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_75 WHERE game_site = "kingdome" AND opponent = "denver broncos"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 qual 1 for rusport and had a best of 58.665?
### Context:
CREATE TABLE table_name_87 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
### Response:
### Response:
SELECT qual_1 FROM table_name_87 WHERE team = "rusport" AND best = "58.665"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Episode has a Share of tba?
### Context:
CREATE TABLE table_name_17 (episode VARCHAR, share VARCHAR)
### Response:
### Response:
SELECT episode FROM table_name_17 WHERE share = "tba"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?
### Context:
CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = "lost in round 2" AND games < 81</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the architect of the 10 floor building with a height of 42 M?
### Context:
CREATE TABLE table_name_68 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR)
### Response:
### Response:
SELECT architect FROM table_name_68 WHERE height_[m] = 42 AND floors = 10</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of Super Cup, when Title Playoff is "0", when Total is greater than 9, and when League is less than 11?
### Context:
CREATE TABLE table_name_97 (super_cup VARCHAR, league VARCHAR, title_playoff VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT COUNT(super_cup) FROM table_name_97 WHERE title_playoff = 0 AND total > 9 AND league < 11</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest gold with a Total of 2, and a Rank smaller than 2?
### Context:
CREATE TABLE table_name_91 (gold INTEGER, total VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MAX(gold) FROM table_name_91 WHERE total = 2 AND 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 size km² when the density hab/km is 8,321?
### Context:
CREATE TABLE table_name_52 (size_km² INTEGER, density_hab_km VARCHAR)
### Response:
### Response:
SELECT SUM(size_km²) FROM table_name_52 WHERE density_hab_km = 8 OFFSET 321</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 T5 Place Vijay Singh's To par?
### Context:
CREATE TABLE table_name_60 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_60 WHERE place = "t5" AND player = "vijay singh"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 episode had 5.74 million viewers?
### Context:
CREATE TABLE table_12976038_1 (episode__number VARCHAR, viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT episode__number FROM table_12976038_1 WHERE viewers__in_millions_ = "5.74"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Post Town has a Dialcode of 020 and is located in Hook?
### Context:
CREATE TABLE table_name_54 (post_town VARCHAR, dialcode VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT post_town FROM table_name_54 WHERE dialcode = "020" AND location = "hook"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 IS-3 when the KV-85 is 40?
### Context:
CREATE TABLE table_name_11 (is_3_m1945 VARCHAR, kv_85_m1943 VARCHAR)
### Response:
### Response:
SELECT is_3_m1945 FROM table_name_11 WHERE kv_85_m1943 = "40"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 snatch when Marcin Dołęga ( POL ) was 430kg?
### Context:
CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR)
### Response:
### Response:
SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What happened in Mazar-i-sharif?
### Context:
CREATE TABLE table_name_3 (circumstances VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT circumstances FROM table_name_3 WHERE location = "mazar-i-sharif"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 US cash box before 1978 with a US billboard of 35?
### Context:
CREATE TABLE table_name_20 (us_cash_box VARCHAR, year VARCHAR, us_billboard VARCHAR)
### Response:
### Response:
SELECT us_cash_box FROM table_name_20 WHERE year < 1978 AND us_billboard = 35</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.
### Context:
CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
### Response:
### Response:
SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the race date for the course Jaén to Córdoba?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, course VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_64 WHERE course = "jaén to córdoba"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home of quebec nordiques, and a Visitor of vancouver blazers on february 28?
### Context:
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_52 WHERE home = "quebec nordiques" AND visitor = "vancouver blazers" AND date = "february 28"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Game is the lowest one that has a Record of 11-4?
### Context:
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_30 WHERE record = "11-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 position did someone play from 1982-84?
### Context:
CREATE TABLE table_name_78 (position VARCHAR, years_for_jazz VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_78 WHERE years_for_jazz = "1982-84"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the record with opponent of bos and loss of morris
### Context:
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_37 WHERE opponent = "bos" AND loss = "morris"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Whose reign ended in Afghanistan after 3 days?
### Context:
CREATE TABLE table_name_2 (reign_ended VARCHAR, length VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT reign_ended FROM table_name_2 WHERE length = "3 days" AND country = "afghanistan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What event did Diego Saraiva fight jorge gurgel?
### Context:
CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race time for 2002
### Context:
CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT race_time FROM table_2139390_2 WHERE year = 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:
How many results are there with the original title of ani ohev otach roza (אני אוהב אותך רוזה)?
### Context:
CREATE TABLE table_12369913_1 (result VARCHAR, original_title VARCHAR)
### Response:
### Response:
SELECT COUNT(result) FROM table_12369913_1 WHERE original_title = "Ani Ohev Otach Roza (אני אוהב אותך רוזה)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the person with a 1:10.771 qual 2?
### Context:
CREATE TABLE table_name_60 (name VARCHAR, qual_2 VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_60 WHERE qual_2 = "1:10.771"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest number lost with more than 29 points and an against less than 19?
### Context:
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT MAX(lost) FROM table_name_58 WHERE points > 29 AND against < 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:
How many games did they have a record of 39-12-6?
### Context:
CREATE TABLE table_23308178_8 (game VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_23308178_8 WHERE record = "39-12-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:
How many total episodes aired over all seasons with 7.79 million viewers?
### Context:
CREATE TABLE table_name_86 (episode_count VARCHAR, viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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's the head coach of the team with a price of $3.22 million?
### Context:
CREATE TABLE table_19905183_1 (head_coach VARCHAR, price VARCHAR)
### Response:
### Response:
SELECT head_coach FROM table_19905183_1 WHERE price = "$3.22 million"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all students taught by MARROTTE KIRK. Output first and last names of students.
### Context:
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### Response:
### Response:
SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "MARROTTE" AND T2.lastname = "KIRK"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the record after game 79?
### Context:
CREATE TABLE table_name_27 (record VARCHAR, game__number VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_27 WHERE game__number = 79</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 apparent magnitude for all constellations from hydra?
### Context:
CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR)
### Response:
### Response:
SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Ben-Tahir has a 6 Liscumb and 3 Libweshya?
### Context:
CREATE TABLE table_name_82 (ben_tahir VARCHAR, liscumb VARCHAR, libweshya VARCHAR)
### Response:
### Response:
SELECT ben_tahir FROM table_name_82 WHERE liscumb = "6" AND libweshya = "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:
Find the number and average age of students living in each city.
### Context:
CREATE TABLE student (city_code VARCHAR, age INTEGER)
### Response:
### Response:
SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_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 Date, when Label is Jugoton?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE label = "jugoton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 did the player who was picked in round 3 play?
### Context:
CREATE TABLE table_name_18 (position VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_18 WHERE round = 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What week had an Attendance smaller than 21,097?
### Context:
CREATE TABLE table_name_46 (week VARCHAR, attendance INTEGER)
### Response:
### Response:
SELECT COUNT(week) FROM table_name_46 WHERE attendance < 21 OFFSET 097</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date has a Home team of philadelphia, and a Result of 104–110?
### Context:
CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_4 WHERE home_team = "philadelphia" AND result = "104–110"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What party established in 1797 won an election in 2007?
### Context:
CREATE TABLE table_name_17 (party VARCHAR, established VARCHAR, election VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_17 WHERE established > 1797 AND election = 2007</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result on week 6?
### Context:
CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_42 WHERE week = 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:
I want the average Laps for grid of 9
### Context:
CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR)
### Response:
### Response:
SELECT AVG(laps) FROM table_name_74 WHERE grid = 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:
When has a Record of 1–0?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_52 WHERE record = "1–0"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Bronze is "Valentin Novikov"?
### Context:
CREATE TABLE table_name_70 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT notes FROM table_name_70 WHERE gold = "thierry gueorgiou" AND year < 2008 AND bronze = "valentin novikov"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what season did the juventus win
### Context:
CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_54 WHERE champion = "juventus"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 center in 2010?
### Context:
CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_9 WHERE position = "center" AND year = 2010</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of team for 19th position
### Context:
CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR)
### Response:
### Response:
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.