• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find which individuals likes every topics they study in relational algebra?

 
Antoine Compagnie
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I'm new to studying relational algebra and I have an exercise wich makes me stumbling, maybe owing to its newness.
Here are three database:

Likes(Person,Topic)
Studies(PersonTopic)
Hates(Person,Topic)

How to find which individuals likes every topics they study in relational algebra?

My attempt:

π<sub>Person</sub>(π<sub>Topic</sub>(Study)∩π<sub>Topic</sub>(Like))

But I think its wrong as far as the following question is "How to find which individuals study every topics they like in relational algebra"?

PS: Do you know how to write in proper mathematic style? It seems that Latex isn't implemented over there...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!