Which will return all orders that have line items? (Choose all that apply.) A. SELECT DISTINCT o FROM Order o, IN (o.lineItems)li B. SELECT DISTINCT OBJECT(O) FROM Order o, IN(o.lineItems) li C. SELECT OBJECT(o) FROM Order o WHERE o.lineItems = 0 D. SELECT OBJECT(o) FROM Order o
The correct answers are listed as B and D.
B is fine. But how the answer D is TRUE?
Could anybody please explain? Thanks.
Regards,<br />Purvesh<br />SCJP, SCBCD, IBM Exam #486