我在查询时遇到麻烦。它说:
Cookie -> Alternative
Forms (Sub-flow) -> Alternative
Password -> Required
2FA (Sub-flow) -> Required
OTP -> Alternative
SMS -> Alternative
我正在尝试解决问题,但我似乎找不到问题。
ORA-00904: "KT"."urutan"."ED"."id_evaluasi": invalid identifier
请帮助我。我真的停留在这一点上。
答案 0 :(得分:2)
您的comma
缺少group by
$query = $this->db->query('
SELECT
ED."id_kategori",
KT."kategori",
ED."id_evaluasi",
KT."urutan",
ED."id_perspektif"
FROM "evaluasidetails" ED
LEFT OUTER JOIN "kategoris" KT ON KT."id_kategori" = ED."id_kategori"
WHERE ED."id_evaluasidetail" = '.$id_evaluasi.'
GROUP BY ED."id_perspektif", ED."id_kategori", KT."kategori", KT."urutan", ED."id_evaluasi"
ORDER BY KT."urutan" ASC
');