How do you alias in Birst scripts? For example, I want to use the below script twice, once for email and once for telephone.
LEFT OUTER JOIN
SELECT
[Level(HCMEmployeeContact.HCMEmployeeContact).Contact Detail Email Address],
[Level(HCMEmployeeContact.HCMEmployeeContact).Contact Detail Telephone Subscriber Number],
[Level(HCMEmployeeContact.HCMEmployeeContact).Contact Method State],
[Level(HCMEmployeeContact.HCMEmployeeContact).Description]
FROM
[Level(HCMEmployeeContact.HCMEmployeeContact)]
ON [Level(HCMEmployeeHistory.HCMEmployeeHistory).Employee Key]=[Level(HCMEmployeeContact.HCMEmployeeContact).Employee Key]
AND [Level(HCMEmployeeHistory.HCMEmployeeHistory).Use For Work Email Key]=[Level(HCMEmployeeContact.HCMEmployeeContact).Employee Contact Key]
AND [Level(HCMEmployeeContact.HCMEmployeeContact).Contact Method State]='Email'