= Databases and SQL = Databases are a way to store data and its relationships, and access it over a network, with caching and other optimizations. == Database Design Principle == == Views == A database view is a subset of a database and is based on a query that runs on one or more database tables. There are essentially named queries. === dynamic views === dynamic views can contain data from one or two tables and automatically include all of the columns from the specified table or tables. They are automatically updated along with data in the source tables === static views === static views contain data from multiple tables and and the columns from said tables are included via SELECT and WHERE commands. == SQL == See [[sql]] [[index]]