title: postgresql syntax error when creating a table
body: <p>Hey everyone I need some help with creating tables. I have the script below and it creates a few tables. When i try to run the script it give me this error:</p>
  
  <pre><code>psql:script.sql:10: ERROR:  syntax error at or near "Group"
  LINE 6: CREATE TABLE Group(
  </code></pre>
  
  <p>Can anyone tell me what is going on?</p>
  
  <pre><code>CREATE TABLE Group(
      name        varchar(40) PRIMARY KEY    NOT NULL
  );
  
  CREATE TABLE Artist(
      name        varchar(30) PRIMARY KEY    NOT NULL,
          birthplace  varchar(20)                NOT NULL,
          age     int                        NOT NULL   CHECK (age &gt; 0),
          style       varchar(20)                NOT NULL
  );
  
  CREATE TABLE Artwork(
      title      varchar(40) PRIMARY KEY     NOT NULL,
          artist     varchar(30)                 NOT NULL   references Artist(name),
          group_name varchar(40)                 NOT NULL   references Group(name),
          year       int                         NOT NULL   CHECK (year &gt; 0),
          type       varchar(30)                 NOT NULL,
          price      money                       NOT NULL,
  );
  
  CREATE TABLE Customer(
      cust_id      int PRIMARY KEY   NOT NULL,
      name         varchar(40)       NOT NULL,
          address      varcahr(60)       NOT NULL,
          amount       money             NOT NULL    CHECK(amount &gt; 0),
          like_artist  varchar(30)       NOT NULL    references Artist(name),
          like_group   varchar(40)       NOT NULL    references Group(name)
  );
  </code></pre>