'How to know which is the correct operator?

I have this question in my test and I have no idea how to complete it, the teacher didn't give any clue what language he is using, but so far we have used c++ and sql. I need your help to finish it.

image

Thank you so much.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source