I have a table ps_feature with:
-------------
|id_feature |
-------------
|1 |
|2 |
|3 |
|4 |
|5 |
|6 |
-------------
and a table ps_feature_lang with:
--------------------------------
|id_feature | id_lang | name |
--------------------------------
|1 | 1 | text1 |
|2 | 1 | text2 |
|4 | 1 | text3 |
|5 | 1 | text4 |
--------------------------------
Is there a MySQL script to run in PhPMyAdmin to compare two tables and add missing values in ps_feature_lang ?
The result should be:
--------------------------------
|id_feature | id_lang | name |
--------------------------------
|1 | 1 | text1 |
|2 | 1 | text2 |
|3 | 1 | N/A |
|4 | 1 | text3 |
|5 | 1 | text4 |
|6 | 1 | N/A |
--------------------------------
Thanks.