title: MongoDB Equivalent to SQL query with Java Driver?
body: <p>I need to know how to use <code>where</code> in MongoDB queries using Java Driver.</p>
  
  <pre><code>SELECT COLUMN1, COLUMN2 WHERE COLOUM3 = 'KeyWord';
  </code></pre>
  
  <p>I have a key Name and its value, and i want to find some other key/value. I think i can use <code>$where</code> for that. But, i dont know its syntax in java. </p>
  
  <p>How shall i use <code>where</code> in my mongo queries?</p>
  
  <p>Any suggestions would be appreciative!!!!</p>
  
  <p>Thanks!</p>