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

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -