我在数据库中有新表来跟踪标签,如下所示:
TAG NAME | IMAGE ID
funny 570
funny 571
dog 649
我有旧表来跟踪标签,如下所示:
TAG ID | TAG NAME | IMAGES IDS
11 funny 570,571,572,573,574,575,576,577,578,579,580,581,58...
12 dog 649,650,651,652,653,654,655,656,657,658,659,660,66...
13 cat 844,845,846,847,848,849,850,851,852,853,854,855,85...
我需要将所有旧图像 ID/相关标签添加到新表中