Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database.

Similar presentations


Presentation on theme: "Database."— Presentation transcript:

1 Database

2 Application form

3

4 A Databaseis a collection of related data
•Data: known fact that can be recorded and have implicit meaning –Eg: names, telephone numbers, student marks, etc…

5 o;a; iuqodhla hkq" tla;rd úIhlg tallhlg fyda isoaêhlg fyda iïnkaO f;dr;=re tl;=j

6 Database Management System(DBMS) is a collection of programs that enables users to create and maintain databases. •Database System = database + DBMS

7 File Systems •Before Mid 60’s •Operating System’s files provide the basic means of storing information. •Files are sufficient for applications requiring small amounts of data & mainly single-user applications.

8 Database Systems vsFile Systems
•Problems with file systems –Data redundancy –Integrity issues –Required knowledge of storage details –No standard language –Files only provide sequential access –Basic security capabilities (read, write, execute)

9 Evolution of Database Models
•First Generation –Hierarchical & Network Model •Second Generation –Relational Model •Third Generation –Object Relational Model –Object Oriented –XML-DB

10

11 DBMS Data Base Management Systems o;a; iuqodh l<ukdlrK moaO;s

12 j.=jla" o;a; iuqodfha uQ,sl jia;=jls
Table : STUDENT Primary Key j.=jla" o;a; iuqodfha uQ,sl jia;=jls Field Record

13

14

15

16

17

18 Primary Key

19 st_no st_name town tel_no co_ID co_name Duration Fees 11s Saman Moratuwa 10 Java 6 10,000.00 15s Samal Rathmalana 11 Graphics 5 12,000.00 12s Nimal Maharagama 13s Kottawa 15 python 15,000.00 16s Rani

20 foreign key Student Table Course Table st_no st_name town tel_no 11s
Saman Moratuwa 15s Samal Rathmalana 12s Nimal Maharagama 13s Kottawa 16s Rani Student Table co_ID 10 11 15 Co_ID co_name Duration Fees 10 Java 6 10,000.00 11 Graphics 5 12,000.00 15 python 5,000.00 Course Table

21

22 Only name and Town

23 o;a; iuqodhl m%Odk ixrpl ^jia;=& y;rla we;'
úuiqï wdlD;s jd¾;d

24 Query

25

26

27

28 Form

29 Report

30

31 COURSE STUDENT

32 School Principal School Teacher

33 One to one

34 One to many

35 Many to many

36

37

38

39

40

41

42


Download ppt "Database."

Similar presentations


Ads by Google