An alias is a table-specific derived field, in which a path expression is assigned to a name that is declared in the schema. In an object query, the alias name can be used in the query or fields parameters. In an aggregate query, the alias name can be used in the query or grouping parameters. Each occurrence of an alias name is replaced by its expression text, analogous to a macro.Here, the alias named $SalesEmails is assigned the expression Sender.Person.WHERE(Department:sales). If the following object query is submitted:GET /Email/Message/_query?q=$SalesEmails.LastName:powell&range=0The alias name $Sender it replaced with its expression text, which causes the query to be parsed as:GET /Email/Message/_query?q=Sender.Person.WHERE(Department:sales).LastName:powell&range=0