sql

PostgreSQL Tutorial: UPDATE JOIN

Summary: in this tutorial, you will learn how to use the PostgreSQL UPDATE join syntax to update data in a table based on values in another table.

Continue reading

PostgreSQL Tutorial: Upsert Using INSERT ON CONFLICT statement

Summary: in this tutorial, you will learn how to use PostgreSQL upsert feature to insert or update data if the row that is being inserted already exists in the table.

Continue reading

PostgreSQL Tutorial: WHERE

Summary: in this tutorial, you will learn how to use PostgreSQL WHERE clause to filter rows returned by a SELECT statement.

Continue reading

PostgreSQL view dependencies

Summary: In this article, you will learn how to manage objects with view dependencies in PostgreSQL.

Continue reading

Difference Between GROUP BY and PARTITION BY

Summary: The GROUP BY and PARTITION BY clauses are both used in SQL to group data and calculate aggregate values, then what’s the difference between them?

Continue reading

Access PostgreSQL with ChatGPT

Summary: GPT can write SQL. If we write our question in plain English, and have GPT write the SQL to get the answer, well then we can save a lot of time spent on enterprise process management and data analysis software.

Continue reading

Database Compatibility and Selection Suggestions

Database compatibility is critical to the success of a database product, and it can even make the difference between life and death for a database product. The problem of database compatibility is essentially a problem that software products will have.

Continue reading

PostgreSQL optimizer is good enough

The optimizer is the heart and soul of a relational DBMS. It analyzes SQL statements and determines the most efficient access plan for satisfying each statement. For database optimizers, there have always been many voices among database-related practitioners.

Continue reading