Database model for SQL conversion.