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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -