Qns:项目描述和任何名为 Jessie Stange 的患者的所有治疗的治疗日期(即 GivenName 是 Jessie,FamilyName 是 Stange)
我写的:
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');
错误:
命令行错误:1 列:30 错误报告:SQL 错误:ORA-00936:缺少表达式 00936。00000 - “缺少表达式” *原因:*操作:
缺少的表达是什么?