Re: SQL query help

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Wed, 23 Aug 2006 15:52:22 GMT
Message-ID: <J4GK3B.MM_at_igsrsparc2.er.usgs.gov>


[Quoted] Put your ORDER BY clause outside of the sub-select:

            SELECT distinct * from (SELECT Client_Structure_Version.CLIENT_STRUCTURE_ID, FIELD_NAME,

                 FIELD_TYPE, FIELD_WIDTH, FIELD_ORDER
                 FROM Client_Structure_Version)
            ORDER BY client_structure_record_id,FIELD_ORDER;

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Wed Aug 23 2006 - 17:52:22 CEST

Original text of this message