↧
Answer by mike16889 for Conditional inner join
Based on Lennarts suggestion I have used a UNION to get the results I need:SELECT u.uID, it.itID, u.user, it.itemTypeFROM users uINNER JOIN clientItemTypes cit ON cit.cID = u.CIDINNER JOIN...
View ArticleConditional inner join
I need to get allowed itemTypes for a user based on 2 different tables in a conditional way. If the users userGroup has any entries in the userGroupItemTypes table it should only show items that are in...
View Article