Question: We are using a simple database about oil pipelines. Each pipeline is owner by some company. There are connection point where two pipelines can meet,
We are using a simple database about oil pipelines. Each pipeline is owner by some
company. There are connection point where two pipelines can meet, even if owned by
different companies.
Pipelineid name, owner
Companyid name, stockprice
Connectionp id p id
where pid and pid are each FKs to
Pipeline.id
We want to find the names of all pipelines which are directly connected to some pipeline
owned by a different company.
How can we express that in relational calculus?
name Pipeline Pipeline Connection ouner qowner
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
