sql data as column header code example
Example: 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
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