admin_laura
11 years agoLevel 4
Report listing information from "Employees" section
I am looking for a report that will list all employees from the "Employees" tab listing:
- Dislay name
- Employee ID
- Email address
Thank you.
Oops. Just noticed a typo. The INNER JOIN is missing a letter 's' at the end of the table name. Here is the correct line:
INNER JOIN tblAddress AS ta
My apologies for the typo. The entire corrected query is:
SELECT tau.DisplayName
, tau.EmployeeID
, ta.Address
FROM tblAddressUser AS tau
INNER JOIN tblAddress AS ta
ON tau.AddressOwnerID = ta.AddressOwnerID
WHERE ta.AddressTypeID = 1
ORDER BY tau.DisplayName;Also, I forgot to mention that you must run this query against the CA Customer database. My apologies for that oversight.