Check out example codes for "sql column as header". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com