I receive unknown parsing error while executing following soql query in dev console.
SELECT Name,OwnerId from account where ID in (Select AccountId from User WHERE Id = 00536000005bkdTAAQ)
I want to look at accounts associated with this user.
I receive unknown parsing error while executing following soql query in dev console.
SELECT Name,OwnerId from account where ID in (Select AccountId from User WHERE Id = 00536000005bkdTAAQ)
I want to look at accounts associated with this user.
Best Answer
You need to wrap the
Id
value in single quotes ('
):