answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = "Castle Bromwich" | how many models produced where the plant is castle bromwich? | CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR) |
SELECT party FROM table_2841865_2 WHERE congress = "85th" | What party is listed for the Representative under the 85th congress? | CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "82" AND procedures.short_title = "Endosc destruc esoph les" | how many patients whose age is less than 82 and procedure short title is endosc destruc esoph les? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) |
SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel" | what is the production where the parent company is ariel? | CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR) |
SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" | How many entries are listed for party during the 69th congress? | CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) |
SELECT name, age FROM editor | What are the names and ages of editors? | CREATE TABLE journal (
journal_id number,
date text,
theme text,
sales number
)
CREATE TABLE journal_committee (
editor_id number,
journal_id number,
work_type text
)
CREATE TABLE editor (
editor_id number,
name text,
age number
) |
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List" | What kind of chassis on the angie's list sponsored car? | CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR) |
SELECT years FROM table_2841865_2 WHERE congress = "72nd" | What frame of time is listed under years during the 72nd congress? | CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR) |
SELECT * FROM Votes WHERE PostId = 12505377 | SELECT * FROM votes WHERE postId = 12505377;. | CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDate time,
ApprovalModeratorId number,
DeactivationDate time,
DeactivationModeratorId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
) |
SELECT team FROM table_2503102_2 WHERE listed_owner_s_ = "Chip Ganassi" | What team owns the car owned by chip ganassi? | CREATE TABLE table_2503102_2 (team VARCHAR, listed_owner_s_ VARCHAR) |
SELECT representative FROM table_2841865_2 WHERE congress = "112th" | What name is listed under representative for the 112th congress? | CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) |
SELECT division_record FROM table_name_48 WHERE team = "panthers" | What is the Panthers' Division Record? | CREATE TABLE table_name_48 (
division_record VARCHAR,
team VARCHAR
) |
SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing" | What chassis is on the car repped by team rahal letterman lanigan racing? | CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR) |
SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta" | What is the value of the runner up column for the Alberta province? | CREATE TABLE table_28457809_3 (runner_up INTEGER, province VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.days_stay > "6" | provide the number of patients whose gender is m and days of hospital stay is greater than 6? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) |
SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = "ABC Supply" | Who drives the abc supply sponsored cor? | CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR) |
SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario" | What year was Ontario's first LLCR? | CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR) |
SELECT date_incident_start, COUNT(date_incident_start) FROM Behavior_Incident WHERE incident_type_code = "NOISE" ORDER BY COUNT(date_incident_start) | What is the number of end dates for incidents with incident type code 'NOISE'? Bin by weekday and return a bar chart, and order in ascending by the y-axis. | CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Student_Addresses (
student_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
date_address_to DATETIME,
monthly_rental DECIMAL(19,4),
other_details VARCHAR(255)
)
CREATE TABLE Assessment_Notes (
notes_id INTEGER,
student_id INTEGER,
teacher_id INTEGER,
date_of_notes DATETIME,
text_of_notes VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Students_in_Detention (
student_id INTEGER,
detention_id INTEGER,
incident_id INTEGER
)
CREATE TABLE Ref_Detention_Type (
detention_type_code VARCHAR(10),
detention_type_description VARCHAR(80)
)
CREATE TABLE Detention (
detention_id INTEGER,
detention_type_code VARCHAR(10),
teacher_id INTEGER,
datetime_detention_start DATETIME,
datetime_detention_end DATETIME,
detention_summary VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Addresses (
address_id INTEGER,
line_1 VARCHAR(120),
line_2 VARCHAR(120),
line_3 VARCHAR(120),
city VARCHAR(80),
zip_postcode VARCHAR(20),
state_province_county VARCHAR(50),
country VARCHAR(50),
other_address_details VARCHAR(255)
)
CREATE TABLE Students (
student_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(40),
last_name VARCHAR(40),
cell_mobile_number VARCHAR(40),
email_address VARCHAR(40),
date_first_rental DATETIME,
date_left_university DATETIME,
other_student_details VARCHAR(255)
)
CREATE TABLE Teachers (
teacher_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
gender VARCHAR(1),
cell_mobile_number VARCHAR(40),
email_address VARCHAR(40),
other_details VARCHAR(255)
)
CREATE TABLE Behavior_Incident (
incident_id INTEGER,
incident_type_code VARCHAR(10),
student_id INTEGER,
date_incident_start DATETIME,
date_incident_end DATETIME,
incident_summary VARCHAR(255),
recommendations VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Ref_Incident_Type (
incident_type_code VARCHAR(10),
incident_type_description VARCHAR(80)
) |
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Tom Marino" | Name the number of district for tom marino | CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR) |
SELECT pinyin FROM table_2847477_2 WHERE english_name = "Xin County" | What is the pinyin name for the english name xin county? | CREATE TABLE table_2847477_2 (pinyin VARCHAR, english_name VARCHAR) |
SELECT "name" FROM table_203_573 WHERE "country of origin" = 'spain' | which are they only two names that have spain as their country of origin ? | CREATE TABLE table_203_573 (
id number,
"name" text,
"rank - 2000" number,
"number" number,
"country of origin" text,
"england - 2001" text
) |
SELECT district FROM table_25030512_41 WHERE first_elected = 1994 | Name the district for 1994 | CREATE TABLE table_25030512_41 (district VARCHAR, first_elected VARCHAR) |
SELECT area FROM table_2847477_2 WHERE simplified = "罗山县" | What is the area of 罗山县? | CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR) |
SELECT "Outcome" FROM table_69732 WHERE "Date" = 'july 16, 2011' | What's the Outcome for the Date of July 16, 2011? | CREATE TABLE table_69732 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) |
SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10" | Name the party for pennsylvania 10 | CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR) |
SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn" | What is the English name of gùshǐ xiàn? | CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR) |
SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3 | What are the ids and names of the architects who built at least 3 bridges ? | CREATE TABLE architect (
id VARCHAR,
name VARCHAR
)
CREATE TABLE bridge (
architect_id VARCHAR
) |
SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson" | Name the result for glenn thompson | CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR) |
SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County" | How many simplified names are there for xin county? | CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR) |
SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13" | Who drove the car with the n175 chassis in round 13? | CREATE TABLE table_name_1 (
driver VARCHAR,
chassis VARCHAR,
rounds VARCHAR
) |
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Bill Shuster" | Name the number of district for bill shuster | CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR) |
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512 | What is the density of the place with an area of 1512? | CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR) |
SELECT * FROM table_train_206 WHERE diabetic = 'i' | type i diabetes | CREATE TABLE table_train_206 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"systolic_blood_pressure_sbp" int,
"hematocrit_hct" float,
"diabetic" string,
"contraception" bool,
"diastolic_blood_pressure_dbp" int,
"serum_creatinine" float,
"NOUSE" float
) |
SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 11 | List the total play time for 11 starts. | CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR) |
SELECT area FROM table_2847477_2 WHERE english_name = "Xin County" | What is the area of xin county? | CREATE TABLE table_2847477_2 (area VARCHAR, english_name VARCHAR) |
SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler" AND circuit = "Showevent Olympiastadion München" | In the circuit Showevent Olympiastadion M nchen, where the winning driver is Bruno Spengler, what is the pole position? | CREATE TABLE table_26267607_2 (
pole_position VARCHAR,
winning_driver VARCHAR,
circuit VARCHAR
) |
SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40" | In what region is the enrollment ratio in primary 94.40? | CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR) |
SELECT COUNT(position) FROM table_2850912_4 WHERE nhl_team = "St. Louis Blues" | How many positions are associated with the St. Louis Blues? | CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) |
SELECT MIN("Top 5") FROM table_45029 WHERE "Wins" > '0' AND "Driver" = 'frank kimmel' AND "Top 10" < '14' | What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s? | CREATE TABLE table_45029 (
"Driver" text,
"Points" real,
"Wins" real,
"Top 5" real,
"Top 10" real
) |
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55" | What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55? | CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR) |
SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres" | Which junior team is associated with an NHL pick by the Buffalo Sabres? | CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) |
SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = "5–7, 6–1, 6–3, 6–3" | Which Outcome has a Championship of us championships, and a Score in the final of 5 7, 6 1, 6 3, 6 3? | CREATE TABLE table_name_61 (
outcome VARCHAR,
championship VARCHAR,
score_in_the_final VARCHAR
) |
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "38.14" | What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14? | CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR) |
SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" | Which position was selected for by the Toronto Maple Leafs? | CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) |
SELECT "Title" FROM table_48668 WHERE "Release date" = '24 july 2005' | What is the title released on 24 July 2005? | CREATE TABLE table_48668 (
"Cat. #" text,
"Artist" text,
"Title" text,
"Release date" text,
"Format" text,
"Other information" text
) |
SELECT tertiary__18_24_years_ FROM table_25042332_22 WHERE secondary__14_17_years_ = "71.43" | What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43? | CREATE TABLE table_25042332_22 (tertiary__18_24_years_ VARCHAR, secondary__14_17_years_ VARCHAR) |
SELECT COUNT(college_junior_club_team) FROM table_2850912_6 WHERE player = "John Dzikowski" | How many different college/junior/club teams had player John Dzikowski? | CREATE TABLE table_2850912_6 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2" | Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2? | CREATE TABLE table_name_70 (
coding VARCHAR,
variant_id VARCHAR
) |
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10" | What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10? | CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR) |
SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" | What pick was Greg Strome? | CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR) |
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.age >= "89" | what is minimum age of patients whose gender is f and age is greater than or equal to 89? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) |
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "50.23" | What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23? | CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR) |
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" | What is the gender of the cunningham hill infant school? | CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR) |
SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '029-27704' ORDER BY patient.hospitaldischargetime DESC LIMIT 1 | what was the last hospital discharge time of patient 029-27704? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
) |
SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%" | what is the number of registered female voters where the percentage is 108.6% | CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR) |
SELECT gender FROM table_28523_2 WHERE age_range = "3-11" AND school = "St Adrian Roman Catholic Primary school" | What is the gender with a age range of 3-11 at the st adrian roman catholic primary school? | CREATE TABLE table_28523_2 (gender VARCHAR, age_range VARCHAR, school VARCHAR) |
SELECT SUM("Lowest") FROM table_10257 WHERE "Average" = '1,166' AND "Highest" < '2,215' | What is the sum of the lowest in attendance when the average is 1,166 and most in attendance is less than 2,215? | CREATE TABLE table_10257 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
) |
SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726 | what is the percentage of male voters where the level of maturity is 123726 | CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR) |
SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" | What is the website of the cunningham hill infant school? | CREATE TABLE table_28523_2 (school VARCHAR) |
SELECT DisplayName AS "user", COUNT(Posts.Id) AS Questions FROM Posts INNER JOIN Users ON Users.Id = OwnerUserId WHERE PostTypeId = 2 GROUP BY Users.Id, DisplayName ORDER BY 'questions' DESC LIMIT 10 | Top 10 users with the most questions.. | CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDate time,
ApprovalModeratorId number,
DeactivationDate time,
DeactivationModeratorId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
) |
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153 | How many regions had 153 women prison inmates? | CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR) |
SELECT location FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" | Where is the cunningham hill infant school located? | CREATE TABLE table_28523_2 (location VARCHAR, school VARCHAR) |
SELECT "Akira" FROM table_52612 WHERE "Tiger Mask IV" = 'akira (10:05)' | What is the Akira when Tiger Mask IV is Akira (10:05)? | CREATE TABLE table_52612 (
"Block A" text,
"Akira" text,
"Atsushi Aoki" text,
"Black Tiger V" text,
"Jado" text,
"Milano Collection A.T." text,
"Prince Devitt" text,
"Tiger Mask IV" text
) |
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63 | How many regions had an incarceration rate for females of 63? | CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR) |
SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan" | Name the event 3 deadlift for hennie jordan | CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2105" AND diagnoses.long_title = "Personal history of other malignant neoplasm of skin" | provide the number of patients whose admission year is less than 2105 and diagnoses long title is personal history of other malignant neoplasm of skin? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
) |
SELECT MAX(incarceration_rate_male) FROM table_25042332_31 WHERE region = "Maule" | What is the male incarceration rate of maule? | CREATE TABLE table_25042332_31 (incarceration_rate_male INTEGER, region VARCHAR) |
SELECT rebounds_per_game FROM table_28547289_1 WHERE minutes_per_game = "35" | How many rebounds per game did Andrej Džaković average when playing 35 minutes per game? | CREATE TABLE table_28547289_1 (rebounds_per_game VARCHAR, minutes_per_game VARCHAR) |
SELECT MIN("Crowd") FROM table_11947 WHERE "Home team" = 'north melbourne' | What was the lowest Crowd Size for the Home Team of North Melbourne? | CREATE TABLE table_11947 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%" | Name the region for automatic washing machine being 60.9% | CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR) |
SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points" | What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points? | CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR) |
SELECT "Block A" FROM table_54839 WHERE "Antonio Thomas" = 'kondo (13:24)' | Tell me the block A for antonio thomas of kondo (13:24) | CREATE TABLE table_54839 (
"Block A" text,
"Antonio Thomas" text,
"Hikaru Sato" text,
"Hiroshi Yamato" text,
"Kaz Hayashi" text,
"Minoru" text,
"Super Crazy" text
) |
SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%" | Name the fixed telephone line for 25.6% vehicle | CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR) |
SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points" | What is the runner-up record where winner record is Ireland 59 points? | CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR) |
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code DESC | For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the name , and group by attribute name, and could you display total number in desc order please? | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) |
SELECT region FROM table_25042332_27 WHERE vehicle = "39.2%" | Name the region for 39.2% vehicle | CREATE TABLE table_25042332_27 (region VARCHAR, vehicle VARCHAR) |
SELECT host_nation_s_ FROM table_28601467_1 WHERE year = 2004 | Which nation hosted the competition in 2004? | CREATE TABLE table_28601467_1 (host_nation_s_ VARCHAR, year VARCHAR) |
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY COUNT(All_Home) | Return a bar chart about the distribution of All_Home and the amount of All_Home , and group by attribute All_Home, I want to sort by the total number from low to high. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
) |
SELECT region FROM table_25042332_26 WHERE solar_panel = "0.3%" | What region has 0.3% solar panel? | CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR) |
SELECT final_venue FROM table_28601467_1 WHERE host_nation_s_ = "England" AND runner_up = "[[|]] 4 points" AND winner = "[[|]] 6 points" | What was the final venue whene England hasted the competition and the runner-up record is [[|]] 4 points and the winner record is [[|]] 6 points? | CREATE TABLE table_28601467_1 (final_venue VARCHAR, winner VARCHAR, host_nation_s_ VARCHAR, runner_up VARCHAR) |
SELECT "Frequency" FROM table_895 WHERE "Part Number(s)" = 'ADO520BIAA5DO' | What is the frequency of the model whose part number is ado520biaa5do? | CREATE TABLE table_895 (
"Model Number" text,
"Stepping" text,
"Frequency" text,
"L2 Cache" text,
"HT" text,
"Multi 1" text,
"V Core" text,
"TDP" text,
"Socket" text,
"Release Date" text,
"Part Number(s)" text
) |
SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama" | What is atacama's percentage of solar panels? | CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR) |
SELECT MAX(year) FROM table_28601467_1 WHERE winner = "Ireland 4 points" | What is the most recent year in which the winner record is Ireland 4 points? | CREATE TABLE table_28601467_1 (year INTEGER, winner VARCHAR) |
SELECT MIN("Founded") FROM table_20530 WHERE "Location" = 'Ellensburg, Washington' | What year was the university that is located in Ellensburg, Washington established? | CREATE TABLE table_20530 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text
) |
SELECT region FROM table_25042332_26 WHERE none = "0.6%" | Which region has 0.6% none? | CREATE TABLE table_25042332_26 (region VARCHAR, none VARCHAR) |
SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz" | under which president was gunther volz executed? | CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR) |
SELECT MAX("Mir-Hossein Mousavi") FROM table_26002 WHERE "Spoiled ballots" = '5683' | What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 | CREATE TABLE table_26002 (
"Province" text,
"Mahmoud Ahmadinejad" real,
"Mehdi Karroubi" real,
"Mir-Hossein Mousavi" real,
"Mohsen Rezaee" real,
"Spoiled ballots" real,
"Total votes" real
) |
SELECT public_network FROM table_25042332_26 WHERE other_source = "0.1%" AND solar_panel = "0.0%" AND region = "Maule" | What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule? | CREATE TABLE table_25042332_26 (public_network VARCHAR, region VARCHAR, other_source VARCHAR, solar_panel VARCHAR) |
SELECT executed_person FROM table_2861364_1 WHERE under_president = "Charles de Gaulle" AND crime = "Child murder after rape" | who was executed during president charles de gaulle's reign for thr crime of child murder after rape? | CREATE TABLE table_2861364_1 (executed_person VARCHAR, under_president VARCHAR, crime VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'HOUSTON' AND flight.arrival_time = 1100 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'INDIANAPOLIS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'TW' | does TW have a flight from INDIANAPOLIS to HOUSTON arriving at 1100 | CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
stops int,
time_elapsed int,
to_airport varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed int,
range_miles int,
pressurized varchar
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
) |
SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "0.5%" | How many regions have 0.5% solar panels? | CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR) |
SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti" | where was mazouz ghaouti executed? | CREATE TABLE table_2861364_1 (place_of_execution VARCHAR, executed_person VARCHAR) |
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio" | What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio? | CREATE TABLE table_name_20 (
date VARCHAR,
distance VARCHAR,
course VARCHAR
) |
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04" | What is the production number of 3-04? | CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR) |
SELECT crime FROM table_2861364_1 WHERE place_of_execution = "Metz" AND executed_person = "Gunther Volz" | for what crime was gunther volz executed at metz? | CREATE TABLE table_2861364_1 (crime VARCHAR, place_of_execution VARCHAR, executed_person VARCHAR) |
SELECT club FROM table_name_66 WHERE league_goals = "21" | Which Club has a League goals of 21? | CREATE TABLE table_name_66 (
club VARCHAR,
league_goals VARCHAR
) |
SELECT title FROM table_25046766_3 WHERE original_airdate_uk = "October 7, 1965" | What was the title of the episode that aired on October 7, 1965? | CREATE TABLE table_25046766_3 (title VARCHAR, original_airdate_uk VARCHAR) |
SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD" | How many of Asian release statuses does Uno HD have? | CREATE TABLE table_28621502_1 (asia VARCHAR, title VARCHAR) |
SELECT COUNT("Score") FROM table_22788 WHERE "Team Europe" = 'Mika Koivuniemi' | How many different scores did Team Europe get when Mika Koivuniemi played for them? | CREATE TABLE table_22788 (
"Match no." real,
"Match Type" text,
"Team Europe" text,
"Score" text,
"Team USA" text,
"Progressive Total" text
) |
SELECT COUNT(episode_no) FROM table_25046766_1 WHERE written_by = "Don Inglis and Ralph Smart" | When don inglis and ralph smart are the writers how many episode numbers are there? | CREATE TABLE table_25046766_1 (episode_no VARCHAR, written_by VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.