NUMBER adds a column that contains the row number.
proc sql number;