wrote initial SQLQueries for course list