Hello,

I have a problem to make my OQL query, I hope that someone can help me.

I m not sure it is possible, and do not know the OQL limitations !

1 - the model
--------------------

I have 2 object :
a. Instrument
b. Quotation

A instrument have severals quotation (aggregation, collection)

2 - the query
------------------
I need to get all the instrument of the database and their last quotation.

The last quotation mean :
Quotation has a date argument, and I must get the quotation for the
associated instrument with the higher date

Questions
---------------
1 - is this query possible ?
2 - if yes, can you help me to create it ?
3 - if no, how can I do (Create severals queries, scan all the quotations
of a instrument ?)


Thanks a lot for your help

Demez Christophe
Linedata

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to