能否用一个SQL语句,得到多个sum
Sql="select sum("Money") as hun from aaa where money='"+100+"' "
Sql="select sum("Money") as sou from aaa where money='"+1000+"' "
能否写在同一个语句里面.
可以的话要怎么写
Sql="select sum("Money") as hun from aaa where money='"+100+"' "
Sql="select sum("Money") as sou from aaa where money='"+1000+"' "
能否写在同一个语句里面.
可以的话要怎么写