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 'desc limit 0,9' at line 1

select v.* from videos v where cat_id=1 and v.locked='no' group by desc limit 0,9
Energymx Videos
No Video found
Video Catagories