A course project for Database Principle