Retrieve sids of suppliers rating

Assignment Help Basic Computer Science
Reference no: EM131886740

1-Consider the relations:

Suppliers(SID, Sname, Rating)

Parts(PID, Pname, Color)

Catalog( SIDPID, Cost)

Use relational algebra language to answer the following queries:

Query 1: Retrieve SIDs of Suppliers whose rating > 10.

Query 2: Retrieve SIDs of Suppliers who supplied red parts.

Query 3: Retrieve Sname of Suppliers who supplied red parts.

2- Consider the following relations:

Student(ssn, name, address, major)

Course(code, title)

Registered(ssn,code)

Use relational algebra language to answer the following queries:

Query 1: List the codes of courses in which at least one student is registered (registered courses).

Query 2: List the titles of registered courses (of those in query 1).

Query 3: List the codes of courses for which no student is registered.

Query 4: The titles of courses for which no student is registered.

Query 5: The number of courses, which are registered for each ssn

3. Give an example of 3 relations illustrating primary keys and foreign keys.

Use your example for a simple Relational algebra query.

Reference no: EM131886740

Questions Cloud

What is the marginal revenue product for the fifth unit : Marginal Revenue Product and Demand- If the product price is $2 per unit, What is the marginal revenue product for the fifth unit of the variable input.
Example of a short program in c : Can someone show me an example of a short program in C that uses a for loop to populate an array. The array can store up to 10 integers that can also average.
Discuss about the opportunities and threats : Grit and Growth" The theme this week ("Friends and Enemies") introduced the idea that tangible or intangible resources or obstacles can serve as your friends.
Write a review paper about the corporate espionage : No industry is safe from corporate espionage just ask the Houston Astros of Major League Baseball fame.
Retrieve sids of suppliers rating : 1-Consider the relations: Suppliers(SID, Sname, Rating) Parts(PID, Pname, Color)
Write a legal policy memorandum to the chief of police : CJ 500 Module Two Legal Policy Memorandum Guidelines. write a legal policy memorandum to the chief of police proposing a strategy to minimize negative impact
Bradstreet as puritan woman poet : Read every assignment, and pay attention to the major themes of each literary period and the individual authors in them, then, you should do very well
Determine an architecture for payroll applications : Determine an architecture for payroll applications and state the easiest and the challenging part of each.
Two amplifier gains in a chain : Given the two amplifier gains in a chain: x = 23 dB and y = 7 dB, how much would the decimal gain value be for this amplifier chain?

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