EricTheRed
Registered User.
- Local time
- Today, 17:21
- Joined
- Aug 7, 2003
- Messages
- 27
Okay, so I have a table structured somewhat like this:
[ID] [Category]
1 | 7
1 | 2
1 | 3
2 | 7
2 | 9
3 | 6
3 | 7
3 | 2
I'd like to be able to find all the IDs where Category = [some variable criteria statement]. For example, a query to find all the IDs having a Category entry = 7 OR (6 AND 2) should return simply 3. I've tried all the methods I could think of to no avail. Help! Thanks in advance.
- Eric
[ID] [Category]
1 | 7
1 | 2
1 | 3
2 | 7
2 | 9
3 | 6
3 | 7
3 | 2
I'd like to be able to find all the IDs where Category = [some variable criteria statement]. For example, a query to find all the IDs having a Category entry = 7 OR (6 AND 2) should return simply 3. I've tried all the methods I could think of to no avail. Help! Thanks in advance.
- Eric