Database Keys in DBMS
Database Keys in DBMS
com/)
ONLINE COURSES (http://studytonight.com/online-courses/)
Database
" Without SQL, websites will never have any way to handle Databases for data. "
LIBRARY (http://studytonight.com/library/)
Share
Share
Share
(http://www.addthis.com/bookmark.php?v=
US&s=linkedin&url=https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2Fwww.st
STUDYROOM (http://studytonight.com/studyroom/)
key&title=Database%20Keys%20in%20DBMS
14/54468087286d89ba/2&frommenu=1&uid=
FLASHCARDS NEW (http://studytonight.com/flashcards/)
Like
7.5k
concept&tt=0&captcha_provider=nucaptcha)
Share
Home (http://www.studytonight.com/)
C++ (http://www.studytonight.com/cpp)
Search
DBMS (http://www.studytonight.com/dbms)
LogIn (http://www.studytonight.com/login)
C Language (http://www.studytonight.com/c)
More... (http://www.studytonight.com/library)
SignUp (http://www.studytonight.com/register)
Suggest (http://www.studytonight.com/suggest)
Like
9
74
Database Keys
Keys are very important part of Relational database. They are used to establish and identify relation between
Database Concept
tables. They also ensure that each record within a table can be uniquely identified by combination of one or more
Overview of DBMS
(overview-of-dbms)
Database Architecture
(architecture-of-database)
Super Key
Super Key is defined as a set of attributes within a table that uniquely identifies each record within a table.
model)
Candidate Key
Candidate keys are defined as the set of fields from which primary key can be selected. It is an attribute or set of
attribute that can act as a primary key for a table to uniquely identify each record in that table.
normalization)
E-R Diagrams (er-diagram)
Generalization and
Primary Key
Specialization
Primary key is a candidate key that is most appropriate to become main key of the table. It is a key that uniquely
(generalization-and-
specialization)
SQL Concept
SQL Introduction
(introduction-to-sql)
DDL Command
Create query (create-query)
Alter query (alter-query)
Truncate, Drop and Rename
query (truncate-droprename-query)
DML Command
All DML command (dmlcommand)
TCL Command
All TCL Command (tclcommand)
DCL Command
All DCL Command (dclcommand)
WHERE clause (whereclause)
SELECT query (selectquery)
LIKE clause (like-clause)
ORDER BY clause (orderby-
Composite Key
Key that consist of two or more attributes that uniquely identify an entity occurance is called Composite key. But
any attribute that makes up the Composite key is not a simple key in its own.
clause)
Group BY clause (groupbyclause)
Having clause (havingclause)
DISTINCT keyword (distinctkeyword)
AND & OR operator (sqland-or-operator)
Advance SQL
SQL Constraints (sqlconstraints)
SQL function (sql-function)
SQL Join (joining-in-sql)
SQL Alias (sql-alias)
SQL SET operation (setoperation-in-sql)
Non-key Attribute
Non-key attributes are attributes other than candidate key attributes in a table.
Test Yourself !
If you have studied all the lessons
of DBMS, then evaluate yourself by
Non-prime Attribute
Non-prime Attributes are attributes other than Primary attribute.
C++ (http://www.studytonight.com/cpp)
Next (database-normalization.php)
C Language (http://www.studytonight.com/c)
DBMS
Servlet (http://www.studytonight.com/servlet)