Relational algebra

Assignment Help Basic Computer Science
Reference no: EM133265529

Relational Algebra:

Consider the following relations. The primary keys are underlined. All attributes are of type string if not indicated otherwise. [Hint: Use multi-step and multi-line queries to ease the formulation of queries. Use the rename operator ρ to give intermediate query results a name (some textbooks use the equivalent '←' notation). Aggregate functions as you can find them defined in some textbooks are not allowed,.

• Student(sID, name, degree: integer, dID)

• Department(dID, name, address)

• Lecture(lID, name, degree: integer, pID, dID)

• Professor(pID, name, dID)

• Register(rID, sID, lID, Semester, score: integer) (

a) Find the names of students who have registered every lecture of CISE department.

b) Find the students who got the highest score in the lecture 'DB' in 2021 Fall semester. Show names and scores together.

(c) Find the names of students in CISE department who never received a score less than 80.

(d) Find the names of students who got more than 90 in the 'DB' lecture and less than 70 in the 'Algorithm' lecture.

(e) Find the names of departments whose lectures were taught by professors of other departments.

Reference no: EM133265529

Questions Cloud

What would you rather have people see : What would you rather have people see: the masterpiece of the presence of Jesus or the shadow of your own profile? When we think of reflections
Describe three tiers of data warehouse architechture : Briefly describe three tiers of Data Warehouse architechture. Differentiate between Inmon and Kimball? What is a data model?
Determine the total purchase price of the painting : She must also pay GST (5%) and PST (7%) on the painting. Determine the total purchase price of the painting.
Record the journal entries for both company : Record the journal entries for both Company Z and Company A if the sale was on a (1) without recourse basis and again on a (2) with recourse basis
Relational algebra : Consider the following relations. The primary keys are underlined. All attributes are of type string if not indicated otherwise.
What is the present value of the rental payments : Each rental payment is $20,000 to be paid at the beginning of each year. Interest rate is 4%. What is the present value of the rental payments
Similar auto-complete software : Conduct some research and let us know what you find about IntelliSense and discuss experiences you have using this or similar auto-complete software.
How will the ratios be affected relative to repurchasing : How will the ratios be affected relative to repurchasing and holding in treasury stock - INCREASE DECREASE NO EFFECT Not enough Information
The function with receive two arguments : The function with receive two arguments, the specific vEOS device to ping from, and 2) the IP address that will be pinged 3.3.2.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Compute the shortest path

Use Dijkstra's shortest-path algorithm to compute the shortest path from x to all network nodes - computes their Distance Vector for network

  Challenges of a barter economy

This problem is an exercise that covers the challenges of a barter economy in a 3 product environment. What would be the production and exchange process

  Behavioral science informs risk insights

Advances in behavioral sciences will fuel efforts to understand risk perceptions, influence risk behaviors, and improve risk-related decision-making.

  How large should n be to have reasonable agreement

How large should n be to have reasonable agreement?

  How does it affect the way they work and think

If a person has an extrovert personality what does that mean? How does it affect the way they work and think?

  Sometimes when we visit super markets

Sometimes when we visit super markets, we may share our personal details to get (for example) "Loyalty cards" and other benefits.

  Find the probability of team a winning a seven-game series

Write pseudocode of the dynamic programming algorithm for solving this problem and determine its time and space efficiencies.

  How balance scorecards impact knowledge creation

Explain how balance scorecards impact knowledge creation, culture, and strategy. Why are these important concepts to understand within an organization?

  Compare forensics tools

Conduct research and compare forensics tools that can examine Mac, IPod, and IPhone devices.

  How you would plan an iis7 application hosting

From the first e-Activity, discuss the uses and advantages for an enterprise utilizing an SMTP server.

  Compare red hat package manager

Compare Red Hat Package Manager and Debian package Manager. How are they similar and how are the different?

  List an the changes that are suggested by the review proces

List an the changes that are suggested by the review process. Compare the time required to make the changes at the architecture stage to that of changing your existing programs.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd