Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to contruct the query operation based on DPL effectively?

914264Feb 1 2012 — edited Feb 1 2012
Supposing I have a table named msgs whose columns are id, msg, priority and so on.
My sql statement is the following :

SELECT ID, MSG
FROM MSGS
WHERE CONTAINER = ?
AND ((ID > ? AND PRIORITY = ?) OR PRIORITY < ?)
ORDER BY PRIORITY DESC, ID

My question is how to contruct the query operation based on DPL effectively?

Edited by: 911261 on 2012-2-1 上午12:51
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 29 2012
Added on Feb 1 2012
1 comment
125 views