Object subclass hierarchy in SQL: a simple approach