A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `catid` = 288 AND `isdel` =0 AND `state` = 1 ORDER BY `id` desc LIMIT 1' at line 2

SELECT * WHERE `catid` = 288 AND `isdel` =0 AND `state` = 1 ORDER BY `id` desc LIMIT 1

Filename: models/Basemodel.php

Line Number: 72