You need to sign in to do that
Don't have an account?

Can you Rename a Column in a SOQL Query
How can I rename columns for an ETL export? For example, I have a quote with quote line items export that I need to change the column name of Status to attribute:QuoteStatus.
Thanks in Advance!
Thanks in Advance!
Sharing this similar post from past: https://salesforce.stackexchange.com/questions/38507/soql-alias-a-column
Based on answer provided ,
"SOQL has very limited aliasing support. You can alias the table, e.g. SELECT a.name FROM Account a, but that's of very little use. In most contexts you cannot alias fields.
The one exception is for queries that use aggregations, like SELECT COUNT(Id) recordCount FROM Account allows you to alias the result of the aggregation from it's default expr0 to recordCount."
Try appraoch suggested in https://salesforce.stackexchange.com/a/334846/80089
If this information helps, please mark the answer as best. Thank you