A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group by concat(propertie,value) order by field(propertie,''), value asc,id_...' at line 1

SELECT count(distinct(id_artikel)) as vsi, id_maptech,filter_tag,propertie,value FROM `maptech` where propertie in ('') and id_skupina = group by concat(propertie,value) order by field(propertie,''), value asc,id_artikel asc,id_maptech asc

Filename: models/Baza_Model.php

Line Number: 126