What is database and SQL / their introduction,
types and Examples.
Introduction.
Welcome, to this Blog series on Progamming. In this article
we are going to discuss SQL and database, But before we learn about databases let's understand.
What is data?
Data in simple words, Data
can be facts related to any object in consideration for example your name age
height weight [ETC] are some data related to you a picture image file PDF ETC
can all be considered Data now.
What is a database?
We already know what data is but this data could be random
[a] database is a systematic collection of data Since the Data in a database is organized it makes Data
management easy.
What is a database management system?
DBMS Database management system or DBMs
is a collection of programs which enables its users to access a database
Manipulate Data and help in the representation of Data It also helps control
access to the database by various users let's discuss.
A few examples
1- An
Online telephone directory would definitely use database management system to
store data pertaining to people phone numbers and other contact details.
2- Your electricity service provider is obviously
using a DBMs to manage billing
client related issues to Handle Fault Data Etc.
3- Let's consider the Facebook It needs to store
manipulate and present data related to members their friends member activities
messages Advertisements,
And a lot more we can
provide countless numbers of examples for usage of DBMS Database management systems are not a new concept [and] as
such had been first implemented in
the 1960s Charles [Bachmann's] integrated Data store.
Or IDs is said to be the first DBMS in history with time database technologies evolved a lot while usage Expected functionalities of databases have been increased immensely types of DBMs Let's see how the DBMs family evolved with time the Following diagram shows the evolution of DBMS categories.
Types of Database Management System.
There are four major types of DBMs.
Let's look into
them in detail
1- Hierarchical:
This type of DBMs employs the parent-child
relationship of storing data This type of DBMs
is rarely used Nowadays is Structure is like a tree with nodes representing
records and branches representing fields.
Example: The windows
registry used in windows Xp is an
example of a hierarchical database Configuration settings are stored as
tree structures with nodes.
2- Network DBMs
This type of DBMs supports many to many
relationships this usually results in complex Database structures RDM server is
an example of a database management
system that implements the network Model.
3- Relational DBMs.
This type of DBMS defines database relationships in
forms of tables also known as relations Unlike the Network DBMs our DBMs does
not support many to many relationships relational DBMs Usually have predefined
data types that they can support. This is the most popular DBMs type in the market examples of relational database management systems include mysQl oracle and Microsoft
Sql server.
4-
object-Oriented relational DBMs
This type supports
storage of new Data types the Data to be [stored] is in the form of objects the
Objects to be stored in the database have attributes for example Gender or age
and methods that define what to do with the data Postgresql is an example of object-Oriented relational
DBMs.
What is SQL?
Structured query language SQL pronounced as SQL or sometimes as the sequel is the
standard language for dealing with relational databases SQL Can be effectively used to insert search update and delete
database records That don't mean SQL cannot do things Beyond that it helps in
optimizing and maintenance of databases and much more Relational databases like
mySQL, oracle Ms. SQL Sybase ETC use SQL.
SQL
Syntax
Is used in these
databases are almost similar except the fact that some databases use different
syntaxes and even proprietary SQL
syntax is an example of an SQL
statement select star from Members where age is Greater than 30? DBMs, stands for Database management system,
We have four major
types of DBMS is called Hierarchical
Network relational and object-oriented the most widely used DBMS is the relational model the saves
Data in table formats It uses SQL as
the standard query language.
SQL, is the
standard language used to query a database.
the database approach has many
advantages when it comes to storing data Compared to the traditional flat
file-based systems.
Thanks,
Terrius.

Comments
Post a Comment