Re: Multiple-Attribute Keys and 1NF
From: Neo <neo55592_at_hotmail.com>
Date: Thu, 30 Aug 2007 15:29:29 -0700
Message-ID: <1188512969.852423.17110_at_x40g2000prg.googlegroups.com>
Date: Thu, 30 Aug 2007 15:29:29 -0700
Message-ID: <1188512969.852423.17110_at_x40g2000prg.googlegroups.com>
> * My office is B42
Above expressed in dbd:
(new 'B42 'office)
(new 'jog 'person)
(set jog office B42)
> * My office is on floor B, room 42.
(new 'B 'floor)
(set B42 floor B)
(new '42 'room)
(set B42 room 42)
(; Get person whose office is B42)
(; Gets jog)
(get * office B42)
(; Get person whose office is floor B, room 42)
(; Gets jog)
(get * office (& (get * floor B)
(get * room 42)))Received on Fri Aug 31 2007 - 00:29:29 CEST