Updated on 2025-03-13 GMT+08:00

View and Joined Table Design

View Design

  • [Recommendation] Do not nest views unless they have strong dependency on each other.
  • [Recommendation] Try to avoid collation operations when defining a view.

Joined Table Design

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