PostgreSQL subquery

postgresql subquery

PostgreSQL subquery (also known as inner queries or nested queries) is a tool for performing operations in multiple steps. For example, if you wanted to take the sums of several columns, then average all of those values, you’d need to…

PostgreSQL Joins demystified

postgresql joins

In this tutorial, we learn about the complete join mechanism in PostgreSQL Joins. PostgreSQL joins are used to combine columns from one (self-join) or more tables based on the values of the common columns between the tables. The common columns are…

PostgreSQL order by clause

postgresql order by

In this post, we are going to learn how to sort the result set returned from the SELECTstatement by using the PostgreSQL ORDER BY clause. PostgreSQL Order by clause: If you want to sort the rows by some kind of attribute, you can…

Logical Operators: PostgreSQL AND, OR and NOT

postgresql and postgresql or not

In the previous post, we learned about how we restrict the results using where clause, now we will learn more about sql where clause with logical operators in SQL. The three important logical operators are PostgreSQL and, or and not.…

PostgreSQL Where clause : Part 2

postgresql where clause

In the previous post we learned about PostgreSQL where clause introduction, In this post, we learn more about restricting the rows using different types of using where clause in postgreSQL with examples. when retrieving data from the database, you may need to do…

History of PostgreSQL database

history of postgresql database

In this tutorial, we will discuss the evolution of PostgreSQL databases. History of PostgreSQL PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards compliance.   PostgreSQL evolved from the Ingres project…