Cognizant interview question

Basic in Database