SELECT title,name FROM Lessons,Users WHERE Lessons.author = Users.email;
and
SELECT title,name FROM Lessons JOIN Users ON Lessons.author = Users.email;
and
SELECT title,name FROM Lessons INNER JOIN Users ON Lessons.author = Users.email;
Lessons has a column named author
indexed as a foreign key to a Users.email
. title
is a column in Lessons
and name
is a column in Users