{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

SampleFinal - Sample Questions from previous examples 1 2...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sample Questions – from previous examples 1. Describe the three-schema architecture of a database system and the main functionality of each level in this architecture. 2. Given the relation schema shown in Fig. 1, construct expressions (using relational algebra operations) to evaluate the following queries: i) Find the names of employees who works on all the projects controlled by the departments located in ‘Houston’. ii) List the names of managers who have a dependent with the same first name and same sex as the manager. 3. Given the relation schemas shown in Fig. 1, construct SQL clauses to evaluate the following queries: i) For every project located in ‘Stafford’, list the project number, the controlling department number, the department manager’s last name, and the number of the employees working for the department. ii) For each department that has more than five employees, retrieve the department number and the number of its employees who are making more than $45,000.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '10
  • CHEN
  • Relational model, Candidate key, Database normalization, department manager, relation schema, DEPARTMENT Dname

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern