text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE 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,
INSURE... |
### Context: CREATE TABLE table_1507852_1 (
description VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the type is 'reset' what is the description?
### Query: SELECT description FROM table_1507852_1 WHERE type = "reset" |
### Context: CREATE TABLE table_63117 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With events less than 0, what is the fewest Top-5?
### Query: SELECT MIN("Top-5") FROM t... |
### Context: CREATE TABLE table_10015132_11 (
school_club_team VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many schools did player number 3 play at?
### Query: SELECT COUNT(school_club_team) FROM table_10015132_11 WHERE no = "3" |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug t... |
### Context: CREATE TABLE table_25863 (
"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_204_981 (
id number,
"ep#" number,
"title" text,
"broadcast date" text,
"written by" text,
"directed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes aired in july 1995 ?
### Query: SELECT COU... |
### Context: CREATE TABLE table_name_7 (
result INTEGER,
name VARCHAR,
reaction_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167?
### Query: SELECT MAX(resul... |
### Context: CREATE TABLE Roles (
Role_Code CHAR(15),
Role_Name VARCHAR(255),
Role_Description VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE All_Documents (
Document_ID IN... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE table_77909 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me who was the opponent on May 6
### Query: SELECT "Opponent" FROM table_77909 WHERE "Date... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
un... |
### Context: CREATE TABLE table_15827397_1 (
no VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locomotives have a name of City of Birmingham
### Query: SELECT COUNT(no) FROM table_15827397_1 WHERE name = "City of Birmingham" |
### Context: CREATE TABLE table_name_82 (
ben_tahir VARCHAR,
liscumb VARCHAR,
libweshya VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Ben-Tahir has a 6 Liscumb and 3 Libweshya?
### Query: SELECT ben_tahir FROM table_name_82 WHERE liscumb = "6" AND... |
### Context: CREATE TABLE table_73289 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons feature Rob Masek?
### Query: SELE... |
### 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 table_5593 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the oilers record on October 20?
### Query: SELECT "Record" FROM table_5593 WHERE "Date"... |
### Context: CREATE TABLE Sales (
sales_transaction_id INTEGER,
sales_details VARCHAR(255)
)
CREATE TABLE Transactions_Lots (
transaction_id INTEGER,
lot_id INTEGER
)
CREATE TABLE Investors (
investor_id INTEGER,
Investor_details VARCHAR(255)
)
CREATE TABLE Transactions (
transaction_id I... |
### Context: CREATE TABLE table_name_80 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1999 answer when 1998 is Grand Slam Tournaments?
### Query: SELECT 1999 FROM table_name_80 WHERE 1998 = "grand slam tournaments" |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_64 (
character VARCHAR,
duration VARCHAR,
soap_opera VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What character was portrayed by the same actor for 12 years on Neighbours?
### Query: SELECT character FROM table_na... |
### Context: CREATE TABLE table_15366849_1 (
c_ VARCHAR,
metropolitan_borough_ VARCHAR,
station VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many metropolitan boroughs have dorridge as a station?
### Query: SELECT COUNT(metropolitan_borough_) AS "... |
### Context: CREATE TABLE table_16729457_16 (
driver___passenger VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the driver/passenger for position 8
### Query: SELECT driver___passenger FROM table_16729457_16 WHERE position = 8 |
### Context: CREATE TABLE table_186 (
"Round" real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drove the winning... |
### Context: CREATE TABLE table_77298 (
"Year" real,
"Award" text,
"Category" text,
"Country" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best origi... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE 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,
INSURE... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text,
person_info_CSD text,
person_info_CSRQ time,
person_info_GJDM text,
person_info_GJMC text,
person_info_JGDM text,
person_info_JGMC text,
person_info_MZDM text,
person_info_MZMC text,
pers... |
### 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 departments (
department_id number,
department_name text,
manager_id number,
location_id number
)
CREATE TABLE locations (
location_id number,
street_address text,
postal_code text,
city text,
state_province text,
country_id text
)
CREATE TABLE jobs (
... |
### Context: CREATE TABLE table_27723228_12 (
record VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the record for w 101 93 (ot)
### Query: SELECT record FROM table_27723228_12 WHERE score = "W 101–93 (OT)" |
### 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 table_name_9 (
manner_of_departure VARCHAR,
date_of_appointment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the manner of depature of the manager with a date of appointment on 23 November 2008?
### Query: SELECT manner_... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
... |
### Context: CREATE TABLE table_1974482_1 (
location VARCHAR,
founded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location for 1829
### Query: SELECT location FROM table_1974482_1 WHERE founded = 1829 |
### 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 phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops rea... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### 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_27940 (
"meas. num." real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the aggrega... |
### Context: CREATE TABLE table_10401 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of NGC number for sag... |
### Context: CREATE TABLE table_18950570_4 (
brazil_100_percentage__percent_of_the_population_ VARCHAR,
age_group VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what ae all of the brazil 100% where the age group is 15-17?
### Query: SELECT brazil_100_percen... |
### Context: CREATE TABLE table_name_21 (
timeslot VARCHAR,
calls VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the timeslot of calls of wrko
### Query: SELECT timeslot FROM table_name_21 WHERE calls = "wrko" |
### Context: CREATE TABLE table_name_38 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record at the game on November 13, 1932?
### Query: SELECT record FROM table_name_38 WHERE date = "november 13, 1932" |
### Context: CREATE TABLE table_name_78 (
score VARCHAR,
date VARCHAR,
competition_round VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the copa libertadores group 4 competition round on 14 March 1972 with univ... |
### 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 table_78455 (
"League" text,
"Sport" text,
"Season" text,
"Total attendance" text,
"Average attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest average attendance in the 2009 season?
### Query: ... |
### Context: CREATE TABLE table_21458142_1 (
publisher VARCHAR,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who published the title in the pet-raising simulator genre?
### Query: SELECT publisher FROM table_21458142_1 WHERE genre = "Pet-raising sim... |
### Context: CREATE TABLE table_26301697_2 (
represents VARCHAR,
contestant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of represents for clary sermina delgado cid
### Query: SELECT COUNT(represents) FROM table_26301697_2 WHERE cont... |
### Context: CREATE TABLE Ref_Detention_Type (
detention_type_code VARCHAR(10),
detention_type_description VARCHAR(80)
)
CREATE TABLE Assessment_Notes (
notes_id INTEGER,
student_id INTEGER,
teacher_id INTEGER,
date_of_notes DATETIME,
text_of_notes VARCHAR(255),
other_details VARCHAR(25... |
### Context: CREATE TABLE table_10416547_1 (
music_genre_style VARCHAR,
lyrics_theme_style VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of music genre/style in which the lyrics are a detective story?
### Query: SELECT COUNT(music_... |
### Context: CREATE TABLE table_75117 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game with a score of 7 6?
### Query: SELECT "Opponent" FROM table_7... |
### Context: CREATE TABLE table_name_22 (
byes VARCHAR,
draws INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many byes when the draws are less than 0?
### Query: SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0 |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalp... |
### 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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intake... |
### Context: CREATE TABLE table_38040 (
"Name" text,
"Goals" real,
"Caps" real,
"First cap" text,
"Latest cap" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the first cap associated with 74 caps?
### Query: SELECT "First cap" FROM table_3... |
### Context: CREATE TABLE table_33949 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament features the partner julian knowle?
#... |
### Context: CREATE TABLE table_name_66 (
singapore_gross VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the directed by 1991, what was the gross in Singapore?
### Query: SELECT singapore_gross FROM table_name_66 WHERE director = "1991... |
### Context: 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 t... |
### Context: CREATE TABLE table_18233 (
"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.
-- Name the incumbent for first elected 1958
### Query: SELEC... |
### Context: CREATE TABLE staff (
staff_id number,
staff_first_name text,
staff_last_name text,
other_staff_details text
)
CREATE TABLE problems (
problem_id number,
product_id number,
closure_authorised_by_staff_id number,
reported_by_staff_id number,
date_problem_reported time,
... |
### 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 list (
LastName TEXT,
FirstName TEXT,
Grade INTEGER,
Classroom INTEGER
)
CREATE TABLE teachers (
LastName TEXT,
FirstName TEXT,
Classroom INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Scatter plot to show class... |
### Context: CREATE TABLE table_name_14 (
venue VARCHAR,
opposing_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Venue for Hawke's bay?
### Query: SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay" |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number ... |
### Context: CREATE TABLE table_name_2 (
team_1 VARCHAR,
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team was team 1 that had a team 2 that was la nuova piovese (veneto a)?
### Query: SELECT team_1 FROM table_name_2 WHERE team_2 = "la nuova ... |
### Context: CREATE TABLE table_26129220_2 (
party VARCHAR,
residence VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many party classifications are there for the senator from Canton?
### Query: SELECT party FROM table_26129220_2 WHERE residence = "Canto... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title 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_30935 (
"Series #" real,
"Production Code" real,
"Title" text,
"Directed by" text,
"Written by" text,
"United States Original Airdate" text,
"Canada Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_name_14 (
location VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did sohn bong-gak win silver?
### Query: SELECT location FROM table_name_14 WHERE silver = "sohn bong-gak" |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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... |
### 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_76074 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks have october 31, 1954 as the date?
### Query: SELECT COUNT("Week") FROM tab... |
### Context: CREATE TABLE table_2342 (
"English title" text,
"Russian title" text,
"Published in Russian" text,
"Published in English" text,
"Type of work" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when type of work is novel and published in en... |
### Context: CREATE TABLE table_name_52 (
total INTEGER,
country VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total sum of the player from the United States who won in 1986?
### Query: SELECT SUM(total) FROM table_name... |
### Context: CREATE TABLE table_name_36 (
points_for VARCHAR,
played_in VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the played in, what are the total points?
### Query: SELECT points_for FROM table_name_36 WHERE played_in = "total" |
### Context: CREATE TABLE table_58323 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of race that has a winning driver of Stirl... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
charget... |
### Context: CREATE TABLE table_71719 (
"Rank" real,
"Player" text,
"Games" real,
"Goals" real,
"Goal Ratio" real,
"Debut in Europe" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lowest games have a Goal Ratio of 0, and Goals smaller than ... |
### Context: CREATE TABLE table_68509 (
"Date" text,
"Course" text,
"Distance" text,
"Winner" text,
"Race Leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winner for rest day race leader
### Query: SELECT "Winner" FROM table_68509 WH... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_203_612 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many countries have earned over a hundred medals... |
### Context: CREATE TABLE table_name_22 (
english_meaning VARCHAR,
full_word VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is English Meaning, when Full Word is 'Shens Gamo'?
### Query: SELECT english_meaning FROM table_name_22 WHERE full_word = "shen... |
### Context: CREATE TABLE table_name_46 (
source VARCHAR,
undecided VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Source has a Undecided of 2%?
### Query: SELECT source FROM table_name_46 WHERE undecided = "2%" |
### Context: CREATE TABLE table_name_64 (
opponent VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent during the second round?
### Query: SELECT opponent FROM table_name_64 WHERE round = "second round" |
### Context: CREATE TABLE table_36353 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Partner of sorana c rstea?
### Query: SELECT "Surf... |
### Context: CREATE TABLE table_57982 (
"Block A" text,
"Ryuji Hijikata" text,
"Shuji Kondo" text,
"MAZADA" text,
"El Samurai" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14... |
### 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 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... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium t... |
### 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_name_99 (
end_date VARCHAR,
to_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A player was moved to celtic had an end of what date?
### Query: SELECT end_date FROM table_name_99 WHERE to_club = "celtic" |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### 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_72878 (
"Fin. Pos" real,
"Car No." real,
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Laps Led" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tot... |
### Context: CREATE TABLE table_46371 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text,
"Streak" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the green ... |
### Context: CREATE TABLE table_63537 (
"Model number" text,
"sSpec number" text,
"Frequency" text,
"Turbo" text,
"Cores" real,
"L2 cache" text,
"L3 cache" text,
"I/O bus" text,
"Mult." text,
"Memory" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Part... |
### Context: CREATE TABLE table_name_79 (
assisted VARCHAR,
solo VARCHAR,
sack VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the assisted when the solo is 6 and sack is less than 5?
### Query: SELECT assisted FROM table_name_79 WHERE solo = 6 A... |
### Context: CREATE TABLE table_8519 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the school that played for the Grizzlie from 1995-1998?
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.