Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How can I know how many same orderno is shown in rows sequentially?
Hmm..Did you try
SELECT orderno,count(orderno) FROM <table>
GROUP BY orderno
ORDER BY orderno
I am assuming here that the three character numeric to the prefix LM is fixed.
Regards,
z1hou1
Received on Sun Oct 07 2007 - 21:50:42 CDT
![]() |
![]() |