Alior Bank interview question

Foreign key in database