SQL Query add calculated temp column -



SQL Query add calculated temp column -

i returning 2 columns in query (date , total).

e.g.

date1, 11231 date2, 11239 date3, 11341

what wondering if create column in query shows me difference lastly total?

i not able alter construction of sql table @ all, best suited in view?

thanks help.

regards

jason

use lag() analytic function if available in version of sql-you did not specify. there lead() function available...

sql

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -