对已查询的数据批量插入表中
INSERT INTO rz_userauthority (
rz_userauthority_uid,
rz_userauthority_authcode,
rz_userauthority_authcodevalue,
rz_userauthority_isvalid,
rz_userauthority_createdate,
rz_userauthority_type
)
VALUES
(
(select DISTINCT rz_userauthority_uid from rz_userauthority) ,
'300214',
'1',
1,
NOW(),
'ht'
)
如何让它能够执行。
select DISTINCT rz_userauthority_uid from rz_userauthority是查询出来多条数据,如何一次性插入。改怎么修改