Error - select parentid from master_category where indexid=