examples-orms
examples-orms copied to clipboard
Create table statement incorrect on front page
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"