There are six tables describing a company’s database, describing… There are six tables describing a company’s database, describing employees, departments, buildings, which department(s) an employee works in (and a percentage of the time for each), department managers (possibly more than one per department), and in which building an employee works (an employee may have more than one office). The primary key of each table is the attribute(s) in capitals. Other attributes are not necessarily unique. EMPLOYEE(EID, EName, Salary, Start_Date, End_Date)DEPARTMENT(DID, DName, Annual_Budget)BUILDING(BID, BName, Address)IN_DEPARTMENT(EID, DID, Percent_Time)IN_BUILDING(EID, BID, ROOM)MANAGES_DEPARTMENT(EID, DID) I. Express the following queries in Algebra and SQL (1 to 6) Which employees (EID, EName ) share their office with John?Who are the managers (EID, EName, DID ) of the departments John works?Which buildings (BID, BName) host at least one employee working for the Computing department?Which employees work for both the Computing and the Finance departmentsWhich employees do not work for the Computing department?Which employees work only for the Computing department?Which employees work for all the departments?List the number of employees working for each department.Which department has the maximum number of employees working 100% for that department?Find pairs of employees who work for exactly the same sets of departments [Bonus points for the students who finished too early]Engineering & Technology Computer Science CST CST3504
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more