text2SQL stringlengths 192 7.27k |
|---|
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_204_693 (
id,
"place",
"total",
"men",
"women",
"children",
"elderly",
"serbs",
"jews",
"romani",
"rusyns",
"hungarians",
"russians"
)
-- Using valid SQLite, answer the foll... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE table_203_102 (
id,
"event",
"performance",
"athlete",
"nation",
"place",
"date"
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE dem... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
a... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
a... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subjec... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demo... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE dem... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
rel... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE pres... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demo... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
rel... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
rel... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_t... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescription... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demo... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE pres... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE proc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE pres... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_t... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE dia... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE dem... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE proc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE pre... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescription... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescription... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
a... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
a... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescription... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
rel... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE dia... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE dia... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_dose
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
admission_type,
days_stay,
insurance,
ethnicity,
expire_flag,
admission_location,
disc... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subjec... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
rou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE prescriptions (
subject_id,
hadm_id,
icustay_id,
drug_type,
drug,
formulary_drug_cd,
route,
drug_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
religion,
ad... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE diagnoses (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE procedures (
subject_id,
hadm_id,
icd9_code,
short_title,
long_title
)
CREATE TABLE lab (
subjec... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lab (
subject_id,
hadm_id,
itemid,
charttime,
flag,
value_unit,
label,
fluid
)
CREATE TABLE demographic (
subject_id,
hadm_id,
name,
marital_status,
age,
dob,
gender,
language,
rel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.