DBMS and OS are not inter related,so there is no such rule..But both are computer related subject.And Os is much interesting than DBMS.