0
I am building a database with the following tables:
Aluno: id_aluno, aluno_login, aluno_senha, aluno_nome, aluno_sobrenome, aluno_cidade
Aluno_Categoria: id_categoria_curso, id_categoria, id_aluno
Categoria (ou curso): id_categoria, categoria_nome, categoria_curso
A curso
has a categoria
or a categoria
has a curso
? If I reverse the order has something to do or we fall into that question "the order of the factors does not change the product"?
I expressed myself wrong Maniero, so you conclude that in this situation there will be no change, no matter what order I put. On the question having the wrong writing, what recommends not to receive negative votes?
– user126343
There is no order, there are relationships, they are different things. I’ve never heard of order in the relational model. Could further detail the question, ask what you are actually doing. The description does not match the tables shown. , shows no relation at all.
– Maniero