text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_6516 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what player went to ul-monroe
### Query: SELECT "Player" FROM table_6516 WHERE "School" = 'ul-... |
### Context: CREATE TABLE table_31898 (
"Rank" real,
"Name" text,
"Team" text,
"Goals" real,
"Appearances" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
### Que... |
### 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 diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TAB... |
### Context: CREATE TABLE table_19400 (
"Round" real,
"Circuit" text,
"Date" text,
"Length" text,
"Pole Position" text,
"GT3 Winner" text,
"GT4 Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the circuit for gt3 alex mortimer bra... |
### Context: CREATE TABLE table_name_44 (
year INTEGER,
entrant VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year featured lola motorsport as an entrant with over 0 points?
### Query: SELECT AVG(year) FROM table_name_44 WHERE entr... |
### Context: CREATE TABLE table_name_6 (
erp_w INTEGER,
frequency_mhz INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average value for ERP W when frequency is more than 100.1?
### Query: SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > ... |
### Context: CREATE TABLE table_47948 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest Founded with the Name cougars?
### Query: SELECT MIN("Founded... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_20 (
laps INTEGER,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were completed in grid 18?
### Query: SELECT SUM(laps) FROM table_name_20 WHERE grid = 18 |
### Context: CREATE TABLE table_name_8 (
owner VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the owner of the radio station that plays adult hits?
### Query: SELECT owner FROM table_name_8 WHERE format = "adult hits" |
### Context: CREATE TABLE table_name_25 (
name VARCHAR,
sport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the names for the medalist in the sport of canoeing?
### Query: SELECT name FROM table_name_25 WHERE sport = "canoeing" |
### Context: CREATE TABLE table_5928 (
"Country" text,
"Project Name" text,
"Year startup" text,
"Operator" text,
"Peak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the startup year for the project with apache energy/inpex as the operato... |
### Context: CREATE TABLE table_203_272 (
id number,
"title" text,
"release" text,
"consoles" text,
"handheld" text,
"pc" text,
"arcade" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many gaming consoles in total were nfl blitz released... |
### 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 Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_75 (
record VARCHAR,
round VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Diego Saraiva's record when he fought for 3 rounds against danny suarez?
### Query: SELECT record FROM table_name_7... |
### Context: CREATE TABLE table_name_34 (
purpose VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Callsign of 6nan has what purpose?
### Query: SELECT purpose FROM table_name_34 WHERE callsign = "6nan" |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
ve... |
### Context: CREATE TABLE table_20350 (
"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 Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Student (
... |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25)... |
### Context: CREATE TABLE table_23201 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the school that was founded in 1950
#... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gende... |
### 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_name_12 (
nationality VARCHAR,
round VARCHAR,
nhl_team VARCHAR,
college_junior_club_team__league_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Cur... |
### Context: CREATE TABLE table_69585 (
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Ceased to be Consort" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the became consort for ceased to be consort of ... |
### Context: CREATE TABLE table_204_268 (
id number,
"album/single" text,
"performer" text,
"year" number,
"variant" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many albums are performed by martin carthy or ewan maccoll ?
#... |
### Context: CREATE TABLE campuses (
id VARCHAR,
campus VARCHAR
)
CREATE TABLE faculty (
campus VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of faculty lines in campus 'Long Beach State University' in 2002?
### Qu... |
### Context: CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Student (
... |
### 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_11910 (
"Model" text,
"Released" text,
"Form factor" text,
"Chipset" text,
"Memory Type" text,
"Max. Memory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the memory type with a form factor of 15.4', and ... |
### Context: CREATE TABLE table_34247 (
"Kanji" 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 is the launch date for the Ushio dd-54?
### Query: SELECT "Lau... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE mi... |
### Context: CREATE TABLE table_203_711 (
id number,
"name" text,
"age" number,
"hometown" text,
"occupation" text,
"culinary p.o.v." text,
"eliminated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the top chef ?
### Query: SELECT... |
### Context: CREATE TABLE table_name_27 (
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine was in the lotus 44 f2 Chassis?
### Query: SELECT engine FROM table_name_27 WHERE chassis = "lotus 44 f2" |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
ch... |
### Context: CREATE TABLE table_15627 (
"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 competition type when the score is 1-1?
### Query: SELECT "Competition" FROM ta... |
### Context: CREATE TABLE table_name_21 (
geo_id INTEGER,
water__sqmi_ VARCHAR,
township VARCHAR,
land___sqmi__ VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the geo id when the land (sqmi) is less than 36.112, the lati... |
### Context: CREATE TABLE table_51149 (
"Tribunal" text,
"Number of autos da f\u00e9 with known sentences" text,
"Executions in persona" text,
"Executions in effigie" text,
"Penanced" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### 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_name_90 (
case_length VARCHAR,
rim_diameter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Case length has a Rim diameter of 13.20 (.518)?
### Query: SELECT case_length FROM table_name_90 WHERE rim_diameter = "13.20 (.5... |
### Context: CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
... |
### Context: CREATE TABLE Ref_Budget_Codes (
Budget_Type_code VARCHAR,
budget_type_Description VARCHAR
)
CREATE TABLE Documents_with_expenses (
document_id VARCHAR,
Budget_Type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show ids for all doc... |
### Context: CREATE TABLE table_1104312_5 (
english_name VARCHAR,
area_in_km² VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many districts have an area of 17.72 KM2?
### Query: SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.72" |
### Context: CREATE TABLE table_name_97 (
reported_death_date VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the reported death date for laura svehaug?
### Query: SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehau... |
### Context: CREATE TABLE table_14308895_2 (
country_territory VARCHAR,
former_pageant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country has miss universe Hungary as former pageant?
### Query: SELECT country_territory FROM table_14308895_2 WHERE ... |
### 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 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 bdmzjzjlb (
HXPLC nu... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate... |
### Context: CREATE TABLE table_42104 (
"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 ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
Revie... |
### Context: CREATE TABLE table_name_90 (
home VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when the score was 0:1?
### Query: SELECT home FROM table_name_90 WHERE score = "0:1" |
### Context: CREATE TABLE table_18301 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the election in Pennsylvania 6 dist... |
### 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 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_33 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Crystal Palace Away game?
### Query: SELECT date FROM table_name_33 WHERE away_team = "crystal palace" |
### Context: CREATE TABLE table_16226584_1 (
length_feet VARCHAR,
length_meters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many feet in length are there when the length is 106.1 meters?
### Query: SELECT COUNT(length_feet) FROM table_16226584_1 WHER... |
### 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_3990 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the na... |
### Context: CREATE TABLE table_1912276_2 (
__500m VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the -500 number for Theo Bos?
### Query: SELECT __500m FROM table_1912276_2 WHERE name = "Theo Bos" |
### Context: CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE... |
### Context: CREATE TABLE table_66334 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the Gabeca Montichiari Club?
### Query: SELECT "Name" FROM table_66334 W... |
### 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit ... |
### Context: CREATE TABLE table_name_89 (
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks have pittsburgh steelers as the opponent?
### Query: SELECT COUNT(week) FROM table_name_89 WHERE opponent = "pittsburgh steelers" |
### 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittim... |
### Context: CREATE TABLE table_55213 (
"Number & Name" text,
"Description" text,
"Livery" text,
"Owner(s)" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the Operational Livery?
### Query: SELECT "Date" FROM table... |
### 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_4631 (
"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 day did the home side score 14.... |
### Context: CREATE TABLE table_32672 (
"Rank" text,
"County" text,
"% (1960)" real,
"% (2000)" real,
"% (2040)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the % (1960) of the county with a % (2040) of 3.4?
### Query: SELECT COUNT("% (1... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_58676 (
"Place (Posici\u00f3n)" real,
"Team (Equipo)" text,
"Played (PJ)" real,
"Won (PG)" real,
"Draw (PE)" real,
"Lost (PP)" real,
"Goals Scored (GF)" real,
"Goals Conceded (GC)" real,
"+/- (Dif.)" real,
"Points (Pts.)" real
)
-- Using valid SQ... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE job_histor... |
### 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 flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### 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 allergy ... |
### 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 Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE Comments (
Id number,
PostId number,... |
### Context: CREATE TABLE table_name_80 (
week_4 VARCHAR,
week_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week 4 had a week 3 of Cidney Carson?
### Query: SELECT week_4 FROM table_name_80 WHERE week_3 = "cidney carson" |
### Context: CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
CREATE TABLE Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
)
-- Using valid S... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
customer_details VARCHAR(255)
)
CREATE TABLE Timed_Locations_of_Things (
thing_id INTEGER,
Date_and_Time DATETIME,
Location_Code CHAR(15)
)
CREATE TABLE Things (
thing_id INTEGER,
organization_id INTEGER,
Type_of_Thing_Code CHA... |
### Context: CREATE TABLE table_name_50 (
laps INTEGER,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of laps for the driver Piero Taruffi?
### Query: SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi" |
### Context: CREATE TABLE table_1250 (
"No. in series" text,
"No. Disc" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Length (minutes)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minimum n... |
### Context: CREATE TABLE table_name_2 (
shuji_kondo VARCHAR,
pepe_michinoku VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
### Query: SELECT shuji_kondo FROM table_name_2 WHE... |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INI... |
### Context: CREATE TABLE table_name_47 (
actor VARCHAR,
soap_opera VARCHAR,
character VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?
### Query: SELECT actor... |
### Context: CREATE TABLE table_5630 (
"Frequency (MHz)" real,
"Call letters" text,
"Licensed location" text,
"Type" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Type of primary, and a Call letters of kbjs has what format?
### Quer... |
### 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_6495 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has a Tie # of 32?
### Query: SELECT "Attendance" FROM table_6495 W... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JZZTM... |
### Context: CREATE TABLE table_37541 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Against is the highest one t... |
### Context: CREATE TABLE table_test_25 (
"id" int,
"ejection_fraction_ef" int,
"respiratory_tract_infection" bool,
"left_ventricular_ejection_fraction_lvef" int,
"intra_aortic_balloon_pump_iabp" bool,
"systolic_blood_pressure_sbp" int,
"central_diabetes_insipidus" bool,
"hyponatremia" b... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_40485 (
"Tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a 2004 of 1r?
### Query: SELECT "Tournament" FROM table_40485 WHERE "2004" ... |
### Context: CREATE TABLE plays_games (
stuid number,
gameid number,
hours_played number
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
payment_method VARCHAR(15),
customer_name VARCHAR(80),
date_became_customer DATETIME,
other_customer_details VARCHAR(255)
)
CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
... |
### Context: CREATE TABLE table_29929 (
"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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.