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 'rows FROM `news_events` WHERE `status_ind` = 1 AND `approval_status` = '1'' at line 1

SELECT count(*) as rows FROM `news_events` WHERE `status_ind` = 1 AND `approval_status` = '1'

Filename: C:/xampp/htdocs/site/iiitb/settings/database/DB_driver.php

Line Number: 691