I Have a User table, where it has userFirstname, emailid, organisation as columns. I have to filter the users based on the user that have logged into the system. I have the Email ID of the user who logs into the system. I need a sql statement so that the users are filtered based on the organisation which is same as the logged in user.
I Have a User table, where it has userFirstname, emailid, organisation as columns. I
Share
something like this,
(get the logged on users organisation, then find all users in that organisation):