a) consider the employee database . What are the appropriate primary keys? b) Consider the employee database. Give an expression in the relational algebra to express each of the following queries: Find the name of each employee who lives in city “Miami”. Find the name of each employee whose salary is greater than $100000. Find the name of each employee who lives in “Miami” and whose salary is greater than $100000.

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter11: Building Solutions: Database, System, And Application Development Tools
Section: Chapter Questions
Problem 10SG
icon
Related questions
Question
100%

a) consider the employee database . What are the appropriate primary keys?

b) Consider the employee database. Give an expression in the relational algebra to express each of the following queries:

  • Find the name of each employee who lives in city “Miami”.
  • Find the name of each employee whose salary is greater than $100000.
  • Find the name of each employee who lives in “Miami” and whose salary is greater than $100000.
еmployee (person_nате, street, city)
works (personлате, соmpaпулате, salarу)
сотpany (сomрапу_name, citу)
Employee database.
Transcribed Image Text:еmployee (person_nате, street, city) works (personлате, соmpaпулате, salarу) сотpany (сomрапу_name, citу) Employee database.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Complex Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning