Alvinlee
26th March 2009, 14:36
Hi, All
I have the following SQLln statement and would like to group the first 5 characters of field "orno" rather than the whole field.
Select orno, sum(qoor)
from tdsls401
group by orno
Hope you can give me a advice. Thanks a lot !
A.L.
I have the following SQLln statement and would like to group the first 5 characters of field "orno" rather than the whole field.
Select orno, sum(qoor)
from tdsls401
group by orno
Hope you can give me a advice. Thanks a lot !
A.L.