Vince Vielhaber <vev(at)michvhf(dot)com> writes:
> Just checked sybase and the original query
> acts identical to ours.
Hmph, so sybase hasn't thought through the implications of ORDER BY on
a hidden column vs. DISTINCT either. Can anyone try it on some other
DBMSes?
regards, tom lane