inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were Sébastien Bourdais' lowest points when there were less than 63 laps?
### Context:
CREATE TABLE table_name_16 (points INTEGER, driver VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_name_16 WHERE driver = "sébastien bourdais" AND laps < 63</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 early 1873, Owen sound had what works number?
### Context:
CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 play on october 9?
### Context:
CREATE TABLE table_27539808_3 (opponent VARCHAR, october VARCHAR)
### Response:
### Response:
SELECT COUNT(opponent) FROM table_27539808_3 WHERE october = 9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest group to earn 886.6 points?
### Context:
CREATE TABLE table_1059743_2 (group_stage INTEGER, points VARCHAR)
### Response:
### Response:
SELECT MIN(group_stage) FROM table_1059743_2 WHERE points = "886.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:
Find the id and name of the most expensive base price room.
### Context:
CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)
### Response:
### Response:
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice 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:
How long did the soap opera run in which Nadine Spruß acted in?
### Context:
CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR)
### Response:
### Response:
SELECT character FROM table_name_13 WHERE actor = "nadine spruß"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 appearances did Grant Brebner have?
### Context:
CREATE TABLE table_name_5 (total VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_5 WHERE name = "grant brebner"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 KOREAN has a CHINESE of 師子菩提 / shīzǐpútí?
### Context:
CREATE TABLE table_name_51 (korean VARCHAR, chinese VARCHAR)
### Response:
### Response:
SELECT korean FROM table_name_51 WHERE chinese = "師子菩提 / shīzǐpútí"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 order dates of orders with price higher than 1000?
### Context:
CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR)
### Response:
### Response:
SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the total career titles of the player who led for 5 years?
### Context:
CREATE TABLE table_23408094_14 (total_career_titles VARCHAR, span_of_years_led VARCHAR)
### Response:
### Response:
SELECT COUNT(total_career_titles) FROM table_23408094_14 WHERE span_of_years_led = 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 was the score when the NY Islanders was the visiting team?
### Context:
CREATE TABLE table_name_67 (score VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_67 WHERE visitor = "ny islanders"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What division was Ukraine in 2006/07?
### Context:
CREATE TABLE table_name_66 (division VARCHAR, country VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT division FROM table_name_66 WHERE country = "ukraine" AND season = "2006/07"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When the change (2011 to 2012) is -0.1% what is the country?
### Context:
CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR)
### Response:
### Response:
SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "-0.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 Identifier, when City of License is Terrace Bay?
### Context:
CREATE TABLE table_name_26 (identifier VARCHAR, city_of_license VARCHAR)
### Response:
### Response:
SELECT identifier FROM table_name_26 WHERE city_of_license = "terrace bay"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 category for the tween academy: class of 2012 nomination?
### Context:
CREATE TABLE table_name_86 (category VARCHAR, nominated_for VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_86 WHERE nominated_for = "tween academy: class of 2012"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?
### Context:
CREATE TABLE table_name_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)
### Response:
### Response:
SELECT radical__variants_ FROM table_name_81 WHERE pīnyīn = "gǔ" AND stroke_count = 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 is the HAAT of devils lake
### Context:
CREATE TABLE table_name_94 (haat VARCHAR, city_of_license VARCHAR)
### Response:
### Response:
SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What round had a amtch against cyprus and an edition of 2010 davis cup europe/africa group ii?
### Context:
CREATE TABLE table_name_34 (round VARCHAR, edition VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT round FROM table_name_34 WHERE edition = "2010 davis cup europe/africa group ii" AND against = "cyprus"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 bronze medals for the team with more than 4 silver and less than 30 gold medals?
### Context:
CREATE TABLE table_name_41 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT COUNT(bronze) FROM table_name_41 WHERE silver > 4 AND nation = "total" AND gold < 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:
Name the Others# when McCain# is 4730.
### Context:
CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR)
### Response:
### Response:
SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver has a grid value of 22?
### Context:
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_38 WHERE grid = "22"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest number of points in a season?
### Context:
CREATE TABLE table_2817196_1 (points INTEGER)
### Response:
### Response:
SELECT MAX(points) FROM table_2817196_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 loss occurred on August 21?
### Context:
CREATE TABLE table_name_57 (loss VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_57 WHERE date = "august 21"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the ansi code is 1036632, what is the name of the township?
### Context:
CREATE TABLE table_18600760_7 (township VARCHAR, ansi_code VARCHAR)
### Response:
### Response:
SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 1851 when 1881 had 764?
### Context:
CREATE TABLE table_name_67 (Id VARCHAR)
### Response:
### Response:
SELECT 1851 FROM table_name_67 WHERE 1881 = "764"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of lost games when 2 were drawn, and there were 6 bonus points?
### Context:
CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR)
### Response:
### Response:
SELECT lost FROM table_name_55 WHERE drawn = "2" AND bonus_points = "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:
Where were the Pan American Games held?
### Context:
CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_80 WHERE competition = "pan american games"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of students who is older than 20 in each dorm.
### Context:
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, age INTEGER)
### Response:
### Response:
SELECT COUNT(*), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.age > 20 GROUP BY T3.dorm_name</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
### Context:
CREATE TABLE table_name_33 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
### Response:
### Response:
SELECT AVG(grid) FROM table_name_33 WHERE manufacturer = "aprilia" AND rider = "bradley smith"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
During which games did Tunisia win gold in the men's 5000 m?
### Context:
CREATE TABLE table_name_24 (games VARCHAR, event VARCHAR, medal VARCHAR)
### Response:
### Response:
SELECT games FROM table_name_24 WHERE event = "men's 5000 m" AND medal = "gold"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 address of all customers that live in Germany and have invoice.
### Context:
CREATE TABLE INVOICE (CustomerId VARCHAR); CREATE TABLE CUSTOMER (Address VARCHAR, CustomerId VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points?
### Context:
CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguins" AND points < 41</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
### Context:
CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
### Response:
### Response:
SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Hangul of the Province with a Kana of ちゅうせいなんどう?
### Context:
CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR)
### Response:
### Response:
SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has kansas state and depaul played against each other
### Context:
CREATE TABLE table_15740666_6 (games_played VARCHAR, kansas_state_vs VARCHAR)
### Response:
### Response:
SELECT COUNT(games_played) FROM table_15740666_6 WHERE kansas_state_vs = "DePaul"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of australia and a To par smaller than 7?
### Context:
CREATE TABLE table_name_48 (total INTEGER, country VARCHAR, to_par VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_48 WHERE country = "australia" AND to_par < 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 position did the person from Clemson school fill?
### Context:
CREATE TABLE table_name_48 (position VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_48 WHERE school = "clemson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bronzes were won by the country with a total higher than 5?
### Context:
CREATE TABLE table_name_25 (bronze INTEGER, total INTEGER)
### Response:
### Response:
SELECT SUM(bronze) FROM table_name_25 WHERE total > 5</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Television Service, when Content is Calcio, and when Package/Option is Option?
### Context:
CREATE TABLE table_name_5 (television_service VARCHAR, content VARCHAR, package_option VARCHAR)
### Response:
### Response:
SELECT television_service FROM table_name_5 WHERE content = "calcio" AND package_option = "option"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What cover has Throne of Aquilonia as the title?
### Context:
CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 candidates in the district whose incumbent is Gus Yatron?
### Context:
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921?
### Context:
CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR)
### Response:
### Response:
SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won > 116 AND year = "1921"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Alexandr Elke's Weight?
### Context:
CREATE TABLE table_name_59 (weight VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT weight FROM table_name_59 WHERE name = "alexandr elke"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tie number when peterborough united was the away team?
### Context:
CREATE TABLE table_name_35 (tie_no VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_35 WHERE away_team = "peterborough united"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Res., when Event is "FT 6 - Full Throttle 6"?
### Context:
CREATE TABLE table_name_83 (res VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT res FROM table_name_83 WHERE event = "ft 6 - full throttle 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 Calvin Mokoto's average rank?
### Context:
CREATE TABLE table_name_1 (rank INTEGER, athletes VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_1 WHERE athletes = "calvin mokoto"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the average year for 46 margin
### Context:
CREATE TABLE table_name_95 (year INTEGER, margin VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_95 WHERE margin = 46</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3?
### Context:
CREATE TABLE table_name_86 (finalist VARCHAR, winner_and_score VARCHAR)
### Response:
### Response:
SELECT finalist FROM table_name_86 WHERE winner_and_score = "boris becker 7–6(3), 6–3, 3–6, 6–3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are all the week # where subject matter is auditioner's choice
### Context:
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)
### Response:
### Response:
SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface was Carpet (i), what was the Outcome?
### Context:
CREATE TABLE table_name_11 (outcome VARCHAR, surface VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_11 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:
Which category was Maite Perroni nominated for earlier than 2009?
### Context:
CREATE TABLE table_name_37 (category VARCHAR, nominated VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_37 WHERE nominated = "maite perroni" AND year < 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:
How many years is Antonio Pompa-Baldi Italy first?
### Context:
CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 has the qual 2 of 1:44.050?
### Context:
CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR)
### Response:
### Response:
SELECT best FROM table_name_9 WHERE qual_2 = "1:44.050"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 class when part 4 was *rādanaz?
### Context:
CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Date of the Crystal Palace Away game?
### Context:
CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_33 WHERE away_team = "crystal palace"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface has a Score in the final of 2–6, 6–7?
### Context:
CREATE TABLE table_name_42 (surface VARCHAR, score_in_the_final VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_42 WHERE score_in_the_final = "2–6, 6–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 school is the team from that has the colors blue and gold?
### Context:
CREATE TABLE table_name_29 (school VARCHAR, colors VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_29 WHERE colors = "blue and gold"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 owner of the channel that has the highest rating ratio?
### Context:
CREATE TABLE channel (OWNER VARCHAR, rating_in_percent VARCHAR)
### Response:
### Response:
SELECT OWNER FROM channel ORDER BY rating_in_percent 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:
Who was played against when there was a loss and in the gi po round?
### Context:
CREATE TABLE table_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT against FROM table_23563375_11 WHERE w_l = "Loss" AND round = "GI PO"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?
### Context:
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "Japan" AND t2.authorder = 1 AND t1.lname = "Ohori"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of Seats 2006 held by the Christian Democratic Union of Germany Party/Voter Community, with a %2006 higher than 24.6?
### Context:
CREATE TABLE table_name_79 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
### Response:
### Response:
SELECT MAX(seats_2006) FROM table_name_79 WHERE parties_and_voter_communities = "christian democratic union of germany" AND _percentage_2006 > 24.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 score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands?
### Context:
CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner" AND championship = "rotterdam, netherlands"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Rider with a Speed of 111.072mph in Team 250CC Honda?
### Context:
CREATE TABLE table_name_36 (rank INTEGER, team VARCHAR, speed VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_36 WHERE team = "250cc honda" AND speed = "111.072mph"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Hon Paul Keating's Party?
### Context:
CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_70 WHERE member = "hon paul keating"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the earliest round Clark was in?
### Context:
CREATE TABLE table_name_86 (round INTEGER, college VARCHAR)
### Response:
### Response:
SELECT MIN(round) FROM table_name_86 WHERE college = "clark"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?
### Context:
CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = "tyler haws" AND year = 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:
What is the lowst base pair with a Species of borrelia garinii, and a Genes larger than 832?
### Context:
CREATE TABLE table_name_21 (base_pairs INTEGER, species VARCHAR, genes VARCHAR)
### Response:
### Response:
SELECT MIN(base_pairs) FROM table_name_21 WHERE species = "borrelia garinii" AND genes > 832</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the Country that has the To par larger than 9, and the Year(s) won of 1984?
### Context:
CREATE TABLE table_name_67 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_67 WHERE to_par > 9 AND year_s__won = "1984"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Marplan, when Gallup is 1.5%
### Context:
CREATE TABLE table_name_55 (marplan VARCHAR, gallup VARCHAR)
### Response:
### Response:
SELECT marplan FROM table_name_55 WHERE gallup = "1.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 was the score of the home team when there were more than 5,500 people in the crowd?
### Context:
CREATE TABLE table_name_39 (home_team VARCHAR, crowd INTEGER)
### Response:
### Response:
SELECT home_team AS score FROM table_name_39 WHERE crowd > 5 OFFSET 500</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in third place in the 1980 season?
### Context:
CREATE TABLE table_23647668_2 (third_place VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT third_place FROM table_23647668_2 WHERE season = 1980</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 series # directed by ken whittingham?
### Context:
CREATE TABLE table_27720737_1 (series__number INTEGER, directed_by VARCHAR)
### Response:
### Response:
SELECT MAX(series__number) FROM table_27720737_1 WHERE directed_by = "Ken Whittingham"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fitzroy's score at home?
### Context:
CREATE TABLE table_name_27 (home_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player has a To Par smaller than 5, and a Score of 70-72=142?
### Context:
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_36 WHERE to_par < 5 AND score = 70 - 72 = 142</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the team score 21 goals?
### Context:
CREATE TABLE table_name_67 (date VARCHAR, goal VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_67 WHERE goal = 21</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race does jim clark has a Pole position on the Circuit of monaco?
### Context:
CREATE TABLE table_name_72 (race VARCHAR, pole_position VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT race FROM table_name_72 WHERE pole_position = "jim clark" AND circuit = "monaco"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
During which Season was the tournament in progress?
### Context:
CREATE TABLE table_name_64 (season VARCHAR, runner_up VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_64 WHERE runner_up = "tournament in progress"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 segment b's when segment a is filigree glass
### Context:
CREATE TABLE table_15187735_16 (segment_b VARCHAR, segment_a VARCHAR)
### Response:
### Response:
SELECT COUNT(segment_b) FROM table_15187735_16 WHERE segment_a = "Filigree Glass"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gene is ongoing and has an intramuscular route of administration?
### Context:
CREATE TABLE table_name_42 (gene VARCHAR, route_of_administration VARCHAR, status VARCHAR)
### Response:
### Response:
SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 every yellow jersey entry for the distance 125?
### Context:
CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR)
### Response:
### Response:
SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 label for the album with a catalog number of 83061-4?
### Context:
CREATE TABLE table_name_84 (label VARCHAR, catalog__number VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_84 WHERE catalog__number = "83061-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:
How many distinct FDA approval statuses are there for the medicines?
### Context:
CREATE TABLE medicine (FDA_approved VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT FDA_approved) FROM medicine</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 population for Saint-Antoine with an area squared of 6.43?
### Context:
CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)
### Response:
### Response:
SELECT SUM(population) FROM table_name_60 WHERE official_name = "saint-antoine" AND area_km_2 > 6.43</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 player when the college/junior/club team is new westminster bruins (whl)?
### Context:
CREATE TABLE table_2850912_7 (player VARCHAR, college_junior_club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_2850912_7 WHERE college_junior_club_team = "New Westminster Bruins (WHL)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last name of female (sex is F) students in the descending order of age.
### Context:
CREATE TABLE STUDENT (LName VARCHAR, Sex VARCHAR, Age VARCHAR)
### Response:
### Response:
SELECT LName FROM STUDENT WHERE Sex = "F" ORDER BY Age DESC</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the home team's score at the game where Richmond was the away team?
### Context:
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Mark Begich polling on October 6, 2008?
### Context:
CREATE TABLE table_16751596_13 (democrat VARCHAR, dates_administered VARCHAR)
### Response:
### Response:
SELECT democrat AS :_mark_begich FROM table_16751596_13 WHERE dates_administered = "October 6, 2008"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the name of the album released by Heavy Winged?
### Context:
CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date with a home team of melbourne
### Context:
CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date 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:
What game has a score of 44-20?
### Context:
CREATE TABLE table_name_78 (result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_78 WHERE score = "44-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 event ended in 3:02 of round 1?
### Context:
CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_92 WHERE round = 1 AND time = "3:02"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wins for 6 points
### Context:
CREATE TABLE table_name_69 (wins INTEGER, points VARCHAR)
### Response:
### Response:
SELECT MIN(wins) FROM table_name_69 WHERE points = 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:
Name the pick for matthew scorsune
### Context:
CREATE TABLE table_2840500_8 (pick VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT pick FROM table_2840500_8 WHERE player = "Matthew Scorsune"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 most common interaction type between enzymes and medicine? And how many are there?
### Context:
CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR)
### Response:
### Response:
SELECT interaction_type, COUNT(*) FROM medicine_enzyme_interaction GROUP BY interaction_type 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:
yes or no for the auckland with a yes for sydney, no for perth, yes for melbourne and yes for the gold coast?
### Context:
CREATE TABLE table_name_74 (auckland VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)
### Response:
### Response:
SELECT auckland FROM table_name_74 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND gold_coast = "yes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 writer when the director is bob berlinger?
### Context:
CREATE TABLE table_29747178_2 (written_by VARCHAR, directed_by VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_29747178_2 WHERE directed_by = "Bob Berlinger"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the amount of viewers is 2.48 million, what is the original air date?
### Context:
CREATE TABLE table_24639086_3 (original_air_date VARCHAR, viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_24639086_3 WHERE viewers__in_millions_ = "2.48"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game after week 5 with 62,262 fans attending?
### Context:
CREATE TABLE table_name_82 (date VARCHAR, week VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_82 WHERE week > 5 AND attendance = "62,262"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Av/G of the 2009 season?
### Context:
CREATE TABLE table_name_74 (avg_g VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT avg_g FROM table_name_74 WHERE season = "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:
what is the highest round for anthony gonzalez?
### Context:
CREATE TABLE table_name_53 (round INTEGER, name VARCHAR)
### Response:
### Response:
SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.