is it possible to increment last row with a constant value? I would like to receive a response like this:
Date | Value
-------------------
2013-11-01 | 14.32
2013-11-02 | 15.32
2013-11-03 | 16.32
... | ...
I've tried it with Variables:.
SET @INCREMENT := '1.00';
SET @VALUE := '14.32';
SELECT `Date`, @VALUE + @INCREMENT
FROM `table`
WHERE `Date` > '2013-11-01'
but this shows only one constant value in row2.