Task:

List monthly sales for the year 2013. For each month include next month's sales.
If there is no prior month, return 0. Also include the delta (difference) between the current and the next month's sales.
Click here for details on LEAD.
 
 12 Records
Month Sales Next Month Delta
1 78757.60 41207.20 37550.40
2 41207.20 49476.70 -8269.50
3 49476.70 55699.39 -6222.69
4 55699.39 62642.70 -6943.31
5 62642.70 39088.00 23554.70
6 39088.00 64663.83 -25575.83
7 64663.83 49981.69 14682.14
8 49981.69 68093.57 -18111.88
9 68093.57 70328.50 -2234.93
10 70328.50 53999.51 16328.99
11 53999.51 77476.26 -23476.75
12 77476.26 0.00 77476.26
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0