Table: tb_test
asset and Desc are of text type feilds.
Expand|Select|Wrap|Line Numbers
- ----------------------
- prt1 | prt2 | asset | Desc
- ----------------------
- 1 1 11 xxx
- 2 1 21 yyy
- 1 2 12 zzz
- 1 1 11 xxx
- 2 1 21 yyy
- ============================
Select asset and desc from table Order By asset
AM trying this sql query:
[code]
Select asset, desc from tb_test GROUP BY asset
[code/]
Am getting desc is not part of aggregate function, which am not sure why this error showing, i beleive it shouldnt. since always the values of the desc reveal same values for the corresponding asset value.
Any body can give a hint ??