var dataTotalPotongan = (from x in absentContext.V_DETAIL_PELANGGARANs
group x by
new
{
x.T_EMPLOYEE_ID,
x.FINANCE_PERIOD_NAME
}
into gruopedData
select
new
{
gruopedData.Key.T_EMPLOYEE_ID,
periode = Convert.ToDateTime(gruopedData.Key.FINANCE_PERIOD_NAME),
jumlah = gruopedData.Max (x => x.FREKUENSI )
}
);
我有那个代码,这是正确的。但每次我执行它,它总是返回
error ORA-00979: not a GROUP BY expression.