Filtering & predicates
Exercise · SQL & Querying

Predict, then run it

Predict the output

slips(slip) holds slip numbers as text: '9','10','2','15','100'. Order them by their real numeric value, with the cast visible:

SELECT slip FROM slips ORDER BY CAST(slip AS INT);

Predict the exact output.