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

Home -> Community -> Usenet -> c.d.o.server -> Re: sql question - distinct

Re: sql question - distinct

From: PRP <priyarenj_at_gmail.com>
Date: 29 Nov 2006 21:43:57 -0800
Message-ID: <1164865437.721663.118080@80g2000cwy.googlegroups.com>

David Portas wrote:
> The same reason you are permitted to use parentheses around any scalar
> expression:
>
> SELECT DISTINCT (a), (b), (a+b), (a+b+c)
> FROM tbl;

David,
Thanks for clearing my doubt.
I was confused, thinking about distinct(columnname) in the way of a function syntax (parameters within parenthesis). Received on Wed Nov 29 2006 - 23:43:57 CST

Original text of this message

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