postgresql 别名
- 作者: 老王一边搞你一边
- 来源: 51数据库
- 2020-10-03
可以用 update a set a.name=b.name from table1 a inner join table2 b on a.id=b.id 以上,希望对你有所帮助! 可以update table1 t1 ,pcfcsm
直接就是你上面的语句就可以了update 表名 set 字段=?where 值 in (select 字段 from table where )
直接就是你上面的语句就可以了update 表名 set 字段=?where 值 in (select 字段 from table where )
推荐阅读