r/DatabaseHelp • u/cupesh • Aug 20 '20
New to databases. Is my diagram correct?
Learning relational databases and still not sure if I understand it well. From my diagram, can you tell me what I'm doing wrong (or right)?
Are the joining tables for "employees_are_nurses/carers" redundant, since I can search for the employee role from the field "job_title" in the "employees" table?
Thanks.
Edit: Please ignore the data types for fields (and their attributes), I was mostly skipping those as I need to learn the relations between tables right now.
4
Upvotes
1
u/cupesh Aug 20 '20
https://imgur.com/a/PnUcmYA
Second variant that I'm not sure if it's sufficient.
1
u/marah69420 Sep 03 '20
what kind of diagram is this ?