Check out example codes for "mysql select update same table". It will help you in understanding the concepts better.

Code Example 1

UPDATE
    products_description pd INNER JOIN products_description pd2 ON
    (pd.products_id=pd2.products_id AND pd2.language_id=1 AND pd.language_id<>1)
SET pd.products_seo = pd2.products_seo;

Learn ReactJs, React Native from akashmittal.com