I use Postgres 9.1. I am running a query which is like
select count(distinct(user_id)) from users where user_id in (11,32,763,324,45,76,37,98,587);
Here the list of user_id
s contains 600 entries. The result I am getting is 597. Thus there are 3 user_id
s from the list, which are not present in the users
. How do I get to know these 3 user_id
s?
Please note that user_id
is not the Primary Key of users