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 t.tenID' at line 1

select * from tblTenant t left join tblProfile p on t.tenID = p.tenID left join tblLocation l on t.tenLocID = l.locID where t.tendisable=0 and t.tenID = group by t.tenID

Filename: /home/bonnerbb9838/public_html/models/searchlist_model.php

Line Number: 13