SQL - As clause


The as sql clause renames a relation or the attribute of a relation.

This is a runtime operation and does not rename a table or a column. To rename a table or a column, the alter statement should be used.

This equivalent operator in relational algebra is the rename operator


select a as a1 from R as R1

Powered by ComboStrap