我有这样的声明:
insert into Admin.VersionHistory --do not know what to put here
select COUNT(*) as cnt
from membership.members as mm
left join aspnet_membership as asp
on mm.aspnetuserid=asp.userid
left join trade.tradesmen as tr
on tr.memberid=mm.memberid
where asp.isapproved = 0 and tr.ImportDPN IS NOT NULL and tr.importDPN <> ''
它总共给了我 179956。我想把这个总数写到另一个名为的表中Admin.VersionHistory
,该表具有 id(autoinc)、version(varchar) 和 date(sysdate) 列,
请问我该怎么做?谢谢