Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> grouping
Hello,
I have a table which has two fields called fid and parentid.
I want to order the values in such a way that the 'fid' with value -1
comes first, then the ones with
'parentid = -1 ' comes. Then again, 'fid' with value '-1' and the ones
with 'parentid = -1' comes.
I can't think of a way to select the values in order so that.
Any help would be appreciated.
Thanks
Pradeep
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Sep 28 1999 - 13:18:37 CDT
![]() |
![]() |