• GilaMonster (3/19/2013)


    For B to be correct, it needs ORDER BY CustomerName added at the end.

    Strictly speaking that's not true, as it doesn't need ORDER BY CustomerName, as it could have ORDER BY RN instead and achieve the same effect (since RN is in the select list and the prder for the row numbering is specified to be by CustomerName). Being a lazy person, I might actually use ORDER BY RN because typing RN is less effort than typing CustomerName.

    I agree or course that all these questions are appalling drivel.

    Tom