mysql – What is a 0: N relationship?

Question:

What does the 0: N relationship mean?

They gave a task and there is an item "one product can belong to 0: N categories" Is this one to many? Can one product have many categories?

Answer:

One-to-many relationship. That's right, one product can contain from 0 to N categories.

Scroll to Top