Jak osiągnąć taki rezultat?
  1. cid || pid || name
  2. 1 || 1 || test1
  3. 1 || 2 || test2
  4. 1 || 3 || test3
  5. 2 || 1 || test4
  6.  


itd.
UP[ Nie doczekam się tongue.gif]
Nieważne, stack overflow pomógł.
http://stackoverflow.com/questions/1442065...by-other-column