Error Number: 3065
Expression #1 of ORDER BY clause is not in SELECT list, references column 'dilmil_sipp.dataumumweb.tglPendaftaran' which is not in SELECT list; this is incompatible with DISTINCT
SELECT DISTINCT YEAR(tglPendaftaran) as tahun FROM dataumumweb ORDER BY tglPendaftaran DESC
Filename: /home/dilmil/sipp.dilmil-semarang.go.id/models/perkara/statistik_m.php
Line Number: 23