vimwiki/tech/databases.wiki

33 lines
757 B
Plaintext
Raw Normal View History

2021-09-22 17:23:25 +00:00
= 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 ==
2022-02-28 21:15:01 +00:00
== 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.
2021-09-22 17:23:25 +00:00
== SQL ==
2022-02-28 21:15:01 +00:00
See [[sql]]
2021-09-23 17:54:24 +00:00
[[index]]