Check out example codes for "how to print out column name differently in mysql". It will help you in understanding the concepts better.

Code Example 1

-- MySQL

SELECT column1 AS name1, column2 AS name2
FROM table1;

-- AS allows your to replace the name of a column when outputting but does not
-- actually change the column name within the database.

Learn ReactJs, React Native from akashmittal.com