| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: RM and abstract syntax trees
paul c wrote:
> paul c wrote:
> ...
>
>> (ps: I don't agree that RM can't represent nested lists but I would >> agree that it's not much fun to manipulate them, I wish Codd had said >> more about nested relations as I have a feeling he spent some time >> considering them.)
It could have any number of tuples. See formalism under "philosophy of mathematics".
Example values are:
zero tuples:
{}
one tuple:
{{}}
{{{}}}
{{{{}}}}
{{{},{{}}}}
two tuples:
{{},{{}}}
{{{}},{{{}}}}
{{},{{{}}}}
three tuples:
{{},{{}},{{},{{}}}}
{{},{{}},{{{}}}}
...
four tuples:
{{},{{}},{{},{{}}},{{},{{}},{{},{{}}}}}
etc.
> Also guessing that R <OR> (<NOT> R) has one tuple and R <AND> (<NOT> R)
> has no tuples (where <OR>, <AND>, <NOT> come from D&D syntax).
I suspect you guess incorrectly for at least one of them. Received on Tue Oct 30 2007 - 13:22:26 CDT
![]() |
![]() |