I want to write a query as :
select ID, count(distinct(name))
from user
where id is not null
group by ID
having count(distinct(name))>1
but looks like this query fails in access due to multiple functions.
Can someone help me how should i be writing this.
NOte. Id is not a primary key for this table.
select ID, count(distinct(name))
from user
where id is not null
group by ID
having count(distinct(name))>1
but looks like this query fails in access due to multiple functions.
Can someone help me how should i be writing this.
NOte. Id is not a primary key for this table.