Edifecs Interview Question

basic sql queries about primary key, foreign key, etc..