text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_12749 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner(s)-up" text,
"Winner's share ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is To par,... |
### Context: CREATE TABLE table_name_10 (
podium INTEGER,
pole VARCHAR,
season VARCHAR,
flap VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had wh... |
### Context: CREATE TABLE table_14986292_1 (
area__km²_ VARCHAR,
population_density_2010___km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of area where population density 2010 for 514
### Query: SELECT COUNT(area__km²_) FROM table_14986... |
### Context: CREATE TABLE table_13603 (
"General election" real,
"Name" text,
"Share of votes" text,
"Seats" real,
"Share of seats" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, a... |
### Context: CREATE TABLE table_204_635 (
id number,
"round" number,
"selection" number,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was drafted before robert alford ?
### Query: SELECT "player" ... |
### Context: CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State T... |
### Context: CREATE TABLE table_45491 (
"Company name" text,
"Network brand name" text,
"Country" text,
"Accreditation type" text,
"Accreditation level" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the accreditation level ... |
### Context: CREATE TABLE table_name_51 (
korean VARCHAR,
chinese VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which KOREAN has a CHINESE of / sh z p t ?
### Query: SELECT korean FROM table_name_51 WHERE chinese = "師子菩提 / shīzǐpútí" |
### Context: CREATE TABLE Courses (
course_id VARCHAR(100),
course_name VARCHAR(120),
course_description VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Students (
student_id INTEGER,
student_details VARCHAR(255)
)
CREATE TABLE Candidates (
candidate_id INTEGER,
candidate_detai... |
### Context: CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_27764 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE courses (
course_id text,
course_name text,
course_description text,
other_details text
)
CREATE TABLE candidate_assessments (
candidate_id number,
qualification text,
assessment_date time,
asessment_outcome_code text
)
CREATE TABLE addresses (
address_id ... |
### Context: CREATE TABLE table_name_7 (
utah VARCHAR,
colorado VARCHAR,
new_mexico VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the value for utah when colorado and new mexico are bush?
### Query: SELECT utah FROM table_name_7 WHERE colorado =... |
### Context: CREATE TABLE table_name_55 (
college VARCHAR,
pick__number VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Pick # smaller than 11, and a Name of von hutchins belongs to what college?
### Query: SELECT college FROM table_name_55... |
### Context: CREATE TABLE table_11964154_9 (
team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the team where date is february 8
### Query: SELECT team FROM table_11964154_9 WHERE date = "February 8" |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_name_90 (
level INTEGER,
apps VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total Level with 27 Apps after 2006?
### Query: SELECT SUM(level) FROM table_name_90 WHERE apps = 27 AND season > 20... |
### Context: CREATE TABLE table_name_23 (
trofeo_fast_team VARCHAR,
points_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had a final stage when Claudio Chiappucci had the points?
### Query: SELECT trofeo_fast_te... |
### Context: CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREATE TABLE instructor (
... |
### Context: CREATE TABLE table_42737 (
"Mission" text,
"Date" text,
"Launch site" text,
"Motor" text,
"Apogee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Mission is on 2003 apr 1?
### Query: SELECT "Mission" FROM table_42737 WHERE "Date"... |
### Context: CREATE TABLE mountain (
mountain_id number,
name text,
height number,
prominence number,
range text,
country text
)
CREATE TABLE climber (
climber_id number,
name text,
country text,
time text,
points number,
mountain_id number
)
-- Using valid SQLite, ans... |
### 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_23840623_4 (
epa_rated_combined_fuel_economy VARCHAR,
operating_mode VARCHAR,
dirty_electric_grid_rocky_mountains__denver_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the epa rated combined fuel economy for the ... |
### Context: CREATE TABLE table_name_32 (
qual_2 VARCHAR,
best VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual 2 when the best is 1:45.172?
### Query: SELECT qual_2 FROM table_name_32 WHERE best = "1:45.172" |
### Context: CREATE TABLE table_173475_1 (
title VARCHAR,
release VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What titles were released in 2006?
### Query: SELECT title FROM table_173475_1 WHERE release = 2006 |
### Context: CREATE TABLE table_38831 (
"States" text,
"Fall 05" real,
"Fall 06" real,
"Fall 07" real,
"Fall 08" real,
"Fall 09" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum amount of fall 05 when fall 08 is more than 5, fall 0... |
### Context: CREATE TABLE table_6032 (
"Year" real,
"Group" text,
"Award" text,
"Film/Series" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of years that Kim was nominated at the Sitges Film Festival?
### Query: S... |
### 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_204_966 (
id number,
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what format did france use ?
### Query: SELECT "format" FROM table_204_966 WH... |
### Context: CREATE TABLE students (
student_id number,
student_details text
)
CREATE TABLE people (
person_id number,
first_name text,
middle_name text,
last_name text,
cell_mobile_number text,
email_address text,
login_name text,
password text
)
CREATE TABLE people_addresses ... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
pr... |
### Context: CREATE TABLE table_32264 (
"Dance" text,
"Best dancer" text,
"Best score" real,
"Worst dancer" text,
"Worst score" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What dance was Leeza Gibbons the worst dancer for, receiving a score lower... |
### Context: CREATE TABLE table_45165 (
"Season" real,
"Winner" text,
"Team" text,
"Goals" text,
"Assists" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points when John Vopni won a season before 1977?
### Query: SELECT... |
### Context: CREATE TABLE table_15836 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- After 1972, how many points did Marlboro Team Alfa Romeo have?
### Query: SELECT "Points" FR... |
### Context: CREATE TABLE races (
raceId INTEGER,
year INTEGER,
round INTEGER,
circuitId INTEGER,
name TEXT,
date TEXT,
time TEXT,
url TEXT
)
CREATE TABLE driverStandings (
driverStandingsId INTEGER,
raceId INTEGER,
driverId INTEGER,
points REAL,
position INTEGER,
... |
### Context: CREATE TABLE table_name_6 (
rank INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of a nation that had 219,721 in 2012?
### Query: SELECT AVG(rank) FROM table_name_6 WHERE 2012 = 219 OFFSET 721 |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### 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_52 (
condition VARCHAR,
partial_thromboplastin_time VARCHAR,
prothrombin_time VARCHAR,
platelet_count VARCHAR,
bleeding_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the condition with platelet coun... |
### Context: CREATE TABLE table_5795 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHo is Player that has a Place of t9 in united states?
### Query: SELECT "Player" FROM table_5... |
### Context: CREATE TABLE Invoice (
InvoiceId integer,
CustomerId integer,
InvoiceDate datetime,
BillingAddress varchar(70),
BillingCity varchar(40),
BillingState varchar(40),
BillingCountry varchar(40),
BillingPostalCode varchar(10),
Total decimal(10,2)
)
CREATE TABLE Customer (
... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ ... |
### Context: 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 CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME ... |
### Context: CREATE TABLE table_name_96 (
date VARCHAR,
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the score 3 3, and away team was Barnet?
### Query: SELECT date FROM table_name_96 WHERE score = "3–3" AND away... |
### Context: CREATE TABLE table_name_8 (
voltage VARCHAR,
socket VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the voltage of the Pentiumiii866 microprocessor with a socket 370?
### Query: SELECT voltage FROM table_name_8 ... |
### Context: CREATE TABLE table_5743 (
"Records" text,
"Pct." real,
"MRC Championships" real,
"Solo" real,
"Co-Champions" real,
"State Champions" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average value of MRC Championships with ... |
### Context: CREATE TABLE table_22815568_3 (
county VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many counties have a population of 2266?
### Query: SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266 |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: CREATE TABLE table_6327 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score on October 24, 1982 in Tokyo, ... |
### Context: CREATE TABLE table_name_87 (
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the engine when the chassis was a porsche 718??
### Query: SELECT engine FROM table_name_87 WHERE chassis = "porsche 718" |
### Context: CREATE TABLE table_52975 (
"Season" text,
"UEFA Season" text,
"Coeff" text,
"Ranking" real,
"Champions" text,
"Runner-up" text,
"3rd place" text,
"Cup winner" text,
"Cup runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: 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,
rel... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_37489 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Loss has a Name of bullock, chris, and a Long smaller than 36?
### Query: SELECT SUM("Loss") FR... |
### Context: 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_d... |
### Context: CREATE TABLE school (
mascot VARCHAR,
enrollment INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the mascots for schools with enrollments above the average?
### Query: SELECT mascot FROM school WHERE enrollment > (SELECT AVG(enrollment)... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
YLJGDM text,... |
### Context: CREATE TABLE table_2122 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real,
"Current Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the s... |
### 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 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_d... |
### Context: CREATE TABLE table_name_39 (
total VARCHAR,
league_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total when the league shows 79 (221)?
### Query: SELECT total FROM table_name_39 WHERE league_a = "79 (221)" |
### Context: CREATE TABLE table_name_22 (
outcome VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Outcome of the match with a Score of 6 1, 6 1?
### Query: SELECT outcome FROM table_name_22 WHERE score = "6–1, 6–1" |
### Context: 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 record (
ID int,
Result text,
Swimmer_ID int,
Eve... |
### Context: CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeric(2)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_24 (
round VARCHAR,
venue VARCHAR,
away VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the match at Westpac Stadium that had the Newcastle Jets as the away team?
### Query: SELECT round FROM table_name... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
... |
### Context: CREATE TABLE table_name_52 (
date VARCHAR,
others VARCHAR,
psd___pc VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the other is n/a and the psc-pc is 30% what is the date?
### Query: SELECT date FROM table_name_52 WHERE others = "n/a" ... |
### Context: CREATE TABLE table_train_157 (
"id" int,
"gender" string,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"platelets" int,
"renal_disease" bool,
"c_reactive_protein" float,
"creatinine_clearance_cl" float,
"urine_protein" int,
"serum_creatinine" floa... |
### 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_60646 (
"Date" text,
"Opponent" text,
"Score" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the game ending with a record of 31-43-2, what was the decision?
... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_typ... |
### Context: CREATE TABLE table_21306 (
"Match Number" real,
"Date" text,
"Venue" text,
"Team 1" text,
"Team 2" text,
"Result" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is man of the match for match number 5... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTa... |
### Context: 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_... |
### Context: CREATE TABLE table_name_40 (
rank INTEGER,
places VARCHAR,
nation VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest rank for east germany with points of 128.98 and places less than 70?
### Query: SELECT ... |
### 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_19409 (
"1890 No game" text,
"1891 No game" text,
"1892 No game" text,
"1893 No game" text,
"1894 WSU 10\u20130 Moscow" text,
"1895 WSU* 10\u20134 Pullman" text,
"1896 No game" text,
"1897 No game" text,
"1898 No game" text,
"1899 WSU* 11\u20130 Pu... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREAT... |
### Context: CREATE TABLE Customers_Cards (
card_id INTEGER,
customer_id INTEGER,
card_type_code VARCHAR(15),
card_number VARCHAR(80),
date_valid_from DATETIME,
date_valid_to DATETIME,
other_card_details VARCHAR(255)
)
CREATE TABLE Accounts (
account_id INTEGER,
customer_id INTEGER,... |
### Context: CREATE TABLE table_name_59 (
leading_lady VARCHAR,
director VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the leading lady in The Lonely Trail for Joseph Kane?
### Query: SELECT leading_lady FROM table_name_59 WHERE d... |
### Context: CREATE TABLE table_15929 (
"County" text,
"English name" text,
"Irish name" text,
"Population" real,
"Irish speakers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population for the Irish Name Leitir meall in?
### Query: ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
cos... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### 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_44586 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the class for trafen in part 3?
### Query: SELECT "Class" FR... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE mzjzjlb_jybgb (
YLJG... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE Lots (
lot_id INTEGER,
investor_id INTEGER,
lot_details VARCHAR(255)
)
CREATE TABLE Sales (
sales_transaction_id INTEGER,
sales_details VARCHAR(255)
)
CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Transacti... |
### Context: CREATE TABLE table_name_41 (
average VARCHAR,
team VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57?
... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
... |
### Context: CREATE TABLE table_name_77 (
events INTEGER,
top_10 VARCHAR,
cuts_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many events does the tournament with a top-10 of 2 and more than 5 cuts have?
### Query: SELECT SUM(events) FROM 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_204_338 (
id number,
"location" text,
"coordinates" text,
"type" text,
"built" text,
"details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only location with a coordination of 60 16 ′ 31.65 &#... |
### Context: CREATE TABLE table_203_646 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many competitions were held in 2002 ?
### Query: SELECT COUNT("com... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.