From: | Alpha Beta <dzjitaru(at)gmail(dot)com> |
---|---|
To: | Darren Duncan <darren(at)darrenduncan(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Functional dependencies |
Date: | 2011-06-18 14:00:38 |
Message-ID: | BANLkTimHbApxe9qJ5Gj6BXE=H3KapS73Tw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks!
2011/6/14 Darren Duncan <darren(at)darrenduncan(dot)net>
> Alpha Beta wrote:
>
>> Hi list, (newbie with databases)
>>
>> I was looking out in net about how can we determine or find all functional
>> dependencies in a relational database, but didn't find.
>>
>> So can please anyone here tell me if functional dependecies for each table
>> of a relational database can be found explicitly or
>> we need algorithms for it or any other way?
>> Best regards!
>>
>
> Look for pairs of columns/attributes X and Y (or X may be a set of
> columns/attrs) where, for every row/tuple having the same value for X, the
> row/tuple always has the same value for Y. In this situation, for the data
> you have at least, there would seem to be a relationship where X determines
> Y and Y depends on X. Use an algorithm that does this looking for pairs. --
> Darren Duncan
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Ribe | 2011-06-18 14:28:39 | Re: 2 questions re RAID |
Previous Message | Magnus Hagander | 2011-06-18 12:40:18 | Re: Standby server does not start with base backup |