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
Post a Comment