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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Question about sql

RE: Question about sql

From: GL2Z/ INF DBA BENLATRECHE <kbenlatreche_at_avl.sonatrach.dz>
Date: Wed, 09 Jul 2003 07:15:52 -0700
Message-ID: <F001.005C4125.20030709070923@fatcity.com>

Hi

If you do : select distinct code || ' ' || id, city, year .......

Regards
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 juillet 2003 14:35
À : Multiple recipients of list ORACLE-L Objet : Question about sql

Hallo,

I would like to pick out distinct both of the field Code and Id from this sql statement? Anyone who has an example of this? Maybe this sounds simple but really appreciate somehelp.

I have this query,

Select code, id, name, address, city, year,  and would as told like to have distinct of both code and id field.

Thanks in advance.

Roland

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: GL2Z/ INF DBA BENLATRECHE
  INET: [EMAIL PROTECTED]
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jul 09 2003 - 09:15:52 CDT

Original text of this message

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