Write sql commands to create indexes for each attribute you


1) Consider the following two relations for Millennium College:

STUDENT (student_id, student_name, campus_address, gpa)

REGISTRATION (student_idcourse_id, grade)

Following is a typical query against these relations:

SELECT student.student_id, student_name, course_id, grade

FROM student, registration

WHERE student.student.id = registration.student_id AND gpa > 3.0

ORDER BY student_name;

1a). What attributes should indexes be defined to speed up this query? Give the reasons for each attribute selected.

1b). Write SQL commands to create indexes for each attribute you specified in part a.

2). Choose Oracle data types for the attributes in the normalized relations in figure shown below.

1659_attributes in the normalized relations.jpg

Solution Preview :

Prepared by a verified Expert
Business Management: Write sql commands to create indexes for each attribute you
Reference No:- TGS01140788

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)