[ADD] ex.6.5.2. SQL constraint on courses