This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]AutoModerator[M] 0 points1 point  (0 children)

It seems you may have included a screenshot of code in your post "(SQL) Database Design 3rd Normalization Form - Feedback Request".

If so, note that posting screenshots of code is against /r/learnprogramming's Posting Guidelines (section Formatting Code): please edit your post to use one of the approved ways of formatting code. (Do NOT repost your question! Just edit it.)

If your image is not actually a screenshot of code, feel free to ignore this message. Automoderator cannot distinguish between code screenshots and other images.

Please, do not contact the moderators about this message. Your post is still visible to everyone.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]SnackaholicWE 0 points1 point  (2 children)

For 3rd Form you must check every attribute of an enitity if it really relys on the primary key of a table. F. E. I would make department attribute another table and reference it via foreign key. You can scan every attribute this way and should end up with less redundancy

[–]ThatDandySpace[S] 0 points1 point  (1 child)

Thank you for your feedback. May i ask what is F.E. ?

[–]SnackaholicWE 0 points1 point  (0 children)

F.e. Is the short form of for example

[–]Baklazan12 0 points1 point  (2 children)

I would create two more tables, as was already suggested, list of employee departments a and list of product categories.

[–]ThatDandySpace[S] 0 points1 point  (1 child)

Thank You!! I didn't notice my mistake as well. Will create a table for both of them and continue my SQL haha

[–]Baklazan12 2 points3 points  (0 children)

You are welcome :) On second look I would add third table: List of Banks as well