In SQL, we can alias columns, views and tables. A table alias is also called a co-relation name.
It is a temporarily names of columns or tables.
The Alias temporarily assigns another name to a column, or table at the time of a SELECT query and the assigning alias doesn’t rename the column or table name actually!
Basically, it make column, or table more readable to the programmers.
--USE OF TABLE ALIAS SELECT TBL.Id, TBL.Name FROM [dbo].[Tbl_Demo] AS TBL WHERE TBL.Id in (1, 2, 3) --USE OF COLUMN ALIAS SELECT TBL.Id AS UID, TBL.Name AS UNAME FROM [dbo].[Tbl_Demo] AS TBL WHERE TBL.Id in (1, 2, 3)