Skip to content

Files

Latest commit

333d031 · Jul 23, 2021

History

History

relational-databases

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 23, 2021

Relational Databases

  • Index foreign keys.
  • Constrain most columns as NOT NULL.
  • In a SQL view, only select columns you need (i.e., avoid SELECT table.*).
  • Use an ORDER BY clause on queries where the results will be displayed to a user, as queries without one may return results in a changing, arbitrary order.