I don't know if the question title is so clear, but here is my question:
I had table UsersMovements which contains Users along with their movements
UsersMovements:
ID
UserID
MovementID
Comments
I need help looking for a query which would give me if users 1, 2 & 3 had been in a common MovementID, knowing that I had know what is the MovementID
The real case is that I want to see if those X users which I would select been in an area (in a limited interval, assuming I had date/Time in the table)
Thank you