Loading topic
SELECT, WHERE, JOIN, CREATE TABLE, and database privileges. This chapter uses standard SQL syntax. Small details, such as whether CREATE OR REPLACE VIEW is supported, vary between database systems.2 min readSELECT queries, join tables, create tables, and use column aliases. A view column is an output column produced by the query stored in a view. Clear names make that output easier to query and safer to use in applications.2 min readSELECT statements with WHERE, ORDER BY, and GROUP BY, join tables, create tables, insert rows, and understand basic database users and privileges.2 min readSELECT, joins, CREATE TABLE, and basic privileges. A view is a stored query. Replacing a view changes the query that future users run. Dropping a view removes that stored query, but it does not remove rows from its base tables.2 min readSELECT, JOIN, WHERE, table creation, and basic database privileges. A view can expose a controlled shape of data while hiding columns and rows that a user does not need.2 min readSELECT, JOIN, WHERE, CREATE TABLE, and basic privileges. This chapter focuses on when INSERT, UPDATE, and DELETE can work through a view.2 min readSELECT, WHERE, JOIN, CREATE VIEW, and basic database privileges. This chapter focuses on views that accept INSERT, UPDATE, or DELETE.2 min readSELECT queries with joins and filters, create views, and understand basic database privileges. You will learn how one view can use another view as its data source.2 min readSELECT queries, join tables, and understand basic database privileges. You should also know that a view is a named query that behaves like a table when you read from it.2 min readSELECT queries with joins and aggregates, create regular views, and understand basic indexes and transactions. You will learn when to store a query result instead of calculating it for every read.2 min readSELECT statements. This chapter uses PostgreSQL syntax. Other database systems provide similar features, but refresh commands, locking behavior, and scheduling options can differ.2 min readSELECT statements, joins, and filters. It also assumes you understand that database users receive privileges on database objects.2 min readSELECT, joins, grouping, table creation, and basic database privileges. This chapter focuses on the cases where a view behaves differently from what you expect.3 min read