That is because the primary key on Orders table is ORDERS_NUM, CUST_NUM not just ORDERS_NUM.