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 'ORDER BY C.ds_caracteristica_imovel ASC' at line 1
SELECT * FROM imoveiscaracteristicas I, caracteristicasimoveis C WHERE I.cd_empresa = 1448 AND I.cd_empresa = C.cd_empresa AND I.cd_caracteristica_imovel = C.cd_caracteristica_imovel AND C.id_status = 'A' AND I.cd_imovel = ORDER BY C.ds_caracteristica_imovel ASC
Filename: /home/ros7imoveis/public_html/models/sites_model.php
Line Number: 689