mysql - how use the mathematical statement in FROM in the sql query -
i want sum of 1 column derived 2 column multiplication below mentioning query please let me know solution
(select sum(multiplication) weight ( s.qtyonhand * round((sysdate - inv.movementdate), 2 ))), s.qtyonhand * round((sysdate - inv.movementdate), 2) multiplication
above query giving error missing right parenthesis please me out
Comments
Post a Comment