Hi,
This may sound very easy, but: how do I retrieve records that have code = ‘A’ and more than one empty start dates? So in the end I want to see records 3 & 4 since they have the same id_#, code = ‘A’ and more than 1 empty start date. Would be ideal if this was in ONE Web and not through ONE Desktop.
| Person | id_# | code | start_date |
|---|---|---|---|
| 1 | 1 | A | 1-1-2000 |
| 2 | 1 | A | 1-2-2000 |
| 3 | 1 | A | |
| 4 | 1 | A | |
| 5 | 2 | A | 1-1-2000 |
| 6 | 2 | A | 1-2-2000 |
| 7 | 2 | A |
select *
from Person
where start_date is empty
and code = ‘A’
group by id_#, code
having count (*) > 1
I tried to use count in advanced expressions, but can't seem to get it to work.



