QNS:项目说明和名为杰西施坦格任何病人所有的治疗治疗日期(即给定名称是杰西& FamilyName是施坦格)SQL错误:ORA-00936:缺少表达式,缺少的表达式在哪里?
我写道:
SELECT DISTINCT
Description,
Date as treatmentDate
WHERE doothey.Patient P,
doothey.Account A,
doothey.AccountLine AL,
doothey.Item.I AND
P.PatientID = A.PatientID AND
A.AccountNo = AL.AccountNo AND
AL.ItemNo = I.ItemNo AND
(p.FamilyName = 'Stange' AND p.GivenName = 'Jessie');
错误:
Error at Command Line:1 Column:30 Error report: SQL Error: ORA-00936: missing expression 00936. 00000 - "missing expression" *Cause: *Action:
缺失的表达是什么?下面
没有'FROM'条款。 –
哪里是从选择查询中的cluase –
您缺少'FROM'子句 – Ilya