๐ซ๐ฐ๐ญ๐ญ๐ฌ๐น๐ฌ๐ต๐ช๐ฌ ๐ฉ๐ฌ๐ป๐พ๐ฌ๐ฌ๐ต ๐บ๐ธ๐ณ ๐จ๐ต๐ซ ๐ต๐ถ๐บ๐ธ๐ณ.
๐๐ก๐๐ญ ๐ข๐ฌ ๐๐๐?
SQL stands for โStructured Query Languageโ. It is the most common programming language used for executing queries, and handling data by using CRUD (create, read, update and delete) operation on a Relational Database Management System (RDMS) like MySQL, PostgreSQL, etc.
๐๐ก๐๐ง ๐ญ๐จ ๐๐ฌ๐ ๐๐๐?
SQL databases are cross-platform, more secure, free, and open source with better and stronger community support. These types of databases are a much better option when โ
1. Your primary focus is on data consistency, validity, and data integrity
2. You need to execute dynamic and complex queries to retrieve data
3. You have predefined data and defined SQL structure or schemas, which donโt change with the data.
๐๐ก๐๐ญ ๐ข๐ฌ ๐๐จ๐๐๐?
NoSQL stands for โNot-Only SQLโ. These types of databases are Non-Relational or non-tabular. A No-SQL database does not require a specific schema and hence is schema-less, and all the entries/documents are JSON documents. Examples โ MongoDB, DynamoDB, Redis, etc.
๐๐ก๐๐ง ๐ญ๐จ ๐๐ฌ๐ ๐๐จ๐๐๐?
NoSQL databases are very flexible, easy to use, developer-friendly, and provide higher performance. These types of databases are a much better option when โ
1. You have Big Data Applications that handle large volumes of unstructured data.
2. You need to scale the database based on constantly changing requirements
3. You need the flexibility to store different types of data.
NoSQL vs SQL: When to use each
Basically, the answer to the question: โWhat to use SQL or NoSQL?โ depends on the type of data youโre going to store and how youโre going to store it. Both SQL and NoSQL databases store data, they just do it differently. If your data is generally structured, a relational database is likely the best choice. On the other hand, if data requirements on your project arenโt clear or the data is unstructured, you should definitely opt for NoSQL.
A NoSQL DBMS copes well with storing data that wonโt fit well into a plain table: articles, videos, social media content, etc. Recently Netflix has migrated some of its systems to NoSQL. Now the company actively uses SimpleDB, HBase, and Cassandra databases. Thus, the structure of your data is the principal factor in deciding whether to opt for a relational or NoSQL database.
Get Siddhesh Kumbharโs stories inย yourย inbox
Join Medium for free to get updates fromย thisย writer.
It is also worth mentioning, that NoSQL is not a replacement for SQL. Itโs just another option, and often it is not about which one to choose โ many development teams decide to use both.
Credit โ Ankit Bansal !
Tagging W3Schools.com, DataLemur ๐ (Ace the SQL & Data Interview), GeeksForGeeks CIT Student Chapter & GeeksforGeeks for providing great Resources !
โ ๐ ๐จ๐ฅ๐ฅ๐จ๐ฐ Siddhesh Kumbhar ๐
๐๐ ๐จ๐ฅ๐ฅ๐จ๐ฐ on ๐Linkedin : www.linkedin.com/in/siddhesh-kumbhar-517627b4
๐๐ ๐จ๐ฅ๐ฅ๐จ๐ฐ on ๐GitHub : https://github.com/siddheshk070
-๐๐จ๐ซ ๐ฆ๐จ๐ซ๐ ๐ฌ๐ฎ๐๐ก ๐๐ฆ๐๐ณ๐ข๐ง๐ ๐ง๐จ๐ญ๐๐ฌ ๐๐ง๐ ๐๐จ๐ง๐ญ๐๐ง๐ญ๐ฌ.
#python #machinelearning #bigdata #deeplearning
#datascientist #datascience #dataanalytics #datascientist #dataanalyst #computerscience #pythonprogramming
#decisionintelligence #programming #coding #programmer
#datavisualization #analytics #data #digital #datavisualization #microsoft #powerbi #Tableau
#artificialintelligence #ai #technology #tech #git #github #Linkedin
#sql #sqlquery #mysql #sqlserver #sqldeveloper #sqlqueries #sqldatabase #dbms #databasemanagementsystem #database
#fresher #hiring #tier3 #notes #interview #project
#share #interviewpreparation #learning








