Hvis du vil have et samlet antal for alle poster, skal du gøre dette:
SELECT COUNT(*)
FROM
(
select distinct profile_id
from userprofile_...
union all
select distinct profile_id
from productions_...
) x
Hvis du vil have et samlet antal for alle poster, skal du gøre dette:
SELECT COUNT(*)
FROM
(
select distinct profile_id
from userprofile_...
union all
select distinct profile_id
from productions_...
) x