KAAR Interview Question

SQL query to create table with primary and foreign key