AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

In database management, a view acts as a saved SQL query that behaves like a table but contains no data itself. It provides a simplified or customized perspective of underlying data, enhancing security by restricting access to specific columns. Views simplify complex joins and aggregations for users, allowing them to interact with structured data representations without needing to understand the base schema’s complexity.

Summary

A virtual table in a database resulting from a stored query, presenting data from one or more tables without storing it physically.

Key Concepts

Use Cases

Code Example

1
CREATE VIEW ActiveUsers AS SELECT id, name FROM users WHERE status = 'active';