In relational algebra, a rename is a unary operation written as  where:
 where:
The result is identical to R except that the b attribute in all tuples is renamed to a. For an example, consider the following invocation of ρ on an Employee relation and the result of that invocation:
 
 |   |   | 
 | 
   
   | Name | EmployeeId |  
   | Harry | 3415 |  
   | Sally | 2241 |  | 
   
   | EmployeeName | EmployeeId |  
   | Harry | 3415 |  
   | Sally | 2241 |  | 
Formally, the semantics of the rename operator is defined as follows:
![{\displaystyle \rho _{a/b}(R)=\{\ t[a/b]:t\in R\ \},}](./37e1c7381f30614642dc3141f99d88ae31e4b2cf.svg) 
where ![{\displaystyle t[a/b]}](./bbab11c03d9acf478fe64385f4c2de11cabec1f2.svg) is defined as the tuple t, with the b attribute renamed to a, so that:
 is defined as the tuple t, with the b attribute renamed to a, so that:
![{\displaystyle t[a/b]=\{\ (c,v)\ |\ (c,v)\in t,\ c\neq b\ \}\cup \{\ (a,\ t(b))\ \}.}](./7368ba4d1ae9dd8efb981bb4a5be854c18286a1f.svg)