Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

How to give alias to an aggregate field.

$
0
0

Hi,

 

How can I add an alias to an aggregate field.

Following is my code sample:

while select BrandName, count(RecId) from brandsTable
join BrandRecId, ProductName from productsTable
group by brandsTable.BrandName
where brandsTable.RecId == productsTable.BrandRecId
{

.........
}

I want to give an alias to count(RecId):

Thanks,

Tauseef.


Viewing all articles
Browse latest Browse all 72043

Trending Articles