instruction stringlengths 11 303 | input stringlengths 38 5.51k | output stringlengths 25 1.92k | text stringlengths 321 6.52k |
|---|---|---|---|
Which week starts on November 23, 1997? | CREATE TABLE table_32559 (
"Week" text,
"Date" text,
"Location" text,
"Opponent" text,
"Result" text
) | SELECT "Week" FROM table_32559 WHERE "Date" = 'november 23, 1997' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which week starts on November 23, 1997? ### Input: CREATE TABLE table_32559 (
"Week" text,
"Date" text,
"Locatio... |
i live in DENVER and i'd like to make a trip to PITTSBURGH | CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
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_req... | 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_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: i live in DENVER and i'd like to make a trip to PITTSBURGH ### Input: CREATE TABLE time_interval (
period text,
begi... |
when they visited the hospital last time what was the first dose of requip xl prescribed to patient 1912? | CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE labevents (
ro... | SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1912 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'requip xl' ORDER BY prescriptions.startdate LIMIT 1 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: when they visited the hospital last time what was the first dose of requip xl prescribed to patient 1912? ### Input: CREATE ... |
What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7? | CREATE TABLE table_63104 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Silver") FROM table_63104 WHERE "Total" > '2' AND "Bronze" < '3' AND "Rank" = '7' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7? ### Input: CREATE T... |
what is days of hospital stay and death status of subject name troy friedman? | 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 t... | SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.name = "Troy Friedman" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is days of hospital stay and death status of subject name troy friedman? ### Input: CREATE TABLE demographic (
subj... |
Draw a bar chart for what are the name and population of each county?, and I want to sort in asc by the Y. | CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
Party int,
First_Elected real,
Committee text
)
CREATE TABLE party (
Party_ID int,
... | SELECT County_name, Population FROM county ORDER BY Population | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Draw a bar chart for what are the name and population of each county?, and I want to sort in asc by the Y. ### Input: CREATE... |
Which venue hosted an away team of Footscray? | CREATE TABLE table_name_22 (
venue VARCHAR,
away_team VARCHAR
) | SELECT venue FROM table_name_22 WHERE away_team = "footscray" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which venue hosted an away team of Footscray? ### Input: CREATE TABLE table_name_22 (
venue VARCHAR,
away_team VARCH... |
For each payment method, return how many customers use it. | CREATE TABLE customers (
payment_method_code VARCHAR
) | SELECT payment_method_code, COUNT(*) FROM customers GROUP BY payment_method_code | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For each payment method, return how many customers use it. ### Input: CREATE TABLE customers (
payment_method_code VARCH... |
how many days since patient 006-105495 was admitted to icu? | 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,
... | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '006-105495' AND patient.unitdischargetime IS NULL | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many days since patient 006-105495 was admitted to icu? ### Input: CREATE TABLE patient (
uniquepid text,
patien... |
Give me a bar chart for the total number of each country, could you order from low to high by the the total number ? | CREATE TABLE wedding (
Church_ID int,
Male_ID int,
Female_ID int,
Year int
)
CREATE TABLE church (
Church_ID int,
Name text,
Organized_by text,
Open_Date int,
Continuation_of text
)
CREATE TABLE people (
People_ID int,
Name text,
Country text,
Is_Male text,
Age ... | SELECT Country, COUNT(*) FROM people GROUP BY Country ORDER BY COUNT(*) | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Give me a bar chart for the total number of each country, could you order from low to high by the the total number ? ### Inp... |
how many patients are diagnosed with icd9 code 07054 and tested for ascites in lab? | CREATE TABLE diagnoses (
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
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "07054" AND lab.fluid = "Ascites" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many patients are diagnosed with icd9 code 07054 and tested for ascites in lab? ### Input: CREATE TABLE diagnoses (
... |
What away team played at western oval? | CREATE TABLE table_77952 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_77952 WHERE "Venue" = 'western oval' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What away team played at western oval? ### Input: CREATE TABLE table_77952 (
"Home team" text,
"Home team score" tex... |
What year were the Grizzlies in Providence? | CREATE TABLE table_8682 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
) | SELECT "Years for Grizzlies" FROM table_8682 WHERE "School/Club Team" = 'providence' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What year were the Grizzlies in Providence? ### Input: CREATE TABLE table_8682 (
"Player" text,
"Nationality" text,
... |
Name the location attendance for l 105 123 (ot) | CREATE TABLE table_29861 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Location Attendance" FROM table_29861 WHERE "Score" = 'L 105–123 (OT)' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the location attendance for l 105 123 (ot) ### Input: CREATE TABLE table_29861 (
"Game" real,
"Date" text,
... |
What school did the player that has been in Toronto from 2010-2012 go to? | CREATE TABLE table_10015132_1 (
school_club_team VARCHAR,
years_in_toronto VARCHAR
) | SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2010-2012" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What school did the player that has been in Toronto from 2010-2012 go to? ### Input: CREATE TABLE table_10015132_1 (
sch... |
how much is patient 008-19005's different systemicsystolic second measured on the last intensive care unit visit compared to the first value measured on the last intensive care unit visit? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime t... | SELECT (SELECT vitalperiodic.systemicsystolic FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-19005') AND NOT patient.unitdischarget... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how much is patient 008-19005's different systemicsystolic second measured on the last intensive care unit visit compared to... |
What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)? | CREATE TABLE table_13514 (
"Model number" text,
"sSpec number" text,
"Cores" text,
"Frequency" text,
"Turbo" text,
"L2 cache" text,
"L3 cache" text,
"GPU model" text,
"GPU frequency" text,
"Socket" text,
"I/O bus" text,
"Release date" text,
"Part number(s)" text,
... | SELECT "L3 cache" FROM table_13514 WHERE "sSpec number" = 'sr0r2(l1)sr0t6(l1)' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)? ### Input: CREATE TABLE table_13514 (
"Model number" t... |
how much was the total amount patient 011-57670 had received until 09/17/2105? | 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,
... | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-57670')) AND intakeoutput.cellpath LIKE '%in... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how much was the total amount patient 011-57670 had received until 09/17/2105? ### Input: CREATE TABLE patient (
uniquep... |
For those employees who was hired before 2002-06-21, find hire_date and the average of department_id bin hire_date by time, and visualize them by a bar chart, and display by the y-axis from high to low. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY... | SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(DEPARTMENT_ID) DESC | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For those employees who was hired before 2002-06-21, find hire_date and the average of department_id bin hire_date by time, ... |
how many patients are with medicare insurance and with lab test automated reticulocyte count ? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicare" AND lab.label = "Reticulocyte Count, Automated" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many patients are with medicare insurance and with lab test automated reticulocyte count ? ### Input: CREATE TABLE lab (... |
Find the dates of the tests taken with result 'Pass', and count them by a bar chart, and order by the Y in asc. | CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id IN... | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY COUNT(date_test_taken) | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the dates of the tests taken with result 'Pass', and count them by a bar chart, and order by the Y in asc. ### Input: C... |
A bar chart for what are the number of the facility codes of the apartments with more than four bedrooms?, and list Y in descending order. | CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_B... | SELECT facility_code, COUNT(facility_code) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 GROUP BY facility_code ORDER BY COUNT(facility_code) DESC | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: A bar chart for what are the number of the facility codes of the apartments with more than four bedrooms?, and list Y in des... |
What is the sum of capacity of cinemas open for each year? Return a line chart. | CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_seaso... | SELECT Openning_year, SUM(Capacity) FROM cinema | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of capacity of cinemas open for each year? Return a line chart. ### Input: CREATE TABLE schedule (
Cinem... |
what is the total amount of urine production patient 009-5001 had since 03/26/2103? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid num... | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-5001')) AND intakeoutput.celllabel = 'urine'... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the total amount of urine production patient 009-5001 had since 03/26/2103? ### Input: CREATE TABLE allergy (
al... |
What airport is in Muscat? | CREATE TABLE table_name_60 (
airport VARCHAR,
city VARCHAR
) | SELECT airport FROM table_name_60 WHERE city = "muscat" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What airport is in Muscat? ### Input: CREATE TABLE table_name_60 (
airport VARCHAR,
city VARCHAR
) ### Response: SEL... |
WHAT IS THE TYPE WITH 124? | CREATE TABLE table_61473 (
"Class" text,
"Number range" text,
"Quantity" text,
"Year(s) Built" text,
"Type" text
) | SELECT "Type" FROM table_61473 WHERE "Quantity" = '124' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: WHAT IS THE TYPE WITH 124? ### Input: CREATE TABLE table_61473 (
"Class" text,
"Number range" text,
"Quantity" t... |
how much is the minimum total cost of a hospital that involves a drug called albumin human in 2104? | CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
treatmentid... | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'albumin human')) AND STRFTIME('%y', cost.charg... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how much is the minimum total cost of a hospital that involves a drug called albumin human in 2104? ### Input: CREATE TABLE ... |
COMP 239 is a have-to for what classes ? | CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varch... | SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_0.department = 'COMP' AND COURSE_0.number = 239 AND COURSE_1.course_id = course_prerequisite.course_id | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: COMP 239 is a have-to for what classes ? ### Input: CREATE TABLE ta (
campus_job_id int,
student_id int,
locatio... |
Get the number of patients admitted to the hospital before 2157 who had diagnoses icd9 code 82022. | 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 t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2157" AND diagnoses.icd9_code = "82022" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Get the number of patients admitted to the hospital before 2157 who had diagnoses icd9 code 82022. ### Input: CREATE TABLE d... |
how much has patient 006-40255 changed in weight second measured on the first hospital visit compared to the first value measured on the first hospital visit? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeoutput (
in... | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-40255' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL OR... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how much has patient 006-40255 changed in weight second measured on the first hospital visit compared to the first value mea... |
what number of patients diagnosed with gangrene had the drug route as pr? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "GANGRENE" AND prescriptions.route = "PR" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what number of patients diagnosed with gangrene had the drug route as pr? ### Input: CREATE TABLE lab (
subject_id text,... |
what was the monthly minimum intake of d5/.45ns that patient 27362 had received since 41 months ago? | CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
... | SELECT MIN(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27362)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was the monthly minimum intake of d5/.45ns that patient 27362 had received since 41 months ago? ### Input: CREATE TABLE... |
Who did the high rebounds in the game against Boston? | CREATE TABLE table_27704187_7 (
high_rebounds VARCHAR,
team VARCHAR
) | SELECT high_rebounds FROM table_27704187_7 WHERE team = "Boston" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who did the high rebounds in the game against Boston? ### Input: CREATE TABLE table_27704187_7 (
high_rebounds VARCHAR,
... |
What was the attendance for the game with an away team of Hispano? | CREATE TABLE table_name_99 (
attendance VARCHAR,
away VARCHAR
) | SELECT attendance FROM table_name_99 WHERE away = "hispano" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the attendance for the game with an away team of Hispano? ### Input: CREATE TABLE table_name_99 (
attendance VA... |
Find all the female members of club 'Bootup Baltimore'. Show the first name and last name. | CREATE TABLE member_of_club (
clubid VARCHAR,
stuid VARCHAR
)
CREATE TABLE club (
clubid VARCHAR,
clubname VARCHAR
)
CREATE TABLE student (
fname VARCHAR,
lname VARCHAR,
stuid VARCHAR,
sex VARCHAR
) | SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find all the female members of club 'Bootup Baltimore'. Show the first name and last name. ### Input: CREATE TABLE member_of... |
how many patients whose procedure long title is other closed [endoscopic] biopsy of biliary duct or sphincter of oddi and lab test fluid is cerebrospinal fluid (csf)? | CREATE TABLE procedures (
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 prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Other closed [endoscopic] biopsy of biliary duct or sphincter of Oddi" AND lab.fluid = "Cerebrospinal Fluid ... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many patients whose procedure long title is other closed [endoscopic] biopsy of biliary duct or sphincter of oddi and la... |
At what latitude can you find the diameter (km) of 500.0? | CREATE TABLE table_16799784_11 (
latitude VARCHAR,
diameter__km_ VARCHAR
) | SELECT latitude FROM table_16799784_11 WHERE diameter__km_ = "500.0" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: At what latitude can you find the diameter (km) of 500.0? ### Input: CREATE TABLE table_16799784_11 (
latitude VARCHAR,
... |
please list the flight times for BOSTON to PITTSBURGH | 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 code_description (
code varchar,
description text
)
CREATE TABLE airline (
airline_co... | SELECT DISTINCT flight.arrival_time, flight.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND C... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: please list the flight times for BOSTON to PITTSBURGH ### Input: CREATE TABLE airport (
airport_code varchar,
airpor... |
how many patients survived and were diagnosed with obesity nos? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.short_title = "Obesity NOS" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many patients survived and were diagnosed with obesity nos? ### Input: CREATE TABLE procedures (
subject_id text,
... |
What position was pick 32? | CREATE TABLE table_name_86 (
position VARCHAR,
pick VARCHAR
) | SELECT position FROM table_name_86 WHERE pick = 32 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What position was pick 32? ### Input: CREATE TABLE table_name_86 (
position VARCHAR,
pick VARCHAR
) ### Response: SE... |
What team was the away team with a score of 9.11 (65)? | CREATE TABLE table_33351 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_33351 WHERE "Away team score" = '9.11 (65)' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team was the away team with a score of 9.11 (65)? ### Input: CREATE TABLE table_33351 (
"Home team" text,
"Home... |
Who did the Mariners play when their record was 26 32? | CREATE TABLE table_53180 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | SELECT "Opponent" FROM table_53180 WHERE "Record" = '26–32' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who did the Mariners play when their record was 26 32? ### Input: CREATE TABLE table_53180 (
"Date" text,
"Opponent"... |
how many of the patients had cardiopulm resuscita nos on urgent admission? | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Cardiopulm resuscita NOS" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many of the patients had cardiopulm resuscita nos on urgent admission? ### Input: CREATE TABLE procedures (
subject_... |
in what date was aired the first broacast of the episode 1x02 | CREATE TABLE table_17413485_1 (
first_broadcast VARCHAR,
episode VARCHAR
) | SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: in what date was aired the first broacast of the episode 1x02 ### Input: CREATE TABLE table_17413485_1 (
first_broadcast... |
What's the Points average with a Lost of 21, and Position of 22? | CREATE TABLE table_name_36 (
points INTEGER,
lost VARCHAR,
position VARCHAR
) | SELECT AVG(points) FROM table_name_36 WHERE lost = 21 AND position = 22 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the Points average with a Lost of 21, and Position of 22? ### Input: CREATE TABLE table_name_36 (
points INTEGER,... |
What country does Round 4 come from? | CREATE TABLE table_37085 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
) | SELECT "Nationality" FROM table_37085 WHERE "Round" = '4' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What country does Round 4 come from? ### Input: CREATE TABLE table_37085 (
"Round" real,
"Player" text,
"Positio... |
retrieve the top four most commonly performed laboratory tests of patients 40s this year. | CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid nu... | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND DATETIME(labevents.chartti... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: retrieve the top four most commonly performed laboratory tests of patients 40s this year. ### Input: CREATE TABLE d_labitems... |
Where was the game with a crowd of 18,817 and an away team score of 11.14 (80) held? | CREATE TABLE table_58048 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_58048 WHERE "Crowd" > '18,817' AND "Away team score" = '11.14 (80)' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where was the game with a crowd of 18,817 and an away team score of 11.14 (80) held? ### Input: CREATE TABLE table_58048 (
... |
what prescription drug was first prescribed to patient 013-11660 in 12/this year? | CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code tex... | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660')) AND DATETIME(medication.drugstarttime, 'start of year'... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what prescription drug was first prescribed to patient 013-11660 in 12/this year? ### Input: CREATE TABLE cost (
costid ... |
what were the five drugs most frequently prescribed to the male patients aged 40s in the same hospital visit after being diagnosed with pneumonia, organism nos? | CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id... | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what were the five drugs most frequently prescribed to the male patients aged 40s in the same hospital visit after being dia... |
find the number of patients diagnosed with unspecified congenital anomaly of heart whose admission location is phys referral/normal deli. | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title 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,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND diagnoses.long_title = "Unspecified congenital anomaly of heart" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: find the number of patients diagnosed with unspecified congenital anomaly of heart whose admission location is phys referral... |
provide the number of patients whose diagnoses short title is fall nos? | 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 t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Fall NOS" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: provide the number of patients whose diagnoses short title is fall nos? ### Input: CREATE TABLE demographic (
subject_id... |
Bar chart x axis dept code y axis minimal stu gpa, I want to rank in ascending by the y axis. | CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
DEPT_EXTENSION varchar(4)
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
... | SELECT DEPT_CODE, MIN(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY MIN(STU_GPA) | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis dept code y axis minimal stu gpa, I want to rank in ascending by the y axis. ### Input: CREATE TABLE DEPART... |
how many patients used the drug code bag and tested under category chemistry in laboratory? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "BAG" AND lab."CATEGORY" = "Chemistry" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many patients used the drug code bag and tested under category chemistry in laboratory? ### Input: CREATE TABLE lab (
... |
Name the most top-5 for wins less than 0 and events less than 16 | CREATE TABLE table_6263 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
) | SELECT MAX("Top-5") FROM table_6263 WHERE "Events" < '16' AND "Wins" < '0' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the most top-5 for wins less than 0 and events less than 16 ### Input: CREATE TABLE table_6263 (
"Tournament" text,... |
had patient 99647 ever taken a laboratory test since 12/2102? | CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
h... | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 99647) AND STRFTIME('%y-%m', labevents.charttime) >= '2102-12' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: had patient 99647 ever taken a laboratory test since 12/2102? ### Input: CREATE TABLE icustays (
row_id number,
subj... |
what is the total amount of input patient 027-144847 has received on last month/30? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-144847')) AND intakeoutput.cellpath LIKE '%i... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the total amount of input patient 027-144847 has received on last month/30? ### Input: CREATE TABLE treatment (
... |
Which opponent's march was 31? | CREATE TABLE table_78372 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Record" text
) | SELECT "Opponent" FROM table_78372 WHERE "March" = '31' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which opponent's march was 31? ### Input: CREATE TABLE table_78372 (
"Game" real,
"March" real,
"Opponent" text,... |
what is patient 018-86978's height for the first time in 08/this year? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
a... | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-86978') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is patient 018-86978's height for the first time in 08/this year? ### Input: CREATE TABLE medication (
medicationid... |
What is the Dismissals with a Venue with source: cricinfo.com? | CREATE TABLE table_54342 (
"Dismissals" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
) | SELECT "Dismissals" FROM table_54342 WHERE "Venue" = 'source: cricinfo.com' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Dismissals with a Venue with source: cricinfo.com? ### Input: CREATE TABLE table_54342 (
"Dismissals" text,
... |
show me the cities served by NX | 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 aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
... | SELECT DISTINCT city.city_code FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND flight.airline_code = 'NX' AND flight.from_airport = airport_service.airport_code | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: show me the cities served by NX ### Input: CREATE TABLE time_interval (
period text,
begin_time int,
end_time in... |
what was patient 016-27397's intake for the first time on 12/26/this year? | 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 vitalperiodic (
... | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-27397')) AND intakeoutput.cellpath LIKE '%intake%' AND D... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was patient 016-27397's intake for the first time on 12/26/this year? ### Input: CREATE TABLE microlab (
microlabid... |
Return a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute All_Home. | 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_Per... | SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY All_Home | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Return a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute All_Home. ### In... |
Can you draw the trend of the number of actual delivery date over the actual delivery date? | CREATE TABLE Order_Items (
Order_Item_ID INTEGER,
Order_ID INTEGER,
Product_ID INTEGER,
Order_Quantity VARCHAR(288),
Other_Item_Details VARCHAR(255)
)
CREATE TABLE Bookings (
Booking_ID INTEGER,
Customer_ID INTEGER,
Workshop_Group_ID VARCHAR(100),
Status_Code CHAR(15),
Store_ID ... | SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Can you draw the trend of the number of actual delivery date over the actual delivery date? ### Input: CREATE TABLE Order_It... |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and commission_pct . | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
... | SELECT EMAIL, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about... |
When the away team was collingwood, what was the away team score? | CREATE TABLE table_54435 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_54435 WHERE "Away team" = 'collingwood' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When the away team was collingwood, what was the away team score? ### Input: CREATE TABLE table_54435 (
"Home team" text... |
What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have? | CREATE TABLE table_54285 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MAX("Gold") FROM table_54285 WHERE "Rank" < '6' AND "Silver" = '1' AND "Total" > '4' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have? ### I... |
Compare the total salary by each hire date (bin it into month interval) of employees using a bar chart. | CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
... | SELECT HIRE_DATE, SUM(SALARY) FROM employees | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Compare the total salary by each hire date (bin it into month interval) of employees using a bar chart. ### Input: CREATE TA... |
Bar chart x axis building y axis maximal capacity, and order by the bars in asc. | CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE sect... | SELECT building, MAX(capacity) FROM classroom GROUP BY building ORDER BY building | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis building y axis maximal capacity, and order by the bars in asc. ### Input: CREATE TABLE student (
ID va... |
When Ernie Els placed t2, what was his To par? | CREATE TABLE table_49557 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "To par" FROM table_49557 WHERE "Place" = 't2' AND "Player" = 'ernie els' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When Ernie Els placed t2, what was his To par? ### Input: CREATE TABLE table_49557 (
"Place" text,
"Player" text,
... |
Who was the away team for the game at Victoria Park? | CREATE TABLE table_33549 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_33549 WHERE "Venue" = 'victoria park' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the away team for the game at Victoria Park? ### Input: CREATE TABLE table_33549 (
"Home team" text,
"Home t... |
what is the admission location of subject id 2560? | 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 (
... | SELECT demographic.admission_location FROM demographic WHERE demographic.subject_id = "2560" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the admission location of subject id 2560? ### Input: CREATE TABLE diagnoses (
subject_id text,
hadm_id text... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and code , and group by attribute founder, and display in desc by the X-axis. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and cod... |
When did the school from Logan Township, Pennsylvania join the Conference? | CREATE TABLE table_23180 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
) | SELECT "Joined" FROM table_23180 WHERE "Location" = 'Logan Township, Pennsylvania' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When did the school from Logan Township, Pennsylvania join the Conference? ### Input: CREATE TABLE table_23180 (
"Instit... |
Name the colors for north canton | CREATE TABLE table_28737 (
"School" text,
"Nickname" text,
"Location" text,
"Colors" text,
"Join Date" real
) | SELECT "Colors" FROM table_28737 WHERE "Location" = 'North Canton' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the colors for north canton ### Input: CREATE TABLE table_28737 (
"School" text,
"Nickname" text,
"Location... |
Which date did South Melbourne play as the away team? | CREATE TABLE table_name_74 (
date VARCHAR,
away_team VARCHAR
) | SELECT date FROM table_name_74 WHERE away_team = "south melbourne" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which date did South Melbourne play as the away team? ### Input: CREATE TABLE table_name_74 (
date VARCHAR,
away_tea... |
What is the highest Points with a Lost total of 8? | CREATE TABLE table_41936 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT MAX("Points") FROM table_41936 WHERE "Lost" = '8' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest Points with a Lost total of 8? ### Input: CREATE TABLE table_41936 (
"Position" real,
"Team" tex... |
What is the 2010 result of a tournament that is A in 2006 and A in 2011? | CREATE TABLE table_name_40 (
Id VARCHAR
) | SELECT 2010 FROM table_name_40 WHERE 2011 = "a" AND 2006 = "a" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the 2010 result of a tournament that is A in 2006 and A in 2011? ### Input: CREATE TABLE table_name_40 (
Id VARC... |
What's the total that the position is less than 1? | CREATE TABLE table_79239 (
"Position" real,
"Gymnast" text,
"A Score" real,
"B Score" real,
"Total" real
) | SELECT MIN("Total") FROM table_79239 WHERE "Position" < '1' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the total that the position is less than 1? ### Input: CREATE TABLE table_79239 (
"Position" real,
"Gymnast" ... |
give me some good places for arabic in mountain view ? | CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE geographic (
city_name varchar,
county varchar,
reg... | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: give me some good places for arabic in mountain view ? ### Input: CREATE TABLE restaurant (
id int,
name varchar,
... |
Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? | CREATE TABLE table_name_15 (
qual_2 VARCHAR,
team VARCHAR,
best VARCHAR
) | SELECT qual_2 FROM table_name_15 WHERE team = "american spirit team johansson" AND best = "59.073" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? ### Input: CREATE TABLE table_name_15 (
... |
Is it possible to go to a section of COMP 892 after 07:45 ? | CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campus_job_id int,... | SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '07:45' AND course.course_id = course_offering.course_id AND course.department = 'COMP' AND course.number = 892 AND semester.semester = 'WN' AND ... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Is it possible to go to a section of COMP 892 after 07:45 ? ### Input: CREATE TABLE comment_instructor (
instructor_id i... |
What is the System with a freeware License? | CREATE TABLE table_name_9 (
system VARCHAR,
license VARCHAR
) | SELECT system FROM table_name_9 WHERE license = "freeware" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the System with a freeware License? ### Input: CREATE TABLE table_name_9 (
system VARCHAR,
license VARCHAR
)... |
provide the number of patients whose ethnicity is white - russian and drug route is both eyes? | 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.route = "BOTH EYES" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: provide the number of patients whose ethnicity is white - russian and drug route is both eyes? ### Input: CREATE TABLE presc... |
what was the number of patients that were tested in 2103 for catheter tip-iv microbiology? | CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuo... | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT microbiologyevents.hadm_id FROM microbiologyevents WHERE microbiologyevents.spec_type_desc = 'catheter tip-iv' AND STRFTIME('%y', microbiologyevents.charttime) = '2103') | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was the number of patients that were tested in 2103 for catheter tip-iv microbiology? ### Input: CREATE TABLE microbiol... |
What rank has a status of proposed, with 80 floors for Celestia Spaces 4? | CREATE TABLE table_name_79 (
rank INTEGER,
name VARCHAR,
status VARCHAR,
floors VARCHAR
) | SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What rank has a status of proposed, with 80 floors for Celestia Spaces 4? ### Input: CREATE TABLE table_name_79 (
rank I... |
What is every name origin with the name Ovda Fluctus? | CREATE TABLE table_21080 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
) | SELECT "Name origin" FROM table_21080 WHERE "Name" = 'Ovda Fluctus' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is every name origin with the name Ovda Fluctus? ### Input: CREATE TABLE table_21080 (
"Name" text,
"Latitude" ... |
Which average Round has a Pick # larger than 20, and a College of virginia, and an Overall larger than 127? | CREATE TABLE table_34388 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | SELECT AVG("Round") FROM table_34388 WHERE "Pick #" > '20' AND "College" = 'virginia' AND "Overall" > '127' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which average Round has a Pick # larger than 20, and a College of virginia, and an Overall larger than 127? ### Input: CREAT... |
mini mental state examination score > 15 | CREATE TABLE table_train_105 (
"id" int,
"mini_mental_state_examination_mmse" int,
"systolic_blood_pressure_sbp" int,
"diastolic_blood_pressure_dbp" int,
"body_mass_index_bmi" float,
"hypertension" bool,
"age" float,
"NOUSE" float
) | SELECT * FROM table_train_105 WHERE mini_mental_state_examination_mmse > 15 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: mini mental state examination score > 15 ### Input: CREATE TABLE table_train_105 (
"id" int,
"mini_mental_state_exam... |
How long has it been since the school started offering MACROMOL 995 ? | CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE course (
c... | SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'MACROMOL' AND course.number = 995 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1 | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How long has it been since the school started offering MACROMOL 995 ? ### Input: CREATE TABLE program_course (
program_i... |
Find the number of scientists involved for the projects that require more than 300 hours. | CREATE TABLE assignedto (
scientist number,
project text
)
CREATE TABLE scientists (
ssn number,
name text
)
CREATE TABLE projects (
code text,
name text,
hours number
) | SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project WHERE T1.hours > 300 GROUP BY T1.name | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the number of scientists involved for the projects that require more than 300 hours. ### Input: CREATE TABLE assignedto... |
what is the price for amylase, body fluid? | CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
d... | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'labevents' AND cost.event_id IN (SELECT labevents.row_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'amylase, body fluid')) | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the price for amylase, body fluid? ### Input: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,... |
Find the number of the names of swimmers who has a result of 'win', order in desc by the Y. | CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE... | SELECT name, COUNT(name) FROM swimmer AS t1 JOIN record AS t2 ON t1.ID = t2.Swimmer_ID WHERE Result = 'Win' GROUP BY name ORDER BY COUNT(name) DESC | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the number of the names of swimmers who has a result of 'win', order in desc by the Y. ### Input: CREATE TABLE swimmer ... |
When ratkovo is the settlement what is the cyrllic name other names? | CREATE TABLE table_2562572_25 (
cyrillic_name_other_names VARCHAR,
settlement VARCHAR
) | SELECT cyrillic_name_other_names FROM table_2562572_25 WHERE settlement = "Ratkovo" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When ratkovo is the settlement what is the cyrllic name other names? ### Input: CREATE TABLE table_2562572_25 (
cyrillic... |
Name the number of year for dick hutcherson | CREATE TABLE table_2267857_1 (
year VARCHAR,
driver VARCHAR
) | SELECT COUNT(year) FROM table_2267857_1 WHERE driver = "Dick Hutcherson" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the number of year for dick hutcherson ### Input: CREATE TABLE table_2267857_1 (
year VARCHAR,
driver VARCHAR
)... |
What is the venue that has 34-18 as the score? | CREATE TABLE table_21350934_2 (
venue VARCHAR,
score VARCHAR
) | SELECT venue FROM table_21350934_2 WHERE score = "34-18" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the venue that has 34-18 as the score? ### Input: CREATE TABLE table_21350934_2 (
venue VARCHAR,
score VARCH... |
Who is teaching ULCS next Winter ? | CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
has_final_proje... | SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instr... | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who is teaching ULCS next Winter ? ### Input: CREATE TABLE course_offering (
offering_id int,
course_id int,
sem... |
How many students are affected by each allergy type? | CREATE TABLE allergy_type (
allergy text,
allergytype text
)
CREATE TABLE has_allergy (
stuid number,
allergy text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
) | SELECT T2.allergytype, COUNT(*) FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many students are affected by each allergy type? ### Input: CREATE TABLE allergy_type (
allergy text,
allergytyp... |
What is the earliest first game for a rugby team that has 7 lost games and 0 draws? | CREATE TABLE table_71862 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
) | SELECT MIN("First game") FROM table_71862 WHERE "Lost" = '7' AND "Drawn" < '0' | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the earliest first game for a rugby team that has 7 lost games and 0 draws? ### Input: CREATE TABLE table_71862 (
... |
What opposing teams playing on 11/04/1999? | CREATE TABLE table_name_63 (
opposing_teams VARCHAR,
date VARCHAR
) | SELECT opposing_teams FROM table_name_63 WHERE date = "11/04/1999" | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What opposing teams playing on 11/04/1999? ### Input: CREATE TABLE table_name_63 (
opposing_teams VARCHAR,
date VARC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.