text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_55 (
location VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The event rip curl pro mademoiselle is in which location?
### Query: SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle... |
### Context: CREATE TABLE table_38753 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the cr... |
### Context: CREATE TABLE table_22973 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### 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_26974 (
"DS Division" text,
"Main Town" text,
"GN Divisions" real,
"Area (km 2 )" real,
"Sri Lankan Tamil" real,
"Sri Lankan Moors" real,
"Sinhalese" real,
"Indian Tamil" real,
"Other" real,
"Total" real,
"Population Density (/km 2 )" real
)
... |
### Context: CREATE TABLE table_70445 (
"Year" real,
"Champion" text,
"City" text,
"LLWS" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
###... |
### Context: CREATE TABLE table_name_76 (
iata VARCHAR,
icao VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is RJCM's IATA?
### Query: SELECT iata FROM table_name_76 WHERE icao = "rjcm" |
### Context: CREATE TABLE table_2534578_1 (
language VARCHAR,
reading VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the language score when the reading score was 94.47?
### Query: SELECT language FROM table_2534578_1 WHERE reading = "94.47" |
### Context: CREATE TABLE performance (
performance_id number,
date text,
host text,
location text,
attendance number
)
CREATE TABLE member_attendance (
member_id number,
performance_id number,
num_of_pieces number
)
CREATE TABLE member (
member_id text,
name text,
national... |
### Context: CREATE TABLE table_50346 (
"Callsign" text,
"Area served" text,
"Band" text,
"Freq currently" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Purpose of the Callsign with a Freq currently of 4rph?
### Query: ... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_23872 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Tar Heels points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were against Furman?
### Que... |
### Context: CREATE TABLE table_51367 (
"Year" real,
"Property Taxes" text,
"Investment Earnings" text,
"Other Local Sources" text,
"State & Federal" text,
"Total Revenue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the investment e... |
### Context: CREATE TABLE table_name_41 (
jockey VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the jockey for the winning horse Helioptic?
### Query: SELECT jockey FROM table_name_41 WHERE winner = "helioptic" |
### Context: CREATE TABLE table_name_73 (
director VARCHAR,
nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the director nominated for best actor in a leading role
### Query: SELECT director FROM table_name_73 WHERE nomination = "best acto... |
### Context: CREATE TABLE table_name_60 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2004 value with 2r in 1994?
### Query: SELECT 2004 FROM table_name_60 WHERE 1994 = "2r" |
### Context: CREATE TABLE table_name_13 (
drawn INTEGER,
points VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the drawn amount for teams with points of 12 and played smaller than 10?
### Query: SELECT AVG(drawn) FROM table_name... |
### Context: CREATE TABLE table_42201 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks had the Green Bay packers as opponents?
### Query: SELECT SUM("Week") FROM ... |
### Context: CREATE TABLE table_name_7 (
total_foreign_born__1000_ INTEGER,
country VARCHAR,
born_in_other_eu_state__1000_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) ... |
### 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 zyjzjlb (
YLJGDM tex... |
### 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 cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
ce... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
... |
### Context: CREATE TABLE table_23285805_8 (
high_assists VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the high assists when the team is Oklahoma City?
### Query: SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City" |
### Context: CREATE TABLE table_19170 (
"Song title" text,
"Artist" text,
"Language" text,
"Decade" text,
"Genre" text,
"Exportable" text,
"Family Friendly" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language for the glam genre?
##... |
### 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 table_train_91 (
"id" int,
"mini_mental_state_examination_mmse" int,
"stroke" bool,
"rosen_modified_hachinski_ischemic_score" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- rosen modified hachinski ischemic sc... |
### Context: CREATE TABLE table_22985 (
"Name" text,
"Completions" real,
"Attempts" real,
"Completion %" text,
"Yards" real,
"Touchdowns" real,
"Interceptions" real,
"QB Rating" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
... |
### Context: CREATE TABLE table_name_62 (
venue VARCHAR,
goal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue has a Goal of 4?
### Query: SELECT venue FROM table_name_62 WHERE goal = 4 |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_76810 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average score for the player who is T5 in the United States?
### Query: SELECT AV... |
### Context: CREATE TABLE table_15703 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank with poland as the nationality and a time greater than 55.34?
### Query... |
### Context: CREATE TABLE table_3814 (
"Sd" real,
"Rk" real,
"Player" text,
"Points" real,
"Points defending" text,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Kaia Kanepi's Sd?
#... |
### Context: CREATE TABLE diagnoses (
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,
reli... |
### Context: CREATE TABLE addresses (
address_id text,
line_1 text,
line_2 text,
city_town text,
state_county text,
other_details text
)
CREATE TABLE performers_in_bookings (
order_id number,
performer_id number
)
CREATE TABLE bookings (
booking_id number,
customer_id number,
... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE ... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_6061 (
"Game" real,
"April" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game took place April 6?
### Query: SELECT "Game" FROM table_6061 WHERE "April" = '6' |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE gwyjzb (
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_name_70 (
home__1st_leg_ VARCHAR,
aggregate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team played their first leg at home with an aggregate score of 3-4?
### Query: SELECT home__1st_leg_ FROM table_name_70 WHERE ag... |
### Context: CREATE TABLE table_25525 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 129 is the number in the series who ... |
### Context: CREATE TABLE table_name_69 (
category VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Category of the Rodez, France Tournament?
### Query: SELECT category FROM table_name_69 WHERE tournament = "rodez, france" |
### Context: CREATE TABLE table_24725951_1 (
episode VARCHAR,
celebrities VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which episode had celebrities Nick Hewer and Saira Khan in them?
### Query: SELECT episode FROM table_24725951_1 WHERE celebrities = "Ni... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALA... |
### 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_92 (
rating INTEGER,
rank__timeslot_ VARCHAR,
rank__night_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?
### Query: SEL... |
### 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_name_70 (
points INTEGER,
entrant VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total points that an 1951 Entrant alfa romeo spa have?
### Query: SELECT SUM(points) FROM table_name_70 WHERE entr... |
### Context: CREATE TABLE review (
name VARCHAR,
u_id VARCHAR
)
CREATE TABLE useracct (
name VARCHAR,
u_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names of users who did not leave any review.
### Query: SELECT name FROM useracct WHE... |
### Context: CREATE TABLE table_name_15 (
goals_scored VARCHAR,
points VARCHAR,
draws VARCHAR,
loses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of goals scored of the club with more than 3 draws, more than 1 loses, and le... |
### Context: CREATE TABLE table_23032 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name ... |
### Context: CREATE TABLE table_name_29 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2006 has 0-0 as the 2011?
### Query: SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0" |
### Context: CREATE TABLE table_name_33 (
competition VARCHAR,
score VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Score of 0-1, and Opponents of pkns fc?
### Query: SELECT competition FROM table_name_33 WHERE... |
### Context: CREATE TABLE table_25517718_3 (
extra_points INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of extra points for a left halfback?
### Query: SELECT MIN(extra_points) FROM table_25517718_3 WHERE posit... |
### Context: CREATE TABLE table_name_27 (
venue VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue featured north melbourne as the away side?
### Query: SELECT venue FROM table_name_27 WHERE away_team = "north melbourne" |
### Context: CREATE TABLE table_16400 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest selection number for the saskatchewan roughriders team?
### Query: ... |
### Context: CREATE TABLE table_18012 (
"Release" text,
"Title" text,
"Windows" text,
"5th Gen" text,
"6th Gen" text,
"Handheld" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Was the release on April 8 available on Windows?
### Query: SELECT "... |
### Context: CREATE TABLE endowment (
donator_name VARCHAR,
amount INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List each donator name and the amount of endowment in descending order of the amount of endowment.
### Query: SELECT donator_name, SUM(amount) ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagn... |
### Context: CREATE TABLE table_name_10 (
crew_chief VARCHAR,
team VARCHAR,
driver_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver?
### Query: SE... |
### Context: CREATE TABLE table_name_97 (
total INTEGER,
nation VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total of kyrgyzstan with a Silver smaller than 0?
### Query: SELECT AVG(total) FROM table_name_97 WHERE nation = "... |
### Context: CREATE TABLE table_11964263_13 (
game INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minimum game
### Query: SELECT MIN(game) FROM table_11964263_13 |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
C... |
### Context: CREATE TABLE mzb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_name_93 (
others VARCHAR,
fidesz VARCHAR,
jobbik VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?
### Query: SELECT others FROM table_name_93 WHERE f... |
### Context: CREATE TABLE management (
department_ID int,
head_ID int,
temporary_acting text
)
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE head (
head_ID int,
name text,
b... |
### Context: CREATE TABLE table_51420 (
"Player" text,
"Position" text,
"Tries" real,
"Goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries... |
### Context: CREATE TABLE table_68026 (
"Year" real,
"Result" text,
"Award" text,
"Category" text,
"Nominated work" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the category that has the people's choice awards?
### Query: SELECT "Category... |
### Context: CREATE TABLE table_269888_1 (
no_of_s_barangay VARCHAR,
pop_density__per_km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of barangay for 205.4 density
### Query: SELECT no_of_s_barangay FROM table_269888_1 WHERE pop_density_... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_name_10 (
position_in_1998 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position of the Slavia team in 1998?
### Query: SELECT position_in_1998 FROM table_name_10 WHERE team = "slavia" |
### 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 table_name_73 (
partner VARCHAR,
outcome VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Partner, when Outcome is Winner, and when Date is 12 October 2003?
### Query: SELECT partner FROM table_name_73 WHERE... |
### Context: CREATE TABLE table_77613 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the city of license with frequency of Mhz of 90... |
### Context: CREATE TABLE table_name_67 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when Spennymoor United as the away team?
### Query: SELECT score FROM table_name_67 WHERE away_team = "spennymoor united" |
### 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... |
### Context: CREATE TABLE playlist (
playlistid number,
name text
)
CREATE TABLE customer (
customerid number,
firstname text,
lastname text,
company text,
address text,
city text,
state text,
country text,
postalcode text,
phone text,
fax text,
email text,
s... |
### Context: CREATE TABLE table_25688 (
"Episode Number" text,
"Title" text,
"Villains" text,
"Director" text,
"Writer" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the villains in 'the others'?
### Query: SEL... |
### Context: CREATE TABLE table_50163 (
"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_name_26 (
final_score VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of the game at Texas Stadium?
### Query: SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" |
### Context: CREATE TABLE table_38452 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a Record of 27-11-10?
### Query: SELECT AVG("Game") FROM table_38452 WHERE "Rec... |
### Context: CREATE TABLE table_26375386_28 (
average VARCHAR,
number_of_dances VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every average when number of dances is 1?
### Query: SELECT average FROM table_26375386_28 WHERE number_of_dances = 1 |
### 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_46974 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year was the Game on September 26?
### Query: SELECT SUM("Year") FRO... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE prereq (
course_id text,
prereq_id text
)
CREATE TABLE takes (
id text,
course_id text,
sec_id text,
semester text,
year number,
grade text
)
CREATE TABLE teaches (
id text,
course_id text,
sec_id text,
semester text,
year number
)
CREATE ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE table_17323092_6 (
location_attendance VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location and attendance for the Orlando team?
### Query: SELECT location_attendance FROM table_17323092_6 WHERE team = ... |
### Context: CREATE TABLE table_9646 (
"Lane" real,
"Name" text,
"Country" text,
"Mark" real,
"React" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Mark, when Country is 'Russia', and when React is less than 0.165?
### ... |
### Context: CREATE TABLE Documents_with_Expenses (
Document_ID INTEGER,
Budget_Type_Code CHAR(15),
Document_Details VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description ... |
### Context: CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagn... |
### Context: CREATE TABLE table_63476 (
"District" real,
"Incumbent" text,
"2008 Status" text,
"Democratic" text,
"Republican" text,
"Green" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the 2008 Status of Rosa Delauro?
### Query: SELEC... |
### Context: CREATE TABLE table_48702 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the pe... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.