select
s.tot, o.cod, o.name
from
occ o,
(select count(name) tot, cod
from occ
group by cod
having count(name) > 1) s
where
o.cod = s.cod
|
Results 1 to 6 of 6
Thread: count on tableThreaded View
|
Click Here to Expand Forum to Full Width |