text stringlengths 197 8.39k |
|---|
### 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_58544 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machine_series text,
value_points real,
quality_rank int
)
CREATE TABLE repair_a... |
### Context: CREATE TABLE table_name_79 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2009 value with a 2010 A value?
### Query: SELECT 2009 FROM table_name_79 WHERE 2010 = "a" |
### Context: CREATE TABLE table_name_78 (
laps VARCHAR,
grid VARCHAR,
bike VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Using a Ducati 999 F06 Bike, how many Laps with a Grid greater than 11 and Time of +53.488?
### Query: SELECT COU... |
### Context: CREATE TABLE table_name_34 (
japanese_title VARCHAR,
romaji_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With the Romaji title of Hanayome Wa Yakudoshi!, what is the Japanese title?
### Query: SELECT japanese_title FROM table_name_34 WH... |
### Context: CREATE TABLE table_15431122_2 (
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum number of wins?
### Query: SELECT MIN(wins) FROM table_15431122_2 |
### Context: CREATE TABLE table_name_38 (
rank INTEGER,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of a mountain range located in Maine?
### Query: SELECT AVG(rank) FROM table_name_38 WHERE state = "maine" |
### 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 region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE member (
Memb... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: CREATE TABLE table_66528 (
"Airing date" text,
"English title (Chinese title)" text,
"Number of episodes" real,
"Theme song (T) Sub-theme song (ST)" text,
"Genre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Genre has an English... |
### Context: CREATE TABLE table_48048 (
"Month" text,
"Births" text,
"Deaths" text,
"Rate (%)" text,
"Sort restore" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sort value that had deaths of 71?
### Query: SELECT "Sort restore" FROM t... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABL... |
### Context: CREATE TABLE table_24745 (
"Date" text,
"Event #" text,
"Event" text,
"Winner" text,
"Prize" text,
"Entries" text,
"Prize Pool" text,
"Elapsed Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won a prize pool of $61,... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE table_name_54 (
television_service VARCHAR,
package_option VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Television Service, when Package/Option is Sky Famiglia, and when Language is Italian?
### Quer... |
### 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 table_25570 (
"R" real,
"Player" text,
"Position" text,
"League" real,
"Champions League" real,
"Copa del Rey" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the position is AM and the league is lar... |
### Context: CREATE TABLE table_42896 (
"Year" real,
"Award" text,
"Category" text,
"Recipient" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was The Suite Life on Deck nominated for later than 2010?
### Query: SELECT ... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### Context: CREATE TABLE table_name_51 (
year_erected VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year did enrique alciati make a statue
### Query: SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati" |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
... |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course (
course_id int,
name var... |
### Context: CREATE TABLE table_31116 (
"Provider" text,
"Country" text,
"Subscribers (2005) (thousands)" real,
"Subscribers (2006) (thousands)" real,
"Growth %" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 2006 subscribers are named Voda... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines... |
### Context: CREATE TABLE conference (
cid int,
homepage varchar,
name varchar
)
CREATE TABLE writes (
aid int,
pid int
)
CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
year int
)
CREATE T... |
### Context: CREATE TABLE table_70140 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"First elected" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the State, when the year First elected is 1966, and when the Member is Alan ... |
### Context: CREATE TABLE Locations (
Location_ID INTEGER,
Location_Name VARCHAR(255),
Address VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Staff (
Staff_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Name VARCHAR(40),
Other_Details VARCHAR(255)
)
CREATE TABLE Street_Markets (
... |
### Context: CREATE TABLE table_11128 (
"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 Result with a Date with 22 january 2008?
### Query: SELECT "Result" FROM table_... |
### Context: CREATE TABLE table_name_60 (
round INTEGER,
college_junior_club_team__league_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round for the Minnesota Junior Stars (Mjhl)?
### Query: SELECT MAX(round) FROM table_name_60 WHERE ... |
### 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 table_name_84 (
year_named INTEGER,
name VARCHAR,
diameter__km_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0?
### Query: SELECT MIN(year... |
### Context: CREATE TABLE table_24558 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... |
### Context: CREATE TABLE table_49824 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much is the total with a time at 16:00 and score for set 3 o... |
### Context: CREATE TABLE table_68219 (
"Name" text,
"Entered office" text,
"Left office" text,
"Party" text,
"First Minister" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did first minister Henry Mcleish enter office?
### Query: SELECT "Ent... |
### Context: CREATE TABLE table_name_25 (
origin_of_programming VARCHAR,
genre VARCHAR,
network VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does the network Star Cricket originate?
### Query: SELECT origin_of_programming FROM table_name_25 WHER... |
### 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_16175064_3 (
series__number VARCHAR,
writer_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of episodes where alexa wyatt is the writer?
### Query: SELECT COUNT(series__number) FROM table_16175064_3... |
### Context: CREATE TABLE table_30054 (
"Outcome" text,
"Edition" text,
"Opponent Team" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For opponent is sandra kristj nsd ttir, outcome is winner and e... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term var... |
### Context: CREATE TABLE table_5829 (
"Week" text,
"Song choice" text,
"Theme" text,
"Performance Order" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of week 2?
### Query: SELECT "Result" FROM table_5829 WHERE ... |
### Context: CREATE TABLE table_4146 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the partner that has a winn... |
### Context: CREATE TABLE table_21584646_10 (
week_of VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks are shown for the champion of john mcenroe 6 2, 6 3?
### Query: SELECT COUNT(week_of) FROM table_21584646_10 WHERE champion... |
### Context: CREATE TABLE table_name_41 (
result VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game at Odsal Stadium?
### Query: SELECT result FROM table_name_41 WHERE stadium = "odsal stadium" |
### 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_11 (
soap_opera VARCHAR,
actor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the soap opera when the actor is dave duffy?
### Query: SELECT soap_opera FROM table_name_11 WHERE actor = "dave duffy" |
### Context: CREATE TABLE table_train_96 (
"id" int,
"gender" string,
"elevated_creatinine" float,
"diabetic" string,
"cerebrovascular_disease" bool,
"moca_score" int,
"parkinsonism" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_56942 (
"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.
-- What is the combined of Crowd that ... |
### Context: CREATE TABLE table_78385 (
"Animal Name" text,
"Species" text,
"Books" text,
"TV Series" text,
"Gender" text,
"TV Seasons" real,
"Mate" text,
"Offspring" text,
"First Appearance" text,
"Last Appearance" text
)
-- Using valid SQLite, answer the following questions f... |
### Context: CREATE TABLE table_name_40 (
week INTEGER,
result VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has a Result of w 24-0, and an Attendance smaller than 10,000?
### Query: SELECT MAX(week) FROM table_name_40 WH... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_name_17 (
country VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which county has 2011 as the year?
### Query: SELECT country FROM table_name_17 WHERE year = 2011 |
### Context: CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
STU_HRS int,
STU_CLASS varchar(2),
STU_GPA float(8),
STU_TRANSFER numeric,
DEPT_CODE varchar(18),
STU_PHONE varchar(4),
PROF_NUM int
)
CR... |
### 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_3 (
round VARCHAR,
position VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has a Position of lb, and a Pick smaller than 25?
### Query: SELECT COUNT(round) FROM table_name_3 WHERE position =... |
### 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_49114 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whic Date has a Score of 4 2?
###... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE... |
### Context: CREATE TABLE table_51643 (
"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.
-- What was the venue when the home te... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABL... |
### Context: CREATE TABLE table_name_48 (
date VARCHAR,
outcome VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Outcome is 'Winner', and when Opponents is 'Paul Haarhuis Sandon Stolle'?
### Query: SELECT date FROM ta... |
### Context: CREATE TABLE table_14710984_2 (
general_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the general classification leader for stage 3?
### Query: SELECT general_classification FROM table_14710984_2 WHERE stag... |
### Context: CREATE TABLE table_35840 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Silvers that has a Gold smaller than 1, and a Rank of 9, and a Total s... |
### Context: CREATE TABLE table_name_22 (
year INTEGER,
rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 1st Year Al Harrington (9) the leader in Rebounds?
### Query: SELECT MIN(year) FROM table_name_22 WHERE rebounds = "al harrington (9... |
### Context: CREATE TABLE table_name_97 (
source VARCHAR,
moving_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the source of the move from Port Vale?
### Query: SELECT source FROM table_name_97 WHERE moving_from = "port vale" |
### 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_43522 (
"School" text,
"Bask" real,
"Golf" text,
"Soccer" text,
"Soft" text,
"Swimming" text,
"Tennis" real,
"Indoor track" text,
"Outdoor track" text,
"Volleyball" text,
"Total" real
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE table_44392 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the match on August 20, ... |
### Context: CREATE TABLE table_26465 (
"Confederation" text,
"Teams started" text,
"Teams that have secured qualification" text,
"Teams that can still qualify" text,
"Teams that have been eliminated" text,
"Remaining places in finals" text,
"Total places in finals" text,
"Qualifying sta... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_80312 (
"Year" real,
"Total Region" real,
"Biggenden" real,
"Eidsvold" real,
"Gayndah" real,
"Monto" real,
"Mundubbera" real,
"Perry" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total Region... |
### Context: CREATE TABLE table_73178 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for th... |
### 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 pitStops (
raceId INTEGER,
driverId INTEGER,
stop INTEGER,
lap INTEGER,
time TEXT,
duration TEXT,
milliseconds INTEGER
)
CREATE TABLE status (
statusId INTEGER,
status TEXT
)
CREATE TABLE races (
raceId INTEGER,
year INTEGER,
round INTEGER,
... |
### Context: CREATE TABLE table_71750 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 1st Party has an election in 1865?
### Query: SELECT "1st Party" FROM ... |
### Context: CREATE TABLE table_7492 (
"1st built" real,
"1913 Class" text,
"W.A." text,
"No. Built" real,
"Builder" text,
"Date" text,
"LNER Class" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the W.A. of the 1 1st built?
### Que... |
### Context: CREATE TABLE table_9077 (
"Country or territory" text,
"Area (km\u00b2)" real,
"Population" real,
"Population density (per km\u00b2)" real,
"Capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest population density f... |
### 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_29490 (
"Club" text,
"Location" text,
"Ground" text,
"Manager" text,
"Titles" real,
"Last title" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is lootos p lva from?
### Query: SELECT "Location" FROM table_... |
### Context: CREATE TABLE table_73632 (
"Institution" text,
"Location" text,
"Team Name" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Year Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the institution that w... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 ... |
### Context: CREATE TABLE table_name_47 (
region VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the region with catalog of 576 097-2
### Query: SELECT region FROM table_name_47 WHERE catalog = "576 097-2" |
### Context: CREATE TABLE table_41917 (
"Series" text,
"Host" text,
"Launch date" text,
"Finale date" text,
"Days" real,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Series, when Days is greater than 99, and ... |
### Context: CREATE TABLE wdmzjzjlb (
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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit ... |
### Context: CREATE TABLE table_26409 (
"Season" text,
"Name" text,
"Teams" real,
"Relegated to league" text,
"Promoted to league" text,
"Promoted from league" text,
"Relegated from league" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ... |
### Context: CREATE TABLE table_55415 (
"Edition" text,
"Round" text,
"Date" text,
"Surface" text,
"Opponent" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On July 15, 1984 what surface was used?
### Query: SELECT "Surface" FROM... |
### Context: CREATE TABLE table_10815352_1 (
average_attendance INTEGER,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average attendance of the leagues in the season of 2013?
### Query: SELECT MIN(average_attendance) FROM table_10815352_... |
### Context: CREATE TABLE table_6946 (
"Date" text,
"English Name" text,
"Chinese Name" text,
"Tamil Name" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tamil Name of the Thaipusam holiday?
### Query: SELECT "Tamil Name" F... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE medicati... |
### Context: CREATE TABLE table_name_76 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when Geelong was the away team?
### Query: SELECT home_team FROM table_name_76 WHERE away_team = "geelong" |
### Context: CREATE TABLE table_41905 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Attendance when the home team was slough town?
### Query: SELECT... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10... |
### 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 swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City t... |
### Context: CREATE TABLE table_32505 (
"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.
-- What was the crowd size when Essend... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE mzjzjlb (
HXPLC numb... |
### Context: CREATE TABLE zyb (
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_9 (
cups INTEGER,
total VARCHAR,
player VARCHAR,
other VARCHAR,
league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of cups when the other was more than 3, the league more than 3, for Laur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.