AllExperts > Experts 
Search      

Database Programming

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Database Programming Answers
Question Library

Ask a question about Database Programming
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ivan Maskovic
Expertise
I can answer questions regarding Relational Model of data, SQL, data modelling and databases.

Experience
I have been developer of data driven applications since 1989.

Education/Credentials
I have master degree in informatics.

Awards and Honors
Microsoft Certified Professional - SQL Server 2000

 
   

You are here:  Experts > Industry > Data Management > Database Programming > FUNDAMENTALS OF DATABASE

Topic: Database Programming



Expert: Ivan Maskovic
Date: 8/16/2007
Subject: FUNDAMENTALS OF DATABASE

Question
Sir,
i want to know the definitions of a key,primary key,secondary key & the difference among these.
if someone asks me what is the difference between Database management system & Relational Database management system then what should be my answer?

Answer
Hi,

Regarding keys, I found this helpful article on wikipedia
http://en.wikipedia.org/wiki/Candidate_key

to shorten it:
superkey (better term than key) is set of attributes of a relation (table) for which it holds that there are no two distinct tuples (rows) that have the same values for the attributes in this set

candidate key is minimal (irreducible) superkey
(note that relation can have more than 1 candidate key)

primary key is arbitrally chosen amongst candidate keys

secondary(alternate) key is candidate key not chosen as primary

As for DBMS - RDBMS
DBMS  - DataBase Manegement System - Set of software purpose of which is to manage database - storage, manipulation, query language to name just few
RDBMS - DBMS based on Relational Database Model (invented by E.F.Codd) - information is represented as relations

Commercial RDBMS-es are not true RDBMS-es better term would be SQL DBMS.

I suggest you should read some of C.J.Date Books.

HTH


Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.