Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

SQL SELECT AS Alias

SELECT first_name AS name
FROM Customers;
Comment

Aliasing in SQL

-- Aliasing simply means you assign a temporary name to something.
-- For example:
SELECT MAX(budget) AS max_budget,
       MAX(duration) AS max_duration
FROM films;
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql varchar length 
Sql :: how to verify sequence result in oracle SQL 
Sql :: pl sql if boolean 
Sql :: mysql uuid 
Sql :: sql max value in column 
Sql :: sql update by id 
Sql :: how to completely uninstall sql server 
Sql :: sqlalchemy existing db file 
Sql :: truncate table sql server foreign key 
Sql :: foreign key in sql dbms 
Sql :: Find the names of sailors who have reserved a red boat, and list in the order of age 
Sql :: mysql select smaller of two values 
Sql :: into in sql 
Sql :: example database query 
Sql :: create a database mysql 
Sql :: how to install mssql on mac 
Sql :: sql order by 
Sql :: how to install mysql workbench in ubuntu 20.04 
Sql :: wp_query raw sql 
Sql :: HAS VALUE CHECK IN SQL 
Sql :: stored function in sql 
Sql :: add column sql 
Sql :: mysql --version 
Sql :: sql composite primary key 
Sql :: sql count * vs count 1 
Sql :: what is between operator 
Sql :: mysql procedure 
Sql :: sqllite format 
Sql :: SQL Comments With Statements 
Sql :: delete from table and truncate table 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =