M
mohsin via AccessMonster.com
Hi there
My queries as below;
SELECT NetName, Date,Hour, Sum(Total) AS CG0, Sum(Total) AS CG1
FROM totalcc_hour
WHERE ((([CC])="000" And (([CC])="010" Or ([CC])="011" Or ([CC])="013" Or (
[CC])="015" Or ([CC])="017" Or ([CC])="021" Or ([CC])="022" Or ([CC])="024"
Or ([CC])="026" Or ([CC])="034" Or ([CC])="035" Or ([CC])="203" Or ([CC])
="204" Or ([CC])="206" Or ([CC])="00B")))
GROUP BY NetName,Date,Hour;
Here the CG0 only contain "000" - condition 1
and CG1="010" etc.. - condition2
The results of this queries is empty!!!..
It's i'm done the right way?!
or have to do per queries for different condition?
thank you for your help
My queries as below;
SELECT NetName, Date,Hour, Sum(Total) AS CG0, Sum(Total) AS CG1
FROM totalcc_hour
WHERE ((([CC])="000" And (([CC])="010" Or ([CC])="011" Or ([CC])="013" Or (
[CC])="015" Or ([CC])="017" Or ([CC])="021" Or ([CC])="022" Or ([CC])="024"
Or ([CC])="026" Or ([CC])="034" Or ([CC])="035" Or ([CC])="203" Or ([CC])
="204" Or ([CC])="206" Or ([CC])="00B")))
GROUP BY NetName,Date,Hour;
Here the CG0 only contain "000" - condition 1
and CG1="010" etc.. - condition2
The results of this queries is empty!!!..
It's i'm done the right way?!
or have to do per queries for different condition?
thank you for your help