I have two tables products and users with fields,
Products
id
name
insertedUserID
ipdatedUserID
Users
id
name
I am trying to get the the product details with the data,
ProductID
ProductName
InsertedUser
UpdatedUser
For this I am using this mysql query,
SELECT Products.id as ProductID,Products.name as ProductName, Users.name as InsertedUser
LEFT JOIN Users ON Products.insertedUserID = Users.id
This query is working only for Inserted user only. How can I get updated user with this query?