$ 0 0 Try this:SELECT T0.[AcctCode], T0.[AcctName]FROM OACT T0GROUP BY T0.[FatherNum], T0.[Levels],T0.[AcctCode], T0.[AcctName]