Welcome to Sign in | Help

Re: select distinct...order by?

  •  08-03-2007, 11:33 AM

    Re: select distinct...order by?

    Poti incerca 

    SELECT DISTINCT Q.h  Q.x, Q.y, Q.z, Q.m, Q.n, Q.q

    FROM

    (
    SELECT B.f, B.g, B.h, B.h  A.x, A.y, A.z, B.m, B.n, B.q
    FROM (B INNER JOIN A ON B.w=A.w)
    WHERE A.x = '1'
    ORDER BY B.f, B.g, B.h

    ) AS Q 

    DESI ... DESI ... DESI ...

View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems