I have the following query:
SELECT COUNT(package) as advanced_count FROM users WHERE package = '2' AND site_url is NOT NULL;
What I want to do is have 2 more queries to get the basic_count and then the total_count which is basic + advanced.
My other basic query is:
SELECT count(package) as basic_count FROM users WHERE package = '1' AND site_url is NOT NULL
But I'm not sure how to combine the two so it is just one query, and then plus adding the total number in there as well.
I hope someone can point me in the right directions.
Thank you!