Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Description Following are examples and syntax of index: CREATE INDEX index _ name ON Table _ Name ( column name ) ; 1 . Create
Description Following are examples and syntax of index: CREATE INDEX indexname ON TableNamecolumn name; Create a nonclustered index for the column empon of the table employee USE Company CREATE INDEX iempno ON employeeempon Create a unique nonclustered index on iempName for the column Fname on the Employee table. USE Company CREATE UNIQUE INDEX iempName ON Employee Fname Create a composite unique index iempnoprno for the column empon and projectno on the workson table The compound values in both columns must be unique. Eighty percent of each index leaf page should be filled. USE Company CREATE UNIQUE INDEX iempnoprno ON worksonemponprojectno IMAM ABDULRAHMAN BIN FAISAL UNIVERSITY Practical Session Plan College Department Course College of Computer Science and Information Technology Computer Information Systems Database Concepts and Design CIS CIS Lab manual Page WITH FILLFACTOR Create a clustered index for the column DNum of the table Project. USE Company CREATE INDEX iDNum ON ProjectDnum ASC Drop Index Syntax : DROP INDEX IndexName ON TableName; Create a nonunique index for each foreign key USE Company CREATE INDEX iempdeptno ON employeedepton CREATE INDEX iworksempno ON worksonempon CREATE INDEX iworksprno ON worksonprojecton Create a composite index that includes all the columns specified in the WHERE clause of the SELECT statement. SELECT FROM workson WHERE empno AND enterdate USE Company ; CREATE INDEX iworks ON workson empnoenterdate; IMAM ABDULRAHMAN BIN FAISAL UNIVERSITY Practical Session Plan College Department Course College of Computer Science and Information Technology Computer Information Systems Database Concepts and Design CIS CIS Lab manual Page TasksAssignmentss Create a nonclustered index for the Plocation column of the Project table. Sixty percent of each index leaf page should be filled. Index Name :iPloc. Create a unique composite index for the DNumber and DName columns of the Department table. Index Name iDep Create a clustered index for the DNO column of the Employee table. Index Name iDno Delete index iDno from Employee table.
Description Following are examples and syntax of index: CREATE INDEX indexname ON TableNamecolumn name; Create a nonclustered index for the column empon of the table employee USE Company CREATE INDEX iempno ON employeeempon Create a unique nonclustered index on iempName for the column Fname on the Employee table. USE Company CREATE UNIQUE INDEX iempName ON Employee Fname Create a composite unique index iempnoprno for the column empon and projectno on the workson table The compound values in both columns must be unique. Eighty percent of each index leaf page should be filled. USE Company CREATE UNIQUE INDEX iempnoprno ON worksonemponprojectno IMAM ABDULRAHMAN BIN FAISAL UNIVERSITY Practical Session Plan College Department Course College of Computer Science and Information Technology Computer Information Systems Database Concepts and Design CIS CIS Lab manual Page WITH FILLFACTOR Create a clustered index for the column DNum of the table Project. USE Company CREATE INDEX iDNum ON ProjectDnum ASC Drop Index Syntax : DROP INDEX IndexName ON TableName; Create a nonunique index for each foreign key USE Company CREATE INDEX iempdeptno ON employeedepton CREATE INDEX iworksempno ON worksonempon CREATE INDEX iworksprno ON worksonprojecton Create a composite index that includes all the columns specified in the WHERE clause of the SELECT statement. SELECT FROM workson WHERE empno AND enterdate USE Company ; CREATE INDEX iworks ON workson empnoenterdate; IMAM ABDULRAHMAN BIN FAISAL UNIVERSITY Practical Session Plan College Department Course College of Computer Science and Information Technology Computer Information Systems Database Concepts and Design CIS CIS Lab manual Page TasksAssignmentss Create a nonclustered index for the Plocation column of the Project table. Sixty percent of each index leaf page should be filled. Index Name :iPloc. Create a unique composite index for the DNumber and DName columns of the Department table. Index Name iDep Create a clustered index for the DNO column of the Employee table. Index Name iDno Delete index iDno from Employee table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started