text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_47442 (
"Year" real,
"Nominated/Won" text,
"Award/category" text,
"Festival/organization" text,
"Role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was nominated for the Jury Award?
### Query: SELECT "Nominate... |
### Context: CREATE TABLE table_73368 (
"Former country name" text,
"Former codes" text,
"Period of validity" text,
"ISO 3166-3 code" text,
"New country names and codes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number for period... |
### Context: CREATE TABLE table_10960039_6 (
pick__number INTEGER,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest selection number for the saskatchewan roughriders team?
### Query: SELECT MAX(pick__number) FROM table_10960039_6 ... |
### Context: CREATE TABLE table_34389 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many picks does chad owens have?
### Query: SELECT COUNT("Pick #") F... |
### 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_23117208_3 (
no_in_series INTEGER,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?
### Query: SELECT MIN... |
### Context: CREATE TABLE table_name_3 (
engine VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the engine for the Bettenhausen Motorsports team?
### Query: SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" |
### Context: CREATE TABLE table_40057 (
"Club" text,
"Wins" real,
"Loses" real,
"Points For" real,
"Points Against" real,
"Percentage" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What club has losses greater than 1, 4 for t... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TA... |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE labevents (
row_id nu... |
### Context: CREATE TABLE customers (
id number,
first_name text,
last_name text,
company text,
address text,
city text,
state text,
country text,
postal_code text,
phone text,
fax text,
email text,
support_rep_id number
)
CREATE TABLE tracks (
id number,
nam... |
### Context: CREATE TABLE table_name_61 (
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game on November 6, 1988?
### Query: SELECT result FROM table_name_61 WHERE date = "november 6, 1988" |
### Context: CREATE TABLE ref_service_types (
service_type_code text,
parent_service_type_code text,
service_type_description text
)
CREATE TABLE bookings_services (
order_id number,
product_id number
)
CREATE TABLE customers (
customer_id text,
address_id number,
customer_name text,
... |
### Context: CREATE TABLE table_1341568_48 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many parties is Tom Foley a member of?
### Query: SELECT COUNT(party) FROM table_1341568_48 WHERE incumbent = "Tom Foley" |
### Context: CREATE TABLE table_name_25 (
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many laps were there when the grid was 24?
### Query: SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24 |
### Context: CREATE TABLE table_name_90 (
laps VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps did the team with a time/retired of +1.906 have?
### Query: SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906" |
### Context: CREATE TABLE table_7361 (
"University" text,
"Men's" real,
"Women's" real,
"Junior's" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total of the university with more than 3 junior's championships?
###... |
### Context: CREATE TABLE table_204_194 (
id number,
"outcome" text,
"edition" number,
"round" text,
"opponent team" text,
"surface" text,
"opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- number of games in the mat... |
### Context: CREATE TABLE table_140297_1 (
population_2011_census VARCHAR,
local_government_area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people live in the area of Sorell according to the Census of 2011?
### Query: SELECT population_2011_cen... |
### Context: CREATE TABLE table_8000 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did Ernie Els par?
### Query: SELECT "To par" FROM table_8000 WHERE "Player" = 'ernie els... |
### Context: CREATE TABLE table_14955 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the game site for october 18, 1992
### Query... |
### Context: CREATE TABLE table_2417445_4 (
reason_for_vacancy VARCHAR,
successor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When rudolph kleberg (d) is the successor is the reason for vacancy?
### Query: SELECT reason_for_vacancy FROM table_2417445_4 W... |
### Context: CREATE TABLE table_train_233 (
"id" int,
"serum_bicarbonate" int,
"language" string,
"hemoglobin_a1c_hba1c" float,
"creatinine_clearance_cl" float,
"admission_blood_glucose" int,
"urine_albumin" int,
"ketoacidosis" bool,
"age" float,
"NOUSE" float
)
-- Using valid ... |
### Context: CREATE TABLE table_name_30 (
city VARCHAR,
aam_member VARCHAR,
astc_member VARCHAR,
state VARCHAR,
aam_accredited VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is City, when State is California, when AAM Accredited is No, when ... |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeou... |
### 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_name_70 (
gold INTEGER,
silver VARCHAR,
total VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less... |
### Context: CREATE TABLE table_20967430_2 (
ep INTEGER,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least episode for november 29, 1985
### Query: SELECT MIN(ep) FROM table_20967430_2 WHERE original_air_date = "November 29, 19... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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 ... |
### Context: CREATE TABLE table_name_94 (
partner VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which partner was on 14 april 2013?
### Query: SELECT partner FROM table_name_94 WHERE date = "14 april 2013" |
### Context: CREATE TABLE table_6050 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the series standing after game 1?
### Query: SELECT "Series" FROM table_6050 WHERE "Gam... |
### Context: CREATE TABLE table_name_62 (
years_for_grizzlies VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which years did the player from Providence play for Memphis?
### Query: SELECT years_for_grizzlies FROM table_name_62 WHER... |
### Context: CREATE TABLE table_40812 (
"Year" real,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Co-Drivers, when Laps is greater than 196, and when Year is befor... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,... |
### Context: CREATE TABLE qtb (
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 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 equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number i... |
### Context: CREATE TABLE table_28081876_6 (
written_by VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the authors of the episode first broadcast on August 10, 2012?
### Query: SELECT written_by FROM table_28081876_6 WHER... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_name_18 (
yeast_ortholog VARCHAR,
mouse_ortholog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the yeast ortholog of mouse ortholog MMS19?
### Query: SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "m... |
### 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_204_211 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many nations are there ?
### Query: SELECT COUN... |
### Context: CREATE TABLE table_70865 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score where Goal is larger than 11, and a Competition of 2009 ... |
### 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresult... |
### 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_15419 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had a place of T4?
### Query: SELECT "Player" FROM table_15419 WHERE "Place" = '... |
### Context: CREATE TABLE table_46595 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time before round 2, and t... |
### Context: CREATE TABLE procedures_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_locati... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title 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_... |
### Context: CREATE TABLE table_36658 (
"Pos. in 2007" text,
"Club" text,
"City" text,
"Best Position" text,
"Seasons in league" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has Seasons in league of 17, and a Club of shakhter?
### Quer... |
### Context: CREATE TABLE table_name_67 (
sleeves VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sleeves have a Year of 2006-2008?
### Query: SELECT sleeves FROM table_name_67 WHERE year = "2006-2008" |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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 dat... |
### 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_49630 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for Boston's road team in game 4?
### Query: SELECT "Result" FROM table... |
### Context: CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
market_value_billion text
)
CREATE TABLE office_locations (
building_id number,
company_id number,
move_in_year ... |
### Context: CREATE TABLE table_18884 (
"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_57358 (
"Player" text,
"Car." real,
"Yards" text,
"Avg." text,
"TD's" real,
"Long" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the long for charles frederick
### Query: SELECT "Long" FROM table_57358 W... |
### Context: CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE Staff (
staff_id INTEGER,
staff_address_id INTEGER,
nickname VARCHAR(80),
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
date_of_birth DATETIME,
date_joined_staff DATETIME,
date_left_staff DATETIME
)
CREATE TABLE Vehicles (
vehi... |
### Context: CREATE TABLE table_73106 (
"C_{low}" text,
"C_{high}" text,
"I_{low}" real,
"I_{high}" real,
"Category" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the i_{high} value when C_{low} is 250.5?
### Query: SELECT MIN("I_{high}") F... |
### 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_83 (
place INTEGER,
draw VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest place for song that was draw number 6?
### Query: SELECT MAX(place) FROM table_name_83 WHERE draw = 6 |
### Context: CREATE TABLE table_61676 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEdits (
Id number,... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
... |
### Context: CREATE TABLE table_16443 (
"Series #" real,
"Episode #" 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.
-- Who directed the episode called 'Tell-tale Heart'?... |
### Context: CREATE TABLE table_52333 (
"Rank" real,
"Airline" text,
"Country" text,
"Remarks" text,
"Alliance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the country for airline of gol
### Query: SELECT "Country" FROM table_52333 WHERE "A... |
### Context: CREATE TABLE table_71156 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year with 16 points?
### Query: SELECT MIN("Year") FROM table_71156 WHERE... |
### Context: CREATE TABLE table_45953 (
"Region (year)" text,
"No. 1" text,
"No. 2" text,
"No. 3" text,
"No. 4" text,
"No. 5" text,
"No. 6" text,
"No. 7" text,
"No. 8" text,
"No. 9" text,
"No. 10" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_55 (
team VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team of winner Dick Johnson?
### Query: SELECT team FROM table_name_55 WHERE winner = "dick johnson" |
### Context: CREATE TABLE table_name_55 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Player is 'Jos Mar a Olaz bal'?
### Query: SELECT country FROM table_name_55 WHERE player = "josé maría olazábal" |
### 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_59563 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status with the opposing team of Scotland?
### Query: SELECT "Status" FROM... |
### Context: CREATE TABLE table_48528 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Part 3, when Part 1 is 'frj sa'?
### Query: SELECT "Part 3" FROM table_48528 WHERE "P... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE airport (
airport_code varchar,
airport_na... |
### Context: CREATE TABLE table_name_88 (
nominee VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nominee has a Category of outstanding musical?
### Query: SELECT nominee FROM table_name_88 WHERE category = "outstanding musical" |
### Context: CREATE TABLE table_name_61 (
team__number1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the 2nd leg for alemannia aachen
### Query: SELECT 2 AS nd_leg FROM table_name_61 WHERE team__number1 = "alemannia aachen" |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### Context: 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 date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_name_52 (
average INTEGER,
swimsuit VARCHAR,
evening_gown VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean average score when the evening gown score is more than 9.35, the state is South C... |
### Context: CREATE TABLE table_name_80 (
date_of_birth VARCHAR,
party VARCHAR,
house_term VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of birth of a republican member of the United States House of Representatives who held the term of... |
### 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 jyjgzbb (
JYZBLSH te... |
### Context: CREATE TABLE table_204_778 (
id number,
"code" number,
"county" text,
"former province" text,
"area (km2)" number,
"population\ncensus 2009" number,
"capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which county has the m... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... |
### Context: CREATE TABLE invoice_items (
invoice_item_id number,
invoice_id number,
order_id number,
order_item_id number,
product_id number,
order_quantity number,
other_item_details text
)
CREATE TABLE marketing_regions (
marketing_region_code text,
marketing_region_name text,
... |
### Context: CREATE TABLE table_name_23 (
position INTEGER,
country VARCHAR,
pilot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest position of pilot mario kiessling from Germany?
### Query: SELECT MIN(position) FROM table_name_23 WHERE... |
### Context: CREATE TABLE area (
course_id int,
area 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 varchar,
test_id varchar
)
CREATE TABLE gsi (
... |
### Context: CREATE TABLE table_name_21 (
notes VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Notes have a Date of 2008-01-27?
### Query: SELECT notes FROM table_name_21 WHERE date = "2008-01-27" |
### Context: CREATE TABLE table_51876 (
"D 41" text,
"D 42" text,
"D 43" text,
"D 44" text,
"D 45" text,
"D 46" text,
"R 54" text,
"R 53" text,
"R 52" text,
"R 51" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the D 41 whic... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### Context: CREATE TABLE table_name_87 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for princes park
### Query: SELECT date FROM table_name_87 WHERE venue = "princes park" |
### 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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE transfers (
... |
### Context: CREATE TABLE perpetrator (
Perpetrator_ID int,
People_ID int,
Date text,
Year real,
Location text,
Country text,
Killed int,
Injured int
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
"Home Town" text
)
-- Using valid SQLit... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.