Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> SQL ... Order of operations with Logical Operators

SQL ... Order of operations with Logical Operators

From: FRAN <fran_beta_at_hotmail.com>
Date: 19 Jul 2006 18:19:46 -0700
Message-ID: <1153358386.027419.62340@i3g2000cwc.googlegroups.com>


Can anyone advise how operations are treated when AND and OR are combined?

eg

WHERE: Condition 1 > X AND Condition 2 < Y OR Condition 3 = Z

Would the result of this query be to return results that

  1. Satisfied Condition 1 AND Condition 2 or alternatively, Condition 3 regarless of Conditions 1 AND 2

OR

b) Condition 1 AND Condition 2 OR Condition 1 AND Condition 3

Thanks

Fran Received on Wed Jul 19 2006 - 20:19:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US