I want to show data in form of parent child relationship..
Tb structure:

uniqueID ClientIID ParentID ClientName
1 1 0 A
2 2 1 B
3 3 1 C
4 4 2 D
5 5 0 E

output...
=>A
B
D
C
=>E

Can anyone help me…for writing query?