Hi,
Is there any easy way to join the two tables MainAccount and MainAccountCategory?
I am looking for a join, something like dbo.MainAccountStaging.MAINACCOUNTCATEGORY = dbo.MainAccountCategoryStaging.MAINACCOUNTCATEGORY
But mainaccountcategory column is not in MainAccount table.
Hi Agneum,
You can relate mainaccount & mainaccountcategory tables using AccountCategoryRef field. For SQL you can use
dbo.MAINACCOUNTCATEGORY.ACCOUNTCATEGORYREF = dbo.MAINACCOUNT.ACCOUNTCATEGORYREF
If you need to know how tables are related, you can check it in AE in the 'relations' section of table
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,996
Most Valuable Professional
nmaenpaa
101,158
Moderator