How to create table relationship in mysql

Asked

Viewed 315 times

0

I’m starting with a relational database and I have difficulty relating the tables, I’m a layman. I ask for help by indicating a/some clear and objective books on the subject. Grateful for the attention

1 answer

0


@time

INNER JOIN or LEFT JOIN, example:

SELECT * FROM professores p
INNER JOIN alunos a ON a.idProfessor = p.id

Browser other questions tagged

You are not signed in. Login or sign up in order to post.