how to output a different column name in mysql

Solutions on MaxInterview for how to output a different column name in mysql by the best coders in the world

showing results for - "how to output a different column name in mysql"
Lilian
07 Oct 2016
1-- MySQL
2
3SELECT column1 AS name1, column2 AS name2
4FROM table1;
5
6-- AS allows your to replace the name of a column when outputting but does not
7-- actually change the column name within the database.