Honeywell Interview Question

related to oop and sql