Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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
 
PREVIOUS NEXT
Tagged: #sql #alias
ADD COMMENT
Topic
Name
6+4 =