Database Concept
Database Concept
referred to
as a database system.
There are various D B M S software available in
PostgreSQL, SQLite
PURPOSE OF DBMS
R E L AT I O NA L DATA BAS E M O D E L
In relational database model data is organized
into table (i.e. rows and columns).
These tables are also known as relations.
set of values.
A column represent the field/attributes related to
DEPARTMEN
T DEPTNO DNAME L O C AT I O N
10 HR N E W YO R K
20 ACCOUNTS BRAZIL
30 SALES C A NA DA
40 IT I NDI A
C O M P O N E N T S O F A TA B L E
Byte : group of 8 bits and is used to store a
character.
Data Item : smallest unit of named data. It
DEPTNO DNAME L O C AT I O N
10 HR N E W YO R K
20 ACCOUNTS BRAZIL
30 SALES C A NA DA
40 IT I NDI A
Data Items
Records
COMMON RDBMS
Oracle, M S S Q L Server, M y SQ L, I B M DB2, I BM
Informix, SA P Sybase, Adaptive
Enterprise, SA P Sybase Server
PostgreSQL, SQLite, etc. IQ , Teradata,
Out of these M y SQ L, PostgreSQL and SQLite are
implementation
JUST A MINUTE…
BOOKCODE BOOKNAME PUB PRICE
B001 LET US C BPB 400
B002 VISUAL EEE 350
B AS I C
B003 J AVA PHI 550
B004 VC++ BPB 750
1) Degree of Table
2) Cardinality of Table
3) Attributes of Table
4) Tuple
5) Data types of Book Code and Price (as studied in Python)
CONCEPT OF KEYS
EMPNO ENAME GENDER DEPTNO S A L A RY COMM
1 AN KI TA F 10 20000 1200
2 SUJEET M 20 24000
3 V I J AYA F 10 28000 2000
4 NI T I N M 30 18000 3000
5 VIKRAM M 30 22000 1700
DEPARTMEN
T DEPTNO Parent
DNAME L O C AT I O N
Table
10 HR N E W YO R K
20 ACCOUNTS BRAZIL
30 SALES C A NA DA
40 IT I NDI A
databases.
It is the standard language used by almost
all the
database s/w vendors.
Pronounced as S E Q U E L