(i) (a)
The attribute that should be designated as the PRIMARY KEY is EMPNO.
This is because EMPNO (Employee Number) uniquely identifies each employee,
ensuring that each record is unique in the table.
Unlike NAME, which can repeat, EMPNO must be unique.
OR
(i) (b)
To ensure that the NAME attribute cannot be left empty,
apply the NOT NULL constraint.
This allows duplicate names but does not allow NULL values.
Example: NAME VARCHAR(50) NOT NULL.
(ii) (a)
ALTER TABLE EMPLOYEES MODIFY BASICSAL DECIMAL(7,2);
This command changes the data type of BASICSAL to allow
a maximum of 7 digits, including 2 decimal places, which covers 99999.99.
OR
(ii) (b)
DROP TABLE EMPLOYEES;
This SQL command deletes the entire table EMPLOYEES permanently
along with all its data.