Table 'moke_mokesite3.mkwx_amrbasics' doesn't exist SQL=Select r.id From mkwx_amrbasics As r Where r.id Not In ( Select record_id From mkwx_contentbuilder_records As cr Where cr.`type` = 'com_contentbuilder' And cr.reference_id = '1' And cr.record_id = r.id )