Skip to content

Create table statement incorrect on front page #39

@wdroste

Description

@wdroste

There needs to a common after the DECIMAL declaration.

root@:26257/company_java_hibernate> CREATE TABLE IF NOT EXISTS orders (
                             ->   id           SERIAL PRIMARY KEY,
                             ->   subtotal     DECIMAL(18,2)
                             ->   customer_id  INT    REFERENCES customers(id),
                             -> );
invalid syntax: statement ignored: syntax error at or near "customer_id"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions