Professional Documents
Culture Documents
---------------
student(SID, S_Name, S_Age, S_Address, S_Contact, S_Gender)
1, abc, 10, india, 123, M
2, lily, 20, US, 456, F
a1 --> b1
a1 --> b2
a1 --> b1/b2
ID --> Age
2 --> 25/26/27 = 26
3 --> 25/26/27 = 26
create
alter
drop
-- Command types:
DQL, DDL, DML, DCL
-- Higherarchy
DBMS
Database
Table
Data
(1, CSE301) --> A
(1, CSE306) --> C
Facebook_User(UserName, Password, FirstName, Lastname, MobileNumber, emailaddress,
Age)
(FB_Usr1, 123, Debabrata, Ghosh, 12345, dg@gmail, 35)
(FB_Usr2, a123b, Risha, Halder, 94321, rh@gmail, 24)
(FB_xyz, abcd, Edmund, Anazodo, 98765, ea@yahoo, 28)
problem --> design database --> design tables --> designing procedures -->
designing features --> (Populating data into database)
abc --> d
a --> d
Customer(cid, cname, address, age, mobile)
-- Funtional dependency:
A cell value in a row can uniquely determine the other cell values of the same row
why normalization?
anomalies without nornalization?
Dependencies
2, SQL, books
2, SQL, cricket
2, SQL, Football
2, SQL, Planting
2, SQL, Dogs
T1(E_ID, Certification)
T2(E_ID, Hobby)
1, Java
1, SQL
1, Python
1, C#
1, ML
2, SQL
1, books
2, books
2, cricket
2, Football
2, Planting
2, Dogs