Postgres and Open Source Experts

24x7x365 since 1997

Education

Professional Postgres and Open Source support

Command Prompt, Inc., is the oldest Postgres Company in North America and one of the oldest Open Source firms still operating today. We serve our clients with best in class expertise and professionalism. You can read more about support and services here:


You have landed at the largest single source of Postgres education blogs in the world. At Command Prompt, we believe deeply that the education of the community is critical to the continued success of Postgres and related technologies. We hope you find content you are looking for and don't hesitate to Contact us today for all your Postgres and Open Source consulting and support needs.

How to Create, Update and Drop Tables in a PostgreSQL Docker Container

To create, update and drop tables in PostgreSQL container, build and run PostgreSQL container and connect with Database Server. Then, perform these operations.

What’s the Difference Between HAVING Clause and WHERE Clause in PostgreSQL?

In PostgreSQL, the WHERE clause filters the data of each row and then groups the data while the HAVING clause filters the grouped data.

PostgreSQL Cheat Sheet - Basic Commands

This blog presented a cheat sheet that assists us in working with the Postgres databases, schemas, tables, and users/roles, efficiently.

PostgreSQL Pattern Matching: LIKE VS NOT LIKE VS ILIKE

The LIKE operator matches the search expression with the specified pattern and retrieves true if the match is found. The NOT LIKE operator negates the results of the LIKE operator.

How to Connect PostgreSQL to Java Using JDBC

To connect PostgreSQL to Java via JDBC, integrate Postgres JDBC Driver with Java, and establish a new connection. After this, you can execute PostgreSQL Queries from Java.

PostgreSQL LENGTH() Function With Practical Examples

The Postgres LENGTH() function accepts a string as an argument and calculates the total number of characters in that particular string.

How to Show Databases in PostgreSQL

In PostgreSQL, the “\l” command and “pg_databases” catalog are used to show the list of databases. Use the “\l+” command to show databases with more details.

How to Create a Database in PostgreSQL

A Postgres database can be created using “CREATE DATABASE” or “createdb” commands. The difference is that the “createdb” can be executed from the command prompt.

How to Install PostgreSQL (psql) on Arch Linux

To install PostgreSQL on the Arch system, use the default Pacman package manager tool. More specifically, using the “sudo pacman -S postgresql” command.

How to Use LIMIT Clause in PostgreSQL

In PostgreSQL, the LIMIT clause and OFFSET clause allow us to retrieve only a subset of data returned/generated by the SELECT query.