You are on page 1of 4

DATABASEMANAGEMENTSYSTEM

"WithoutSQL,websiteswillneverhaveanywaytohandleDatabasesfordata."

(http://www.addthis.com/bookmark.php?

us&s=linkedin&url=http%3A%2F%2Fwww.
4fcb15e01d1a671c//per

1/54dae2651a5e2515/2&frommenu=1&uid=

ERDiagram

DBMS

DatabaseExamples

VisioDiagram

ERDiagram
ERDiagramisavisualrepresentationofdatathatdescribeshowdataisrelatedtoeachother.

DatabaseConcept
OverviewofDBMS
(overviewofdbms)
DatabaseArchitecture
(architectureofdatabase)
DatabaseModel(database
model)
Codd'srule(coddrule)
RDBMSConcept(rdbms
concept)
Databasekey(database
key)
Normalization(database
normalization)
ERDiagrams(erdiagram)
Generalizationand
Specialization
(generalizationand
specialization)
SQLConcept
SQLIntroduction
(introductiontosql)
DDLCommand
Createquery(createquery)
Alterquery(alterquery)
Truncate,Dropand
Renamequery(truncate
droprenamequery)
DMLCommand
AllDMLcommand(dml
command)
TCLCommand
AllTCLCommand(tcl
command)
DCLCommand
AllDCLCommand(dcl
command)
WHEREclause(where
clause)
SELECTquery(select
query)
LIKEclause(likeclause)
ORDERBYclause(orderby
clause)
GroupBYclause(groupby
clause)

SymbolsandNotations

Havingclause(having
clause)
DISTINCTkeyword(distinct
keyword)
AND&ORoperator(sql
andoroperator)
AdvanceSQL
SQLConstraints(sql
constraints)
SQLfunction(sqlfunction)
SQLJoin(joininginsql)
SQLAlias(sqlalias)
SQLSEToperation(set
operationinsql)
SQLSequences(sql
sequences)
SQLViews(sqlviews)

ComponentsofERDiagram
TheERdiagramhasthreemaincomponents.

TestYourself!

1)Entity

Ifyouhavestudiedallthelessons

AnEntitycanbeanyobject,place,personorclass.InERDiagram,anentityisrepresentedusing

ofDBMS,thenevaluateyourselfby

rectangles.ConsideranexampleofanOrganisation.Employee,Manager,Department,Productandmany

takingthesetests.

morecanbetakenasentitiesfromanOrganisation.

DBMSTopicalTest(http://www.studytonight.com/dbms/tests/)

Rs.1,999
PumaMen'sLimnos
CATInd.NavyBlue
andWhiteMesh
BoatShoes6UK

Shopnow!

WeakEntity
Weakentityisanentitythatdependsonanotherentity.Weakentitydoen'thavekeyattributeoftheirown.
Doublerectanglerepresentsweakentity.

2)Attribute
AnAttributedescribesapropertyorcharactersticofanentity.Forexample,Name,Age,Addressetccanbe
attributesofaStudent.Anattributeisrepresentedusingeclipse.

KeyAttribute

KeyattributerepresentsthemaincharactersticofanEntity.ItisusedtorepresentPrimarykey.Ellipsewith
underlyinglinesrepresentKeyAttribute.

CompositeAttribute
Anattributecanalsohavetheirownattributes.TheseattributesareknownasCompositeattribute.

3)Relationship
ARelationshipdescribesrelationsbetweenentities.Relationshipisrepresentedusingdiamonds.

TherearethreetypesofrelationshipthatexistbetweenEntities.
BinaryRelationship
RecursiveRelationship
TernaryRelationship

BinaryRelationship
BinaryRelationshipmeansrelationbetweentwoEntities.Thisisfurtherdividedintothreetypes.
1. OnetoOne:Thistypeofrelationshipisrarelyseeninrealworld.

Theaboveexampledescribesthatonestudentcanenrollonlyforonecourseandacoursewillalsohave
onlyoneStudent.Thisisnotwhatyouwillusuallyseeinrelationship.
2. OnetoMany:Itreflectsbusinessrulethatoneentityisassociatedwithmanynumberofsameentity.For
example,StudentenrollsforonlyoneCoursebutaCoursecanhavemanyStudents.
(http://www.studytonight.com/)
WRITE

FORUS&
GETPAID!
(/collaborate)

ONLINECOURSES(http://studytonight.com/onlinecourses/)

LIBRARY(http://studytonight.com/library/)

STUDYROOM(http://studytonight.com/studyroom/)

FLASHCARDS NEW(http://studytonight.com/flashcards/)

LogIn(http://www.studytonight.com/login)
Thearrowsinthediagramdescribesthatonestudentcanenrollforonlyonecourse.

Search

SignUp(http://www.studytonight.com/register)

3. ManytoMany:

Suggest(http://www.studytonight.com/suggest)

Theabovediagramrepresentsthatmanystudentscanenrollformorethanonecourses.

RecursiveRelationship
WhenanEntityisrelatedwithitselfitisknownasRecursiveRelationship.

TernaryRelationship
RelationshipofdegreethreeiscalledTernaryrelationship.

Prev(databasenormalization.php)

Next(generalizationandspecialization.php)

CheckOut: Library (http://www.studytonight.com/library) VideoCourses (http://www.studytonight.com/onlinecourses) Studyroom


(http://www.studytonight.com/studyroom) Flashcards (http://www.studytonight.com/flashcards)
Studytonight2014

HandcraftedwithLove

AboutUs(http://www.studytonight.com/about)Suggest(http://www.studytonight.com/suggest)Terms(http://www.studytonight.com/terms)ContactUs
(http://www.studytonight.com/contact)Collaborate(http://www.studytonight.com/collaborate/)Authors(http://www.studytonight.com/authors/)Blog
(http://studytonight.tumblr.com/)

You might also like