text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_29 (
mls_team VARCHAR,
affiliation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which MLS tea, drafted a player affilaited with the university of california?
### Query: SELECT mls_team FROM table_name_29 WHERE affiliat... |
### Context: CREATE TABLE table_name_96 (
grid INTEGER,
laps VARCHAR,
points VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the least Grid with points more than 11 and drivers being s bastien bourdais with laps less than 67
#... |
### Context: CREATE TABLE table_22699 (
"Album#" text,
"English Title" text,
"Chinese (Traditional)" text,
"Chinese (Simplified)" text,
"Release date" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the label for traditional ch... |
### Context: CREATE TABLE table_28211103_1 (
winner VARCHAR,
st_kilda_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many winners have st kilda score at 14.11.95?
### Query: SELECT COUNT(winner) FROM table_28211103_1 WHERE st_kilda_score = "14.11.... |
### Context: CREATE TABLE table_60915 (
"Year" text,
"Venue" text,
"Winner" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What runner-up has 2008 as the year?
### Query: SELECT "Runner-up" FROM table_60915 WHERE "Ye... |
### Context: CREATE TABLE table_1252 (
"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 total num... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
... |
### Context: CREATE TABLE table_41491 (
"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 average Top-5, when Tournament is U.S. ... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE location... |
### Context: CREATE TABLE Participants_in_Events (
Event_ID INTEGER,
Participant_ID INTEGER
)
CREATE TABLE Participants (
Participant_ID INTEGER,
Participant_Type_Code CHAR(15),
Participant_Details VARCHAR(255)
)
CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHAR(15)
)
CRE... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### 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_63557 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the player jim furyk?
### Query: SELECT COUNT("Tot... |
### Context: CREATE TABLE table_26237 (
"Rank by Average" real,
"Place" real,
"Couple" text,
"Total Points Earned" real,
"Number of Dances" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many averages were listed for the coup... |
### Context: CREATE TABLE table_38078 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Extra points have Touchdowns larger than 2, and Field goals larger th... |
### Context: CREATE TABLE table_62590 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what Games did the competitor win a Silver medal in the light heavyweight event?
### Query: SEL... |
### Context: CREATE TABLE table_64858 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Football Class... |
### 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_4073 (
"Category" text,
"Player" text,
"Team" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total listed when the average is 0.667 and the category ... |
### Context: CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the last names of teache... |
### Context: CREATE TABLE table_name_26 (
male VARCHAR,
female VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the male partner for amy winehouse?
### Query: SELECT male FROM table_name_26 WHERE female = "amy winehouse" |
### 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_5867 (
"Pick #" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pick # for brent meeke?
### Query: ... |
### 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 table_46068 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team for the tie no. 29?
### Query: SELECT "Away team" FROM table_46068 ... |
### Context: CREATE TABLE Students_in_Detention (
student_id INTEGER,
detention_id INTEGER,
incident_id INTEGER
)
CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Student_Addresses (
student_id INTEGER,
address_id INTEGER,
... |
### Context: CREATE TABLE table_204_336 (
id number,
"operators" text,
"named trains" text,
"destination" text,
"year begun" text,
"year discontinued" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which train ran for the longest time ?
### Q... |
### Context: CREATE TABLE table_62626 (
"Year" real,
"Winner" text,
"Finalist" text,
"Result" text,
"City" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the city where Hallescher FC won in 2008?
### Query: SELECT "City... |
### Context: CREATE TABLE table_56510 (
"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 score when Collingwood... |
### Context: CREATE TABLE table_name_1 (
country VARCHAR,
of_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has OF-1 Locotenent?
### Query: SELECT country FROM table_name_1 WHERE of_1 = "locotenent" |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_name_10 (
position VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the position with height of 2.09
### Query: SELECT position FROM table_name_10 WHERE height = 2.09 |
### Context: CREATE TABLE table_5588 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the February number of the game with the Vancouver Canucks as the opponent and a game... |
### 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_41 (
points INTEGER,
team VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Points which has a Team of sportivo luque o, and Wins larger than 1?
### Query: SELECT MIN(points) FROM table_name_41 WH... |
### 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 table_16547 (
"Engine" text,
"Power, continuous" text,
"Critical altitude This is the highest altitude at which the engine can achieve its full continuous power rating. Above this altitude, power falls off with height as with a naturally aspirated engine . See Supercharger#Altitude... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE table_name_85 (
finish VARCHAR,
laps VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the finish with less than 200 laps in 1953?
### Query: SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "195... |
### Context: CREATE TABLE table_14625 (
"Name" text,
"Country" text,
"Type" text,
"Moving from" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the transfer ... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
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,
... |
### Context: CREATE TABLE table_65527 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the builder of Brage from Norway?
### Query: SELECT "Builder" FROM table_655... |
### Context: CREATE TABLE table_38889 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the type of game with a 1:6 result?
### Query: SELECT "Type of game" FRO... |
### Context: CREATE TABLE table_58994 (
"Driver" text,
"Race 1" real,
"Race 2" text,
"Race 3" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has points less than 17?
### Query: SELECT "Driver" FROM table_58994 WHERE "Poin... |
### Context: CREATE TABLE table_name_4 (
date VARCHAR,
venue VARCHAR,
competition VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did a Competition of friendly, and a Score of 2 1, and a Venue of philadelphia , pennsylvania occur?
... |
### 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 dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airport_service (
city_code... |
### Context: CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text,
person_info_CSD text,
person_info_CSRQ time,
person_info_GJDM text,
person_info_GJMC text,
person_info_JGDM text,
person_info_JGMC text,
person_info_MZDM text,
person_info_MZMC text,
pers... |
### Context: CREATE TABLE table_50340 (
"League" text,
"Season" text,
"Name" text,
"Place" real,
"Record" text,
"Head Coach" text,
"Points" text,
"Rebounds" text,
"Assists" text,
"Steals" text,
"Turnover" text
)
-- Using valid SQLite, answer the following questions for the ... |
### Context: CREATE TABLE table_name_64 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the crowd population for Footscray as an away team?
### Query: SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "footscray" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER... |
### Context: CREATE TABLE table_211791_1 (
nato_us_dod_code VARCHAR,
nato_reporting_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nato/ us dod code for sabbot
### Query: SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = ... |
### Context: CREATE TABLE table_name_17 (
date VARCHAR,
goal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the date for goal of 5
### Query: SELECT date FROM table_name_17 WHERE goal = 5 |
### Context: CREATE TABLE table_45362 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Res., when Event is 'KOTC 11 - Domination'?
##... |
### Context: CREATE TABLE table_204_321 (
id number,
"community" text,
"currency" text,
"region" text,
"target date" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only community in south asia ?
### Query: SELECT "co... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### Context: CREATE TABLE greatermanchestercrime (
crimeid text,
crimets time,
location text,
lsoa text,
type text,
outcome text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which neighborhood/area has the highest burglary rate?
### Query: SELECT ... |
### Context: CREATE TABLE table_42348 (
"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 highest Top-5 that has 18 or more event... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE table_name_21 (
name VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a time of 56.07?
### Query: SELECT name FROM table_name_21 WHERE time = 56.07 |
### Context: CREATE TABLE table_203_512 (
id number,
"release date" text,
"album" text,
"catalog number" text,
"chart position" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- niji iro no sneaker was released on march 5 , 1991 ; w... |
### Context: CREATE TABLE table_71547 (
"Date" text,
"Winner" text,
"Score" text,
"Location" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location, when the Score is 35-31?
### Query: SELECT "Location" FROM table_71547 ... |
### Context: CREATE TABLE table_24237 (
"Name" text,
"Municipal status" text,
"Census division" text,
"Population (2011)" real,
"Population (2006)" real,
"Change (%)" text,
"Area (km\u00b2)" text,
"Population density" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_name_34 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pat Burke's Nationality?
### Query: SELECT nationality FROM table_name_34 WHERE player = "pat burke" |
### Context: CREATE TABLE table_name_79 (
attendance VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when the Cincinnati Bengals were the opponents?
### Query: SELECT attendance FROM table_name_79 WHERE opponent = "c... |
### 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_15887683_19 (
language VARCHAR,
television_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what laguage was Contotv 5?
### Query: SELECT language FROM table_15887683_19 WHERE television_service = "ContoTV 5" |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatme... |
### Context: CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation ... |
### 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 table_name_55 (
country VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has -9 to par with a Score of 70-69-68=207?
### Query: SELECT country FROM table_name_55 WHERE to_par = "-9" AN... |
### 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 table_19976 (
"No." real,
"English name" text,
"Bulgarian name" text,
"Bulgarian name ( Transliteration )" text,
"Old Bulgarian Names" text,
"Old Bulgarian name (Transliteration)" text,
"Old Bulgarian name - Meaning" text
)
-- Using valid SQLite, answer the follow... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime... |
### Context: CREATE TABLE table_60593 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Winning driver has a Winning constructor of sunbeam... |
### Context: CREATE TABLE t_kc21 (
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 airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
... |
### 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_85 (
circuit VARCHAR,
feature_winner VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which circuit was in Great Britain with Ireland as the winner?
### Query: SELECT circuit FROM table_name_85 WHERE f... |
### Context: CREATE TABLE table_name_25 (
successes INTEGER,
failures VARCHAR,
launches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the greatest successes that have failures greater than 1 and launches less than 28?
### Query: SELECT MAX(succ... |
### 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 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 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_41 (
round VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round happened on 10 april 2007?
### Query: SELECT round FROM table_name_41 WHERE date = "10 april 2007" |
### Context: CREATE TABLE table_name_37 (
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the outcome with marina erakovic as opponent?
### Query: SELECT outcome FROM table_name_37 WHERE opponent = "marina erakovic" |
### Context: CREATE TABLE table_name_23 (
license VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which licence has a release date of 2009-08?
### Query: SELECT license FROM table_name_23 WHERE release_date = "2009-08" |
### Context: CREATE TABLE table_19787093_1 (
till_mathura INTEGER,
till_aligarh VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the till aligarh is 150, what the mac till mathura?
### Query: SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligar... |
### Context: CREATE TABLE table_21481509_4 (
COUnT VARCHAR,
r1b1a2__r_m269_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many n are listed for 0.6% r1b1a2 (r-m269)?
### Query: SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = "0.6%" |
### 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_97 (
held_every VARCHAR,
sport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How often is the cricket competition held?
### Query: SELECT held_every FROM table_name_97 WHERE sport = "cricket" |
### 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 jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_25252080_3 (
november_3 VARCHAR,
june_10_11 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is shown for november 3 when june 10-11 is june 10, 1964?
### Query: SELECT november_3 FROM table_25252080_3 WHERE june_10_11 = "... |
### 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 table_53978 (
"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.
-- On what date did the home team scor... |
### Context: CREATE TABLE table_name_83 (
year VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was Reasons to be Pretty nominated for best play?
### Query: SELECT COUNT(year) FROM table_name_83 WHERE category = "best play" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.