table one:
ID title type
1 aa 1
2 bb 1
3 cc 1
4 dd 2table two:
id ids
1 1,2,3ids 就是table one 类型为1 的id , 我现在要写个sql语句,
比如 我删除 table one 中的一条记录, 系统自动 统计table two 的 ids 个数!
同时修改 ids 字段的内容这sql 语句怎么写呢、 有点复杂!! 求救啊!!
写好了,加分!
谢谢了!!
ID title type
1 aa 1
2 bb 1
3 cc 1
4 dd 2table two:
id ids
1 1,2,3ids 就是table one 类型为1 的id , 我现在要写个sql语句,
比如 我删除 table one 中的一条记录, 系统自动 统计table two 的 ids 个数!
同时修改 ids 字段的内容这sql 语句怎么写呢、 有点复杂!! 求救啊!!
写好了,加分!
谢谢了!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货