SELECT Id,LastModifiedBy.Account.LastModifiedBy.Account.LastModifiedBy.Id,LastModifiedBy.Account.LastModifiedBy.Account.Id,(SELECT Id FROM Users) FROM Account
Also get the "cannot use" warning when trying to select from User.
Fixing this is quite difficult so recording it here to see if it is important to users. If so, please add a comment below.
The query with no fields selected is:
SELECT Id,LastModifiedBy.Account.LastModifiedBy.Account.LastModifiedBy.Id,LastModifiedBy.Account.LastModifiedBy.Account.Id,(SELECT Id FROM Users) FROM Account
Also get the "cannot use" warning when trying to select from User.
Fixing this is quite difficult so recording it here to see if it is important to users. If so, please add a comment below.