Forum Moderators: open
1. Date
2. Number
3. Status
And the table looks like this.
--------------------------------------
Date ¦ Number ¦ Status
--------------------------------------
1/23/09 ¦960-000-9542 ¦ 4500
--------------------------------------
1/23/09 ¦515-555-1212 ¦ 3200
--------------------------------------
1/23/09 ¦515-555-1212 ¦ 0
--------------------------------------
1/23/09 ¦212-000-2315 ¦ 0
--------------------------------------
1/23/09 ¦653-000-1111 ¦ 6532
--------------------------------------
Is there a way to do a single query to show the
results like this?
(Show all records that don't have the status of "0". If the record has status of "0" somewhere in the other row, then do not show)
--------------------------------------
Date ¦ Number ¦ Status
--------------------------------------
1/23/09 ¦960-000-9542 ¦ 4500
--------------------------------------
1/23/09 ¦653-000-1111 ¦ 6532
--------------------------------------
I've been trying to do this for a while but had no luck. Any help appreciated! Thank!
Oh, and welcome to WebmasterWorld [webmasterworld.com]!