Sql column as header

This article is tagged with: Sql column as header and mysql

sql column as header

You simply need to us the "as" statement to rename an existing column or result.
> select name, max(age) as old from People
> Result:
> name | old
> Steven | 72

This article is tagged with: Sql column as header and mysql