Select course by id