select userid from cw_users where NOT EXISTS(Select userid from cw_users_data)
The previous query won\'t do the job of course.
Trying to fi
how about this
select userid from cw_users where userid not in (Select userid from cw_users_data)