I was trying to find out CRUD level permissions for a particular object on a specific profile for which I've framed below query:
SELECT Id,SObjectType,PermissionsRead,PermissionsCreate FROM ObjectPermissions where SObjectType = 'Account' and parentid in (select id from permissionset where PermissionSet.Profile.Name='System Administrator').
Now this is returning following result:
Id SobjectType PermissionsRead PermissionsCreate 00000000lspT001AAC Account TRUE TRUE 1104100000GpahYAAR Account TRUE TRUE
What is confusing me is that there are two results however it should have been only one . Can someone explain why we see two results