var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Using generated columns in other generated columns
Does anyone know of how to write something to the effect of:
I know it could be be accomplished with
SELECT myRealField + 1 AS 'f1', f1 / 2 AS 'f2'
but I would rather not have to duplicate (myRealField + 1) in multiple places in the query.
SELECT myRealField + 1 AS 'f1', (myRealField + 1) / 2 AS 'f2'