Hello,
I have a query that I'm not sure how to write. I'm not a SQL expert and it's pretty nasty. I'm hoping someone here can help me with it.
I have a table called "Members" which has a list of user names to my web site. I need to get the list of users that belong to one or more divisions in my company as well as one or more managers. The specific divisions and managers are chosen by a user in my web site. I have a list of the managers and divisions they have selected. I have also parsed them into a comma-delimited list. Here is a summary of the table information I am trying to link together:
Members
- UserName
- StoreID
Store
- StoreID
- PostalCode
Division
- PostalCode
- ManagerID
Manager
- ManagerID
- ManagerName
How do I get the list of Members based on a list of Regions and Managers that a user chooses? Sincerely thank you for your help!