X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
   Reply to this topicStart new topic
> Relational Algebra Help    
 
   
asiandoll
post Oct 18 2011, 06:34 PM
Post#1


UtterAccess Enthusiast
Posts: 79
Joined: 17-July 01



I everyone,
I have created a query in SQL, can anyone help me create it in relational algebra? I am trying to understand it.
SELECT Eats.name, Eats.pizza, Serves.price, Serves.pizzeria
FROM Serves INNER JOIN (Eats INNER JOIN Person ON Eats.name = Person.name) ON Serves.pizza = Eats.pizza
WHERE (((Eats.name)="amy") AND ((Serves.price)<10)) OR (((Eats.name)="fay") AND ((Serves.price)<10));
Thanks.
Go to the top of the page
 
khalakmu
post Oct 18 2011, 08:07 PM
Post#2


UtterAccess Addict
Posts: 228
Joined: 31-July 10



amy or fay eats Pizza at pizzeria cost price is than 10 (cent ) acclaim.gif
Go to the top of the page
 


RSSSearch   Top   Lo-Fi    26th January 2015 - 01:22 AM