The Basics of PostgreSQL Views


Article Overview

This article will help you to understand what is a database view in general and in turn what is a PostgreSQL view. This article will help you to learn how to create/query/drop a PostgreSQL view, their syntaxes with working examples, and how to work with vies via the Psql terminal or PgAdmin tool.

What is a view?

A view in SQL is considered a virtual table that is based on the result-set of an SQL statement. Similar to a real table, a view consists of rows and columns and it can have data from one or more tables.