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 was John Fought's score?
### Context:
CREATE TABLE table_name_96 (score VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_96 WHERE player = "john fought"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?
### Context:
CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
### Response:
### Response:
SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?
### Context:
CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR)
### Response:
### Response:
SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average value of Bronze when silver is 0 and the total is less than 1?
### Context:
CREATE TABLE table_name_18 (bronze INTEGER, silver VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT AVG(bronze) FROM table_name_18 WHERE silver = 0 AND total < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the district for john randolph (dr)
### Context:
CREATE TABLE table_2668387_18 (district VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT district FROM table_2668387_18 WHERE candidates = "John Randolph (DR)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result when the round is less than 3, the location is in Auckland, New Zealand, and tko is the method?
### Context:
CREATE TABLE table_name_29 (result VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_29 WHERE round < 3 AND location = "auckland, new zealand" AND method = "tko"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents have a Year of 1998–99, and a Team of aston villa?
### Context:
CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT opponents FROM table_name_23 WHERE year = "1998–99" AND team = "aston villa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 loss was hideo nomo (3–5)?
### Context:
CREATE TABLE table_name_57 (score VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–5)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the game number held on May 2?
### Context:
CREATE TABLE table_name_51 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT AVG(game) FROM table_name_51 WHERE date = "may 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 average draws with more than 1 win, 14 losses, and against less than 1836?
### Context:
CREATE TABLE table_name_17 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT AVG(draws) FROM table_name_17 WHERE wins > 1 AND losses = 14 AND against < 1836</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 type of the locomotive which was delivered in 1857-59?
### Context:
CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_7 WHERE delivered = "1857-59"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total population of Saint-Agapit (code 33045)?
### Context:
CREATE TABLE table_name_99 (region INTEGER, name VARCHAR, code VARCHAR)
### Response:
### Response:
SELECT SUM(region) FROM table_name_99 WHERE name = "saint-agapit" AND code < 33045</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie no of 15?
### Context:
CREATE TABLE table_name_17 (date VARCHAR, tie_no VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_17 WHERE tie_no = "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:
Find the name of amenities Smith Hall dorm have.
### Context:
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### Response:
### Response:
SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of lost have 11 as the points, and a drawn greater than 1?
### Context:
CREATE TABLE table_name_81 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
### Response:
### Response:
SELECT COUNT(lost) FROM table_name_81 WHERE points = 11 AND drawn > 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was there a lotus 25 Chassis?
### Context:
CREATE TABLE table_name_47 (year VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_47 WHERE chassis = "lotus 25"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year had a domestic cup of singapore cup?
### Context:
CREATE TABLE table_name_9 (year VARCHAR, domestic_cup VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_9 WHERE domestic_cup = "singapore cup"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season?
### Context:
CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-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:
WHat was the result of the friendly match that was played on october 8, 2012?
### Context:
CREATE TABLE table_name_6 (result VARCHAR, competition VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_6 WHERE competition = "friendly match" AND date = "october 8, 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 was Hawthorn's away teams opponents score?
### Context:
CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_40 WHERE home_team = "hawthorn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 first party with second member Hon. Rowland Hill, in the 1857 election?
### Context:
CREATE TABLE table_name_18 (first_party VARCHAR, second_member VARCHAR, election VARCHAR)
### Response:
### Response:
SELECT first_party FROM table_name_18 WHERE second_member = "hon. rowland hill" AND election = "1857"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Heat of the Player with a Rank of 18 or less and Result of 55.15?
### Context:
CREATE TABLE table_name_54 (heat VARCHAR, rank VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT heat FROM table_name_54 WHERE rank < 18 AND result = "55.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:
What is the Record for the game held on December 2, 2001?
### Context:
CREATE TABLE table_name_52 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_52 WHERE date = "december 2, 2001"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
### Context:
CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ids and names of the companies that operated more than one flight?
### Context:
CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 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 sum on week against the Tampa Bay Buccaneers with less than 60,320 in attendance?
### Context:
CREATE TABLE table_name_41 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT SUM(week) FROM table_name_41 WHERE opponent = "tampa bay buccaneers" AND attendance < 60 OFFSET 320</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2009 value for a total over 1 and 4th on 2010?
### Context:
CREATE TABLE table_name_36 (total VARCHAR)
### Response:
### Response:
SELECT 2009 FROM table_name_36 WHERE total > 1 AND 2010 = "4th"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high assbeingts with score being l 90–98 (ot)
### Context:
CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?
### Context:
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 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:
Who was the opponent at the match smaller than 3?
### Context:
CREATE TABLE table_name_31 (opponent_team VARCHAR, match INTEGER)
### Response:
### Response:
SELECT opponent_team FROM table_name_31 WHERE match < 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 year did Omar Gonzalez graduate?
### Context:
CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR)
### Response:
### Response:
SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 races were in fukuoka, japan?
### Context:
CREATE TABLE table_26166836_1 (road_race VARCHAR, country VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(road_race) FROM table_26166836_1 WHERE country = "Japan" AND location = "Fukuoka"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Country has a Year(s) won of 1963?
### Context:
CREATE TABLE table_name_62 (country VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_62 WHERE year_s__won = "1963"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which transfer window ends after 2006?
### Context:
CREATE TABLE table_name_95 (transfer_window VARCHAR, ends INTEGER)
### Response:
### Response:
SELECT transfer_window FROM table_name_95 WHERE ends > 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:
Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals?
### Context:
CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "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 year had a pole smaller than 0 and in 77th position?
### Context:
CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, poles VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_57 WHERE position = "77th" AND poles < 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:
For the film made in 1964: (37th), what was the result?
### Context:
CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_11 WHERE year = "1964: (37th)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 in the game where the decision was Backstrom and there were more than 18,568 in attendance?
### Context:
CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.
### Context:
CREATE TABLE ship (lost_in_battle VARCHAR, location VARCHAR); CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR); CREATE TABLE battle (name VARCHAR, result VARCHAR, bulgarian_commander VARCHAR, id VARCHAR)
### Response:
### Response:
SELECT name, RESULT, bulgarian_commander FROM battle EXCEPT SELECT T1.name, T1.result, T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 substrate has an OMIM of 176000?
### Context:
CREATE TABLE table_name_47 (substrate VARCHAR, omim VARCHAR)
### Response:
### Response:
SELECT substrate FROM table_name_47 WHERE omim = 176000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the away team that played at Princes Park?
### Context:
CREATE TABLE table_name_17 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_17 WHERE venue = "princes park"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who are all the players from the united states?
### Context:
CREATE TABLE table_24302700_6 (name VARCHAR, nationality VARCHAR)
### Response:
### Response:
SELECT name FROM table_24302700_6 WHERE nationality = "United States"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Opponent has an Event of jungle fight 5?
### Context:
CREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_2 WHERE event = "jungle fight 5"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the UK broadcast date of the episode where Chris Bonington was the presenter?
### Context:
CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR)
### Response:
### Response:
SELECT uk_broadcast_date FROM table_name_72 WHERE presenter = "chris bonington"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episodes are written by Lew Schneider?
### Context:
CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 original air date when the director is Rowan Woods and the writer is Peter Duncan?
### Context:
CREATE TABLE table_29494395_3 (originalair_date VARCHAR, director VARCHAR, writer VARCHAR)
### Response:
### Response:
SELECT originalair_date FROM table_29494395_3 WHERE director = "Rowan Woods" AND writer = "Peter Duncan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where was the game located on January 23, 2008?
### Context:
CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_93 WHERE date = "january 23, 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:
How many Pole Positions were there on 30 March?
### Context:
CREATE TABLE table_25213146_2 (pole_position VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(pole_position) FROM table_25213146_2 WHERE date = "30 March"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 playoffs for 2nd round open cup
### Context:
CREATE TABLE table_14240688_1 (playoffs VARCHAR, open_cup VARCHAR)
### Response:
### Response:
SELECT playoffs FROM table_14240688_1 WHERE open_cup = "2nd Round"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many campuses are there in Los Angeles county?
### Context:
CREATE TABLE campuses (county VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM campuses WHERE county = "Los Angeles"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 population when deaths are 3 557 and crude death date is less than 11.9?
### Context:
CREATE TABLE table_name_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR)
### Response:
### Response:
SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = "3 557" AND crude_death_rate__per_1000_ < 11.9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id.
### Context:
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)
### Response:
### Response:
SELECT T1.student_id, T1.first_name, T1.middle_name, T1.last_name, COUNT(*), T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Pilot, when Place is "Goose Green", and when Date is "27 May 1982"?
### Context:
CREATE TABLE table_name_8 (pilot VARCHAR, place VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT pilot FROM table_name_8 WHERE place = "goose green" AND date = "27 may 1982"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name?
### Context:
CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the name, location, open year for all tracks with a seating higher than the average.
### Context:
CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, year_opened VARCHAR, seating INTEGER)
### Response:
### Response:
SELECT name, LOCATION, year_opened FROM track WHERE seating > (SELECT AVG(seating) FROM track)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 catalog number with the date November 16, 2004?
### Context:
CREATE TABLE table_name_15 (catalog VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT catalog FROM table_name_15 WHERE date = "november 16, 2004"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the location and where did the team play game number 32?
### Context:
CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_17104539_12 WHERE game = 32</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 CB CW for the year of 1982?
### Context:
CREATE TABLE table_name_89 (cb_cw VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT cb_cw FROM table_name_89 WHERE year = 1982</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 final score when the date is 2009-02-26?
### Context:
CREATE TABLE table_name_62 (final_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_62 WHERE date = "2009-02-26"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1?
### Context:
CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 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 Graeme Bonar's lowest pick number?
### Context:
CREATE TABLE table_2850912_3 (pick__number INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MIN(pick__number) FROM table_2850912_3 WHERE player = "Graeme Bonar"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Position, when Overall is less than 590, and when Round is 3?
### Context:
CREATE TABLE table_name_6 (position VARCHAR, overall VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_6 WHERE overall < 590 AND 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 is the highest goals for the position after 10, a goal difference less than -24, and played more than 30 times?
### Context:
CREATE TABLE table_name_46 (goals_for INTEGER, played VARCHAR, position VARCHAR, goal_difference VARCHAR)
### Response:
### Response:
SELECT MAX(goals_for) FROM table_name_46 WHERE position > 10 AND goal_difference < -24 AND 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 is the school with the nickname Tornadoes Lady Tornadoes?
### Context:
CREATE TABLE table_name_65 (school VARCHAR, nickname_s_ VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_65 WHERE nickname_s_ = "tornadoes lady tornadoes"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 December 4, Tampa Bay has a record of 12-13-2.
### Context:
CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of Games, when Rank is less than 4, and when Rebounds is less than 102?
### Context:
CREATE TABLE table_name_99 (games VARCHAR, rank VARCHAR, rebounds VARCHAR)
### Response:
### Response:
SELECT COUNT(games) FROM table_name_99 WHERE rank < 4 AND rebounds < 102</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What County has a Longitude of 85°45′43″w?
### Context:
CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)
### Response:
### Response:
SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lap two's did marco andretti do?
### Context:
CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 against for teams with more than 56 goals for and exactly 50 points?
### Context:
CREATE TABLE table_name_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR)
### Response:
### Response:
SELECT AVG(goals_against) FROM table_name_20 WHERE points_1 = "50" AND goals_for > 56</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What country did the player with the score line 73-74-72-64=283 from?
### Context:
CREATE TABLE table_name_65 (country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_65 WHERE score = 73 - 74 - 72 - 64 = 283</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 area with decile of 8, and a 25 roll?
### Context:
CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR)
### Response:
### Response:
SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who's the Fourth District with a First District of beverly bodem?
### Context:
CREATE TABLE table_name_98 (fourth_district VARCHAR, first_district VARCHAR)
### Response:
### Response:
SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 platform of the 2010 game with Shuichiro Nishiya as director?
### Context:
CREATE TABLE table_name_5 (platform_s_ VARCHAR, year VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT platform_s_ FROM table_name_5 WHERE year = 2010 AND director = "shuichiro nishiya"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface for february 25, 1996
### Context:
CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_58 WHERE date = "february 25, 1996"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total number of Win % with an Appearances of 4, and Losses that's larger than 3?
### Context:
CREATE TABLE table_name_78 (win__percentage VARCHAR, appearances VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 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:
Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova?
### Context:
CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR)
### Response:
### Response:
SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the 26th?
### Context:
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_31 WHERE date = "26th"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Thomas de Gendt performed on what stage as aggressive rider?
### Context:
CREATE TABLE table_29332810_14 (stage INTEGER, aggressive_rider VARCHAR)
### Response:
### Response:
SELECT MAX(stage) FROM table_29332810_14 WHERE aggressive_rider = "Thomas De Gendt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallest bush# with 66.0% bush and less than 65 others#?
### Context:
CREATE TABLE table_name_55 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR)
### Response:
### Response:
SELECT MIN(bush_number) FROM table_name_55 WHERE bush_percentage = "66.0%" AND others_number < 65</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 December 25, what was the record?
### Context:
CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_82 WHERE date = "december 25"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the loss of the Red Sox game when they had a record of 77–67?
### Context:
CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_74 WHERE record = "77–67"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where was the birthplace of the person born on March 21, 1979?
### Context:
CREATE TABLE table_name_92 (birthplace VARCHAR, birthdate VARCHAR)
### Response:
### Response:
SELECT birthplace FROM table_name_92 WHERE birthdate = "march 21, 1979"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest played with more than 0 draws, less than 3 losses, and less than 27 points?
### Context:
CREATE TABLE table_name_62 (played INTEGER, points VARCHAR, drawn VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT MAX(played) FROM table_name_62 WHERE drawn > 0 AND lost < 3 AND points < 27</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was eliminated from the competition when connacht to the quarter final?
### Context:
CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
### Response:
### Response:
SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "Connacht"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sohn bong-gak win silver?
### Context:
CREATE TABLE table_name_14 (location VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_14 WHERE silver = "sohn bong-gak"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which team has the record of 11-6?
### Context:
CREATE TABLE table_name_8 (loss VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_8 WHERE record = "11-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 status of the game where there was more than 22 against?
### Context:
CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)
### Response:
### Response:
SELECT status FROM table_name_20 WHERE against > 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:
Show all party names and the number of members in each party.
### Context:
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
### Response:
### Response:
SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What kind of Prohibition ticket that has a Office of lieutenant governor?
### Context:
CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR)
### Response:
### Response:
SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the opponent with the record of 4-0-0?
### Context:
CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_46 WHERE record = "4-0-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:
Which 2008 has a City of durban?
### Context:
CREATE TABLE table_name_56 (city VARCHAR)
### Response:
### Response:
SELECT AVG(2008) FROM table_name_56 WHERE city = "durban"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
From what series was the title with a production number of 1614 that was directed by Friz Freleng?
### Context:
CREATE TABLE table_name_15 (series VARCHAR, director VARCHAR, production_number VARCHAR)
### Response:
### Response:
SELECT series FROM table_name_15 WHERE director = "friz freleng" AND production_number = 1614</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ICAO in France with an IATA of Ory?
### Context:
CREATE TABLE table_name_79 (icao VARCHAR, country VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT icao FROM table_name_79 WHERE country = "france" AND iata = "ory"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver for baseball
### Context:
CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR)
### Response:
### Response:
SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 goals of Mile Sterjovski as a player?
### Context:
CREATE TABLE table_name_59 (goals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT goals FROM table_name_59 WHERE player = "mile sterjovski"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode had viewership of 0.296 million?
### Context:
CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Joyce Jacobs portray her character on her show?
### Context:
CREATE TABLE table_name_83 (duration VARCHAR, actor VARCHAR)
### Response:
### Response:
SELECT duration FROM table_name_83 WHERE actor = "joyce jacobs"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 production code for the episode that had 18.07 million viewers?
### Context:
CREATE TABLE table_26198709_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT production_code FROM table_26198709_1 WHERE us_viewers__million_ = "18.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:
What was the result in the Golden Reel Awards?
### Context:
CREATE TABLE table_name_38 (result VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_38 WHERE event = "golden reel awards"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 father of the child whose mother is Presendia Huntington Buell?
### Context:
CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR)
### Response:
### Response:
SELECT father FROM table_name_58 WHERE mother = "presendia huntington buell"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.