title: SQL select with multiple different conditions
body: <p>I am still learning SQL and can't find a proper way to find the following information:</p>
  
  <p>I have created a table "employees" with the following columns:</p>
  
  <p>'department', 'age', 'salary', 'bonus';</p>
  
  <p>I am trying to design a query that will give me all employees that have someone the same age as them in another department and with a bonus superior to their salary.</p>
  
  <p>(to be more precise, if someone in department 'SALES' has the same age as someone in department 'RESEARCH' and have a bonus that is superior to that guy in research's salary, then I would like to display both of them) </p>
  
  <p>Is this possible to do in sql?</p>
  
  <p>Thank you for your time,</p>
  
  <p>-Tom</p>