title: More than one row returned by a subquery used as an expression on on a simple query?
body: <p>This query:</p>
  
  <pre><code>SELECT "Nume", "Prenume" FROM public."Personal"
  WHERE "Cod_angajat"=(SELECT "Cod_angajat" FROM public."Consultati");
  </code></pre>
  
  <p>Generates this error:</p>
  
  <pre><code>ERROR:  more than one row returned by a subquery used as an expression
  ********** Error **********
  
  ERROR: more than one row returned by a subquery used as an expression
  SQL state: 21000
  </code></pre>
  
  <p>There are two tables in the same database.  I'm going to kill my laptop because of this.  Is it because the query will return the same values twice or so?</p>