4.83 out of 5
4.83
6 reviews on Udemy

PostgreSQL | Learn T-SQL Using PostgreSQL with Real Examples

PostgreSQL - Learn Relational Database and PostgreSQL Database Administration with PostgreSQL and become Postgres master
Instructor:
Oak Academy
67 students enrolled
English [Auto]
Basic Relational Database Concepts
Normalization
PostgreSQL Basics
SQL Basics
Database Tools to Build Your Own Data Architecture
Privileges
Partitioning
Inheritance
Row Security Policies
Some Trip And Trick That Make the life easier for you when using postgresql
The Groupby and having clauses
How To Construct Your Own Relational Data Set
Network Address Types

Welcome to “PostgreSQL | Learn T-SQL Using PostgreSQL with Real Examples” course.

PostgreSQL – Learn Relational Database and PostgreSQL Database Administration with PostgreSQL and become Postgres master

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. The origins of Postgresql date back to 1986 as part of the POSTGRES project at the University of California at Berkeley and has more than 30 years of active development on the core platform.

PostgreSQL, like other relational and object-oriented databases, let non-IT specialists query databases. PostgreSQL is open-source, fault-tolerant, and supports location-based services.

Known for reliability, scalability, and robustness, PostgreSQL is widely used by organizations of all sizes for managing large and complex databases. This makes it well-suited for high-performance and mission-critical applications such as data warehousing, analytics, geospatial applications, and web services.

PostgreSQL has been adopted by a variety of industries as the database management system of choice. PostgreSQL is great for handling scientific data, as well as finance and manufacturing information. Take our course and become a PostgreSQL power user. postgresql, postgres, postgresql database administration, sql, sql masterclass, data analytics, sql for data analytics, sql masterclass: sql for data analytics, advanced sql

Postgresql has earned a strong reputation for its proven architecture, reliability, data integrity, robust feature set, extensibility and the dedication of the open source community behind the software to consistently deliver performant and innovative solutions. Postgresql runs on all major operating systems (Linux, Macos, Windows, BSD, Solaris), has been ACID compliant since 2001, and has powerful add-ons such as the popular POSTGIS geospatial database extender.

PostrgeSQL comes with many features aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments, and help you manage your data no matter how big or small the dataset. In addition to being free and open source, PostgreSQL is highly extensible. For example, you can define your own data types, build out custom functions, even write code from different programming languages without recompiling your database.

PostgreSQL supports many of features required by the SQL standard, though sometimes with slightly differing syntax or function. As the version 14 release in September 2021, PostgreSQL conforms to at least 170 of the 179 mandatory features for SQL:2016 Core conformance. As I know, no relational database meets full conformance with this standard as of now.

PostgreSQL has client server architecture. A main server process runs on postgresql machine. This process is responsible for starting other background processes and accepting new client connections. You can connect postgresql database from local machine or remote machines. When you connect postgresql from localhost, then unix socket file is used as communication protocol. If you connect postgresql from remote, the communication goes through TCP/IP.

This course provides valuable knowledge on using PostgreSQL database.

You will learn at the end of this course about :

  • Basic Relational Database Concepts

  • Normalization

  • PostgreSQL Basics

  • Database Tools to Build Your Own Data Architecture

  • Privileges

  • Partitioning

  • Inheritance

  • Row Security Policies

  • Simple Structure Of PostgreSQL

  • How To Construct Your Own Relational Data Set

  • SQL Basics

  • Using SQL Objects Effectively

  • Details Of SQL Language.

  • Join Types

  • Subqueries

  • Combining Queries

  • The Groupby and having clauses

  • Grouping Sets Cube And Rollup.

  • Some Trip And Trick That Make the life easier for you when using postgresql

Also you will learn all data types like

  • Recursive With Queries

  • Numeric Types

  • Monetary Types

  • Character Types

  • Binary Data Types

  • Datetime types

  • Boolean type

  • Enumerated types

  • Network Address Types

  • Bit string types

  • UUID types

  • XML type

  • JSON type

  • Arrays in Postgre SQL.

The course includes fertile examples that make your learning process easier. We also try to keep content compact and fluent.

With my up-to-date course, you will also have the chance to keep yourself updated. I am also happy to say that I will always be available to support your learning and answer your questions.

What is PostgreSQL and why it is used?

It is a highly stable database management system, backed by more than 20 years of community development which has contributed to its high levels of resilience, integrity, and correctness. PostgreSQL is used as the primary data store or data warehouse for many web, mobile, geospatial, and analytics applications.

Why PostgreSQL is more popular?

PostgreSQL is chosen by companies because it offers data types that MySQL does not, as well as many other features that are not offered in MySQL. Generally, however, MySQL is typically recommended for web-based/online or mapping functions, whereas PostgreSQL is recommended for large analytical processes.

What is difference between SQL and PostgreSQL?

PostgreSQL supports Python, PHP, Perl, Tcl, Net, C, C++, Delphi, Java, JavaScript (Node. js), and more. SQL Server is more limited, offering support for Java, JavaScript (Node. js), C#, C++, PHP, Python, and Ruby.

What is PostgreSQL best for?

Known for reliability, scalability, and robustness, PostgreSQL is widely used by organizations of all sizes for managing large and complex databases. This makes it well-suited for high-performance and mission-critical applications such as data warehousing, analytics, geospatial applications, and web services.

Is PostgreSQL enough to get a job?

The high estimated earnings are one of its many perks. The biggest advantage is you can build a really good career by learning even just PostgreSQL. A little hard work and ambition can lead you to the top and enable you to develop steadily. And as a result, you build a better life!

Is PostgreSQL a programming language?

PostgreSQL (pronounced post-gress-Q-L) offers the full functionality of Structured Query Language (SQL) — a standard programming language for database management — and many other feature enhancements and extensions.

Why learn PostgreSQL?

It is great for large datasets. It’s less prone to data corruption. It’s still the most advanced open-source RDBMS in the world. And it’s an excellent choice for those who are new to SQL.

Is PostgreSQL free?

A: PostgreSQL is released under the OSI-approved PostgreSQL Licence. There is no fee, even for use in commercial software products. Please see the PostgreSQL Licence.

Do companies use PostgreSQL?

Around the world in 2023, over 58509 companies have started using PostgreSQL as relational-databases tool. Companies using PostgreSQL for relational-databases are majorly from United States with 22627 customers. 33.26% of PostgreSQL customers are from the United States.

Why do people prefer PostgreSQL?

PostgreSQL has advanced features.
PostgreSQL supports a huge number of features, many of which aren’t available on other database systems. Just some examples of these include: Indexes that support different collations, types, access methods, and operators.

Why would you want to take this course?

Our answer is simple: The quality of teaching.

When you enroll, you will feel the OAK Academy’s seasoned instructors’ expertise.

Fresh Content

It’s no secret how technology is advancing at a rapid rate and it’s crucial to stay on top of the latest knowledge. With this course, you will always have a chance to follow the latest data science trends.

Video and Audio Production Quality

All our content is created/produced as high-quality video/audio to provide you the best learning experience.

You will be,

  • Seeing clearly

  • Hearing clearly

  • Moving through the course without distractions

    You’ll also get:

  • Lifetime Access to The Course

  • Fast & Friendly Support in the Q&A section

  • Udemy Certificate of Completion Ready for Download

Dive in now into the PostgreSQL | Learn T-SQL Using PostgreSQL with Real Examples” course.

PostgreSQL – Learn Relational Database and PostgreSQL Database Administration with PostgreSQL and become Postgres master

We offer full support, answering any questions.

See you in the course!

Introduction to PostgreSQL

1
What is PostgreSQL?

postgresql, postgres, postgresql database administration: It informs you about postgresql and history of postgresql.It explains basics of Postgresql, when the postgres dates back to and which reasons make postgres great and powerful. It has also mentioned about core features.

2
Basic Architecture Of PostgreSQL

sql, sql masterclass, data analytics. It tells about postgresql architecture very briefly. It is shown basic connection and run principles.

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.


3
Installation Of PostgreSQL With Installer
4
Installation Of PostgreSQL With Portable Distribution
5
DBeaver
6
PostgreSQL Project Files

PostgreSQL, like other relational and object-oriented databases, let non-IT specialists query databases. PostgreSQL is open-source, fault-tolerant, and supports location-based services.

7
Quiz

Basic SQL Language

1
Relational-Model Concepts Database-Table RowColumn

It tells you which introduced the relational model first and which are the core components of relational model. It brings you to the start of "relation" world.

The origins of Postgresql date back to 1986 as part of the POSTGRES project at the University of California at Berkeley and has more than 30 years of active development on the core platform.

2
Normalization

It explains basic principles of normalization. It tells about anomalies and anomaly types. It also try to show you entrire normalization steps thorugh an example.

Known for reliability, scalability, and robustness, PostgreSQL is widely used by organizations of all sizes for managing large and complex databases. This makes it well-suited for high-performance and mission-critical applications such as data warehousing, analytics, geospatial applications, and web services.

3
Tables And Foreign Keys

sql for data analytics, sql masterclass: sql for data analytics, advanced sql: It explains basic syntax and form of tables. You'll learn how to create your own tables in postgresql. In addtion it explains basics of tables and operations on tables.

PostgreSQL has been adopted by a variety of industries as the database management system of choice.


4
Adding And Manipulating Data Into Table

The main thing for you to be able to work with a table is adding data into it. You'll learn and add data to a table. Besides you'll delete records from it. In addition "update" is also shown in this part.

PostgreSQL is great for handling scientific data, as well as finance and manufacturing information.

5
Querying data - Basic Select Statement

It is shown basic usage of "select" statement. You will learn writing a "select" query and retrieve and filter records in a table.

Postgresql has earned a strong reputation for its proven architecture, reliability, data integrity, robust feature set, extensibility and the dedication of the open source community behind the software to consistently deliver performant and innovative solutions.

6
Querying data - Like Operator And Basic Pattern Searching

If you know pattern searching, you can write more powerful queries to find records effectively. In this session, it is explained basic pattern searching using "like" operator.

Postgresql runs on all major operating systems (Linux, Macos, Windows, BSD, Solaris), has been ACID compliant since 2001, and has powerful add-ons such as the popular POSTGIS geospatial database extender.

7
Querying data - Retrieve Records Sorted

Order matters. It is shown ordering records when retrieving in this lesson. It is told about ordering directions and core specifications.

PostrgeSQL comes with many features aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments, and help you manage your data no matter how big or small the dataset.

8
Querying data - LIMIT OFFSET and FETCH Keywords

In this lesson, we will learn how to write top N queries in postgresql. It is explained by examples using limit, fetch and offset statements. It allows you to implement pagination in postgres.

9
Join Tables

If you want to work multiple tables and uncover a more valuable picture of data you have, you need to join tables. It is shown basic join type, besides mentioned join types superficially.

PostrgeSQL comes with many features aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments, and help you manage your data no matter how big or small the dataset.

10
Distinct Keyword and Grouping Results

Sometimes, we need to solve complexity of a dataset. Such times, grouping functions can be a life saver. In this lesson, it is shown grouping data, using basic aggregate functions and using distinct keyword.

In addition to being free and open source, PostgreSQL is highly extensible. For example, you can define your own data types, build out custom functions, even write code from different programming languages without recompiling your database.

11
Window Functions

A way more enhanced type of using grouping functions is window functions. It allows you to write your grouping statements in queries without using "group by" statement. It is really a big thing sometimes.PostgreSQL supports many of features required by the SQL standard, though sometimes with slightly differing syntax or function.

12
Views - Simple Views

You can organize and store your query in a database using views. It is shown writing views through examples in this lesson. It is also shown basic view operations.

As the version 14 release in September 2021, PostgreSQL conforms to at least 170 of the 179 mandatory features for SQL:2016 Core conformance. As I know, no relational database meets full conformance with this standard as of now.

13
Views - Updateable Views

Sometimes, we need modifying data through views. In this lesson, we will learn "which" views are updateable and how to update them.

PostgreSQL has client server architecture. A main server process runs on postgresql machine.

14
Views - Recursive Views

Recursion make programming great and you can use recursion in sql with recursive queries and views. It is shown recursive queries via a basic exmple.

When you connect postgresql from localhost, then unix socket file is used as communication protocol. If you connect postgresql from remote, the communication goes through TCP/IP.

15
Views - Materialized Views

Materialized views allow you to store the result of a query and update the data periodically. It is super useful for decreasing effect of frequently executed heavy non-transactional queries. It is shown how to write and specify basic options of a materialized view.

16
Transactions

Relational databases exist for transactions. It is shown basic structure of a transaction. It is told aboud "ACID" compliance. And finally, it is explained on an example.

What is PostgreSQL and why it is used?

It is a highly stable database management system, backed by more than 20 years of community development which has contributed to its high levels of resilience, integrity, and correctness. PostgreSQL is used as the primary data store or data warehouse for many web, mobile, geospatial, and analytics applications.


17
Quiz

SQL In More Detail

1
SQL Basics -Lexical Structure

It is shown core components of a sql statement. You will learn to name a sql statement and basic component of it.

Why PostgreSQL is more popular?

PostgreSQL is chosen by companies because it offers data types that MySQL does not, as well as many other features that are not offered in MySQL. Generally, however, MySQL is typically recommended for web-based/online or mapping functions, whereas PostgreSQL is recommended for large analytical processes.

2
SQL Basics -Identifiers And Keywords

Keywords have a fixed meaning in the SQL language. Identifiers allow you to specify your own variables (kind of ) in sql. It shown keywords and identifiers and also basic specifications of using identifiers.

What is difference between SQL and PostgreSQL?

PostgreSQL supports Python, PHP, Perl, Tcl, Net, C, C++, Delphi, Java, JavaScript (Node. js), and more. SQL Server is more limited, offering support for Java, JavaScript (Node. js), C#, C++, PHP, Python, and Ruby.

3
SQL Basics -Constants

in this lesson, It is shown using constants effectively in sql language. You will learn constant types and forms and how to use them.

What is PostgreSQL best for?

Known for reliability, scalability, and robustness, PostgreSQL is widely used by organizations of all sizes for managing large and complex databases. This makes it well-suited for high-performance and mission-critical applications such as data warehousing, analytics, geospatial applications, and web services.

4
SQL Basics -Operators

An operator is a symbol or expression that produces results when you use it. You will learn using operators, see operator precedence and associativity in postgres.

Is PostgreSQL enough to get a job?

The high estimated earnings are one of its many perks. The biggest advantage is you can build a really good career by learning even just PostgreSQL. A little hard work and ambition can lead you to the top and enable you to develop steadily. And as a result, you build a better life!

5
SQL Basics -Comments

In this lesson, It is shown using comments and comment types in postgres. It is explained through examples.

Is PostgreSQL a programming language?

PostgreSQL (pronounced post-gress-Q-L) offers the full functionality of Structured Query Language (SQL) — a standard programming language for database management — and many other feature enhancements and extensions.

6
Sequence

Sequences another data objects in postgres. Unlike tables, you don’t need to feed seqeuences, they generate data for you. We will see using sequences in our queries in this lesson.

Why learn PostgreSQL?

It is great for large datasets. It's less prone to data corruption. It's still the most advanced open-source RDBMS in the world. And it's an excellent choice for those who are new to SQL.

7
Data Definition - Table Basics

Tables mandatory data objects in a relational database. In this lesson, basic specification and limitation are eplained for tables.

Is PostgreSQL free?

A: PostgreSQL is released under the OSI-approved PostgreSQL Licence. There is no fee, even for use in commercial software products. Please see the PostgreSQL Licence.


8
Data Definition - Default Values

When using tables, you can use default values for columns. Such way, it allows you make your data consistency easily and in a standard method.

Do companies use PostgreSQL?

Around the world in 2023, over 58509 companies have started using PostgreSQL as relational-databases tool. Companies using PostgreSQL for relational-databases are majorly from United States with 22627 customers. 33.26% of PostgreSQL customers are from the United States.

9
Data Definition - Generated Columns

A step further of default values is generated columns. It allows you generate column values using expressions. It is shown using generated columns through an example in this lesson.

Why do people prefer PostgreSQL?

PostgreSQL has advanced features.
PostgreSQL supports a huge number of features, many of which aren't available on other database systems. Just some examples of these include: Indexes that support different collations, types, access methods, and operators.

10
Data Definition - System Columns

Postgres has common special columns for all tables. They allow you to see some secrets about transactions and internals. It is explained through examples in this lesson.

11
Data Definition -Constraints

Constraints are objects that allow you to construct data integration in relational databases. In this lesson, it is explained constraint types and usage.

12
Data Definition - Check Constraint

A check constraint is the most generic constraint type. It is shown basic specifications and usage of "check" constraints.

13
Data Definition - Not null constraint

A not null constraint is a very simple constraint that it simply guarantees a column value must not be null. It is shown usage of "not null" constraints through an example in this lesson.

14
Data Definition - Unique Key Constraint

It is important to make sure uniqueness in a table. You can use unique constraints to ensure uniqueness in your table. It is explained through example.

15
Data Definition - Primary key

It is said "Every table should have a primary key" in relational model. Of course it is not a must, but it is better to be exist. It is explained on an exmaple.

16
Data Definition - Foreign Key

As the name implies, relational databases consist of relations. We can specify relations between tables using foreign keys. In this lesson, we will learn adding foreign keys, creation types of foreign keys and modifying data on related tables.

17
Data Definition - Exclusion Constraint

Exclusion constraint, is a brand new, unfamiliar constraint. It is similar to check but not the same. In this lesson, You will learn exclusion constraint via a good example.

18
Data Definition - Modifying Table

In this lesson we will learn basic table manipulations, such as; adding a column, Removing a column, Changing a Columns default value, Changing a columns datatype, Renaming a column and renaming a table.

19
Data Definition - Privileges

In postgres, each object type has been defined with some privileges, and you need to be granted that privileges to do related operation. Of course, no need to say, you have all privileges on your own objects. In this lesson, you will learn core prinsiples of postgres privileges system.

20
Data Definition - Row Security Policies

In some cases, you want a user can reach a table but not all data inside that table only specific to own. In such cases you can use row security policies. As a sql standard, postgres allows you to implement your own row security policies for tables. In this lesson you will learn how to achieve it.

21
Data Definition - Schemas

Schemas are logical units that allow you to separate objects each other. It is important to ensure security in a basic but effective manner. In this lesson, you will learn using schemas.

22
Data Definition - Inheritance

If you familiar with programming languages, you should hear about inheritance. It is a core specification of object oriented programming. It is implemented sql language either. You will learn how to make a basic inheritance implementation in this lesson.

23
Table Partitioning

Table partitioning is an excellent topic of relational databases. It allows you divide your data logically in a table. It allows you manage them easily.

24
Data Definition - Dependency Tracking

It is important object dependency in a relatinal database. Postgres, tries to save object dependencies, for ensuring data integrity. In this lesson, you will learn basics of dependency tracking.

25
Queries - Join Types

So far, we will learn some basic knowledge on joining tables. In this lesson, we will learn some expanded information about joining tables.

26
Queries - Subqueries

The rule is simple; divide and rule. If you need to write a huge complicated sql query, you can simplify it using subqueries. In this lesson, you will learn writing subqueries with examples.

27
Queries - Combining Queries

Combining different queries is a requirement sometimes. You will learn combining queries and basic set operators.

28
Queries - Group By And Having Clauses

You can filter over a grouped resultset. For this, you use having keyword. It allows you filter using aggregate functions. In this lesson, you will learn how to implement it.

29
Queries - Grouping Sets, Cube And Rollup

Sometimes, we need to use “group by” statement multiple time. Such times, it helps us to use "grouping sets", "cube" and "rollup" statements. In this lesson, we will learn how to use them.

30
Queries - With Queries "Common Table Expressions"

You will write efficient and complicated report queries, when you know about "with" statement. In this lesson, we will learn how to use it.

31
Queries - Recursive With Queries

As we said earlier, Recursion is important and allow you to make great works. You can use recursion either in views or your queries. You will learn to write your own recursive queries in this lesson.

32
Data Types - Numeric Types

In this lesson, it is explained numeric datatypes, common features and differences of them. You will learn boundaries each of them and when to use them.

33
Data Types - Monetary Types

The money type stores a currency amount with a fixed fractional precision. You will learn how to implement it in this lesson.

34
Data Types - Character Types

Of course , character types probably are most common datatypes. You will learn basics of this type and using various character functions with this type.

35
Data Types - Binary Data Types

There is a world, behind our numerical and characterized world, it is binary world. In this lesson, we will see usage and basics of binary data types.

36
Data Types - Datetime Types

Date and time are important and we always need to take care of them. There are four main datetime types in postgresql. You will learn how to use them in this lesson.

37
Data Types -Boolean Types

Fortunately, there is SQL standard boolean type in postgresql. Why I say "fortunately" because you can't see a boolean type some of other relational databases. In this lesson, we will learn how to use boolean type in postgresql.

38
Data Types - Enumerated Types

You can define your own ordered static types using enumerated types. In this lesson, we will learn how to define enumerated types.

39
Data Types - Network Address Types

If you are a network specialist, or need to define some network types, postgres has some types for you. In this lesson, we will learn network types and how to use them.

40
Data Types - Bit String Types

Bit string type contains only 1 and 0 digits. Postgres allows you define bit string types. In this lesson, we will learn how to define and use them.

41
Data Types - UUID Types

we generate more and more data day by day. Such a world we need so many ID variables to define them. Postgres provides you UUID type to generate a lot of unique keys.

42
Data Types - XML Type

XML type was most popular data transportation and definition type before json. It is still used. Postgres provides xml types. In this lesson, we will learn how to use xml types.

43
Data Types - JSON Type

JSON became most popular data transportation and definition type in recent yeard. Postgres provides two datatypes to store json values, json and jsonb. In this lesson, we will learn how to use them.

44
Data Types - Arrays

Arrays is important for programming and postgresql supports array types as column type. In this lesson, we will learn defining and usage of arrays.

45
Quiz

Extra

1
PostgreSQL - Learn T-SQL Using PostgreSQL with Real Examples

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. The origins of Postgresql date back to 1986 as part of the POSTGRES project at the University of California at Berkeley and has more than 30 years of active development on the core platform. postgresql, postgres, postgresql database administration, sql, sql masterclass, data analytics, sql for data analytics, sql masterclass: sql for data analytics, advanced sql

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.8
4.8 out of 5
6 Ratings

Detailed Rating

Stars 5
4
Stars 4
2
Stars 3
0
Stars 2
0
Stars 1
0