Category: SQL

postgresql dml 0

PostgreSQL dml queries

PostgreSQL DML (Data manipulation language ) statements to access and manipulate data in existing schema objects. These statements do not implicitly commit the current transaction. Some of the important data manipulation language statements are:...

postgresql subquery 0

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...

postgresql joins 0

PostgreSQL Joins demystified

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...

postgresql union clause 0

PostgreSQL union | PostgreSQL union all | PostgreSQL intersect

PostgreSQL: using Set Operators: Postgresql UNION Set operators combine the results of two component queries into a single result. Queries containing set operators are called compound queries. set operators include PostgreSQL union, PostgreSQL intersect etc.,...

postgresql order by 0

PostgreSQL order by clause

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...

postgresql and postgresql or not 0

Logical Operators: PostgreSQL AND, OR and 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...

postgresql where clause 0

PostgreSQL Where clause : Part 2

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...