有2张表 A 字段 id tid content istrue
B 字段 id groupid content status
tid是B表id的外键
B是主表
用merge into 怎么更新字表添加的数据和主表
就是当字表tid和主表id一样时 修改 不一样则添加