i am doing a project and need to create a data scheme for it, the topic is sports day system. I am quite sure for my 3NF, however, i don't know how to convert back to 2NF, 1NF and UNF...
my another question is, can i create a new field during normalization? and can UNF contains more than 1 table?
Of course you can make a new field after normalising! Fields are attributes of your entities, and if it clearly belongs to a given entity (represented by a table), just add it.
Just watch - imagine you just realise house has a date of foundation. Possibly even a real attribute in your example. Now, do I need to denormalise anything to work out it belongs in the house table?
You can have as many unnormalised tables initially as you like. A single table in UNF is a bit artificial, many real systems start with a few obvious tables, each not normalised to different extents.
None on the courses I took would ask you to make something back into some unnormalised form. I think the OP assumes that if you find a new field you have to unnormalise everything then run through the whole step by step normalisation process again. Notice it says "my 3NF"
Me? I think of the entities first. And what attributes they have. I wonder if the OP has also done an ERD first, then assumes you must run through the whole normalisation process backwards to check your entities are correct. But I doubt it.
Bookmarks