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

SELECT * FROM tb_cida c INNER JOIN(tb_imov a INNER JOIN tb_bair b ON a.bair_id_fk=b.bair_id) ON b.cida_id_fk=c.cida_id WHERE imov_stat='S' AND imov_id=

[TEP STOP]