text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden b... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_78434 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the driver with a grid less than 14, laps smaller than 53 and a Ti... |
### Context: CREATE TABLE table_name_89 (
rank INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for Omni nashville hotel?
### Query: SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" |
### Context: CREATE TABLE table_30908 (
"Round" real,
"Date" text,
"Opponent" text,
"Home/Away" text,
"Score (Collingwoods score is in bold)" text,
"Result (includes margin)" text,
"Venue" text,
"Position on Ladder" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE resultsdata15 (
sample_pk number,
commod text,
commtype text,
lab text,
pestcode text,
testclass text,
concen number,
lod number,
conunit text,
confmethod text,
confmethod2 text,
annotate text,
quantitate text,
mean text,
extract text... |
### Context: CREATE TABLE table_name_63 (
record VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record when the high rebound was Deandre Jordan (11)?
### Query: SELECT record FROM table_name_63 WHERE high_rebounds = "dean... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 numbe... |
### Context: CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the na... |
### Context: 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 ... |
### Context: CREATE TABLE table_14132 (
"Season" real,
"Games" real,
"W-L-T" text,
"Attendance" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games smaller t... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE table_24741 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year for the f... |
### Context: CREATE TABLE Employees (
Employee_ID INTEGER,
Role_Code CHAR(15),
Employee_Name VARCHAR(255),
Gender_MFU CHAR(1),
Date_of_Birth DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE Ref_Locations (
Location_Code CHAR(15),
Location_Name VARCHAR(255),
Location_Description V... |
### Context: CREATE TABLE table_name_36 (
co_driver VARCHAR,
position VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the co-driver for the 6th position and more than 159 laps?
### Query: SELECT co_driver FROM table_name_36 WHERE pos... |
### Context: CREATE TABLE table_36558 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average week for the game against baltimore colts with less than 41,062 in atte... |
### Context: CREATE TABLE table_name_71 (
gold VARCHAR,
bronze VARCHAR,
total VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Gold, when Total is less than 4, when Silver is 1, and when Bronze is 1?
### Query: SELECT gold FROM... |
### Context: CREATE TABLE customers (
customer_name VARCHAR,
payment_method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the names of customers using the most popular payment method?
### Query: SELECT customer_name FROM customers WHERE payment_me... |
### Context: CREATE TABLE table_name_81 (
season VARCHAR,
opponent VARCHAR,
wicket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season did they play queensland at wicket 4?
### Query: SELECT season FROM table_name_81 WHERE opponent = "queensland"... |
### Context: 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... |
### Context: CREATE TABLE table_15864 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number is the player that played 1998-2001
#... |
### Context: CREATE TABLE table_24224647_2 (
year_premiered INTEGER,
network VARCHAR,
main_presenter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest year premiered for the TV2 network when main present is yvind mund?
### Query: SELECT... |
### Context: CREATE TABLE table_25959 (
"Round" real,
"Location" text,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winning team when max b... |
### Context: CREATE TABLE table_18531 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many results for minimum first elected incumbent Noble ... |
### Context: CREATE TABLE table_79425 (
"Date" text,
"Internet Explorer" text,
"Firefox" text,
"Safari" text,
"Opera" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of browsers were using Opera in October 2010?
### Query: SELECT "Op... |
### Context: 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
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_204_473 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who scored ... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE grants (
grant_id number,
organisation_id number,
grant_amount number,
grant_start_date time,
grant_end_date time,
other_details text
)
CREATE TABLE project_staff (
staff_id number,
project_id number,
role_code text,
date_from time,
date_to time,
... |
### Context: CREATE TABLE table_1205598_1 (
media_market_ranking VARCHAR,
nhl_team_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the media market ranking for the Blackhawks?
### Query: SELECT COUNT(media_market_ranking) FROM table_1205598_1 WHER... |
### Context: CREATE TABLE gyb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_203_749 (
id number,
"call sign" text,
"frequency" text,
"city of license" text,
"licensee" text,
"format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many radio stations are under the licensee simmons broa... |
### Context: CREATE TABLE table_name_32 (
attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Record of 16 29 is how many attendance?
### Query: SELECT attendance FROM table_name_32 WHERE record = "16–29" |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_39588 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices... |
### Context: CREATE TABLE table_52874 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date with a Set 1 with 15 1?
### Query: SELECT "Date" FROM table_528... |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_labitems... |
### Context: 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_21536557_2 (
day VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which days have a stage of ss11?
### Query: SELECT day FROM table_21536557_2 WHERE stage = "SS11" |
### Context: CREATE TABLE table_37216 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Duchess" text,
"Ceased to be Duchess" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the person born on 6 janua... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE department_stores (
dept_store_id number,
dept_store_chain_id number,
store_name text,
store_address text,
store_phone text,
store_email text
)
CREATE TABLE order_items (
order_item_id number,
order_id number,
product_id number
)
CREATE TABLE product_suppl... |
### Context: CREATE TABLE table_42534 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has a Result of l 26 16?
### Query: SELECT "Attendance" FROM table_42534 ... |
### Context: CREATE TABLE table_204_93 (
id number,
"round" number,
"pick" number,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which teams at most have 4 playe... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_37018 (
"Player" text,
"League" real,
"Malaysia Cup" real,
"FA Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which FA Cup is the highest one that has a Malaysia Cup of 0, and a Player of ahmad fouz... |
### Context: CREATE TABLE table_name_67 (
away VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team of the UEFA champions league?
### Query: SELECT away FROM table_name_67 WHERE competition = "uefa champions league" |
### Context: CREATE TABLE table_name_47 (
year INTEGER,
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year is the lowest one that has Wins smaller than 0?
### Query: SELECT MIN(year) FROM table_name_47 WHERE wins < 0 |
### Context: CREATE TABLE table_41038 (
"Round" real,
"Pick #" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player from Arizona State?
### Query: SELECT "Player" FROM table_41038 WHERE "C... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_name_96 (
result VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result at Dreisamstadion, Freiburg?
### Query: SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg" |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE table_17720 (
"Year" real,
"Total Region" real,
"Rockhampton" real,
"Livingstone" real,
"Fitzroy" real,
"Mt Morgan" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum rockhampton
### Query: SELECT MIN("... |
### Context: CREATE TABLE qualifying (
qualifyId INTEGER,
raceId INTEGER,
driverId INTEGER,
constructorId INTEGER,
number INTEGER,
position INTEGER,
q1 TEXT,
q2 TEXT,
q3 TEXT
)
CREATE TABLE constructorResults (
constructorResultsId INTEGER,
raceId INTEGER,
constructorId ... |
### Context: CREATE TABLE publication_keyword (
kid int,
pid int
)
CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
year int
)
CREATE TABLE keyword (
keyword varchar,
kid int
)
CREATE TABLE doma... |
### Context: CREATE TABLE table_21167 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the district Wisconsin 2nd, what was the reason for change... |
### Context: CREATE TABLE table_name_80 (
finals VARCHAR,
total VARCHAR,
conference_finals VARCHAR,
semifinals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinal... |
### Context: 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... |
### Context: CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE party (
Party_ID int,
Minister text,
... |
### Context: 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,
admissi... |
### Context: 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,
hospitaladmitti... |
### Context: CREATE TABLE table_3590 (
"Team" text,
"Manager" text,
"Chairman" text,
"Team captain" text,
"Kit maker" text,
"Sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the captain of Cardiff City?
### Query: SELECT "Team cap... |
### Context: CREATE TABLE table_14603212_5 (
school_year VARCHAR,
class_aAAA VARCHAR,
Gregory VARCHAR,
Portland VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the school years where class AAAA is in Gregory-Portland?
### Query: SELECT s... |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE Tags (
Id number,
TagNam... |
### Context: CREATE TABLE wdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME ... |
### Context: CREATE TABLE table_name_98 (
rank VARCHAR,
time VARCHAR,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have 1:01.14.62 as the time, with michael russell as the rider?
### Query: SELECT COUNT(rank) FROM table_name_98 WH... |
### Context: 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,
hospitaladmitti... |
### Context: CREATE TABLE table_name_9 (
callsign VARCHAR,
on_air_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the callsign whtat uses 7bu?
### Query: SELECT callsign FROM table_name_9 WHERE on_air_id = "7bu" |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
... |
### Context: CREATE TABLE table_21882 (
"Season" text,
"Date" text,
"Driver" text,
"Team" text,
"Chassis" text,
"Engine" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Reviewer (
rID int,
name text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_1745843_10 (
part_3 VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is part 1 of the verb in class 4
### Query: SELECT part_3 FROM table_1745843_10 WHERE class = "4" |
### Context: CREATE TABLE table_name_50 (
team VARCHAR,
crew_chief VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Walter Giles is Crew Chief of what team?
### Query: SELECT team FROM table_name_50 WHERE crew_chief = "walter giles" |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_201_44 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of the films listed were a television movie ?
### Query: SELECT COUNT(*) FROM table_201_44... |
### Context: CREATE TABLE table_11084 (
"Episode Air Date" text,
"Audition City" text,
"Date" text,
"First Audition Venue" text,
"Callback Date" text,
"Callback Venue" text,
"Golden Tickets" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### Context: 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,
admissi... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_25797 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_12784134_1 (
verbal_noun VARCHAR,
participle VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verbal noun connected to the participle e-duki?
### Query: SELECT verbal_noun FROM table_12784134_1 WHERE participle = "e... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_26996293_3 (
player VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player drafted was an OG?
### Query: SELECT player FROM table_26996293_3 WHERE position = "OG" |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),... |
### Context: 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... |
### Context: CREATE TABLE table_51329 (
"CERCLIS ID" text,
"Name" text,
"Municipality" text,
"Proposed" text,
"Listed" text,
"Construction completed" text,
"Partially deleted" text,
"Deleted" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_203_182 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"title" text,
"directed by" text,
"written by" text,
"original air date" text,
"production\ncode" number
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE table_77535 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school did bo jackson attend?
### Query: SELECT "School" FROM table_77535 WHERE "Player"... |
### Context: CREATE TABLE table_21690339_1 (
_percentage_cut VARCHAR,
gas_storage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What wast the percent cut for the nation with an 80% full gas storage?
### Query: SELECT _percentage_cut FROM table_21690339_1 W... |
### Context: CREATE TABLE table_name_33 (
set_1 VARCHAR,
date VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Set 1 when the date is 08 jul, and a Set 2 of 25 21?
### Query: SELECT set_1 FROM table_name_33 WHERE date = "08 jul"... |
### Context: CREATE TABLE table_58125 (
"Title" text,
"Pages" text,
"First edition" text,
"Second edition" text,
"ISBN" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which first edition has 264 pages and the ISBN of 978-0785111832?
### Query: SELE... |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.