| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: MultiValue Databases
Also, how can I implement the following xrdb queries in the new RM
schema:
// Find John's type or classification.
// Note: "inst" is an abbreviation for "instance".
(SELECT * inst john) // returns person.
// Find 222-2222's type.
(SELECT * inst 222-2222) // returns phone#.
// Find like's type.
(SELECT * inst like) // returns verb.
// Find a person who likes a person whose phone# is 222-2222.
(SELECT * like (* phone# 222-2222 ) ) // returns johns.
// Find type of thing
// which is liked by a person
// whose ph# are 111-1111 and 222-2222.
// Returns person.
(SELECT
* inst ((person inst * & * phone# 111-1111 & * phone# 222-2222) like *))
Received on Wed Jun 08 2005 - 11:36:14 CDT
![]() |
![]() |