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 id desc' at line 3

select * From tbl_service_video where prod = 307 AND user_id = order by id desc

Filename: /home/bee2bu5/public_html/models/mypage_service_list_model.php

Line Number: 218