1

I just want to understand and avoid mistakes .. I have this input table , so I designed this database to manage it , my question is : Is the design of StudentMarks good or bad in Normalization ? I need help please . The input form paper

My database design

2

It's not normalized. StudentMarks has one value for homework. That does not sound ideal.

Makes more sense, to me, to have a another table GRADES, or the like. CREATE TABLE grades ( category text, grade float ). Then you can insert into it VALUES ('homework', 100) keep all those grades and then later at query time avg() them.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.