sql count return 0 jika tidak ada baris

Yes, COUNT() returns 0 if there were no matching rows.
Suraj Kr Thapa