Calculate Percentages In Query - Access SQL
问题 I'm trying to quantify some things. Here's a sample (simplified of course): tblParent: { Number, Name } tblChild: { Number, Name, ParentNumber, Criterion } I'd like to count the total number of Children with the same ParentNumber (easy using a Group By and a Count(1) ), but the problem is comparing that number with the number of children with the same ParentNumber who have Criterion = "Something" . Here's what I have so far: SELECT "Criterion = 1" AS CritDesc, COUNT(1) AS Total, ParentNumber