generate a new type of entity => SQL View