📜  如何在mysql代码示例中输出不同的列名

📅  最后修改于: 2022-03-11 15:05:17.294000             🧑  作者: 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.