I am making a schema that includes addresses. I have the address separated into the columns ‘suburb_id’, ‘address’, and ‘postal_code’, The suburb_id has a random chance of being null. Is there a way to make address and postal code null only if suburb_id is null?
I.e. If the suburb_id is selected to be null, then address and postal code will also be null, but will be populated if suburb_id is not null.