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 'subject_practice_test.php' at line 1

subject_practice_test.php



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

ssc-cgl



Query was empty



Query was empty



Query was empty



    Query was empty



Query was empty



Query was empty



Query was empty



Query was empty



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 'AND subject_id = AND module_id = AND topic_id > )' at line 1

SELECT * FROM topic WHERE topic_id = (SELECT min(topic_id) FROM topic WHERE exam_id = AND subject_id = AND module_id = AND topic_id > )