A cross table is a common type of table featuring a matrix of values between two orthogonal lists of header data. To turn a cross table into a straight table, use a crosstable prefix.
The syntax is:
crosstable (attribute field , data field [ , n ] ) ( loadstatement | selectstatement )
where:
attribute field is the field to contain the attribute values.
data field is the field to contain the data values.
n is the number of qualifier fields preceding the table to be transformed to generic form. Default is 1.