Meaning of “n:m” and “1:n” in database design
问题 In database design what do n:m and 1:n mean? Does it have anything to do with keys or relationships? 回答1: m:n is used to denote a many-to-many relationship ( m objects on the other side related to n on the other) while 1:n refers to a one-to-many relationship ( 1 object on the other side related to n on the other). 回答2: 1:n means 'one-to-many'; you have two tables, and each row of table A may be referenced by any number of rows in table B, but each row in table B can only reference one row in