3

I dont get 1-n relationship.

I have read some articles but still cant figure it out.

I get 1-many, 1:1 and many-to-many.

But what does 1-n mean?

mkj
  • 2,761
  • 5
  • 24
  • 28
ajsie
  • 77,632
  • 106
  • 276
  • 381

5 Answers5

9

1-n is the same as 1-many

Chris Haas
  • 53,986
  • 12
  • 141
  • 274
2

1-n is the same as 1-many. n is just another way of representing an unknown "many".

Lucas Jones
  • 19,767
  • 8
  • 75
  • 88
2

n could be any number, so this is equivalent to 1:many

Marek Karbarz
  • 28,956
  • 6
  • 53
  • 73
2

Its just another way to say 1 to many

Jammin
  • 3,050
  • 2
  • 23
  • 34
0

It's another way of expressing a "parent-child" or "master-detail" relationship. For everything parent you have an undefined number (meaning it can lie between 1 and something-bigger-than-one) of children.

davek
  • 22,499
  • 9
  • 75
  • 95
  • that's a misleading way of thinking of it. there's a 1:N relationship between `S` and `SP`, yet neither is child or detail of the other. – just somebody Dec 14 '09 at 20:19