i have the following table id | user | date | value. I need to find users that have values on eg October month but they dont have on November month. I ve tried the following code around.
select *
from users B
LEFT OUTER JOIN data A
on A.user = B.user
Where B.permissions=1 AND A.date BETWEEN '2021-11-01' AND '2021-11-30' group by A.user