如何输出表中字段相加的值
categoryid=request.querystring("categoryid")pno=request.querystring("pno")
set rs=server.createobject("adodb.recordset")
sql="select categoryid,sum(number) as num from products where categoryid="&categoryid&" and pno="&pno&" "
rs.open sql,conn,1,1
这里我要输出num的值。请问这么输出