Example I have 500 users and every 50 users manage by one moderator.
Let’s say moderator_id = 1 can edit/manage user from user_id 1 until 50. What is the statement should I use?
SELECT * FROM users
WHERE
user_id `what should i use here?`
AND
moderator_id = '1';
Let me know..
Use the
BETWEENoperator, like this: