title: mySQL query to postgreSQL
body: <p>I am new to PostgreSQL. while following one article which is on MySQL I am facing one challenge that the mySQL query is throwing error in PostgreSQL. Can anyone tel me the solution for this.</p>
  <p>MySQL query is</p>
  <pre><code>CREATE TABLE &quot;sessions&quot; (
  &quot;id&quot; varchar(128) 
  CHARACTER SET utf8mb4 
  COLLATE utf8mb4_bin NOT NULL,
  &quot;expires&quot; int(11) unsigned NOT NULL,
  &quot;data&quot; text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  PRIMARY KEY (&quot;id&quot;)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  </code></pre>
  <p>What will be the similar query for PostgreSQL</p>