34. 第6正規形
A relvar R [table] is in sixth normal form
(abbreviated 6NF) if and only if it satisfies no
nontrivial join dependencies at all ̶ where, as
before, a join dependency is trivial if and only if at
least one of the projections (possibly
U̲projections) involved is taken over the set of all
attributes of the relvar [table] concerned.
Sixth normal form
33/87
75. 候補キーで分かれることが実際に起こすもの
そして出てくる 内側テーブルの “ORDER BY狙いのキー” が
選べない問題
真⾯目に(︖)正規化すると、サブクエリーやGROUP BYと
のJOINをしたくなる
SELECT user_id, tweet_count FROM user JOIN (SELECT user_id,
COUNT(*) AS tweet_count FROM tweet GRUOP BY user_id) USING
(user_id) ORDER BY tweet_count DESC ..
-
こんなことするとしんでしまいます
「正規化すると遅い」が真になる瞬間
-
74/87