Does it mean the provincia desc for the next five provincia has no significance and you require only the count?
Even if your query works, the output will be first five provincia desc as col1, the COUNT of them as col2 and merely the COUNT of next five provincia as col3.
Is it true? Or you would require the provincia desc of the next five column as well?
Can you print here a sample of your output?
Nandu




Reply With Quote