There is a table org (name, emp_id). For each possible name
value, you must output the number of unique emp_id
. Can this be done with the help of count()
or how else?
UPD: A little decipher. Let's say
(name) (emp_id) apple 85962 apple 14654 intel 14654 intel 14654
As a result, you need to get something like
(name) count(emp_id) apple 2 intel 1
those. if emp_id
repeated in different emp_id
, then they must be counted