A Database Error Occurred
Error Number: 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 'AND b.nid = a.nid_category_type' at line 1
SELECT a.nid as nid,a.nid_category_type,a.ccategory,b.ccategory_type FROM tkb_tcategory as a , tkb_tcategory_type as b WHERE a.nid is not null AND b.nid = AND b.nid = a.nid_category_type