EST. YEAR : | Affiliation :

    SELECT * FROM college_photo where college_id= order by id ASC
    Error No: 1064
    Error details: 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 'order by id ASC' at line 1