Quantcast
Channel: Conditional inner join - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article


Conditional 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>