|
Вопрос из Testking 70-229 (3НФ + многие ко многим)
|
|||
---|---|---|---|
#18+
You are a database developer for a hospital. You are designing a SQL Server 2000 database that will contain physician and patient information. This database will contain a table named Physicians and a table named Patients. Physicians treat multiple patients. Patients have a primary physician and usually have a secondary physician. The primary physician must be identified as the primary physician. The Patients table will contain no more than 2 million rows. You want to increase I/O performance when data is selected from the tables. The database should be normalized to the third normal form. Which script should you use to create the tables? A. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17.
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23.
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19.
дается ответ D, но есть сомнения по поводу C, т.к. The primary physician must be identified as the primary physician ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2004, 11:32 |
|
Вопрос из Testking 70-229 (3НФ + многие ко многим)
|
|||
---|---|---|---|
#18+
Даже беглый осмотр, не вникая в семантику задачи, показал следующее. В условии сказано, что пациентов заведомо будет не более 2 миллионов. Соответственно использование типа bigint для идентификации пациента нецелесообразно. ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2004, 11:53 |
|
Вопрос из Testking 70-229 (3НФ + многие ко многим)
|
|||
---|---|---|---|
#18+
Но в задаче есть другие условия. ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2004, 13:03 |
|
Вопрос из Testking 70-229 (3НФ + многие ко многим)
|
|||
---|---|---|---|
#18+
PrimaryPhysician bit NOT NULL, Вам в ответе D этого мало? К тому же в D таблица PatientPhysician не содержит избыточных данных за счет использования составного ключа, а не суррогатного как в C. ... |
|||
:
Нравится:
Не нравится:
|
|||
03.11.2004, 13:20 |
|
|
start [/forum/topic.php?fid=34&msg=32766657&tid=1551813]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
149ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 248ms |
0 / 0 |