1064: 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 'ORDER BY gc.title' at line 1
SELECT gc.* FROM prwo_global_category gc, prwo_link_bloj_global_category lbgc WHERE gc.is_visible = 'yes' AND gc.id = lbgc.category_id AND lbgc.blog_object_id = ORDER BY gc.title