SELECT posts.content, posts.title, owners.firstname,
owners.lastname, owners.email
FROM posts,owners JOIN posts ON posts.owner_id = owners.owner_id;
I am trying to display (content, title, firstname, lastname, email) from both the tables (owners with the fields -owner_id,firstname,lastname,email and posts with the fields-id,owner_id,content,title,created_time,updated_time).
It shows,
'Not unique table/alias' error.
What's the solution to this? Thanks in advance.