title: MySQL parsing error in phpMyAdmin ("This type of clause was previously parsed")
body: <p>I have the following SQL query: </p>
  
  <pre><code>SELECT SUM(tmp.mval), tmp.timekey FROM
  (SELECT teghamas, 
          MAX(arzheq) as mval, 
          ceil(UNIX_TIMESTAMP(zhamanak)/(60 * 60)) AS timekey
     FROM `masnakcutyun`
     LEFT JOIN teghkentron ON `masnakcutyun`.`teghKentronId`=`teghkentron`.`teghKentronId` 
    WHERE teghkentron.hamaynq="London" group by timekey, teghkentron.teghamas)         
  AS tmp
  GROUP BY tmp.timekey
  </code></pre>
  
  <p>It works fine in phpMyAdmin. But there's a warning there saying: </p>
  
  <p>"This type of clause was previously parsed (near select)". </p>
  
  <p>Can you guess what is the problem? The query can execute and return the expected results. </p>