📜  如何在mysql代码示例中以不同方式打印列名

📅  最后修改于: 2022-03-11 15:05:02.695000             🧑  作者: Mango

代码示例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.