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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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