Relational Calculus (TRC)

Question
use Tuple Relational Calculus (TRC) and Domain Relational Calculus (DRC) to express the following queries. You should include each question with its number and the two kinds of queries, and also query results.

Get the part names that Adams provides.

Get supplier names for suppliers who supply part P2.

Get supplier names and the quantity of parts supplied.

Get supplier names for suppliers who supply parts with quantity less than 300 (instead of 500)

Get supplier names for suppliers who supply either blue or green parts.

Get supplier name/part name pairs such that the indicated supplier does not supply the indicated part.

Get supplier names for suppliers who does not supply any parts.

Get supplier names for suppliers who supply all parts.

Get supplier names for suppliers who supply all parts except P1.

Get supplier names and the number of parts and total quantity supplied.

Previous answers to this question


This is a preview of an assignment submitted on our website by a student. If you need help with this question or any assignment help, click on the order button below and get started. We guarantee authentic, quality, 100% plagiarism free work or your money back.

order uk best essays Get The Answer
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

Relational Calculus (TRC)

Question
use Tuple Relational Calculus (TRC) and Domain Relational Calculus (DRC) to express the following queries. You should include each question with its number and the two kinds of queries, and also query results.

Get the part names that Adams provides.

Get supplier names for suppliers who supply part P2.

Get supplier names and the quantity of parts supplied.

Get supplier names for suppliers who supply parts with quantity less than 300 (instead of 500)

Get supplier names for suppliers who supply either blue or green parts.

Get supplier name/part name pairs such that the indicated supplier does not supply the indicated part.

Get supplier names for suppliers who does not supply any parts.

Get supplier names for suppliers who supply all parts.

Get supplier names for suppliers who supply all parts except P1.

Get supplier names and the number of parts and total quantity supplied.

Previous answers to this question


This is a preview of an assignment submitted on our website by a student. If you need help with this question or any assignment help, click on the order button below and get started. We guarantee authentic, quality, 100% plagiarism free work or your money back.

order uk best essays Get The Answer
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *