select c.categories_id, cd.categories_name, c.categories_image,c.categories_image2, c.parent_id, c.address_key, c.category_visible_group from categories c, categories_description cd where c.parent_id = '264' and c.categories_status = '1' and c.categories_id = cd.categories_id and c.categories_id not in ('266') and cd.language_id='1' order by sort_order, cd.categories_name