>>>The column MYCNT does not exist, it's created by aggregate function. As such it should be checked in HAVING clause.
>>>...
>>>HAVING MYCNT > 1
>>>...
>>>
>>>
>>
>>Thank you very much.
>
>And that's what you're getting when you decided to work a little <g> 49 seconds later and no star <g>
Do you really need these stars so badly? I always think of stars not as a reward but rather as a notice to a lurker that the message contains a solution.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham