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:
How many years was Pontiac the manufacturer for Joe Gibbs Racing?
### Context:
CREATE TABLE table_2268216_1 (year VARCHAR, team VARCHAR, manufacturer VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_2268216_1 WHERE team = "Joe Gibbs Racing" AND manufacturer = "Pontiac"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of Year, when Opponent is #3 UCONN?
### Context:
CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Studio host of jimmy myers had what play by play?
### Context:
CREATE TABLE table_name_80 (play_by_play VARCHAR, studio_host VARCHAR)
### Response:
### Response:
SELECT play_by_play FROM table_name_80 WHERE studio_host = "jimmy myers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many wins for the team with fewer than 2 byes?
### Context:
CREATE TABLE table_name_1 (wins INTEGER, byes INTEGER)
### Response:
### Response:
SELECT AVG(wins) FROM table_name_1 WHERE byes < 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 year was Barclay Henley first elected?
### Context:
CREATE TABLE table_name_77 (first_elected VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT COUNT(first_elected) FROM table_name_77 WHERE incumbent = "barclay henley"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tournament of aug 29?
### Context:
CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the total number of hours have done for all students in each department.
### Context:
CREATE TABLE student (dept_code VARCHAR, stu_hrs INTEGER)
### Response:
### Response:
SELECT SUM(stu_hrs), dept_code FROM student GROUP BY dept_code</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Display all the information about the department Marketing.
### Context:
CREATE TABLE departments (department_name VARCHAR)
### Response:
### Response:
SELECT * FROM departments WHERE department_name = 'Marketing'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of player for 51 points
### Context:
CREATE TABLE table_22824319_3 (player VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT COUNT(player) FROM table_22824319_3 WHERE points = 51</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 main cast seasons were portrayed by Joe Jonas?
### Context:
CREATE TABLE table_name_13 (main_cast_seasons VARCHAR, portrayed_by VARCHAR)
### Response:
### Response:
SELECT main_cast_seasons FROM table_name_13 WHERE portrayed_by = "joe jonas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament has raffaella reggi listed as the opponent in the final?
### Context:
CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 author of the Play Electra?
### Context:
CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR)
### Response:
### Response:
SELECT author FROM table_name_24 WHERE play = "electra"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 economics score with education being 92.0
### Context:
CREATE TABLE table_145439_1 (economics VARCHAR, education VARCHAR)
### Response:
### Response:
SELECT economics FROM table_145439_1 WHERE education = "92.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 opponent has a date 21 jul 2007?
### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_3 WHERE date = "21 jul 2007"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List all points against with a 0 try bonus and points for of 150.
### Context:
CREATE TABLE table_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which position earned 50 points?
### Context:
CREATE TABLE table_17256857_1 (fin_pos INTEGER, points VARCHAR)
### Response:
### Response:
SELECT MAX(fin_pos) FROM table_17256857_1 WHERE points = "50"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the record for l 24–22
### Context:
CREATE TABLE table_14520977_1 (record VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT record FROM table_14520977_1 WHERE result = "L 24–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:
Who are the rowers from the United States?
### Context:
CREATE TABLE table_name_6 (rowers VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT rowers FROM table_name_6 WHERE country = "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 Date has a Margin of victory of 5 strokes, and a Winning score of −13 (67-73-64-63=267)?
### Context:
CREATE TABLE table_name_33 (date VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_33 WHERE margin_of_victory = "5 strokes" AND winning_score = −13(67 - 73 - 64 - 63 = 267)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
### Context:
CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### Response:
### Response:
SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "11"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What record has a december less than 6, points less than 38, and pittsburgh penguins as the opponent?
### Context:
CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR, december VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_40 WHERE december < 6 AND points < 38 AND opponent = "pittsburgh penguins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Draw for the team of tramwajarz łódź?
### Context:
CREATE TABLE table_name_2 (draw VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT draw FROM table_name_2 WHERE team = "tramwajarz łódź"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 class of the Budweiser Grand Prix of Miami race with a length of 3 hours?
### Context:
CREATE TABLE table_name_13 (class VARCHAR, race VARCHAR, length VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_13 WHERE race = "budweiser grand prix of miami" AND length = "3 hours"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 position is 2012 when the last title is n/a and the first season is 2011?
### Context:
CREATE TABLE table_name_93 (position_in_2012 VARCHAR, last_title VARCHAR, first_season VARCHAR)
### Response:
### Response:
SELECT position_in_2012 FROM table_name_93 WHERE last_title = "n/a" AND first_season = "2011"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the artist that issued the single on 23 February?
### Context:
CREATE TABLE table_name_43 (artist VARCHAR, issue_date_s_ VARCHAR)
### Response:
### Response:
SELECT artist FROM table_name_43 WHERE issue_date_s_ = "23 february"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank is 7 and silver is less than 0, what is the total gold?
### Context:
CREATE TABLE table_name_17 (gold INTEGER, rank VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 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:
If the class is total, what is the total number of podiums?
### Context:
CREATE TABLE table_name_93 (podiums VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT COUNT(podiums) FROM table_name_93 WHERE class = "total"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 issue dates of volumes associated with the artist aged 23 or younger?
### Context:
CREATE TABLE volume (Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)
### Response:
### Response:
SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 23</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
tell me the total number of decile with a roll showing 251.
### Context:
CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR)
### Response:
### Response:
SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Result of 86-87 (2-4) involves what home team?
### Context:
CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-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 original title of the Gypsy Magic film title used in nomination?
### Context:
CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Response:
### Response:
SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season did jackie stewart enter with entries less than 215?
### Context:
CREATE TABLE table_name_67 (seasons VARCHAR, entries VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT seasons FROM table_name_67 WHERE entries < 215 AND driver = "jackie stewart"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What episodes was the show クロサギ shown on TBS?
### Context:
CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)
### Response:
### Response:
SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クロサギ"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parties does incumbent stephen pace represent?
### Context:
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Stephen Pace"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the result for jiří novák radek štěpánek
### Context:
CREATE TABLE table_22825058_23 (result VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT result FROM table_22825058_23 WHERE opponents = "Jiří Novák Radek Štěpánek"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score on February 21 when the home team was the Pittsburgh Penguins?
### Context:
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 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:
Which location has 13 floors and a rank greater than 12?
### Context:
CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_83 WHERE rank > 12 AND floors = 13</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking?
### Context:
CREATE TABLE table_19948664_1 (index__year_ VARCHAR, author___editor___source VARCHAR, ranking_la__2_ VARCHAR)
### Response:
### Response:
SELECT index__year_ FROM table_19948664_1 WHERE author___editor___source = "United Nations (UNDP)" AND ranking_la__2_ = "2nd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournaments are also currently known as the hp open?
### Context:
CREATE TABLE table_19765685_2 (country VARCHAR, also_currently_known_as VARCHAR)
### Response:
### Response:
SELECT COUNT(country) FROM table_19765685_2 WHERE also_currently_known_as = "HP Open"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 most league cup apps for Jimmy Lawson having 0 league cup goals?
### Context:
CREATE TABLE table_name_74 (league_cup_apps INTEGER, league_cup_goals VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT MAX(league_cup_apps) FROM table_name_74 WHERE league_cup_goals = 0 AND name = "jimmy lawson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the constructor for alberto colombo and chassis of a1
### Context:
CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the names of the tourist attractions that have parking or shopping as their feature details?
### Context:
CREATE TABLE Tourist_Attraction_Features (tourist_attraction_id VARCHAR, Feature_ID VARCHAR); CREATE TABLE Features (Feature_ID VARCHAR, feature_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, tourist_attraction_id VARCHAR)
### Response:
### Response:
SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID = T3.Feature_ID WHERE T3.feature_Details = 'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID = T3.Feature_ID WHERE T3.feature_Details = 'shopping'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the assists of 5?
### Context:
CREATE TABLE table_name_92 (goals VARCHAR, assists VARCHAR)
### Response:
### Response:
SELECT goals FROM table_name_92 WHERE assists = "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 number of silver when bronze is 0, and rank is less than 2?
### Context:
CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012?
### Context:
CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)
### Response:
### Response:
SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_date = "september 3, 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:
Name the fourth district for joan runnels
### Context:
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR)
### Response:
### Response:
SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points has a Game of 82 and a April larger than 10?
### Context:
CREATE TABLE table_name_11 (points INTEGER, game VARCHAR, april VARCHAR)
### Response:
### Response:
SELECT AVG(points) FROM table_name_11 WHERE game = 82 AND april > 10</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the high assist when the high point was Eric Gordon (21)?
### Context:
CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_name_35 WHERE high_points = "eric gordon (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:
What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?
### Context:
CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)
### Response:
### Response:
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 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 content of the television service ewtn in the United Kingdom?
### Context:
CREATE TABLE table_name_94 (content VARCHAR, country VARCHAR, television_service VARCHAR)
### Response:
### Response:
SELECT content FROM table_name_94 WHERE country = "united kingdom" AND television_service = "ewtn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the venue for friendly competition october 16, 2012
### Context:
CREATE TABLE table_name_89 (venue VARCHAR, competition VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_89 WHERE competition = "friendly" AND date = "october 16, 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 name of the engine company that is located at 89 Rope Ferry Road?
### Context:
CREATE TABLE table_name_35 (engine_company VARCHAR, address VARCHAR)
### Response:
### Response:
SELECT engine_company FROM table_name_35 WHERE address = "89 rope ferry road"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fastest lap for Seiji Ara?
### Context:
CREATE TABLE table_name_49 (fastest_lap VARCHAR, winning_driver VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_name_49 WHERE winning_driver = "seiji ara"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick was 14?
### Context:
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_86 WHERE pick = "14"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the player for 22 events
### Context:
CREATE TABLE table_24108789_6 (player VARCHAR, events VARCHAR)
### Response:
### Response:
SELECT player FROM table_24108789_6 WHERE events = 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 was the value of 1st prize when the score was 271 (-9)?
### Context:
CREATE TABLE table_15346009_1 (score VARCHAR)
### Response:
### Response:
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-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 name of the School of the Sussex Tech's Team?
### Context:
CREATE TABLE table_name_29 (team VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_29 WHERE school = "sussex tech"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 score of the friendly competition?
### Context:
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_18 WHERE competition = "friendly"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the opponent in week 15?
### Context:
CREATE TABLE table_name_65 (opponent VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_65 WHERE week = 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:
How many wins were there in 1994?
### Context:
CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR)
### Response:
### Response:
SELECT SUM(wins) FROM table_name_20 WHERE year = 1994</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 directed the episode aired on February 27, 2009?
### Context:
CREATE TABLE table_18424435_3 (directed_by VARCHAR, us_air_date VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_18424435_3 WHERE us_air_date = "February 27, 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:
With a Championship of 1959 USAC Championship Car Season what is the event?
### Context:
CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Waht was the away team when the home team is colchester united?
### Context:
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_95 WHERE home_team = "colchester 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 was the result in the election where the date of first elected was 2000?
### Context:
CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR)
### Response:
### Response:
SELECT results FROM table_1805191_48 WHERE first_elected = 2000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?
### Context:
CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)
### Response:
### Response:
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 women has reached the title of Miss International representing the country ranked as number 1?
### Context:
CREATE TABLE table_29942205_1 (miss_international INTEGER, rank VARCHAR)
### Response:
### Response:
SELECT MIN(miss_international) FROM table_29942205_1 WHERE rank = 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 rank of the park in pigeon forge, tennessee in the best food category?
### Context:
CREATE TABLE table_name_57 (rank VARCHAR, location VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Primary Language(s), when Director is "Ilgar Safat Category:Articles With hCards"?
### Context:
CREATE TABLE table_name_59 (primary_language_s_ VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT primary_language_s_ FROM table_name_59 WHERE director = "ilgar safat category:articles with hcards"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
### Context:
CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
### Response:
### Response:
SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = "6 (4 in 34.49s)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Score on 25 May 2007?
### Context:
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_79 WHERE date = "25 may 2007"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was the build date for ff20 PRR class and erie built builder's model?
### Context:
CREATE TABLE table_name_14 (build_date VARCHAR, prr_class VARCHAR, builder’s_model VARCHAR)
### Response:
### Response:
SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of dismissals for adam gilchrist
### Context:
CREATE TABLE table_23316034_23 (dismissals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(dismissals) FROM table_23316034_23 WHERE player = "Adam Gilchrist"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round 3?
### Context:
CREATE TABLE table_21378160_2 (score VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT score FROM table_21378160_2 WHERE round = "3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the 20 year for Sulfur Hexafluoride?
### Context:
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
### Response:
### Response:
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 License when the Platform is windows and the Name is Altirra?
### Context:
CREATE TABLE table_name_98 (license VARCHAR, platform VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT license FROM table_name_98 WHERE platform = "windows" AND name = "altirra"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 person that has no friend?
### Context:
CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE person (name VARCHAR)
### Response:
### Response:
SELECT name FROM person EXCEPT SELECT name FROM PersonFriend</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Score, when High Rebounds is "Nolan (10)"?
### Context:
CREATE TABLE table_name_61 (score VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_61 WHERE high_rebounds = "nolan (10)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of podiums with 0 wins, 0 F.L. and 35 points?
### Context:
CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR)
### Response:
### Response:
SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "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 latest year for the film Gaon Ki Ganga?
### Context:
CREATE TABLE table_name_95 (year INTEGER, film_name VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_95 WHERE film_name = "gaon ki ganga"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of location for 22-1
### Context:
CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-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 result when the score is 4-0?
### Context:
CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_82 WHERE score = "4-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:
Tell me the score for score in legs and year less than 2012
### Context:
CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)
### Response:
### Response:
SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE year < 2012</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest week for the San Diego Chargers with an attendance that is less than 53,455?
### Context:
CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT MAX(week) FROM table_name_53 WHERE opponent = "san diego chargers" AND attendance < 53 OFFSET 455</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Result F–A of 5–0 had what date?
### Context:
CREATE TABLE table_name_72 (date VARCHAR, result_f_a VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_72 WHERE result_f_a = "5–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:
List population when their car plates are 30-34.
### Context:
CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)
### Response:
### Response:
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE car_plates__since_1937_ = "30-34"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when 64.5 is tosses/pyramids?
### Context:
CREATE TABLE table_22014431_3 (rank INTEGER, tosses_pyramids VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_22014431_3 WHERE tosses_pyramids = "64.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 are 2004's notes?
### Context:
CREATE TABLE table_name_88 (notes VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT notes FROM table_name_88 WHERE year = 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 is the lowest height in meters for the building located in mailänder straße 1, sachsenhausen-süd, with a height shorter than 328.1 ft?
### Context:
CREATE TABLE table_name_70 (height__m_ INTEGER, location VARCHAR, height__ft_ VARCHAR)
### Response:
### Response:
SELECT MIN(height__m_) FROM table_name_70 WHERE location = "mailänder straße 1, sachsenhausen-süd" AND height__ft_ < 328.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 Maltese word for the Malay word rabu?
### Context:
CREATE TABLE table_name_6 (maltese VARCHAR, malay VARCHAR)
### Response:
### Response:
SELECT maltese FROM table_name_6 WHERE malay = "rabu"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 casualties from the combat in the Fayzabad area?
### Context:
CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many first downs did the bills have when their opponent had 6
### Context:
CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
### Response:
### Response:
SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many production codes did the episode number in series 46b have?
### Context:
CREATE TABLE table_2701851_5 (production_code VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT COUNT(production_code) FROM table_2701851_5 WHERE no_in_series = "46b"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 voters in 1800 that have boroughs named Drogheda?
### Context:
CREATE TABLE table_24329520_8 (voters_in_1800 VARCHAR, borough VARCHAR)
### Response:
### Response:
SELECT COUNT(voters_in_1800) FROM table_24329520_8 WHERE borough = "Drogheda"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
### Context:
CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for October 14, 1956?
### Context:
CREATE TABLE table_14984039_1 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_14984039_1 WHERE date = "October 14, 1956"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Event with a Prize of $141,426?
### Context:
CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_92 WHERE prize = "$141,426"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?
### Context:
CREATE TABLE table_1425948_1 (number_in_fleet INTEGER, chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)
### Response:
### Response:
SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_manufacturer = "Scania" AND fleet_numbers = "3230"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Gary Megson's manner of departure?
### Context:
CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
### Response:
### Response:
SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 spacecraft were launched by the Titan II?
### Context:
CREATE TABLE table_name_7 (spacecraft VARCHAR, launcher VARCHAR)
### Response:
### Response:
SELECT spacecraft FROM table_name_7 WHERE launcher = "titan ii"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
With an in-state area of 053 1,654km 2 639mi 2, what is the total area?
### Context:
CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR)
### Response:
### Response:
SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.