You need to sign in to do that
Don't have an account?
Arthur Almeida 12
how to select 2 rows with same account?
I would like to do a select in one account that has 2 assets with status X
I tried with:
but this return 2 rows with 2 different accounts... I need it to be the same account...
how does it?
I tried with:
SELECT Id, AccountId FROM Asset WHERE Status = 'X' LIMIT 2
but this return 2 rows with 2 different accounts... I need it to be the same account...
how does it?
You can use an aggregate SOQL query for this. If this helps, Please mark it as best answer.
Thanks!!