[SQL] pobierz, plaintext SELECT * FROM kategoria WHERE parent=0 AND id IN (SELECT parent FROM kategoria WHERE parent<>0)[SQL] pobierz, plaintext