Professional Documents
Culture Documents
What Is SQL?
What Is SQL?
SQL is an American National Standards Institute (ANSI) standard that operates via multiple versions and
frameworks to handle backend data across various web applications supported by relational databases
such as MySQL, SQL Server, Oracle PostgreSQL, and others.
1. Parsing: This refers to a process that cross-checks the syntax of the query.
2. Binding: This step involves verifying query semantics before executing it.
3. Optimization: The final step generates the query execution plan. The objective here is to identify an
efficient query execution plan that runs in minimal time. This implies that the shorter the response time
for the SQL query, the better the results. Several combinations of plans are generated to have a practical
end execution plan.
Fast query processing: Irrespective of the volume of data, SQL is capable of inserting, deleting,
retrieving, and manipulating data quickly and efficiently while ensuring data accuracy. This enables fast
data sharing between users.
No coding skills required: SQL does not demand coding skills like other programming languages. Its user-
friendly trait makes it accessible to all users as they can manage SQL with the help of keywords such as
‘create,’ ‘insert,’ ‘select,’ ‘update,’ and others without possessing any programming skills.
Open source code: Open source SQL solutions such as MySQL, MariaDB, and PostGresSQL provide
accessible SQL databases. This attracts the participation of larger communities at a lower cost.
Top database management system (DBMS) vendors use SQL: The DBMS systems of top companies such
as IBM, Oracle, and Microsoft use SQL, considering the comprehensive benefits it offers.
SQL Commands:
SQL can perform various tasks like create a table, add data to tables, drop the
table, modify the table, set permission for users.
What is NoSQL?
NoSQL databases (aka "not only SQL") are non-tabular databases and store
data differently than relational tables. NoSQL databases come in a variety of types based on their data
model. The main types are document, key-value, wide-column, and graph. They provide flexible schemas
and scale easily with large amounts of data and high user loads.
Overview :-
· What is a NoSQL Database?
· Why NoSQL?
· Flexible schemas
· Horizontal scaling
· Document databases store data in documents similar to JSON (JavaScript Object Notation)
objects. Each document contains pairs of fields and values. The values can typically be a variety
of types including things like strings, numbers, booleans, arrays, or objects.
· Key-value databases are a simpler type of database where each item contains keys and values.
· Graph databases store data in nodes and edges. Nodes typically store information about people,
places, and things, while edges store information about the relationships between the nodes.
Why NoSQL?
NoSQL databases are used in nearly every industry. Use cases range from the highly critical(e.g., storing
financial data and healthcare records) to the more fun abrnd frivolous (e.g., storing IoT readings from a
smart kitty litter box.