SQL done parents find and changed category.