Update SQL queries for enroll.php to reflect new database structure.