SQL Standard on parentheses
From: Jeff Zucker <jeff_at_vpservices.com>
Date: Mon, 25 Feb 2002 13:04:30 -0800
Message-ID: <3C7AA6DE.E24EB680_at_vpservices.com>
I can't find anything in any of the standards which says whether this is a valid statement:
Date: Mon, 25 Feb 2002 13:04:30 -0800
Message-ID: <3C7AA6DE.E24EB680_at_vpservices.com>
I can't find anything in any of the standards which says whether this is a valid statement:
SELECT *
FROM a
WHERE (b < c)
AND (d > e)
The parentheses obviously don't indicate anything about precedence. Is a standards complying parser obligated to accept these purely
"decorative" additions or even uglier things like:... WHERE ( (b<c) AND (d>e) ) ORDER BY f
-- JeffReceived on Mon Feb 25 2002 - 22:04:30 CET