title: How to make sure SQL query is valid
body: <p>I'm fairly new to SQL and I don't really understand what constitues a valid query:</p>
  <pre><code>CREATE TABLE table_name (
    user_id UUID PRIMARY KEY NOT NULL,
    additional_info JSONB,
  );
  </code></pre>
  <p>Why is the above invalid?</p>