Database error: Invalid SQL: select c.* from category as c, data_new as dn, measure as m where c.id = m.category_id and dn.measure_id = m.id and dn.provider_id = 390050 and c.phcqa_category_type_id = and c.status <= 0 and c.active = 1 and c.hcif_org_flag = 0 and c.phcqa_org_flag = 1 and c.data_portal_flag = 0 and c.shared_portal_flag = 0 group by c.id order by c.sort_order
MySQL Error: 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 c.status <= 0 and c.active = 1 and c.hcif_org_flag = 0 and c.phcqa_org_flag ' at line 1)
Session halted.