Answers for "what is alias in sql"

SQL
2

sql alias

-- SELECT my_col_name AS my_alias FROM my_table;
SELECT sysdate() AS "Current date";   			-- MySQl Alias
SELECT sysdate AS "Current date" FROM dual;   	-- same in Oracle
Posted by: Guest on May-09-2021
1

sql as

-- AS is a keyword that allows you to rename a column or table using an alias
SELECT column_name AS 'Alias'
FROM table_name;
Posted by: Guest on July-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language