如何通过联合查询把结果写入表的某个字段 本帖最后由 phpcainiao 于 2012-10-18 16:43:58 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update ax1 a inner join (select xxid,count(*) as js from ax2 group by xxid) bon a.xxid=b.xxidset a.tongji=b.js update ax1 A,(select xxid,count(*) as num from ax2 group by xxid) Bset A.tongji=B.numwhere A.xxid=B.xxid update ax1,(select xxid,sum(length(neirong)) as c from ax2 group by xxid) bset ax1.tongji=b.cwhere ax1.xxid=b.xxid 或者update ax1 inner join (select xxid,sum(length(neirong)) as c from ax2 group by xxid) b on ax1.xxid=b.xxidset ax1.tongji=b.c php 连接数据库的问题 mysql数据库性能小问题 求一个mysql数据库 请问如何得到最后一次update操作的记录的id? 如何以UTF8的形式插入一条记录到MySQL数据库 关于mysql-front(初学者) 急!急!急!我用的是应用于linux redhat7.2下的mysql3.23,出现了如下和令人诧异的问题 mysql 措施 对于mysql 字段设为NULL的疑惑 有高手吗?求解 mysql绿色版Access denied for user 'ODBC'@'localhost' (using password:NO) mysql怎样查找含有dress单词的数据
on a.xxid=b.xxid
set a.tongji=b.js
set A.tongji=B.num
where A.xxid=B.xxid
set ax1.tongji=b.c
where ax1.xxid=b.xxid
on ax1.xxid=b.xxid
set ax1.tongji=b.c