IT lexicon › Database › View (relation)

View (relation)

Database På svenska → Updated: 2026-11-10

A virtual table defined by a saved query that presents a filtered or transformed subset of underlying tables without duplicating data.

Views allow users to interact with a stable, abstracted data interface without needing to understand the full schema. A view can merge data across multiple tables, hide sensitive columns, or encapsulate complex join logic. They became a cornerstone of data independence in relational systems: applications could read a consistent interface even as the physical schema evolved beneath them.

Classical relational databases like Oracle and Sybase made heavy use of views. In the pre-migration era when reshaping data across storage systems was expensive, views allowed schema flexibility without forcing application rewrites. Modern ORMs still lean on views to flatten hierarchical relationships into flatter, query-friendly shapes.

← Back to the lexicon