r/SQL • u/Acceptable-File-3579 • Oct 17 '26
Discussion Help needed with normalization
Hi, i'm learning databases and normalization. My teacher said a normalized database cannot have circular (not loops, circles) relationships. However, i can't see how I can apply normalization to remove the circles and still comply with the requirements. Also I was under the impression that normalized databases can have circular relationships, just not loops.
Any help will be appreciated. Sorry if my english is bad in advance.
16
Upvotes
View all comments
2
u/Oh_Another_Thing Oct 22 '26
Why would house and address be separate tables? There should be a customer table that combined the two. Then the customer table wouldn't have a foreign key to the warehouse table.
Also the warehouse should table should include the address info. That's the point of the warehouse table, have all the relevant information there so that the inventory table can reference a warehouse ID and all the info is a different table.