title: sql case statement sql command not properly ended error
body: <pre><code>SQL&gt; SELECT CUSTOMER.CUSTOMERID,
    2  BOOKING.EVALUATIONRATING,
    3  EVENT.EVENTID
    4  FROM CUSTOMER
    5  INNER JOIN BOOKING
    6  ON BOOKING.CUSTOMERID = CUSTOMER.CUSTOMERID
    7  INNER JOIN EVENT
    8  ON EVENT.EVENTID=BOOKING.EVENTID
    9  CASE EVALUATIONRATING
   10  WHEN 0 THEN 'TERRIBLE'
   11  WHEN 1 THEN 'BAD'
   12  WHEN 2 THEN 'MEDIOCRE'
   13  WHEN 3 THEN 'FAIR'
   14  ELSE 'GOOD';
  CASE EVALUATIONRATING
  *
  ERROR at line 9:
  ORA-00933: SQL command not properly ended
  </code></pre>
  
  <p>I am getting an error when trying to add a case statement using a join. i want to convert number to text using a case construct. </p>