K
K
Konstantin2018-12-11 02:48:03
MySQL
Konstantin, 2018-12-11 02:48:03

Is the relationship between the tables logically correct?

There are tables of Products, Users and Product Ratings .
A single product can have several ratings from different users (one-to-many).
A user can rate a product for several types. (one to many)
Each individual order has several types of ratings from the user.
The relationship diagram now looks like this:
5c0efaf96ea09174211246.png
Are the links on the diagram correctly placed now?
For some reason this attitude bothers me:
5c0efb2e07a9c121860083.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vism, 2018-12-11
@Junart1

That's right, why is it embarrassing?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question