Querying Databases with SQL and NoSQL: PostgreSQL ,MongoDB
- Description
- Curriculum
- FAQ
- Reviews
Databases are crucial to building applications. They store data that make our applications work like they should. A database query is a request for a database’s data so we can retrieve or manipulate it.
At a very high level, a query is a question. When we talk about queries in relation to other people, we expect some sort of answer in return. This is no different for computers when we perform database queries.
A database query is a similar action that is most closely associated with some sort of CRUD (create, read, update, delete) function. A database query is a request to access data from a database to manipulate it or retrieve it. This allows us to perform logic with the information we get in response to the query.
A database is an organized collection of structured information, or data, typically stored electronically in a computer system. A database is usually controlled by a database management system (DBMS). Together, the data and the DBMS, along with the applications that are associated with them, are referred to as a database system, often shortened to just database.
Data within the most common types of databases in operation today is typically modeled in rows and columns in a series of tables to make processing and data querying efficient. The data can then be easily accessed, managed, modified, updated, controlled, and organized. Most databases use structured query language (SQL) for writing and querying data
SQL is a programming language used by nearly all relational databases to query, manipulate, and define data, and to provide access control. SQL was first developed at IBM in the 1970s with Oracle as a major contributor, which led to implementation of the SQL ANSI standard, SQL has spurred many extensions from companies such as IBM, Oracle, and Microsoft. Although SQL is still widely used today, new programming languages are beginning to appear.
Relational databases became dominant in the 1980s. Items in a relational database are organized as a set of tables with columns and rows. Relational database technology provides the most efficient and flexible way to access structured information.
A NoSQL, or nonrelational database, allows unstructured and semi structured data to be stored and manipulated (in contrast to a relational database, which defines how all data inserted into the database must be composed). NoSQL databases grew popular as web applications became more common and more complex.
PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads.
MongoDB is an open-source document database built on a horizontal scale-out architecture that uses a flexible schema for storing data.
SQL stands for Structured Query Language
SQL lets you access and manipulate databases.
-
1IntroductionVideo lesson
-
2What is SQLVideo lesson
-
3What is PostgreSQLVideo lesson
-
4Installing PostgreSQL on WindowsVideo lesson
-
5Installing PostgreSQL on MacOSVideo lesson
-
6Installing PgAdmin on MacOSVideo lesson
-
7Installing PostgreSQL on Linux (Ubuntu)Video lesson
-
8Installing PgAdmin on Linux (Ubuntu)Video lesson
-
9Connecting to PostgreSQL ServerVideo lesson
-
10Installing Sample databaseVideo lesson
-
11Database ConceptsVideo lesson
-
12Getting all data from a tableVideo lesson
-
13Getting data from specific table columnsVideo lesson
-
14Filtering data from databaseVideo lesson
-
15Sorting data from databaseVideo lesson
-
16Grouping DataVideo lesson
-
17Filtering GroupsVideo lesson
-
18Query database using comparison operatorsVideo lesson
-
19Query database using Between operatorsVideo lesson
-
20Query database using Not Between operatorsVideo lesson
-
21Query database using LIKE operatorsVideo lesson
-
22Query database using Not operatorsVideo lesson
-
23Query database using OR operatorsVideo lesson
-
24Query database using AND operatorsVideo lesson
-
25Query database using OR + AND operatorsVideo lesson
-
26Query database using Limit operatorsVideo lesson
-
27Query database using IN operatorsVideo lesson
-
28Query database using Union operatorsVideo lesson
-
29Query database using Union All operatorsVideo lesson
-
30Query database using Intersect operatorsVideo lesson
-
31Query database using Except operatorsVideo lesson
-
32Table JoinsVideo lesson
-
33Query database using Inner Table JoinVideo lesson
-
34Query database using Left Join Table JoinVideo lesson
-
35Query database using Full Outer Table JoinVideo lesson
-
36Query database using Cross Table JoinVideo lesson
-
37Query database using Natural Table JoinVideo lesson
-
38What are Aggregate FunctionsVideo lesson
-
39Query database using AVG Aggregate FunctionsVideo lesson
-
40Query database using COUNT Aggregate FunctionsVideo lesson
-
41Query database using MAX Aggregate FunctionsVideo lesson
-
42Query database using MIN Aggregate FunctionsVideo lesson
-
43Query database using SUM Aggregate FunctionsVideo lesson
-
44What is MongoDBVideo lesson
-
45Installing MongoDBVideo lesson
-
46Installing MongoDB on MacsText lesson
-
47Modifying environment variablesVideo lesson
-
48Creating a storage directoryVideo lesson
-
49Starting and stopping mongoDBVideo lesson
-
50MongoDB Data TypesVideo lesson
-
51Create a databaseVideo lesson
-
52Inserting documents into MongoDBVideo lesson
External Links May Contain Affiliate Links read more