how can I retrieve name against a guid in report. As in following query, new_accountid is returning a guid but I needs name of the account
SELECT new_name AS 'Audit', new_agentid AS 'Agent ID', new_accountid AS 'Agency', FROM Filterednew_test WHERE (statecode = 0)