text stringlengths 197 8.39k |
|---|
### 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 jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime ... |
### Context: CREATE TABLE table_17782308_1 (
game_site VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On October 16, 1966, what was the game site?
### Query: SELECT game_site FROM table_17782308_1 WHERE date = "October 16, 1966" |
### 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 table_train_13 (
"id" int,
"active_infection" bool,
"procalcitonin" int,
"receiving_vasopressor" bool,
"sepsis" bool,
"septic_shock" bool,
"age" float,
"lactate" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,... |
### Context: CREATE TABLE table_35399 (
"Region" text,
"Employment ( salaries & wages)" text,
"Self employed" text,
"Investment income" text,
"Working tax credit" text,
"State pensions" text,
"Occupational pensions" text,
"Disability benefits" text,
"Other social security benefits" t... |
### Context: CREATE TABLE table_64644 (
"Name" text,
"Nickname" text,
"Location" text,
"Home ground(s)" text,
"Coach" text,
"Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name listed for the Nickname of Storm?
### Query: S... |
### Context: CREATE TABLE table_11677691_4 (
hometown VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the hometown for the player that attended Shanley High School?
### Query: SELECT hometown FROM table_11677691_4 WHERE school = "Sh... |
### Context: CREATE TABLE table_27396 (
"Season" text,
"Games" real,
"Won" real,
"Lost" real,
"Tied" real,
"Points" real,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tota... |
### Context: CREATE TABLE table_6218 (
"Election date" real,
"Party leader" text,
"Number of votes received" text,
"Percentage of votes" text,
"Number of deputies" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was deputies with the lowest numb... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description tex... |
### Context: 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 number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
i... |
### Context: CREATE TABLE table_203_383 (
id number,
"week" number,
"date" text,
"opponent" text,
"time" text,
"game site" text,
"tv" text,
"result/score" text,
"record" text,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_29527 (
"Episode air date" text,
"Audition city" text,
"First audition date" text,
"Audition venue" text,
"Callback audition date" text,
"Callback venue" text,
"Golden tickets" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID d... |
### Context: CREATE TABLE table_68055 (
"Tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2010 value with a... |
### Context: CREATE TABLE table_name_58 (
nba_years_ VARCHAR,
a_ VARCHAR,
nationality VARCHAR,
previous_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many NBA years did the player from the United States who was previously on the los angeles... |
### Context: CREATE TABLE table_2174 (
"Pitcher" text,
"Stats" real,
"Wins" real,
"Losses" real,
"No decisions" real,
"Winning %" text,
"Seasons" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are Doug Davis' maximum pitching stats?
##... |
### Context: 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_name_75 (
silver INTEGER,
gold VARCHAR,
bronze VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest Silver value associated with teams having more than 0 gold, 0 bronze, and a rank of 14?
... |
### 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 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_20928682_1 (
opponents VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played against Tulane?
### Query: SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane" |
### Context: CREATE TABLE table_7909 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Man of the Match of the Co... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comme... |
### 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 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_39161 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winning score for 54 holes of 5 shot deficit
###... |
### Context: CREATE TABLE table_14439 (
"Player" text,
"Position" text,
"Round" text,
"Overall" real,
"MLB Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was less than 421 overall played by Matt Clark?
### Query: SELECT "Positio... |
### Context: CREATE TABLE table_18619 (
"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's the first elected with incumbent being joe starnes
... |
### Context: CREATE TABLE table_14717 (
"Rank" text,
"Address" text,
"Height feet / m" text,
"Floors" real,
"Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank associated with a Height feet / m of 427 / 130?
### Query: SELECT "Ra... |
### Context: CREATE TABLE table_dev_44 (
"id" int,
"gender" string,
"arterial_ph" float,
"systolic_blood_pressure_sbp" int,
"serum_bicarbonate" int,
"anion_gap" int,
"diabetic" string,
"diabetic_ketoacidosis" bool,
"blood_glucose" int,
"diastolic_blood_pressure_dbp" int,
"pos... |
### Context: CREATE TABLE table_name_28 (
player VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has a score of 70-68-69-73=280 and a place of t4?
### Query: SELECT player FROM table_name_28 WHERE place = "t4" A... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
pro... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid n... |
### 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_203_375 (
id number,
"name" text,
"year built" text,
"country" text,
"town" text,
"height" text,
"remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which pylon has the most remarks about it ?
### Query:... |
### Context: CREATE TABLE table_77811 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were in attendance on January 4... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID d... |
### Context: CREATE TABLE table_30058355_7 (
sat_27_aug VARCHAR,
thurs_25_aug VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph?
### Query: SELECT sat_27_au... |
### 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_28385 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season ... |
### Context: CREATE TABLE table_46228 (
"Tournament" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1993 value of the French open?
##... |
### Context: CREATE TABLE table_33170 (
"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.
-- Which Away team has the Home team o... |
### 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 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_204_868 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the surface cla... |
### Context: CREATE TABLE table_51355 (
"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 home team played at Glenferrie... |
### Context: CREATE TABLE table_name_83 (
date VARCHAR,
surface VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date with a hard surface and tournament of usa f5, brownsville
### Query: SELECT date FROM table_name_83 WHERE su... |
### Context: CREATE TABLE table_68810 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue before 2006, with the position of 10th?
### Query: SELECT "Venue" FROM... |
### Context: CREATE TABLE table_name_29 (
giro_wins INTEGER,
young_rider VARCHAR,
jerseys VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?
##... |
### Context: CREATE TABLE table_61425 (
"Rank" real,
"Champion" text,
"Runner-up" text,
"Third place" text,
"Fourth place" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many third places has a total greater than 2 and a rank l... |
### Context: CREATE TABLE table_10006830_1 (
max_gross_weight VARCHAR,
aircraft VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the max gross weight of the Robinson R-22?
### Query: SELECT max_gross_weight FROM table_10006830_1 WHERE aircraft = "Robi... |
### Context: CREATE TABLE table_name_58 (
earnings___ INTEGER,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average earnings of a United States player who had a score of 72-68-74-72=286?
### Query: SELECT AVG(earning... |
### Context: CREATE TABLE table_name_85 (
winner VARCHAR,
points_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of Stage 12 with a Points Classification of Francesco Moser?
### Query: SELECT winner FROM t... |
### 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 jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_name_42 (
team VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team won at the symmons plains raceway?
### Query: SELECT team FROM table_name_42 WHERE circuit = "symmons plains raceway" |
### Context: CREATE TABLE table_57468 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text,
"3rd Member" text,
"3rd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 3rd Party in the El... |
### Context: CREATE TABLE table_63993 (
"Class" text,
"Wheel arrangement" text,
"Fleet number(s)" text,
"Manufacturer" text,
"Serial numbers" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text,
"Year(s) retired" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_204_442 (
id number,
"institution" text,
"location" text,
"enrollment" number,
"nickname" text,
"varsity\nsports" number,
"rugby\nsince" text,
"head coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wh... |
### Context: CREATE TABLE table_name_88 (
county_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which county team has jimmy finn as the player?
### Query: SELECT county_team FROM table_name_88 WHERE player = "jimmy finn" |
### Context: CREATE TABLE table_20898602_1 (
status VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- state the status of pick # 32
### Query: SELECT status FROM table_20898602_1 WHERE pick__number = 32 |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE diagnoses_icd (
... |
### Context: CREATE TABLE table_56726 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Record of the game in which the Tr... |
### Context: CREATE TABLE table_59942 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is 2008 when the tournament is year end r... |
### Context: CREATE TABLE table_79959 (
"Year built" text,
"Builder" text,
"Model" text,
"Fleet ID" text,
"Seats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seats does the BTC-5 model have?
### Query: SELECT SUM("Seats") FROM table_799... |
### Context: CREATE TABLE table_name_79 (
name VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had 1344 points?
### Query: SELECT name FROM table_name_79 WHERE points = 1344 |
### Context: CREATE TABLE table_name_48 (
year INTEGER,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Bryant Heating enter?
### Query: SELECT SUM(year) FROM table_name_48 WHERE entrant = "bryant heating" |
### 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_204_696 (
id number,
"issue" number,
"volume" number,
"title" text,
"main feature story" text,
"first/early appearance story/stories" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how man... |
### Context: CREATE TABLE table_41472 (
"Season" text,
"PAT Pct." text,
"20-29" text,
"30-39" text,
"40-49" text,
"FG-FGA" text,
"FG Pct." text,
"Long" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 20-29 had a s... |
### Context: CREATE TABLE table_name_88 (
width VARCHAR,
number_of_vehicles VARCHAR,
type_designation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Width has a Number of vehicles larger than 15, and a Type designation of k5000?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_43 (
administration_of_oaths VARCHAR,
rights_of_audience VARCHAR,
reserved_instruments VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved ... |
### Context: CREATE TABLE membership_register_branch (
Member_ID int,
Branch_ID text,
Register_Year text
)
CREATE TABLE purchase (
Member_ID int,
Branch_ID text,
Year text,
Total_pounds real
)
CREATE TABLE member (
Member_ID int,
Card_Number text,
Name text,
Hometown text,
... |
### Context: CREATE TABLE table_61980 (
"Draw" real,
"Language" text,
"Artist" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Artist that has the Draw smaller than 16, ... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE cost... |
### 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 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 Documents_with_Expenses (
Document_ID INTEGER,
Budget_Type_Code CHAR(15),
Document_Details VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE Accounts (
... |
### Context: CREATE TABLE table_name_15 (
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2007-08 had A.S. Gubbio 1910 Club?
### Query: SELECT 2007 AS _08_season FROM table_name_15 WHERE club = "a.s. gubbio 1910" |
### Context: CREATE TABLE table_name_70 (
team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opposing team for the February 1 game?
### Query: SELECT team FROM table_name_70 WHERE date = "february 1" |
### 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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
char... |
### 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_name_23 (
notes VARCHAR,
builder VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the notes for Ford when the total is 5?
### Query: SELECT notes FROM table_name_23 WHERE builder = "ford" AND total =... |
### Context: CREATE TABLE table_name_3 (
song_title VARCHAR,
number VARCHAR,
singer_s_ VARCHAR,
lyricist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
#... |
### Context: CREATE TABLE table_24670 (
"Date (GMT)" text,
"Yield (megatons)" text,
"Deployment" text,
"Country" text,
"Test Site" text,
"Name or Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name for 15 yield
### Query: SELEC... |
### 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_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 table_203_504 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the score previous to the ben... |
### Context: CREATE TABLE procedures (
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,
rel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.