select COUNT(select userid from users inner join credit on users.userid=credit.userid union select userid FROM users inner JOIN jobs ON users.userid=jobsuserid)
select count(userid)...............
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)