update a_t AA set /*AA.*/ sqlstr = 'qqq' from a_t BB where aa.id <> BB.id and aa.name = BB.name and BB.time = date'2019-09-09' and aa.time = date'2019-10-10' 如上,需注意的是set中不能使用别名。 来源:https://www.cnblogs.com/lbhqq/p/11753748.html 标签 date greenplum