text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_9 (
points_against VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With the lost of 3, how many points?
### Query: SELECT points_against FROM table_name_9 WHERE lost = "3" |
### Context: CREATE TABLE table_4852 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the home team of Richmond p... |
### Context: CREATE TABLE table_22833 (
"\u5366\u540d Name" text,
"\u81ea\u7136 Nature" text,
"\u5b63\u8282 Season" text,
"\u6027\u60c5 Personality" text,
"\u5bb6\u65cf Family" text,
"\u65b9\u4f4d Direction" text,
"\u610f\u7fa9 Meaning" text
)
-- Using valid SQLite, answer the following qu... |
### 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 PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE T... |
### Context: CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE aircraft (
aid number,
name text,
distance number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
... |
### Context: CREATE TABLE table_2509113_2 (
vinto_municipality INTEGER,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the language is Spanish, what is the Vinto Municipality minimum?
### Query: SELECT MIN(vinto_municipality) FROM table_2509113_... |
### Context: CREATE TABLE table_11266 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Home Team has an Away Score of 7.2 (44)?
### Q... |
### Context: CREATE TABLE table_25775 (
"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 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_58169 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the person with a qual 1 time of 1:16.850?
### Query: SELECT "Name" FROM table... |
### 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 table_204_915 (
id number,
"draw" number,
"artist" text,
"song" text,
"points" number,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many artists scored more than 30 points ?
### Query: SELECT COUNT("artis... |
### Context: CREATE TABLE table_36688 (
"Rank" real,
"Name" text,
"Nationality" text,
"1st (m)" real,
"2nd (m)" real,
"Points" real,
"Overall FHT points" text,
"Overall WC points (Rank)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### 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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
char... |
### Context: CREATE TABLE table_39578 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of top-25s for the major t... |
### 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_2827 (
"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 above... |
### Context: CREATE TABLE table_2140071_10 (
episode VARCHAR,
coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of episode summary for jesse csincsak
### Query: SELECT COUNT(episode) AS Summary FROM table_2140071_10 WHERE coach = "Jesse C... |
### 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_26346 (
"Music Library" text,
"Year" real,
"Media type" text,
"Name of the media" text,
"Composition name" text,
"Composer" text,
"Genre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every compositio... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
### 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 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_23704 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Spanish title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Spanish title of the film whose title us... |
### Context: CREATE TABLE table_1473672_9 (
player VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the player with pick # being 132
### Query: SELECT player FROM table_1473672_9 WHERE pick__number = 132 |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
s... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_name_38 (
competition VARCHAR,
opponents VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has Opponents of pkns fc, and a Score of 0-0?
### Query: SELECT competition FROM table_name_38 WHERE... |
### 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE table_name_77 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent on October 28, 2001?
### Query: SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001" |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
... |
### Context: CREATE TABLE table_50491 (
"Position" real,
"Equipment" text,
"Points" real,
"Wins" text,
"Second" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Equipment, when Position is greater than 28, and when Points is ... |
### Context: CREATE TABLE table_name_28 (
ast_avg INTEGER,
player VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many assists does cam long average in under 132 games?
### Query: SELECT MAX(ast_avg) FROM table_name_28 WHERE player = "... |
### Context: CREATE TABLE table_name_61 (
partial_thromboplastin_time VARCHAR,
condition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Partial thromboplastin time has a Condition of liver failure , early?
### Query: SELECT partial_thromboplastin_time... |
### Context: CREATE TABLE table_name_12 (
country VARCHAR,
language VARCHAR,
television_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country when the language is italian english, and the television service is disney xd +1?
### Quer... |
### Context: CREATE TABLE table_name_49 (
wchmp INTEGER,
podiums VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If podiums are 26, what's the lowest WChmp?
### Query: SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26 |
### Context: CREATE TABLE table_name_68 (
water__sqmi_ INTEGER,
land___sqmi__ VARCHAR,
longitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115... |
### Context: CREATE TABLE table_70103 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2011 for tokyo tournament
### Query: SELECT "2011" FROM table_70103 WH... |
### Context: CREATE TABLE table_28544 (
"Round" text,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date is the winning tea... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time... |
### Context: CREATE TABLE table_57799 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the Rockies play the Giants with an attendance over 24,100?
###... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE VoteTypes (
Id number,
Name t... |
### Context: CREATE TABLE table_name_63 (
birthdate VARCHAR,
defining_characteristics VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the birth date of the member with the Defining characteristic of pink hair?
### Query: SELECT birthdate FROM table_n... |
### Context: CREATE TABLE table_203_146 (
id number,
"year" number,
"association" text,
"category" text,
"nominated work" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which association awarded jones ' first award after the year ... |
### 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 jybgb_jyjgzbb (
JYZB... |
### Context: CREATE TABLE table_name_87 (
week_3_sept_14 VARCHAR,
week_6_oct_5 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
### Query: SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "... |
### Context: CREATE TABLE table_58320 (
"Date" text,
"Pilot" text,
"Weapon Systems Officer" text,
"Aircraft" text,
"Tail Code" text,
"Call Sign" text,
"Kill" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which aircraft Weapon Systems Office... |
### Context: CREATE TABLE table_2226817_12 (
title VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the episode whose premiere was in march 2, 1997?
### Query: SELECT title FROM table_2226817_12 WHERE original_ai... |
### Context: CREATE TABLE table_27072 (
"Team" text,
"Hosted" real,
"Average" real,
"Highest" real,
"Lowest" real,
"Total" real,
"Last Year" real,
"Up/Down" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has an up/down of + 34... |
### Context: CREATE TABLE table_66490 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Pick does the College Southeastern Louisiana have?
### Query: SELECT "Pick" FROM table_6... |
### Context: CREATE TABLE table_20774 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text,
"Home Rink" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_1 (
season INTEGER,
winners VARCHAR,
fourth_placed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th?
### Query: SELECT SUM(season) FROM table_n... |
### Context: CREATE TABLE university (
enrollment INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total and minimum enrollment of all schools?
### Query: SELECT SUM(enrollment), MIN(enrollment) FROM university |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender tex... |
### Context: CREATE TABLE track (
LOCATION VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are distinct locations where tracks are located?
### Query: SELECT DISTINCT LOCATION FROM track |
### Context: CREATE TABLE table_6355 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_39 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On August 22, how many people came to the game?
### Query: SELECT attendance FROM table_name_39 WHERE date = "august 22" |
### Context: CREATE TABLE table_name_11 (
attendance INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attendances had the Detroit Lions as opponents?
### Query: SELECT SUM(attendance) FROM table_name_11 WHERE opponent = "detroit lio... |
### Context: CREATE TABLE table_20704243_6 (
title VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode did John Rogers direct?
### Query: SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers" |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
me... |
### Context: CREATE TABLE table_name_42 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for April 21?
### Query: SELECT record FROM table_name_42 WHERE date = "april 21" |
### Context: CREATE TABLE table_77118 (
"Day 1" text,
"Day 2" text,
"Day 3" text,
"Day 4" text,
"Day 5" text,
"Wednesday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Wednesday when day 3 is math?
### Query: SELECT "Wednesday" FRO... |
### Context: CREATE TABLE table_9468 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Away has a Score of 1:2, and a Home of vida?
### Query: SELECT "Away" FROM table_9468 WHER... |
### Context: CREATE TABLE table_24011830_2 (
world_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 26 august 2005 asian record
### Query: SELECT 26 AS _august_2005 FROM table_24011830_2 WHERE world_record = "Asian record" |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### Context: CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### 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_26003 (
"Round" real,
"Finishing Date" text,
"Rally Name" text,
"Rally Base" text,
"Surface" text,
"Support Category" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name surface for 8 round
### Query: SELECT "Sur... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId n... |
### 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 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_53538 (
"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 grid when the laps is 2?
### Query: SELECT "Grid" FROM table_53538 WHERE ... |
### Context: CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INTEGER,
Planned_Destruction_Date DATETIME,
Actual_Destruction_Date DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE Roles (
Role_Code CHAR(1... |
### Context: CREATE TABLE table_name_24 (
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which grid has a time/retired of +27.347?
### Query: SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = "+27.347" |
### Context: CREATE TABLE table_24307126_3 (
april_2013_cum_rank VARCHAR,
rank_2012 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of rank for april 2013 for 2012 ran kbeing 225
### Query: SELECT COUNT(april_2013_cum_rank) FROM table_2430712... |
### 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 requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### 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 jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputG... |
### 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_name_37 (
result VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?
### Query: SELE... |
### Context: CREATE TABLE table_name_93 (
previous_conference VARCHAR,
year_joined VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the previous conference for the school that joined in 2000 with a millers mascot?
### Query: SELEC... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
Dup... |
### Context: CREATE TABLE table_14505 (
"Status" text,
"Name" text,
"First Performance" text,
"Last Performance" text,
"Style" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the Last Ballet Style Performance of Rhys kosakowski as... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_44053 (
"Game" real,
"Date" text,
"Opponent" 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 ... |
### Context: CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
year int
)
CREATE TABLE publication_keyword (
kid int,
pid int
)
CREATE TABLE domain_keyword (
did int,
kid int
)
CREATE TABLE domai... |
### Context: CREATE TABLE table_22968 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_dev_12 (
"id" int,
"systolic_blood_pressure_sbp" int,
"creatinine_clearance_cl" float,
"allergy_to_glucagon" bool,
"platelet_count" float,
"diastolic_blood_pressure_dbp" int,
"insulin_requirement" float,
"adverse_reaction_to_glucagon" bool,
"NOUSE" flo... |
### Context: CREATE TABLE table_name_78 (
record VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Team is '@ Atlanta'?
### Query: SELECT record FROM table_name_78 WHERE team = "@ atlanta" |
### Context: CREATE TABLE table_name_26 (
peak VARCHAR,
prom__m_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the peak for prom being less than 147
### Query: SELECT peak FROM table_name_26 WHERE prom__m_ < 147 |
### Context: CREATE TABLE table_14648 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Austria-Marlboro BRM get more than 0 points?
### Query: SELECT AVG("Year") FRO... |
### Context: CREATE TABLE table_1008653_1 (
country___exonym__ VARCHAR,
official_or_native_language_s___alphabet_script_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the English name of the country whose official native language is Dutch Papiamento... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.