sql

PostgreSQL Tutorial: CREATE INDEX

Summary: In this tutorial, you will learn about indexes and how to use the PostgreSQL CREATE INDEX statement to define a new index for a table.

Continue reading

PostgreSQL Tutorial: CREATE TABLE AS

Summary: In this tutorial, you will learn how to use the PostgreSQL CREATE TABLE AS statement to create a new table from the result set of a query.

Continue reading

PostgreSQL Tutorial: DROP COLUMN: Remove One or More Columns of a Table

Summary: This tutorial shows you how to use the PostgreSQL DROP COLUMN clause in the ALTER TABLE statement to remove one or more columns of a table.

Continue reading

PostgreSQL Tutorial: DROP INDEX

Summary: In this tutorial, you will learn how to use the PostgreSQL DROP INDEX statement to remove an existing index.

Continue reading

PostgreSQL Tutorial: DROP TABLE

Summary: In this tutorial, you will learn how to use the PostgreSQL DROP TABLE statement to remove existing tables from the database.

Continue reading

PostgreSQL Tutorial: Identity Column

Summary: In this tutorial, you will learn how to use the GENERATED AS IDENTITY constraint to create the PostgreSQL identity column for a table.

Continue reading

PostgreSQL Tutorial: Index On Expression

Summary: In this tutorial, you will learn how to leverage the indexes on expression to improve the performance of queries that involve expressions.

Continue reading

PostgreSQL Tutorial: Index Types

Summary: In this tutorial, you will learn about various PostgreSQL index types and how to use them appropriately.

Continue reading

PostgreSQL Tutorial: List Indexes

Summary: In this tutorial, you will learn how to list indexes from a PostgreSQL database by using either pg_indexes view or psql command.

Continue reading

PostgreSQL Tutorial: Multicolumn Indexes

Summary: In this tutorial, you will learn how to create multicolumn indexes which are indexes defined on more than one column of a table.

Continue reading