https://www.geekyhacker.com/emulating-intersection-in-mysql-with-self-join/
Emulating intersection in MySQL with self-join