select c.category_id, c.category_name from contact_categories c where c.category_id = :category_id update contact_categories set category_name = :category_name where category_id = :category_id