text stringlengths 197 8.39k |
|---|
### 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... |
### Context: CREATE TABLE table_name_49 (
wins INTEGER,
starts VARCHAR,
podiums VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average wins when the podiums is more than 1, points is 80 and starts is less than 28?
### Que... |
### Context: CREATE TABLE table_75309 (
"Season" text,
"Season Premiere" text,
"Season Finale" text,
"Winner" text,
"Runner-up" text,
"Number of Contestants" real,
"Winner's Country" text,
"Runner Up's Country" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term v... |
### Context: CREATE TABLE table_23083 (
"Scorecard" real,
"Date" text,
"Venue" text,
"Team 1" text,
"Team 2" text,
"Result" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the man of the match when the Rockets... |
### 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 table_70632 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_50874 (
"Show" text,
"Last Aired" real,
"Previous Network" text,
"Retitled as/Same" text,
"New/Returning/Same Network" text,
"Returning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network returns april 3... |
### 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_10333 (
"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 of the other tea... |
### 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 document_types (
document_type_code text,
document_description text
)
CREATE TABLE projects (
project_id number,
organisation_id number,
project_details text
)
CREATE TABLE research_outcomes (
outcome_code text,
outcome_description text
)
CREATE TABLE grants (
... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_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_96 (
to_par VARCHAR,
place VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What to par has t3 as the place and england as the country?
### Query: SELECT to_par FROM table_name_96 WHERE place = "t3" AN... |
### Context: CREATE TABLE table_name_49 (
round VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total round of the 129 pick?
### Query: SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129 |
### Context: CREATE TABLE Sales (
sales_transaction_id INTEGER,
sales_details VARCHAR(255)
)
CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Transactions (
transaction_id INTEGER,
investor_id INTEGER,
transaction_type_code VARCHAR(10),... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE table_test_16 (
"id" int,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"severe_hypertension" bool,
"adrenaline" bool,
"stroke" bool,
"renal_disease" bool,
"severe_uncontrolled_arterial_hypertension" bool,
"hepatic_disease... |
### Context: CREATE TABLE table_204_946 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many finishe... |
### Context: CREATE TABLE table_name_44 (
height_ft__m_ VARCHAR,
floors VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the building built in 1985 with 22 floors?
### Query: SELECT height_ft__m_ FROM table_name_44 WHERE floors =... |
### Context: CREATE TABLE table_name_46 (
team VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team in Game 38?
### Query: SELECT team FROM table_name_46 WHERE game = 38 |
### Context: CREATE TABLE table_37479 (
"Date" text,
"City" text,
"Result" text,
"Score" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Result of w, and a Score of 3-0?
### Query: SELECT "Date" FROM table_37479 ... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
... |
### Context: CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_name_96 (
points INTEGER,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the lowest points in 2004?
### Query: SELECT MIN(points) FROM table_name_96 WHERE year = 2004 |
### Context: CREATE TABLE table_66921 (
"!accented mora" text,
"one mora" text,
"two-mora word" text,
"three-mora word" text,
"gloss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the one mora for the three-mora word /kaze/ [k z ]?
### Que... |
### Context: CREATE TABLE table_name_78 (
allsvenskan_titles INTEGER,
introduced VARCHAR,
stars_symbolizes VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many allsvenskan titles did club aik have after its introduction after 2000, w... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
Sugg... |
### Context: CREATE TABLE table_name_54 (
year INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year was the Game on September 26?
### Query: SELECT SUM(year) FROM table_name_54 WHERE date = "september 26" |
### Context: CREATE TABLE table_name_68 (
date VARCHAR,
result VARCHAR,
location VARCHAR,
year VARCHAR,
loser VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadiu... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE procedures_icd (
row_id n... |
### Context: CREATE TABLE table_name_63 (
gender VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the gender for elsthorpe school
### Query: SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" |
### Context: CREATE TABLE table_16916 (
"Institution" text,
"Nickname" text,
"Status" text,
"Founded" real,
"Color" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the founding of navy blue?
### Query: SELECT "Founded" ... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_16102 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Setting" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number o... |
### 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 table_26383 (
"Original" text,
"IPA ( Lisbon )" text,
"IPA ( Rio de Janeiro )" text,
"IPA ( S\u00e3o Paulo )" text,
"IPA ( Santiago de Compostela )" text,
"Translation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### Context: CREATE TABLE table_name_9 (
qual VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual with a rank 9?
### Query: SELECT qual FROM table_name_9 WHERE rank = "9" |
### 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 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 exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Tick... |
### 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 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 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... |
### Context: CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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,
J... |
### Context: CREATE TABLE table_17118657_10 (
date VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date is high assists Dupree (6)?
### Query: SELECT date FROM table_17118657_10 WHERE high_assists = "Dupree (6)" |
### Context: CREATE TABLE table_name_83 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
### Query: SELECT SUM(2006) FROM table_name_83 WHERE 2011 > 4113 AND 2008 < 7... |
### 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_2527617_1 (
best_player VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the best player in the 1998 season?
### Query: SELECT best_player FROM table_2527617_1 WHERE season = 1998 |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
C... |
### Context: CREATE TABLE table_name_5 (
lower_index_kcal__nm_3 INTEGER,
lower_index_mj__nm_3 VARCHAR,
upper_index_kcal__nm_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper in... |
### Context: CREATE TABLE table_75276 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has a last name of baron?
### Query: SELECT... |
### Context: CREATE TABLE table_5848 (
"Year Ended" text,
"Passengers Flown" real,
"Passenger Load Factor (%)" real,
"Revenue (\u20acm)" real,
"Profit / (Loss) Before Tax (\u20acm)" text,
"Net Profit / (Loss) (\u20acm)" text
)
-- Using valid SQLite, answer the following questions for the table... |
### 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 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_name_18 (
draw INTEGER,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draws feature artist wendy fierce?
### Query: SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce" |
### 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_33684 (
"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.
-- How many points did Carlton score?
... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
... |
### Context: CREATE TABLE table_30280 (
"Position" text,
"Number" real,
"Player" text,
"Super League" real,
"Champions League" real,
"Swiss Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the lowest super league for a ... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE status (
station_id VARCHAR,
bikes_available VARCHAR
)
CREATE TABLE station (
name VARCHAR,
id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return the unique name for stations that have ever had 7 bikes available.
### Qu... |
### Context: CREATE TABLE table_name_79 (
wounded VARCHAR,
complement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were Wounded while in a Unit with a Complement of 83 off 9 Men?
### Query: SELECT wounded FROM table_name_79 WHERE complement = "83... |
### Context: CREATE TABLE table_name_38 (
season VARCHAR,
away VARCHAR,
league VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season has a regionalliga s d league, a 1-0 home, and an away of 2-3?
### Query: SELECT season FROM tabl... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
... |
### Context: CREATE TABLE d_icd_procedures (
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_76538 (
"Scorer" text,
"Club" text,
"League goals" text,
"FA Cup goals" text,
"League Cup goals" real,
"Texaco Cup goals" text,
"Euro competitions" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_9768 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had a position of OT during round 27?
### Query: SELECT "Name"... |
### Context: CREATE TABLE table_name_59 (
premiere INTEGER,
chinese_title VARCHAR,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the premiere rating for a Chinese title of , and a Peak smaller than 41?
### Query: SELECT SUM(premiere) FROM ... |
### 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 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_81 (
runner_up VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner-up for Ilhwa Chunma?
### Query: SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma" |
### Context: CREATE TABLE table_name_89 (
location VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the location when the record was 12-5?
### Query: SELECT location FROM table_name_89 WHERE record = "12-5" |
### Context: CREATE TABLE table_name_50 (
date VARCHAR,
streak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when streak was won 8?
### Query: SELECT date FROM table_name_50 WHERE streak = "won 8" |
### Context: CREATE TABLE table_name_59 (
score VARCHAR,
runners_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when TSV Siegen was the runner-up?
### Query: SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen" |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
app... |
### Context: CREATE TABLE table_name_67 (
name VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is in the position of Guard/Forward?
### Query: SELECT name FROM table_name_67 WHERE position = "guard/forward" |
### Context: CREATE TABLE table_name_99 (
fall_07 INTEGER,
fall_09 INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average value for Fall 07 when Fall 09 is less than 296?
### Query: SELECT AVG(fall_07) FROM table_name_99 WHERE fall_09 < 296 |
### 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 table_name_43 (
gold_medals VARCHAR,
total_medals INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold medals for the school with less than 1 total?
### Query: SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals... |
### 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_17563 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer... |
### 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... |
### Context: CREATE TABLE table_204_295 (
id number,
"model" text,
"origin" text,
"type" text,
"version" text,
"in service" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the model of the only utility vehicle used by ... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE repair_assignment (
technician_id number,
repair_id number,
machine_id number
)
CREATE TABLE technician (
technician_id number,
name text,
team text,
starting_year number,
age number
)
CREATE TABLE repair (
repair_id number,
name text,
launch_date ... |
### Context: CREATE TABLE table_1676073_12 (
club VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What clubs had 608 points against?
### Query: SELECT club FROM table_1676073_12 WHERE points_against = "608" |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number... |
### Context: CREATE TABLE table_71931 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did she compete in tampere, finland?
### Query: SELECT AVG("Year") FROM table_7... |
### 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 ta (
campus_job_id int,
student_id int,
location varchar
... |
### Context: CREATE TABLE table_8384 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years did Real Colorado Foxes make it to the Open Cup ... |
### 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_68016 (
"Sydney" text,
"Melbourne" text,
"Perth" text,
"Adelaide" text,
"Gold Coast" text,
"Auckland" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Adelaide has a Melbourne of yes, an Auckland of yes, and a... |
### Context: CREATE TABLE table_203_577 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long was thomas stouch coach ?
### Query: SELECT "years" FROM table_203... |
### Context: CREATE TABLE table_name_96 (
laps INTEGER,
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps did the grid 1 engine have?
### Query: SELECT SUM(laps) FROM table_name_96 WHERE time_retired = "engine" AND ... |
### Context: CREATE TABLE table_name_61 (
club VARCHAR,
sport VARCHAR,
league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club plays soccer in the nwsl?
### Query: SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl" |
### Context: CREATE TABLE table_3784 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the teams record when they played... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.