Hi,
I have problem to count a multiple condition in one query. Usually i have to select count it one by one just like this :
SELECT COUNT(kod_urusan) as num1
FROM customer_info
WHERE kod_urusan = '0001'
SELECT COUNT(kod_urusan) as num2
FROM customer_info
WHERE kod_urusan = '0002'
SELECT COUNT(kod_urusan) as num3
FROM customer_info
WHERE kod_urusan = '0003'
Is there any way to put all this query in one query? So the result of the count should be in 3 column.