our Blogs

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

SELECT B.*, YEAR(`B`.`add_date`) AS `YEAR`, MONTH(`B`.`add_date`) AS `MONTH`, T.user_name, T.therapist_temp FROM blog B LEFT JOIN therapists T ON B.therapist_id=T.therapist_id WHERE 1=1 AND B.blog_status = '1' ORDER BY B.blog_id DESC limit -5, 5