I am trying to create a sub-query. Below is a partial list of account numbers. Accounts are comprised of a 6 digit account, and a 2 digit sub account. What I need to do is exclude complete accounts that that end in '99'. I will also need to exclude accounts that end in '00' and long there was a corresponding '99'.
For example, I would need to remove 910620-99 and 910620-00, however, I would not need to remove accounts such as 910035-00 or 910040-00.

Thanks for your help.
Bob