fixed errors in sql syntax and some updates to createQuiz.jsp