The Contrast interview question

Question was related to database