Nieuwsgroepen: comp.databases.theory
Van: Bob Badour <bbad...@pei.sympatico.ca>
Datum: Sun, 25 Feb 2007 21:57:13 GMT
Lokaal: zo 25 feb 2007 22:57
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: paul c <toledobythe...@oohay.ac>
Datum: Sun, 25 Feb 2007 22:39:44 GMT
Lokaal: zo 25 feb 2007 23:39
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: "Marshall" <marshall.spi...@gmail.com>
Datum: 26 Feb 2007 00:16:40 -0800
Lokaal: ma 26 feb 2007 09:16
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: paul c <toledobythe...@oohay.ac>
Datum: Sun, 25 Feb 2007 20:54:12 GMT
Lokaal: zo 25 feb 2007 21:54
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: "Marshall" <marshall.spi...@gmail.com>
Datum: 26 Feb 2007 00:07:06 -0800
Lokaal: ma 26 feb 2007 09:07
Onderwerp: Re: Constraints and Functional Dependencies
On Feb 25, 9:56 am, paul c <toledobythe...@oohay.ac> wrote:
> Marshall wrote: I don't know why exactly but I have this vague aversion > > ... > > Hmmm. Can we express keyness otherwise? I can't think how. > > ... > I've long imagined that Codd would have defined it (as you also did) via to using aggregate operators in constraints. I think I'm doing premature optimization, and should probably slap my own wrist for it, but I can't shake the feeling that given two ways to write a constraint, one using an aggregate, and one not, one should use the form without the aggregate. Of course, I can imagine how enforcing constraints with aggregates Now that you mention it, a constraint that said that the count of (Happily I managed to avoid the word "keyness" in this post.) > I can't guess whether Codd would have also required a RENAME operator or The question of naming vs. positioning crops up various places > whether he would have stuck with the math approach of numbering > attributes for explanatory purposes. in computer science. I'm specifically thinking of Backus's 1977 Turing award paper, "Can Programming Be Liberated from the Von Neumann Style?" which advocates for what is sometimes called "point free style" or coding without names, a la APL. I have to say I found the advocacy part of the paper totally unconvincing. My current thinking is names are the better choice about 97-98% of the time. The big advantage of point free style is being able to write things like: avg = sum / count instead of the supposedly-cumbersome: avg(x) = sum(x) / count() Woo hoo! Nonetheless there are some very few cases where inferring In fact, there is even some tiny support for this mentioned in TTM: "If the <agg op name> is COUNT, <attribute ref> is irrelevant and (TTM, 2nd ed, page 71) Which I take to mean you can invoke an aggregate directly > Then there is projection, always Projection more than anything else is what dissatisfies me about > lurking in the background, and we can't ignore it without breaking who > knows what. the canonical relational algebra, and draws me to the Tropashko algebra. I mean, those operators are supposed to be *algebraic* and they don't even limit themselves to relation operands. (And yes, Paul, I do owe you a longer post about that topic.) > I sometimes wonder whether an alternative concept or two, I would like to explore group/ungroup and rva issues in general in > such as a variation on D&D's GROUP/UNGROUP operators might allow > definition of keys without rename or your prime operator. By itself I > doubt whether there would be any practical point to examining that > unless some other useful questions could be handled as well, perhaps > deciding when two relations that involve seemingly different rva's are > equivalent but I don't have anything actually useful to say about that. more depth relatively soon. I don't really know the right questions to get the ball rolling, though. The problem that primes solve is a fundamental one, though. Marshall PS. This was supposed to be a short post; what happened?! Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: Bob Badour <bbad...@pei.sympatico.ca>
Datum: Mon, 26 Feb 2007 14:22:39 GMT
Lokaal: ma 26 feb 2007 15:22
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: paul c <toledobythe...@oohay.ac>
Datum: Mon, 26 Feb 2007 14:31:45 GMT
Lokaal: ma 26 feb 2007 15:31
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: "Cimode" <cim...@hotmail.com>
Datum: 25 Feb 2007 02:43:33 -0800
Lokaal: zo 25 feb 2007 11:43
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: "Walt" <wami...@verizon.net>
Datum: Wed, 28 Feb 2007 15:45:05 GMT
Lokaal: wo 28 feb 2007 16:45
Onderwerp: Re: Constraints and Functional Dependencies
Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
Nieuwsgroepen: comp.databases.theory
Van: mAsterdam <mAster...@vrijdag.org>
Datum: Sat, 24 Feb 2007 16:35:33 +0100
Lokaal: za 24 feb 2007 16:35
Onderwerp: Re: Constraints and Functional Dependencies
Hi Marshall,
[snip intro] > With such a system, a relation R with attribute a (which I will Just to be sure notationally: the first colon reads > write as R(a)) having a as a foreign key into S(b) is expressed > as follows: > forall R(a): exists S(b): a = b ' it is true that ', the second ' such that it is true that ', right? > So we can express foreign keys this way. This looks like setting up a (unintended) trap of mixing attributes > In the context of relations with named attributes, it is not necessary > forall R(a): exists R(a'): a != a' and attribute values. Why not prime the first instance^W^W^W all instances? forall R(a): exists R(a'), exists R(a''): a' != a'' > The way quantification is usually expressed we can only introduce ... only the ... > one quantified variable at a time, however it makes sense to relax > this syntactic restriction when dealing with relations with > named attributes. We can introduce quantified variables matching > many attributes at once. However we have to be aware that when > we do so, they are all quantified the same way, and they are > all considered to come from the same row. > What about candidate keys? Suppose we have a relation R with > *sets* of attributes A and B: R{A, B}. Again, A is a set of (if R has no attributes outside A u B) > attributes, possibly just one or even none; likewise B. Then > if we can express the functional dependency: > A -> B > that is the same as expressing that A is a candidate key. So, let's have a notational shorthand: A' is an instance of A. A = {a1, ... an} So it becomes: R{A, B} A -> B =def= A -> B = forall R(A'), forall R(A''): A'=A'' => () Nice! Very nice :-) Je moet je aanmelden voordat je berichten kunt plaatsen.
Als je een bericht wilt verzenden, moet je eerst deelnemen aan deze discussiegroep.
Werk je bijnaam bij op de pagina met abonnementsinstellingen voordat je een bericht plaatst.
Je hebt geen toestemming om berichten te plaatsen.
| ||||||||||||||
| Discussiegroep maken - Google Discussiegroepen - Google Startpagina - Servicevoorwaarden - Privacybeleid |
| ©2010 Google |