Question : What is a view in PostgreSQL, and how is it different from a table?Reponse : A view is a virtual table based on the result of a SELECT query. It does not store the data itself but provides a way to represent data stored in one or more tables. Unlike a table, a view does not store data physically. |
Enregistrer pour revision
Ajoutez cet element aux favoris, marquez-le comme difficile ou placez-le dans un ensemble de revision.
Connectez-vous pour enregistrer des favoris, des questions difficiles et des ensembles de revision.
Est-ce utile ? Oui Non
Les plus utiles selon les utilisateurs :
- Explain the concept of ACID properties in the context of databases.
- What is the purpose of the WHERE clause in a PostgreSQL query?
- What is a foreign key, and how does it enforce referential integrity?
- Explain the purpose of the SERIAL data type in PostgreSQL.