Sunday , June 16 2024

Call A View Within A View In PostgreSQL

In some cases, we may need to call a View Within a View. In today’s article, we will be discussing how to do this.

In such cases, you can create a nested view by combining common columns as in the command below.

We add our actorfilmm view to our query, which allows us to find the categories formed by joining the film_category and category tables, and we create a new view named actorfilmcategori that gives the actor’s name, surname, film’s name, and category.

We created our view in View and saw the data in it by selecting.


About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *