Request:
(SELECT `Feed`.*,`Users`.UID,`Users`.Name FROM `Feed`,`Users` WHERE `Feed`.ID > '22' AND ((`AccessKey` = '' or `AccessKey` = 'key123') AND (`Feed`.UserCreate = `Users`.UID))) LIMIT 0,10 There are 2 users, ID 1 and 2. With this query, the result is all 10 records of only one user, that is, with ID = 1. And I need to simply add to the table 2 columns with the name and user ID of the person who added this record.
How can you not know about JOINs and UNION, but! which is inappropriate.
And yes, I can't swap the Feed and Users tables, because there are a lot of conditions for Feed, and Users like that, only 1 sample by ID
