Hello DB2 gurus,
I am really new to DB2 and SQL programming and facing problems in small-small issues like mentioned below. Kindly help me in resolving the issue.
I have person and city as two columns in the table1 and I want to get cities with count(person) > 1000.
The query is like this :
"select city, count(*) from table1 where count(*) > 1000 group by city"
But I cannot write condition like this in where clause.
How to write this where clause correctly?
Thanks,
rpkulkarni