Thanks alot.
How about polymorphism in sql? Could we use stored procedures for polymorphism?
And for nested relationships can we define an attribute as OId and use it in a select query to point to the table that we want use it in our nested relationship?