Suppose I have the following queries.
SELECT count(*) FROM info WHERE info = 'a' and uid = 1
SELECT count(*) FROM info WHERE info = 'b' and uid = 1
SELECT count(*) FROM info WHERE info = 'c' and uid = 1;
Instead of writing 3 queries is there any way so that I can get all these details in a single query?
1 Answer