Updated at: 2022-08-03 GMT+08:00

View and Joined Table Design

View Design

  • [Proposal] Do not nest views unless they have strong dependency on each other.
  • [Proposal] Try to avoid sort operations in a view definition.

Joined Table Design

  • [Proposal] Minimize joined columns across tables.
  • [Proposal] Joined columns should use the same data type.
  • [Proposal] The names of joined columns should indicate their relationship. For example, they can use the same name.
close