Just to confirm, this will work fine for arbitrary expressions, right? Like this: SELECT UPPER(NAME || 'foo') as n ...