Updated sql script -- for student