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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -