(select id ,'cat' as type,name_ar,description_ar,image as images from categories where  active='1'  order by sort desc ) UNION (select id ,'product' as type,name_ar,description_ar,images from products where  active='1'   order by sort desc) limit 0,8