Błąd: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Zapytanie: SELECT cat_desc.name FROM cat, cat_desc WHERE cat.id=cat_desc.id_cat AND cat.id=(SELECT parent_id FROM cat_desc, cat WHERE cat.id=cat_desc.id_cat AND cat.id=)