Alias (SQL): Difference between revisions

Content deleted Content added
Created page with 'You can give an another name to a table by using an alias. This can be a good thing to do if you have very long or complex table names. Note: An alias name could...'
 
No edit summary
Line 23:
| 35 || Marketing
|}
 
SELECT D.DepartmentName
FROM Department AS D
 
Note: We can also write like this
SELECT D.DepartmentName
FROM Department D