Yes this is possible, but you have to do an
UNION
.
Like this :
SELECT
M.ID
,A.Username
FROM MainTbl M INNER JOIN ActiveTbl A ON A.UserID = M.ID
WHERE M.IsActive = 1
UNION
SELECT
M.ID
,A.Username
FROM MainTbl M INNER JOIN InactiveTbl A ON A.UserID = M.ID
WHERE M.IsActive = 1
Hope this helps. Thanks to vote anyway.
Regards.