The attached file shows a screen shot of my query. I need now to isolate only those results that are not whole numbers. I think it will be MOD or INT but I can't get it to work in the query.
Also, do I add this "where expression" to the Result column or do I need to create a new Expr: column ?
Thanks.
SQL added in case it helps anyone.
Also, do I add this "where expression" to the Result column or do I need to create a new Expr: column ?
Thanks.
SQL added in case it helps anyone.
Code:
SELECT Qry_All_Ops.StartDate, Qry_All_Ops.Unit, Count(Qry_All_Ops.Unit) AS CountOfUnit, Sum(Qry_All_Ops.JettyNumber) AS SumOfJettyNumber, [sumofJettyNumber]/[countofunit] AS Result
FROM Qry_All_Ops
GROUP BY Qry_All_Ops.StartDate, Qry_All_Ops.Unit, Qry_All_Ops.Status
HAVING (((Count(Qry_All_Ops.Unit))>1) AND ((Qry_All_Ops.Status)="approved"));