May 2019
Intermediate to advanced
600 pages
20h 46m
English
To prevent duplicate rows, we need to create a unique index that the database server can use to enforce uniqueness of a particular set of columns. We can do this in the following three similar ways for basic data types:
ALTER TABLE new_cust ADD PRIMARY KEY(customerid);
ALTER TABLE new_cust ...
Read now
Unlock full access