您可能正在寻找吗?:
insert into myDestTable (userid, name, value, othercolumns)select us.userid, us.name,'myvaluefrompre', othercolumnsfrom users us where us.name = 'mynamefrompre'
上一篇 以预定义的顺序返回查询结果
下一篇 时间戳记(自动)何时更新?
版权所有 ©2023-2025 051e.com
ICP备案号:京ICP备12030808号