Code for DBMS lab