text stringlengths 197 8.39k |
|---|
### 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 employee (
emp_num number,
emp_lname text,
emp_fname text,
emp_initial text,
emp_jobcode text,
emp_hiredate time,
emp_dob time
)
CREATE TABLE class (
class_code text,
crs_code text,
class_section text,
class_time text,
class_room text,
prof_... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name ... |
### Context: CREATE TABLE county (
county_id number,
county_name text,
population number,
zip_code text
)
CREATE TABLE election (
election_id number,
counties_represented text,
district number,
delegate text,
party number,
first_elected number,
committee text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_36 (
week VARCHAR,
venue VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?
### Query: SELECT ... |
### Context: CREATE TABLE table_204_123 (
id number,
"week" number,
"date" text,
"kickoff" text,
"opponent" text,
"results\nfinal score" text,
"results\nteam record" text,
"game site" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE bdmzjzjlb (
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 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 salary (
year number,
team_id text,
league_id text,
player_id text,
salary number
)
CREATE TABLE manager_award_vote (
award_id text,
year number,
league_id text,
player_id text,
points_won number,
points_max number,
votes_first number
)
CREATE ... |
### 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 table_66233 (
"Year" real,
"Stage" real,
"Start" text,
"Finish" text,
"Leader at the summit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was finish Toulouse, and stage was larger than 12?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_36288 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHICH Outcome IS ON 18 july 1993?
### Query: SELECT "Outcome" FROM t... |
### 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_48 (
wins VARCHAR,
draws INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Wins, when Draws is less than 2?
### Query: SELECT COUNT(wins) FROM table_name_48 WHERE draws < 2 |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime t... |
### Context: CREATE TABLE table_66047 (
"Hull Number" text,
"Name" text,
"Builder" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the USS Cambridge laid down?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_89 (
rank INTEGER,
player VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of Lee Trevino, who had less than 27 wins?
### Query: SELECT SUM(rank) FROM table_name_89 WHERE player = "lee tr... |
### Context: CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
P... |
### Context: CREATE TABLE table_1507852_5 (
cancelable VARCHAR,
bubbles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the cancelable with bubbles being yes
### Query: SELECT cancelable FROM table_1507852_5 WHERE bubbles = "Yes" |
### 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 table_37107 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest numbered pick from round 7?
### Query: SELECT MAX("Pick") FR... |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### 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 diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_name_38 (
premiere VARCHAR,
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the premiere that had a 20.9 rating?
### Query: SELECT premiere FROM table_name_38 WHERE rating = "20.9" |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
end_station_id INTEGER,
bike_id INTEGER,
subscription_type TEXT,
zip_code INTEGER
)
CREATE TABLE station (... |
### 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_28062 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many field goals did Donald Green score?
### Query: SELECT COUNT("Field g... |
### Context: CREATE TABLE aircraft (
Aircraft VARCHAR,
Aircraft_ID VARCHAR
)
CREATE TABLE MATCH (
Location VARCHAR,
Winning_Aircraft VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Please list the location and the winning aircraft name.
### Query: S... |
### Context: CREATE TABLE table_name_60 (
lms_spr VARCHAR,
car_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the LMS SPR when the car number was 15?
### Query: SELECT lms_spr FROM table_name_60 WHERE car_no = "15" |
### Context: CREATE TABLE table_77470 (
"Team" text,
"Athletes" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Run 4" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Run 4 has a Run 3 of 1:26.63?
### Query: SELECT "Run ... |
### 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_80101 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Before 1956, what Chassis has Gordini Straight-4 engine with 3 points?
### Query: SELECT "Ch... |
### 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_4 (
rank INTEGER,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of American Pie 2?
### Query: SELECT MIN(rank) FROM table_name_4 WHERE title = "american pie 2" |
### Context: CREATE TABLE table_60905 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total for the wc belgrade event with 10 rank points?
### Query: SELECT ... |
### 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 table_54933 (
"Year" text,
"Team" text,
"Comp" text,
"Rate" text,
"RAtt" text,
"RYds" text,
"RAvg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the comp 33?
### Query: SELECT "Year" FROM table_54933... |
### Context: CREATE TABLE table_15615 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a Record of 22-22?
### Query: SELECT "Date" FROM table_15... |
### Context: CREATE TABLE table_name_12 (
round VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round did the spartak moscow club play?
### Query: SELECT round FROM table_name_12 WHERE club = "spartak moscow" |
### Context: CREATE TABLE table_72293 (
"Season" text,
"League" text,
"Rank" real,
"Games" real,
"Points" real,
"GF" real,
"GA" real,
"Manager" text,
"Top Scorer" text,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who i... |
### Context: CREATE TABLE table_20385 (
"N\u00b0" real,
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"DAR" text,
"HDTV" text,
"PPV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_1181375_1 (
builder VARCHAR,
withdrawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the builder where withdrawn is 1954 1958
### Query: SELECT builder FROM table_1181375_1 WHERE withdrawn = "1954–1958" |
### Context: CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE train (
id int,
train_number int,
name text,
origin text,
destination text,
time text,
interval text... |
### Context: CREATE TABLE club (
clubid number,
clubname text,
clubdesc text,
clublocation text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE member_of_club (
stuid nu... |
### Context: CREATE TABLE table_name_94 (
date VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the Outback Steakhouse Pro-Am Tournament?
### Query: SELECT date FROM table_name_94 WHERE tournament = "outback steakhouse ... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturet... |
### Context: CREATE TABLE table_41009 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Conference Matchups" text,
"Payout ( US$ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium was the December ... |
### Context: CREATE TABLE table_name_37 (
third INTEGER,
club VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of third place earned for the Es Sahel at a rank less than 3?
### Query: SELECT MIN(third) FROM table_... |
### Context: CREATE TABLE table_17625749_1 (
club VARCHAR,
tries_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the club for when tries for is 32
### Query: SELECT club FROM table_17625749_1 WHERE tries_for = "32" |
### Context: CREATE TABLE table_17209 (
"Round" real,
"Overall" text,
"Player" text,
"Position" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is the player Jordan Fransoo in?
### Query: SELEC... |
### Context: CREATE TABLE table_name_71 (
competition VARCHAR,
venue VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
### Query: SELECT competition FROM table_name_71 W... |
### Context: CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_dat... |
### Context: CREATE TABLE table_204_871 (
id number,
"ano" text,
"title" text,
"role" text,
"channel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tv shows did natalia oreiro between 1998 and 2002 ?
### Query: SELECT CO... |
### Context: CREATE TABLE table_8011 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when Grimsby Town is the home team?
### Query: SELECT "Date" FROM table_8... |
### Context: CREATE TABLE table_21956 (
"Name" text,
"Map colour" text,
"First operated" real,
"Type" text,
"Length" text,
"No. Sta" real,
"Current Stock" text,
"Future Stock" text,
"Trips per annum (\u00d71000)" real,
"Avg. trips per mile (\u00d71000)" real
)
-- Using valid SQ... |
### Context: CREATE TABLE table_1000181_1 (
current_series VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current series where the new series began in June 2011?
### Query: SELECT current_series FROM table_1000181_1 WHERE notes = ... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE fare_ba... |
### Context: CREATE TABLE table_204_795 (
id number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"location" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team did this team face against next after b... |
### Context: CREATE TABLE table_54709 (
"Catches" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date had a versus of source: cricinfo.com?
### Query: SELECT "Date" FROM table_54709 WHER... |
### Context: CREATE TABLE table_16698 (
"Year" real,
"Winners" text,
"Grand Finalist" text,
"Scores" text,
"Venue" text,
"Crowd" real,
"Margin" real,
"Season Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the grand finalis... |
### Context: CREATE TABLE table_12283 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Venue with the Friendly Competition?
### Query: SELECT "Venue" FROM table_12283... |
### Context: CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHA... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
... |
### Context: CREATE TABLE table_name_38 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the match played on 5 September 2001?
### Query: SELECT score FROM table_name_38 WHERE date = "5 september 2001" |
### Context: CREATE TABLE table_69759 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of matches played that has a year of first match before 2000, fewer than... |
### Context: CREATE TABLE table_name_66 (
against INTEGER,
played VARCHAR,
drawn VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average against that has a drawn less than 7, points greater than 22, and 19 for the played?
... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_67 (
round INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round played by Chris Phillips?
### Query: SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips" |
### Context: CREATE TABLE course (
course_id VARCHAR,
dept_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different courses offered by Physics department?
### Query: SELECT COUNT(DISTINCT course_id) FROM course WHERE dept_name = 'Physics' |
### Context: CREATE TABLE table_34236 (
"Season" text,
"Order" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Penalties" real,
"Points For" real,
"Points Against" real,
"Points Diff" real,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE table_train_53 (
"id" int,
"immune_suppression" bool,
"need_hemodialysis" bool,
"steroid_therapy" bool,
"cardiogenic_shock" bool,
"hematologic_disease" bool,
"coronary_syndrome" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_30552 (
"#" real,
"Player" text,
"Country" text,
"Points" real,
"Reset points" real,
"Events" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the person there the numbers is 2343
### Query: SELECT "Player"... |
### Context: CREATE TABLE table_23329 (
"(Virtual)" text,
"Callsign" text,
"Affiliation" text,
"Branding" text,
"Channel" text,
"Programming" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the virtual callsign if is wne... |
### Context: CREATE TABLE table_name_7 (
pick VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick number for the kicker in round 8?
### Query: SELECT COUNT(pick) FROM table_name_7 WHERE round = "round 8" AND... |
### Context: CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS v... |
### 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_2758 (
"Pos" text,
"##" real,
"Name" text,
"Team" text,
"Lap One" text,
"Lap Two" text,
"Lap Three" text,
"Lap Four" text,
"Total Time" text,
"Avg. Speed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### 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 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 table_37550 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did Yugoslavia play Luxembourg?
### Query: SELECT "Date" FROM table_3755... |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
booking_start_date DATETIME,
booking_end_date DATETIME
)
CREATE TABLE Apar... |
### Context: CREATE TABLE table_name_85 (
lungchang VARCHAR,
halang VARCHAR,
rera VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lungchang has a Halang of , and a Rera of o ?
### Query: SELECT lungchang FROM table_name_85 WHERE halang = "ʒɯ²" AND ... |
### Context: CREATE TABLE table_68773 (
"Estimate" text,
"Name" text,
"Nat." text,
"Ship type" text,
"Where sunk" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nation had a ship named Roma?
### Query: SELECT "Nat." FROM table... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc ... |
### 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 wdmzjzjlb (
CYBQDM t... |
### Context: CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE table_15887683_17 (
dar VARCHAR,
television_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the dar for telenord
### Query: SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord" |
### Context: CREATE TABLE table_name_81 (
position VARCHAR,
birthplace VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Position of the person with a birthplace of phoenix, new york?
### Query: SELECT position FROM table_name_81 WHERE birthplace =... |
### 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 table_name_50 (
against INTEGER,
wins VARCHAR,
draws VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?
### Query: SE... |
### 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 table_name_35 (
builder VARCHAR,
country VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Builder, when Country is 'United Kingdom', and when Location is 'Chatham, Kent'?
### Query: SELECT builder FROM t... |
### Context: CREATE TABLE table_8560 (
"Episode Number" real,
"Air Date" text,
"Event 1" text,
"Event 2" text,
"Event 3" text,
"Event 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest episode aired on 8 June 2008?
### Query... |
### Context: CREATE TABLE table_71446 (
"Tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ... |
### Context: CREATE TABLE table_name_20 (
elevation VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the elevation for oslo
### Query: SELECT elevation FROM table_name_20 WHERE county = "oslo" |
### Context: CREATE TABLE table_73201 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"Television order" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who wrote s01e06
##... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.