📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

An Invoice has a CustomerID and a SalespersonID. What does this show?

A. The Invoice has no parent
B. The Invoice is in a many-to-many relationship
C. The Invoice is in two one-to-many relationships, one with Customer and one with Salesperson ✅
D. The Invoice is self-referencing

Correct Answer: C. The Invoice is in two one-to-many relationships, one with Customer and one with Salesperson

Explanation

Each foreign key is a separate link, so one invoice belongs to one customer and is handled by one salesperson, while each customer and salesperson can have many invoices.