As the name suggests, NoSQL is "Not only Sql". It means NoSQL is different to Sql.

The following are the steps to show the difference between NoSQL and Sql
-
Types
NoSQL database includes many different types, such as key-value stores, document databases, wide-column stores, and graph databases.
In SQL databases manage only type, which is SQL database with minor variations.
-
Data storage Model
Data storage model of NoSQL is based on key-value stores, which use only two columns ("key" and "value") and store all relevant data together in a single "document" in JSON, XML, or another format.
In SQL database, data storage is individual, which record stores as rows in tables, with each column storing data about that record. It means separate data types are stored in separate tables.
-
Schemas
In NoSQL, we don't have predefined schema. Records contents and semantics are enforced by applications.
In SQL database, we have fixed structure and types in advance.
-
Sharing
NoSQL database is a shared nothing architecture. In NoSQL, each server use only its own local storage and it allows storage capacity to be increased by adding more nodes.
SQL is a shared architecture, which support relation base database management system.
-
Data Manipulation
In NoSQL, data is manipulated through object-orientated applications.
In SQL database, data is manipulated through a particular specific language.
-
Graph Database
In NoSQL, graph stores database and provides index-free adjacency, meaning that every element contains a direct pointer to its adjacent element and no index lookups are necessary.
In SQL the database requires extremely complex queries.
Advantages of NoSQL
NoSQL database does not use structured tables and a structured query language like SQL. NoSQL is used today as an umbrella term for all databases and often relate to large data sets accessed and manipulated on a Web scale. There are different advantages, which are given below:
