I believe that I need to use a subquery to find a solution to my little problem, but it's been so long since I took my DB class that I don't remember too much.
I have a table to which we can call personprogram. This table contains among other data, status, category, id, etc. What I want to find out, are persons who have more than one program in their record:
PersonID Category Status
100 1 1
100 2 1
101 2 1
102 1 1
102 2 1
So my query would only return two IDs, 100 and 102.
Not sure if a subquery is needed or a group by or having, Need to take a refresher course obviously. Thanks!