title: mysql case then unrecognized keyword and unrecognized token
body: <p>I want to understand why is this mysql query having error on phpmyadmin Version: 4.7.1.Please see attached screenshot. I read about problem with the version of phpmyadmin then I upgrade my phpmyadmin to the latest but still get this error in mysql. It says unrecognized keyword and unrecognized token when as I check I have a valid sql.</p>
  
  <pre><code>select
        case 
          when venue like '% aklan %' then 'usa'
          when venue like '% italy %' then 'italy'
          when venue like '% china %' then 'china'
          when venue like '% india %' then 'india'
        end as cvenue,
        count(*) as population
      from 
          (
            select concat(' ', venue, ' ') as venue
            from tbl_trainings
          ) T
      group by cvenue
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/8jK9r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8jK9r.png" alt="enter image description here"></a></p>