I am trying to run the following query to return a list of all months with the count of English and Scottish users. I am not sure how to run multiple Count queries along side each other.
SELECT month(Date) as month
, COUNT(*) as scottishCount
FROM users userTable
WHERE year(Date) = 2015
AND userTable.UserID in
(select nationsTable.UserID
from users nationsTable
where nationsTable.Nation = 'Scotland'), COUNT(*) as englishCount FROM users userTable WHERE year(Date)=201 AND userTable.UserID in (select nationsTable.UserID from nations nationsTable where nationsTable.Nation= 'England') GROUP BY month(DateClicked);
Thanks in advance,
Fred