May 2018
Intermediate to advanced
576 pages
30h 25m
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 newcust ADD PRIMARY KEY(customerid);
ALTER TABLE newcust ...
Read now
Unlock full access