I have a table ps_product with:
ps_product
-------------------------
|id_product |reference |
-------------------------
|1 |c11111 |
|2 |x222222 |
|3 |x222222 |
-------------------------
and a table ps_product_lang with:
ps_product_lang
---------------------------------
|id_product |name |
---------------------------------
|1 |Disco 1TB |
|2 |Disco x222222 2TB |
|3 |Disco 3TB x3333 |
---------------------------------
Is there a MySQL script to run in PhPMyAdmin to add reference code at the and of all product name ?
The result should be:
ps_product_lang
---------------------------------
|id_product |name |
---------------------------------
|1 |Disco 1TB c11111 |
|2 |Disco 2TB x222222 |
|3 |Disco 3TB x3333 |
---------------------------------
Thanks