hi welcome to tutorials point in this
video series we are going to begin the
oracle SQL as we may know like oracle is
an organization which deals with the
number of softwares nowadays and
basically the most important part of
that or oracle is the database so in
this video tutorial we'll see how can we
install the oracle SQL database and how
can we start working on that so before
getting started with the oracle let's
find out what this database is all about
and why do we need it you may have come
across a number of websites which asks
you details like email ID mobile number
and the sites like Facebook and maybe
some other profile or community sites
are so many details from you later when
you log in you can use the same username
and password which you have used while
filling up the form and you will find
all of your details like your pictures
the videos you shared or anything so
basically all these things are stored
somewhere in the backend in which the
user cannot make a direct interaction
because users generally makes the
interaction with the user interfaces at
the zui maybe the web page
maybe the mobile application you are
dealing with but all the data is
actually stored somewhere in the backend
called the database so this database
actually provides the permanent storage
of the data so when we talk about
storing the data the data is actually
stored in a tabular way and all the data
is related to each other for example if
I'm talking about the database of a
company like tutorials point so here the
tutorials and the writers who write
though to those tutorials the video
tutorials all are somewhere related to
each other and will be stored the data
will be stored in the tabular way but in
the database table is no
the only thing which is stored as it may
have the number of different types of
object for the different purposes so
like here I just talked about the tables
we may get something like views indexes
synonyms procedures functions which you
will find in this video tutorial
different objects have the different
rules to perform like table goal is to
store the data similarly if I talk about
the views it will be used to restrict
the data maybe I file if I talk about
the triggers it will do some validation
or maybe some implicit will take some
implicit actions so basically each and
every database objects have a different
role to perform so basically in database
it refers to the related set of data and
the way it is organized so once we have
the database obviously we should have
something which will help us out to
interact with the database and in that
sense we will talk about the DBMS that
is database management system so
database management system is basically
a way to interact with the databases now
here DBMS is a computer software
application that interacts with the user
or other applications to capture and
analyze data for example there is a
database I want to access the database
directly maybe if I'm a DBA I can sit on
the database server can start fetching
the data directly but generally what we
do this database would be accessed by
some application like I just give an
example of Facebook the data is stored
in the database but that Facebook
application is actually retrieving the
information from the database so this is
all possible because of this DBMS
so this DBMS is designed to allow the
definition creation querying update and
administration of database definition
means if you want to create a new table
or any database object that is the
creation definition and and similarly
you can create the database objects once
you have defined some objects like table
or maybe some and you have stored the
data you can query that you can update
this structure or the data and you can
administer like you can pass some
validations you can set some privileges
to the different set of users and all so
these are all can be possible because of
this DBMS data sharing data security
data integration data access some major
advantages of data DBMS that is data
sharing if you want to share your data
secure putting the security in data
integration and accessing the data so
all that thing those things can return
with the help of the DBMS but nowadays
the DBMS which we are working is our
DBMS that is relational database
management system basically this model
is launched by a doctor EF Court so
basically he wrote twelve rules and four
and if any database will follow those
rules would be our DBMS all right so
this is a relational model means each
and every object in the database will be
related to each other
RN purpose is to provide a declarative
matter for specifying the data and query
and whenever you will work with the most
of the our defense databases available
you will have to use the SQL as the
query language SQL which stands for
structured query language is basically a
standard language using which you can
access almost all the our DBMS nowadays
yes of course there will be a big
difference in each and every SQL like
may be the function name will be
different something in Oracle will be
having a different name in maybe ms SQL
Server so some basic changes will be
there but overall the language outline
is going to be same and we are going to
work with the
SQL so let's have a quick look what this
SQL is all about so as I just said SQL
stands for structured query language it
is designed by Donald Chamberlin and
Raymond boys in 1974 so initially it was
used to retrieve the data from some of
the databases but since this language is
very easy to learn it is almost like an
English language so that's why it is
categorized also in the fourth
generation of language for generation
language which is basically very much
English type language like we used to
talk to each other if I say something
like delete from employees so even if
you're not family with the SQL you are
getting actually what I mean if I am
saying delete what does that mean so
this is as simple so it's basic purpose
is to it's a special purpose language
designed for managing data in our DBMS
using this SQL command you can do
different types of action like you can
create the new database object you can
insert the data you can update the data
retrieve the data you can delete the
data you can drop the structure of the
table or you can do anything right
like allowing the user to get some
privilege revoking those privileges each
and everything can be done using this
SQL that is structured query language
but as I just listed many of the tasks
that we can do using SQL we can actually
categorize them as for the commands so
here we have the five major aspects of
the SQL five major classifications of
the SQL that is the DDL that is data
definition language data manipulation
language data retrieval language data
control language and transaction control
language so let's I have a basic idea of
each data definition language means any
skill commands which is actually used to
define some database object like if I
going to create a table of view and
index or anything I'm adding a new
object I'm adding something new in the
database so if any SQL command is
affecting the structure or the
information of database I will
categorize them in the data definition
language you know further videos we will
of course give a deeper look in each of
these segments data manipulation
language once you have created the table
now what you will have to insert some
data when you insert or manipulate some
data it doesn't affect this structure of
database but yes it does affect the
structure of the table like if I'm
entering a new record one new record is
added in the table if I'm updating some
data is gonna change when I am deleting
some rows are gonna remove so this is
the data manipulation language when any
SQL statement will affect the data
inside a table I will categorize it
inside the DML now once we have the data
we can start retrieving that so that
part will be deal with the data
retrieval language or data query
language maybe in some data written
databases data control language this
data control language actually deals
with the accessibility like if I am
working in a centralized database and
there are number of users who can access
the same database I will have to specify
the goal for example I should not say
goal basically I should I should say
roles so when we have the different set
of users and all are working in a
centralized database each user would be
having a different rule means that all
will be defining like how much a user
can access even I can access a Google
database through Gmail but I can only
check my mails so somewhere I am getting
restriction so that is what we can do
right here if there is some user who are
an admin level
I will obviously allow them to create a
table
can access all the data from the table
but if there is some third user 3rd
party user type user is there then I
will only give some view of the data
means some particular things can be
retrieved by some set of users
transaction control language transaction
control language simply means when I'm
executing a number of SQL statements all
together then I should take care of the
transaction maybe if I'm transferring
some amount from my account to my
friends account so there will be a
couple of SQL statements will be
required for example first of all I will
update my account balance will deduct
some amount then the amount of my
friends account will be added so there
are a couple of update statements for
any particular statement I need EMS
statement is going to execute but this
transaction control language will insure
us like if it is getting successful both
the commands or all the commands
participating in a transaction will
execute successfully otherwise if there
is something wrong obviously the whole
transaction will be rolled back not
behalf or some percentage of the
transaction will be successful either it
will be fully successful or fully failed
so these are the different
classifications of SQL now let's have an
introduction of Oracle as in the
beginning I told that nowadays it is a
develop organization but here the it is
founded by Larry Ellison with Bob miner
and adults in 1977 basically Oracle was
initially just a product on which Larry
Ellison was working along with the Bob
miner and add oats basically he was
working on the our DBMS rules written by
EF God and the product which he created
he named it Oracle later he founded an
organization with the same name and
nowadays the Oracle
with the databases middlewares business
apps development software file system
operating system and so many more things
but as I said earlier database is the
first and the vastest product of Oracle
and here
in this particular video tutorial we are
going to work with the experts edition
of 11g so in our next video we'll see
how can we install the Express in our
system and later we'll start working on
it