Basics of Database

Home/SQL/Basics of Database

What is RDBMS?



50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates

RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd.

Codd Rules:

Rule 0 – Foundation Rule:

A relational database management system must manage its stored data using only its relational capabilities.

Rule 1 – Information Rule:

All information in the database should be represented in one and only one way – as values in a table.

Rule 2 – Guaranteed Access Rule:

Each and every datum (atomic value) is guaranteed to be logically accessible by resorting to a combination of table name, primary key value and column name.

Rule 3 – Systematic Treatment of Null Values:

Null values (distinct from empty character string or a string of blank characters and distinct from zero or any other number) are supported in the fully relational DBMS for representing missing information in a systematic way, independent of data type.

Rule 4 – Dynamic On-line Catalog Based on the Relational Model:

The database description is represented at the logical level in the same way as ordinary data, so authorized users can apply the same relational language to its interrogation as they apply to regular data.

Rule 5 – Comprehensive Data Sublanguage Rule:

A relational system may support several languages and various modes of terminal use. However, there must be at least one language whose statements are expressible, per some well-defined syntax, as character strings and whose ability to support all of the following is comprehensible:

  • Data definition
  • View definition
  • Data manipulation (interactive and by program)
  • Integrity constraints
  • Authorization
  • Transaction boundaries (begin, commit, and rollback)

Rule 6 – View Updating Rule:

All views that are theoretically updateable are also updateable by the system.

Rule 7 – High-level Insert, Update, and Delete:

The capability of handling a base relation or a derived relation as a single operand applies nor only to the retrieval of data but also to the insertion, update, and deletion of data.

Rule 8 – Physical Data Independence:

Application programs and terminal activities remain logically unimpaired whenever any changes are made in either storage representation or access methods.

Rule 9 – Logical Data Independence:

Application programs and terminal activities remain logically unimpaired when information preserving changes of any kind that theoretically permit unimpairment are made to the base tables.

Rule 10 – Integrity Independence:

Integrity constraints specific to a particular relational database must be definable in the relational data sublanguage and storable in the catalog, not in the application programs.

Rule 11 – Distribution Independence:

The data manipulation sublanguage of a relational DBMS must enable application programs and terminal activities to remain logically unimpaired whether and whenever data are physically centralized or distributed.

Rule 12 – Nonsubversion Rule:

If a relational system has or supports a low-level (single-record-at-a-time) language, that low-level language cannot be used to subvert or bypass the integrity rules or constraints expressed in the higher-level (multiple-records-at-a-time) relational language.

What is table?

The data in RDBMS is stored in database objects called tables. The table is a collection of related data entries and it consists of columns and rows.
Remember, a table is the most common and simplest form of data storage in a relational database.

What is field, or column?

Every table is broken up into smaller entities called fields. The fields in the CUSTOMERS table consist of ID, NAME, AGE, ADDRESS and SALARY.
A field is a column in a table that is designed to maintain specific information about every record in the table.

What is record, or row?

A record, also called a row of data, is each individual entry that exists in a table. For example there are 7 records in the above CUSTOMERS table.
A record is a horizontal entity in a table.

What is NULL value?

A NULL value in a table is a value in a field that appears to be blank which means A field with a NULL value is a field with no value.
It is very important to understand that a NULL value is different than a zero value or a field that contains spaces. A field with a NULL value is one that has been left blank during record creation.

Pictorial representation of a Table?


Terminologies & Integrity types associated with RDBMS

PRIMARY KEY Column used to uniquely identify a Tuple.
FOREIGN KEY Column of a table used to establish relationship with other tables and present itself in all the relation tables.
ALTERNATE KEY Column or combination of columns which has unique values but not selected as primary key and is not part of the primary
COMPOSITE KEY A combination of columns used to identify a unique row. Combination of customer name and address can consider to be the
Domain Integrity Integrity of information allowed in column.
Referential Integrity Rule states that every foreign key in the first table must either match a primary key value in the second table or must
Entity Integrity Rule states that no column that is part of a primary key can have a null value

Related Resource External VBA Reference
Excel VBA Reference Project Management Reference
VBA Reference:
Excel Reference:
By |December 24th, 2012|SQL|1 Comment

About the Author:

PNRao is a passionate business analyst and having close to 10 years of experience in Data Mining, Data Analysis and Application Development. This blog is his passion to learn new skills and share his knowledge to make you expertise in Data Analysis (Excel, VBA, SQL, SAS, Statistical Methods, Market Research Methodologies and Data Analysis Techniques).

Leave A Comment

Related pages

how to insert macro button in excel 2010while loop in excel macroexcel find duplicatesexcel 2007 unprotect workbooksort statement in sqlcombine multiple excel sheets into one sheetautofit columns in excelfso filemsgbox iconerror in vbahow to unlock an excel spreadsheet without the passwordunprotect all sheets excelhow many rows and columns are in excelpopulate combobox excelbusiness analyst tutorial pdfexcel vba write to text filequestions asked in interview with answers for freshersdelete cells vbaexcel vba code listhow to unprotect excel worksheetuseful excel macros examplesexcel delete named rangeformula of hlookuphow to check duplicates in excel 2007vba colorshortcut to insert new row in exceldynamic chart title excel 2010sas isnumericvba excel tricksunprotect excel sheet using vbacell color excel vbaword add developer tab to ribbonlearn macros in excel 2007vba dim as stringworksheet on coloursshort cut key excelvba cell interior coloruserform excel 2010vba application.displayalertsexcel vba data typeshow to enter a carriage return in excelhow to insert checkbox in excel 2007vba dir functionremove all hyperlinks in excelproject charter template powerpointexcel 2007 macro securityvba development environmenttypes of variables vbapivot table meaningexcel unprotect sheet without passwordcustomer management excel templateexcel vba delete columnproject tracking with excelaccess vba read text fileexcel logical formulasexcel exam questions and answersexcel chart wizardexcel nested vlookupvba matchvba average functionopendatabase vbaexcel macro rowsexcel vba lengthexcel macro delete blank rowscol_index_numvba cell rowvlookup functionvba xlrighttextstream vbaexcel vba vlookup formula