Find the names of suppliers who supply some red part

Assignment Help Computer Engineering
Reference no: EM132115936

Q1. Explain the difference among the terms Primary Key, Candidate Key and Super Key with suitable examples.

Q2. Consider the following schema:

Supplier(sid: integer, sname: string, address: string)

Part(pid: integer, pname: string, colour: string)

Catalog(sid: integer, pid: integer, cost: real)

The relation Supplier stores suppliers and the key of that relation is sid. The relation Part stores parts, and pid is the key of that relation.

Finally, Catalog stores which supplier supplies which part at which cost. The key is the combination of the two attributes sid and pid.

A. Write the queries in relational algebra for the following:

1. Find the names of suppliers who supply some red part.

2. Find the IDs of suppliers who supply some red or green part.

3. Find the IDs of suppliers who supply some red part or are based at 21 George Street.

4. Find the IDs of suppliers who supply some red part and some green part.

B. For each of the following relational algebra queries, write in English what they mean.

1. psname(scolour='red'(Part) scost<100 (Catalog) Supplier)

2. psname(psid(scolour='red'(Part) scost<100 (Catalog)) Supplier)

Reference no: EM132115936

Questions Cloud

Draw the uml diagram : Draw the UML diagram (sequence diagram and activity diagram(for airport check-in and security screening and write scenario for sequence and activity .
What is the comparison distribution for the sample : Clearly state null and research hypotheses in terms of the mean scores on distraction resistance, µ, of children with bilingual upbringing.
How many bits are there in the physical address : How many bits are there in the logical address? Draw the logical address format. How many bits are there in the physical address?
Comparison distribution for the sample z score : What is the comparison distribution for the sample's Z score?
Find the names of suppliers who supply some red part : Explain the difference among the terms Primary Key, Candidate Key and Super Key with suitable examples.
Identify which of the two annuities would be a better option : Your client has identified two annuities that are available for purchase. Identify which of the two annuities would be a better option for your client
Comparison distribution for the sample z score : What is the comparison distribution for the sample's Z score? What are the cut-off values for a test with significance level 0.05?
What is the difference between binary files and text files : What is the method you call at the end of all file I/O operations in java? Which type of files can be opened and viewed by a text editor ?
Reflect on how the washington : Review the information in the Washington Post article "Review of Prostate Cancer Drugs Provenge Renews Medical Cost-Benefit Debate" in the Learning Resources

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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