|
прав ли TK (229) ?
|
|||
---|---|---|---|
#18+
You are a database developer for Lucerne Publishing. You are designing a human resources database that contains tables named Employee and Salary. You interview users and discover the following information: The Employee table will often be joined with the Salary table on the EmployeeID column. Individual records in the Employee table will be selected by social security number (SSN). A list of employees will be created. The list will be produced in alphabetical order by last name,and then followed by first name. You need to design the indexes for the tables while optimizing the performance of the indexes. Which three scripts should you use? (Each correct answer presents part of the solution. Choose three.) Код: plaintext 1. 2. 3. 4. 5. 6.
но ведь First Name +Last Name - это же не уникальное сочетание. о каком кластерном индеске может быть речь тогда? мой ответ: B, D, E Ваше мнение? ... |
|||
:
Нравится:
Не нравится:
|
|||
19.05.2004, 15:10 |
|
прав ли TK (229) ?
|
|||
---|---|---|---|
#18+
1. Код: plaintext
2. думаю D - железобетонно, так как Individual records in the Employee table will be selected by social security number (SSN). 3. но ведь First Name +Last Name - это же не уникальное сочетание выражение Код: plaintext
4. далее нужно исходить из двух вещей: The list will be produced in alphabetical order by last name,and then followed by first name. и кластерный индекс на таблицу может быть один. честно говоря, к чему , в плане индексов, обязывает фраза: The list will be produced in alphabetical order by last name,and then followed by first name. я ума не приложу. ... |
|||
:
Нравится:
Не нравится:
|
|||
19.05.2004, 16:31 |
|
прав ли TK (229) ?
|
|||
---|---|---|---|
#18+
Спасибо за объяснения. Теперь все встало на свои места. Сгубила привычка думать о кластерном индексе как об уникальном. а насчет The list will be produced in alphabetical order by last name,and then followed by first name то здесь получается как раз так, как и должно быть, раз уж по кластерному и идет запись в таблицу то вот вам и нужная сортировка сразу же. в пункте Е, действительно ошибка вышла. Сорри ... |
|||
:
Нравится:
Не нравится:
|
|||
19.05.2004, 17:32 |
|
|
start [/forum/topic.php?fid=34&fpage=58&tid=1551922]: |
0ms |
get settings: |
11ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
87ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
others: | 15ms |
total: | 205ms |
0 / 0 |