In DBMS, KEYS is an attribute or group of attributes that makes it possible to identify a row (tuple…