title: Unknown column 'ename' in 'field list'
body: <p>I don't understand how to fix this. PhpMyAdmin cannot find columns. I even gave each query a name but it doesn't work.</p>
  <pre><code>SELECT ename, 
         deptno FROM ( SELECT sal 
                       FROM emp T
                     ) as E 
  WHERE deptno = 10;
  </code></pre>