title: How to create an Index in Amazon Redshift
body: <p>I'm trying to create indexes in Amazon Redshift but I received an error</p>
  
  <pre><code>create index on session_log(UserId);
  </code></pre>
  
  <p><code>UserId</code> is an integer field.</p>