select a colum but rename it sql code example
Example 1: change name of colum in sql table
ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";
Example 2: sql rename column in select query
SELECT data.column AS `Label`
ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";
SELECT data.column AS `Label`