Difference Between SQL Vs NoSQL | Database | BDBMS
8K views
Oct 24, 2024
Difference Between SQL Vs NoSQL
View Video Transcript
0:00
In this video we are discussing SQL versus no SQL
0:05
SQL stands for structured query language and no skill stands for not only SQL
0:11
So, what are the differences between them? Let us discuss on them
0:15
So at first we are having one comparable that is the SQL versus no SQL
0:21
So in case of SQL we're having this point, that is SQL is generally used for RDBMS, that
0:27
is a relational database management system. know that in case of relational database management system, the data will be having multiple
0:34
tables and tables will have a fixed static structure and tables will have multiple number
0:40
of rows and columns and each and every row will be known as a record or tappel and columns
0:46
will be denoting the fields or attributes of the tapple. So this is the basic concept in our ADBMS
0:53
But on the other hand in case of no SQL where having this no SQL is used for non-relational
0:59
and distributed database system. So, here we are having the concept of global data
1:05
So, as a result of that, as this no-SQL database will be the global data, so from different
1:10
locations, it can easily be accessed. Next one is the structured data can be stored in the tables
1:16
So, in case of SQL, we can only keep the structured data. But in case of no-SQL, so using
1:23
JSON data, unstructured data, can be stored there. So unstructured, semi-structured. and structured data, all kinds of data can be stored in NoSQL
1:34
The schemers are static. So here we cannot have the variability in the schemas but in this case the schemers are dynamic
1:42
We know that the NoSQL databases in case of MongoDB at least we having this the MongoDB is actually a cross and document database And in this case a database will have collections and collections will have multiple documents
1:59
and those documents may have variable structure. Schemers are rigid and bound to relationships
2:07
And in this case, the schemers are non-rigid and they are flexible
2:12
So, in this case, what will happen between the two tables, some common columns might be there
2:16
and through those column values the two tables will have some relationship
2:21
So, helpful to design complex queries but in case of no SQL, no interface to prepare the complex queries
2:28
So these are the differences between the SQL and the no SQL
2:33
So just consider this one. This is our SQL database. We can represent one SQL database that is a relational database in the forms of tables and tables
2:42
will have multiple rows and columns. We are having multiple rows and columns there
2:46
each and every row is known as a double or triple or record and these columns are known as a
2:51
respective attributes attribute values are there so in case of in case of no school databases
2:58
this table will be known as a collection and collection will have multiple documents and documents
3:05
will be represented in the form of key value pair so against one key we can have a single
3:10
value or multiple values so key value pairs will be there so here we are talking about
3:16
the fields and attributes and here the same thing will be known as the column
3:20
So this is a column family we are having. So now in case of document oriented database, in case of no SQL databases, we're having
3:28
the documents and a document can content other sub-documents, there is a nested documents
3:33
under it. So that's why we are having this hierarchical diagram for these documents
3:38
So these are the basic differences between the SQL databases and the no SQL databases
3:44
Thanks for watching this video
#Business & Industrial
#Computers & Electronics
#Data Management
#Enterprise Technology
#Programming
#Reference