A
amsablotny
I am trying to change this sql statment into a an access sql statement.
I am not sure how convert the where statement "where c.ClientID not in
(Select clientID from tblIPS)" into access.
select co.CompanyName, count(c.ClientName) NumberOfClientsWithNoIPS
from tblClients c
join tblCompanies co on c.RIACompanyID = co.CompanyID
where c.ClientID not in (Select clientID from tblIPS)
Group By CompanyName
union
select 'zz - Total', count(c.ClientName) Total
from tblClients c
join tblCompanies co on c.RIACompanyID = co.CompanyID
where c.ClientID not in (Select clientID from tblIPS)
order by CompanyName
Can someone help?
Thanks,
Alanna
I am not sure how convert the where statement "where c.ClientID not in
(Select clientID from tblIPS)" into access.
select co.CompanyName, count(c.ClientName) NumberOfClientsWithNoIPS
from tblClients c
join tblCompanies co on c.RIACompanyID = co.CompanyID
where c.ClientID not in (Select clientID from tblIPS)
Group By CompanyName
union
select 'zz - Total', count(c.ClientName) Total
from tblClients c
join tblCompanies co on c.RIACompanyID = co.CompanyID
where c.ClientID not in (Select clientID from tblIPS)
order by CompanyName
Can someone help?
Thanks,
Alanna