Well if you have a table of logged in users you just have to do an Inner Join
SELECT *
FROM LoggedInUsers liu INNER JOIN Roles r ON liu.role_id = r.id
Well if you have a table of logged in users you just have to do an Inner Join
SELECT *
FROM LoggedInUsers liu INNER JOIN Roles r ON liu.role_id = r.id
No comments:
Post a Comment