Hi All,
I want to copy the missing 'data' field from 'tb1' to 'tb2' based on the 'id' value.
Please suggest the possible queries.
mysql> select * from tb1;
+------+------+
| id | data |
+------+------+
| 1 | A |
| 2 | B |
| 3 | C |
+------+------+
3 rows in set (0.00 sec)
mysql> select * from tb2;
+------+------+
| id | data |
+------+------+
| 1 | NULL |
| 2 | NULL |
| 3 | NULL |
+------+------+
3 rows in set (0.00 sec)