What is cardinality in Databases?
A source of confusion may be the use of the word in two different contexts – data modelling and database query optimization. In data modelling terms, cardinality is how one table relates to another. 1-1 (one row in table A relates to one row in tableB) 1-Many (one row in table A relates to many … Read more