Search code examples
databasedatabase-normalization

3rd Normalization Form --


There are two tables in my database one is named as folder and second is User. Now user has few rights to these folders that which folder will be visible to user and which will not visible to him. By using 3rd Normalization form i normalize my table. My Question to you is that i want your suggestion that have i normalized table correctly or not, Secondly can i normalize it more or not? My this attached image below will help you to know normalization that i did. enter image description here Thank you!


Solution

  • Yes! You successfully achieved 3NF, since every non-key attribute (in your case folder right) depends on the whole key (user_id, folder_id) and there are no transitive dependencies.

    Actually, your table is in 6NF too, since you cannot decompose the table further into its projections without losing information. :)

    Since I am not aware of any normal form beyond 6NF, I'd say you cannot normalize it further.