Database Systems: Tutorial - 1
Database Systems: Tutorial - 1
Tutorial 1
(Structures and Files)
Employee record management system: A record in the system consists of the employees last name, first name and employee id , address, and date of birth. The system should also store information about the department for which the employee is working. An employee may be associated with more than one department. Also the names of the projects, in which the employee is currently involved, should be stored. Certain operations can be performed on this data base of records which allow to 1. 2. 3. 4. 5. Add records to the system, Display all the records in the system, Search for a particular employee record, Retrieve the list of departments in which the employee is working, and Retrieve the names of the projects in which the employee is currently involved.
Write a menu-driven program in C that uses a file to store the employee records of the company in the form of structures and should be able to perform the above operations.