I have a two tables for ex:
cities - id_city, city_name
properties - id_property, id_city, property_name
I want to display cities.city_name and next to it [properties.count(id_city)]
How do I make a query that still return ZERO if no records founds istead on NULL
so I get results like
London [123]
New York [0]
Berlin [11]
and NEW YORK is [0] not NULL, NOT 1