标签: mysql sql oracle
SELECT PATIENT_ID, PATIENT_FNAME, PATIENT_LNAME, PATIENT_DOB, count(*) AS numberofadmissions FROM PATIENT group by PATIENT_ID, PATIENT_FNAME, PATIENT_DOB, PATIENT_LNAME having count(*)>1
字段仍然为空,但代码似乎运行正常。