Example of UNWRAP Operator - SQL
Example here shows how unwrapping can be done in longhand in SQL.
Example: Unwrapping in SQL
Letting CONTACT_INFO_WRAPPED denote the result of Example:
Address.House as House,
Address.Street as Street,
Address.City as City,
Address.Zip as Zip
Address.House in this example is equivalent to Tutorial D's House FROM Address. The use of a dot here is consistent with its use with range variables-recall that a range variable also denotes a row, "ranging" over the rows of a table.