cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kudryavtsev <kudryavtsev...@bw-sw.com>
Subject How to achieve SUM (N * M) with ACS DAO
Date Wed, 10 Jan 2018 08:42:12 GMT
Hello, colleagues, please could anyone guide me how to implement
aggregation SUM over two fields multiplication? Many thanks in advance.

I'm trying to achieve:
SELECT SUM(A * B) FROM T with DAO



-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ <http://bw-sw.com/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message