count1 = conn.execute("select count(1) from nd_shoptag where tag="&id)
count2 = conn.execute("select count(1) from nd_quan where tag="&id)
count3 = conn.execute("select count(1) from nd_species where tag="&id)
conn.execute("update nd_species set f_shoptag="&count1&",f_quan="&count2&",f_species="&count3&" where id="&id)这是asp代码
统计总数
计算和更新能放在一起吗