KAAR interview question

SQL query to create table with primary and foreign key