Good afternoon!
I am new to creating a database ... I need to create a db for my web application to recruit.
My database schema is as follows:
NOTE. I have included request_id in other tables ... for example. exam, interview, type of exam.
Am I breaking any normalization rule? If I do, what do you recommend to improve my design? Thanks you
Overall looks good. A few minor points to consider:
date
result
EDIT: , PASS FAIL, "". .
, , - , . , ( , ).
, , . , request_id . , , scehma.
- , 4 ?
- , , , , . , . , , , #, . , , - , , . , , , .
, varchar 4, , Pass/fail. . , 80% , , , 100% , . . , . , ( , ), , , . 200 , , . , , , , , , , (5 , , 1 ).
, , - . , , , , . .
, . , , . , , . , - , . ,
, :
TEST TEST_ID TEST_TYPE_ID ref TEST_TYPE - Table that define the test type TEST_REQUIRED_SCORE - The value of the score that need to be reach to pass the exam. ... - Many others properties of TEST like duration, expire date, active inactive etc. APPLICANT_RESULTS APPLICANT_ID ref APPLICANT TEST_ID = ref TEST TESTS_DATE - The day of exam TEST_START - The time when the test has started TEST_FINISH - The time when the test has ended APPLICANT_RESULT - The applicant result of taken test.
,
TEST_REQUIREMENTS - Table that specify the test hierarchy and limitation TEST_ID ref TEST REQUIRED_TEST ref TEST ORDER - the order of exams
Another scenario is that in the future, your employer will want to switch to the electronic exam system. In this case, think only what you need: