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 is buffalo's pick #?
### Context:
CREATE TABLE table_name_39 (pick__number INTEGER, college VARCHAR)
### Response:
### Response:
SELECT MAX(pick__number) FROM table_name_39 WHERE college = "buffalo"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the average laps on a grid of 11?
### Context:
CREATE TABLE table_name_37 (laps INTEGER, grid VARCHAR)
### Response:
### Response:
SELECT AVG(laps) FROM table_name_37 WHERE grid = 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:
When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?
### Context:
CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grids have a Time/Retired of gearbox, and Laps smaller than 3?
### Context:
CREATE TABLE table_name_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT COUNT(grid) FROM table_name_98 WHERE time_retired = "gearbox" AND laps < 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 masten gregory's average lap?
### Context:
CREATE TABLE table_name_70 (laps INTEGER, driver VARCHAR)
### Response:
### Response:
SELECT AVG(laps) FROM table_name_70 WHERE driver = "masten gregory"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region of united kingdom?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_54 WHERE region = "united kingdom"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 best finish for the player whose earnings was $421050?
### Context:
CREATE TABLE table_29504351_2 (best_finish VARCHAR, earnings__$_ VARCHAR)
### Response:
### Response:
SELECT best_finish FROM table_29504351_2 WHERE earnings__$_ = 421050</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Home team at the Lincoln City Away game?
### Context:
CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_80 WHERE away_team = "lincoln city"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 outcome for the match at the leipzig tournament with a score w/o?
### Context:
CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_45 WHERE tournament = "leipzig" AND score = "w/o"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Venue has a Against larger than 13?
### Context:
CREATE TABLE table_name_16 (venue VARCHAR, against INTEGER)
### Response:
### Response:
SELECT venue FROM table_name_16 WHERE against > 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 rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers?
### Context:
CREATE TABLE table_name_83 (rank VARCHAR, total_passengers__millions__2011_12 VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR)
### Response:
### Response:
SELECT rank FROM table_name_83 WHERE annual_interchanges__millions__2011_12 < 1.99 AND annual_entry_exit__millions__2011_12 < 13.835 AND total_passengers__millions__2011_12 > 13.772</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which margin of defeats had points of 30?
### Context:
CREATE TABLE table_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT margin_of_defeat FROM table_10753917_1 WHERE points = "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:
Find the name of the courses that do not have any prerequisite?
### Context:
CREATE TABLE prereq (title VARCHAR, course_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR)
### Response:
### Response:
SELECT title FROM course WHERE NOT course_id IN (SELECT course_id FROM prereq)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the rider for the doncaster handicap compeition.
### Context:
CREATE TABLE table_30098144_2 (jockey VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT jockey FROM table_30098144_2 WHERE race = "Doncaster Handicap"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 schoolers are there in grade 9 or 10?
### Context:
CREATE TABLE Highschooler (grade VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Highschooler WHERE grade = 9 OR grade = 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 type when the settlement is subotište?
### Context:
CREATE TABLE table_2562572_52 (type VARCHAR, settlement VARCHAR)
### Response:
### Response:
SELECT type FROM table_2562572_52 WHERE settlement = "Subotište"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What source showed Brian Moran at 19%?
### Context:
CREATE TABLE table_21535453_1 (source VARCHAR, brian_moran VARCHAR)
### Response:
### Response:
SELECT source FROM table_21535453_1 WHERE brian_moran = "19%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the choice score of the player who weights 303lb (137kg)?
### Context:
CREATE TABLE table_20861261_4 (choice INTEGER, weight VARCHAR)
### Response:
### Response:
SELECT MIN(choice) FROM table_20861261_4 WHERE weight = "303lb (137kg)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score of 69-66=135?
### Context:
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Paris-Charles de Gaulle airport is in which country?
### Context:
CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the outcome for Newcombe in the matches he played against Jan Kodeš?
### Context:
CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the number of scientists involved for each project name.
### Context:
CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)
### Response:
### Response:
SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T1.name</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals?
### Context:
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that player from South Africa who had a total score under 293?
### Context:
CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_93 WHERE total < 293 AND country = "south africa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visitor on the date december 31?
### Context:
CREATE TABLE table_name_95 (visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_95 WHERE date = "december 31"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The final score was 24-34 on what date?
### Context:
CREATE TABLE table_name_18 (date VARCHAR, final_score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_18 WHERE final_score = "24-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 the air dates for the episodes are episode 3 in the series?
### Context:
CREATE TABLE table_name_58 (original_air_date VARCHAR, no_in_series INTEGER)
### Response:
### Response:
SELECT original_air_date FROM table_name_58 WHERE no_in_series > 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Decision on April 18?
### Context:
CREATE TABLE table_name_89 (decision VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT decision FROM table_name_89 WHERE date = "april 18"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61?
### Context:
CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
### Response:
### Response:
SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player who was from Dynamo-2 moscow (rus) and was picked after round 5?
### Context:
CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lead envoy of the mission with the Ryūkyūan King shō eki?
### Context:
CREATE TABLE table_name_62 (lead_envoy VARCHAR, ryūkyūan_king VARCHAR)
### Response:
### Response:
SELECT lead_envoy FROM table_name_62 WHERE ryūkyūan_king = "shō eki"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record of 52-60 what's the date?
### Context:
CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_60 WHERE record = "52-60"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 won the regular season when Maryland won the tournament?
### Context:
CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
### Response:
### Response:
SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 launch vehicle with Institutional authority of ndc
### Context:
CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR)
### Response:
### Response:
SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 home score with a crowd larger than 25,603?
### Context:
CREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER)
### Response:
### Response:
SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 603</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 stolen ends record where the pa record is 40?
### Context:
CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR)
### Response:
### Response:
SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of Total, when Silver is 1, and when Bronze is 7?
### Context:
CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_5 WHERE silver = "1" AND bronze = "7"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the firefox value with a 22.0% internet explorer?
### Context:
CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR)
### Response:
### Response:
SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.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:
How many ministers are there when the cabinet (nickname) is Steingrímur Hermannsson III?
### Context:
CREATE TABLE table_21422977_2 (ministers VARCHAR, cabinet__nickname_ VARCHAR)
### Response:
### Response:
SELECT ministers FROM table_21422977_2 WHERE cabinet__nickname_ = "Steingrímur Hermannsson III"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Happy Valley score before game 14?
### Context:
CREATE TABLE table_name_89 (point VARCHAR, team VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT COUNT(point) FROM table_name_89 WHERE team = "happy valley" AND game < 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:
Which removal treaty covered the chickasaw nation?
### Context:
CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
where is the participant marelissa him from
### Context:
CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR)
### Response:
### Response:
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Table diameter has a Crown height of 14.45%?
### Context:
CREATE TABLE table_name_35 (table_diameter VARCHAR, crown_height VARCHAR)
### Response:
### Response:
SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the points for paulistano
### Context:
CREATE TABLE table_15418319_1 (points VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT points FROM table_15418319_1 WHERE team = "Paulistano"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 To par, when Place is "T5", and when Score is "70-68=138"?
### Context:
CREATE TABLE table_name_57 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_57 WHERE place = "t5" AND score = 70 - 68 = 138</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rickie winslow's number?
### Context:
CREATE TABLE table_22496374_1 (_number INTEGER, name VARCHAR)
### Response:
### Response:
SELECT MAX(_number) FROM table_22496374_1 WHERE name = "Rickie Winslow"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FA Cup goals have a League goals of 18, and a Club of sheffield united?
### Context:
CREATE TABLE table_name_20 (fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR)
### Response:
### Response:
SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = "18" AND club = "sheffield 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 season episode is written by neil thompson?
### Context:
CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR)
### Response:
### Response:
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year with 7th (heats) position?
### Context:
CREATE TABLE table_name_50 (year INTEGER, position VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_50 WHERE position = "7th (heats)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 monto where the total region is 11230?
### Context:
CREATE TABLE table_12526990_1 (monto VARCHAR, total_region VARCHAR)
### Response:
### Response:
SELECT COUNT(monto) FROM table_12526990_1 WHERE total_region = 11230</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when Buffalo is at Home?
### Context:
CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_36 WHERE home = "buffalo"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 with 0 Silver and Gold, 1 Bronze and Rank larger than 2?
### Context:
CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the customer id, first and last name with most number of accounts.
### Context:
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
### Response:
### Response:
SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_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:
On what game sites are there where the team record is 0–5?
### Context:
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR)
### Response:
### Response:
SELECT game_site FROM table_25380472_2 WHERE team_record = "0–5"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the number for Vehlefanz where Bärenklau is 1.288?
### Context:
CREATE TABLE table_11680175_1 (vehlefanz VARCHAR, bärenklau VARCHAR)
### Response:
### Response:
SELECT vehlefanz FROM table_11680175_1 WHERE bärenklau = "1.288"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed for the 2012 that has a 2011 of 28.9%?
### Context:
CREATE TABLE table_name_86 (Id VARCHAR)
### Response:
### Response:
SELECT 2012 FROM table_name_86 WHERE 2011 = "28.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 was the record of the game in which Dydek (10) did the most high rebounds?
### Context:
CREATE TABLE table_18904831_5 (record VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT record FROM table_18904831_5 WHERE high_rebounds = "Dydek (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 day did the Raiders score 17?
### Context:
CREATE TABLE table_name_11 (date VARCHAR, raiders_points VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_11 WHERE raiders_points = 17</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1 as the drawn, with 2 as the lost?
### Context:
CREATE TABLE table_name_37 (team VARCHAR, drawn VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_37 WHERE drawn = 1 AND lost = 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 acronym for the name Malay of Kolej Komuniti Sungai Petani?
### Context:
CREATE TABLE table_name_34 (acronym VARCHAR, name_in_malay VARCHAR)
### Response:
### Response:
SELECT acronym FROM table_name_34 WHERE name_in_malay = "kolej komuniti sungai petani"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Rider has a Grid of 21?
### Context:
CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT rider FROM table_name_91 WHERE grid = 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:
Name the candidates for 1998
### Context:
CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_25030512_24 WHERE first_elected = "1998"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the highest Against on 21 november 1978?
### Context:
CREATE TABLE table_name_30 (against INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Final has a Score in Final of 7–5, 1–6 4–6?
### Context:
CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR)
### Response:
### Response:
SELECT opponents_in_final FROM table_name_19 WHERE score_in_final = "7–5, 1–6 4–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 year was first elected william m. wheeler (d) unopposed?
### Context:
CREATE TABLE table_1342218_11 (first_elected VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT first_elected FROM table_1342218_11 WHERE candidates = "William M. Wheeler (D) Unopposed"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 managers left sunshine stars?
### Context:
CREATE TABLE table_28164986_4 (outgoing_manager VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT COUNT(outgoing_manager) FROM table_28164986_4 WHERE team = "Sunshine Stars"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the earliest year that there's a judd engine?
### Context:
CREATE TABLE table_name_40 (year INTEGER, engine VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_40 WHERE engine = "judd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the names and location of the wrestlers?
### Context:
CREATE TABLE wrestler (Name VARCHAR, LOCATION VARCHAR)
### Response:
### Response:
SELECT Name, LOCATION FROM wrestler</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Report is on June 3, 2000?
### Context:
CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT report FROM table_name_85 WHERE date = "june 3, 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:
William Fadjo Cravens serves the fourth district of Arkansas.
### Context:
CREATE TABLE table_1342270_5 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Raymond Floyd's score?
### Context:
CREATE TABLE table_name_58 (score VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_58 WHERE player = "raymond floyd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team for oct 30, 1989
### Context:
CREATE TABLE table_1594772_2 (team__b_ VARCHAR, match_date VARCHAR)
### Response:
### Response:
SELECT team__b_ FROM table_1594772_2 WHERE match_date = "Oct 30, 1989"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 region of the release of a CD with catalog 32xa-119?
### Context:
CREATE TABLE table_name_58 (region VARCHAR, format VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_58 WHERE format = "cd" AND catalog = "32xa-119"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Year with of the open championship?
### Context:
CREATE TABLE table_name_14 (year INTEGER, championship VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Pink cytoplasm is seen in a test that specifically stains what?
### Context:
CREATE TABLE table_13570_1 (specifically_stains VARCHAR, cytoplasm VARCHAR)
### Response:
### Response:
SELECT specifically_stains FROM table_13570_1 WHERE cytoplasm = "Pink"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 his result against dan bobish?
### Context:
CREATE TABLE table_name_80 (res VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT res FROM table_name_80 WHERE opponent = "dan bobish"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location for the team name of eagles?
### Context:
CREATE TABLE table_24195232_1 (location VARCHAR, team_name VARCHAR)
### Response:
### Response:
SELECT location FROM table_24195232_1 WHERE team_name = "Eagles"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Average, when 2006 is "36/40", and when Played is greater than 126?
### Context:
CREATE TABLE table_name_64 (average INTEGER, played VARCHAR)
### Response:
### Response:
SELECT SUM(average) FROM table_name_64 WHERE 2006 = "36/40" AND played > 126</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 102 is the number in series who is the director?
### Context:
CREATE TABLE table_2468961_6 (directed_by VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_2468961_6 WHERE no_in_series = 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 is the earliest episode aired on 8 June 2008?
### Context:
CREATE TABLE table_name_97 (episode_number INTEGER, air_date VARCHAR)
### Response:
### Response:
SELECT MIN(episode_number) FROM table_name_97 WHERE air_date = "8 june 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:
Which Lost has Drawn larger than 12, and Goals Against of 54?
### Context:
CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000?
### Context:
CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR)
### Response:
### Response:
SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game developed by Microvision released?
### Context:
CREATE TABLE table_12744399_1 (initial_release_date VARCHAR, developer VARCHAR)
### Response:
### Response:
SELECT initial_release_date FROM table_12744399_1 WHERE developer = "Microvision"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the title of the episode with production code 3x5402?
### Context:
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT title FROM table_24938621_2 WHERE production_code = "3X5402"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
in how many dates the opponen in the final was rushmi chakravarthi
### Context:
CREATE TABLE table_29127804_3 (date VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_29127804_3 WHERE opponent_in_the_final = "Rushmi Chakravarthi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Time of the swimmer from Chinese Taipei in Heat 3?
### Context:
CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_88 WHERE heat = 3 AND lane > 3 AND nationality = "chinese taipei"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 with a Date that is may 20, 1961?
### Context:
CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_73 WHERE date = "may 20, 1961"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when the rank is 4?
### Context:
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_88 WHERE rank = "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 first name and last name employee helps the customer with first name Leonie?
### Context:
CREATE TABLE CUSTOMER (SupportRepId VARCHAR, FirstName VARCHAR); CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, EmployeeId VARCHAR)
### Response:
### Response:
SELECT T2.FirstName, T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many games was game 43?
### Context:
CREATE TABLE table_17058151_7 (record VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT COUNT(record) FROM table_17058151_7 WHERE game = 43</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the result for cowboys points being 23
### Context:
CREATE TABLE table_22815259_1 (result VARCHAR, cowboys_points VARCHAR)
### Response:
### Response:
SELECT COUNT(result) FROM table_22815259_1 WHERE cowboys_points = 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:
What was the value in 2012 when 2002 was Q1 and 2010 was 1R?
### Context:
CREATE TABLE table_name_83 (Id VARCHAR)
### Response:
### Response:
SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country for pieroni
### Context:
CREATE TABLE table_name_46 (country VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_46 WHERE name = "pieroni"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2nd leg of dinamo minsk team #2?
### Context:
CREATE TABLE table_name_20 (team__number2 VARCHAR)
### Response:
### Response:
SELECT 2 AS nd_leg FROM table_name_20 WHERE team__number2 = "dinamo minsk"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
### Context:
CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In what Region is the Native American museum in Anchorage?
### Context:
CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?
### Context:
CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)
### Response:
### Response:
SELECT SUM(term_expiration) FROM table_name_22 WHERE appointing_governor = "george pataki, republican" AND appointed > 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:
Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?
### Context:
CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)
### Response:
### Response:
SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored more than 72?
### Context:
CREATE TABLE table_name_28 (player VARCHAR, score INTEGER)
### Response:
### Response:
SELECT player FROM table_name_28 WHERE score > 72</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Attendance with a Date that is october 31, 1965?
### Context:
CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.