Tech Mahindra Interview Question

Sql questions from primary key, foregin key, joins