The RENAME operation, , is used to rename attributes of a relation or the relation name or both. It is useful when a query requires multiple operations and is necessary in some cases. There are three possible cases:

  • Change relation name to :
  • Change column (attribute) names to :
  • Change combined attribute and relation names:

Example:

  • Apply multiple operations and rename (using ):