1_Intro-1
1_Intro-1
• Lease
(leaseNo, propertyNo, clientNo, rent , paymentMethod, deposit,
paid, rentStart, rentFinish, duration)
• PropertyForRent
(propertyNo, street, city, postcode, type, rooms, rent)
• Client
(clientNo, fName, lName, telNo, preftype, maxRent)
File-Based Processing
Limitations of File-Based Approach
• Data dependence
– File structure is defined in the program code.
• Result:
– the database and Database Management System
(DBMS).
Database
• Shared collection of logically related data, and a
description of this data, designed to meet the
information needs of an organization.
• System catalog (metadata) provides description
of data to enable program-data independence.
• Logically related data comprises entities,
attributes, and relationships of an
organization’s information.
Database Management System (DBMS)