Hi every one !
Im workin on SQL05, My Question is !
i have a single field "PosId" in the DB,which i use as two fields one as PosId and PosID2 , Even though Both PosID & PosID2 are from the same fields ,i want to sort the PosID in ascending and PosID2 in desc,
This is what i tried , But ???
"SELECT PosID,PosID as PosID2
FROM tableXX
WHERE (condition = 'XX')
ORDER BY PosID ASC,PosID2 DESC"
Can we use two order by in a single select statement ?
Or is there any alternative .
Plz provide me with a valid soln.
Thanks in advance,