Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Relational algebra to SQL

Author  Topic 

Guiri
Starting Member

1 Post

Posted - 2008-11-24 : 13:24:11
Hi, I'm new to SQL and I would like to "translate" some relational algebra sentences to SQL language.

For example

A:= Category (priority=1)
B:= A x Article
C:= B (A.ID_category=article.ID_category)
R:= C [ID_article, description]

Any help?

robvolk
Most Valuable Yak

15732 Posts

Posted - 2008-11-24 : 16:06:08
This is a fairly good introduction using SQL Server:

http://www.microsoft.com/technet/prodtechnol/sql/70/books/relation.mspx

I don't know formal relational algebra well enough to say if it will answer your question though, you might have to do some Googling for more sources.
Go to Top of Page
   

- Advertisement -