Cognizant interview question

primary key ,unique key sql queries