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

SELECT * FROM `provisional_merit_list` where stream_id='1' and subject_id='2' and type='ST' order by rank ASC

Filename: controllers/ERP/onlineadmission/Manage_provisional_merit_list.php

Line Number: 303