Question: Add a foreign key Payment_id and location to this table CREATE TABLE public. Services ( customer_id character varying (30) COLLATE pg_catalog. default NOT NULL, internetservice

Add a foreign key Payment_id and location to this table
CREATE TABLE public. "Services" ( customer_id character varying (30) COLLATE pg_catalog. "default" NOT NULL, internetservice text COLLATE pg_catalog. "default", phone text COLLATE pg_catalog. "default", multiple text COLLATE pg_catalog. "default", onlinesecurity text COLLATE pg_catalog. "default", onlinebackup text COLLATE pg_catalog. "default", deviceprotection text COLLATE pg_catalog. "default", techsupport text COLLATE pg_catalog. "default", CONSTRAINT "Services_pkey" PRIMARY KEY (customer_id) TABLESPACE pg_default; ALTER TABLE public. "Services" OWNER to postgres;
Step by Step Solution
There are 3 Steps involved in it
To add a foreign key Paymentid and location to the Services tabl... View full answer
Get step-by-step solutions from verified subject matter experts
