Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres add foreign key alter table

CREATE TABLE orders (
    order_id SERIAL,
    dish_name TEXT,
    customer_id INTEGER REFERENCES customers (id)
);
Source by tableplus.com #
 
PREVIOUS NEXT
Tagged: #postgres #add #foreign #key #alter #table
ADD COMMENT
Topic
Name
2+9 =