mysql 语句有错误...求帮忙 update comment set comment.pid=team.pid where comment.tid=team.id; comment 和 team 是同一个数据库中的表...,这条语句的目的是根据comment中的字段tid,对应team表中字段id,, 填充comment表中的pid 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update comment inner join team on comment.tid=team.idset comment.pid=team.pid update comment,team where comment.tid=team.idset comment.pid=team.pid ; update comment,team set comment.pid=team.pid where comment.tid=team.id; 或者update comment using comment,team ... update comment,team where comment.tid=team.idset comment.pid=team.pid ; 简单却有难度的sql题,挑战sql高手。 求个SQL 急 PostgreSql中如何执行字符串命令,类似MS SQL的exec(commandstring) ? 谢谢! mysql数据库的最大存贮有多少 MySQL在WinNT下安装问题,我是欲哭无泪啊! 大家救救我啊,这个问题怎么解决啊,一点都不难啊!100分 哪位能提供MySQLAdmin_v1.0.6的注册代码 MySQL 删除重复数据(两个字段) 求一个初级的SQL语句 怎么修改mysql的root用户名,navicat不能新建连接 MySQL创建function时出错 mysql启用二进制日志
on comment.tid=team.id
set comment.pid=team.pid
where comment.tid=team.id
set comment.pid=team.pid ;
where comment.tid=team.id
set comment.pid=team.pid ;