I have the following query:
SELECT [Team], Count(*) AS CountOfP
FROM Monday
WHERE Field4="P"
GROUP BY [Team];
Then I have this one:
SELECT [Team], Count(*) AS CountOfT
FROM Monday
WHERE Field4="T"
GROUP BY [Team];
The only difference is one counts the occurrences of "P" and the other counts the occurences of "T". Is there a way to combine the two queries into one? I know I have seen more than one SELECT statement in the same query, but do not know if it can be done here or what the syntax would be.
SELECT [Team], Count(*) AS CountOfP
FROM Monday
WHERE Field4="P"
GROUP BY [Team];
Then I have this one:
SELECT [Team], Count(*) AS CountOfT
FROM Monday
WHERE Field4="T"
GROUP BY [Team];
The only difference is one counts the occurrences of "P" and the other counts the occurences of "T". Is there a way to combine the two queries into one? I know I have seen more than one SELECT statement in the same query, but do not know if it can be done here or what the syntax would be.