0
我有兩張桌子。我需要將數據從一個表中根據ID如何從一張桌子複製一列到另一張
table1的
+----+------------------------+------+
| id | title | year |
+----+------------------------+------+
| 1 | Carmencita | 1894 |
| 2 | Le clown et ses chiens | 1892 |
| 3 | Pauvre Pierrot | 1892 |
+----+------------------------+------+
表複製到另一個2:
+----+------------------------+------+
| id | title | year |
+----+------------------------+------+
| 1 | Carmencita | 0 |
| 2 | Le clown et ses chiens | 0 |
| 3 | Pauvre Pierrot | 0 |
+----+------------------------+------+
如何從表1中複製當年列於表中的兩個,這樣他們有正確的ID