0
請幫幫我,怎麼下面的SQL查詢轉換爲LINQ的聲明在vb.netSQL多列小組通過,以便通過對LINQ的
select distinct PATIENT_DIAGNOSIS_DESCRIPTION, PATIENT_DIAGNOSIS_CODE,
PATIENT_DIAGNOSIS_ACCOUNT,PATIENT_DIAGNOSES_STATUS
from MF_PATIENT_DIAGNOSES
where PATIENT_DIAGNOSIS_ACCOUNT= '31'
AND UPPER(PATIENT_DIAGNOSES_STATUS) <> 'ENTRY ERROR'
GROUP BY PATIENT_DIAGNOSIS_DESCRIPTION, PATIENT_DIAGNOSIS_CODE,
PATIENT_DIAGNOSIS_ACCOUNT,PATIENT_DIAGNOSES_STATUS
ORDER BY PATIENT_DIAGNOSIS_DESCRIPTION