Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: T-SQL Challenge #1

    select

    a.code

    , aname

    , bname

    , cname

    from (

    select

    code

    , bName

    , ROW_NUMBER() over (partition by code order by code) as br

    from @b-2

    ) b

    right join (

    select

    code

    , cname

    , ROW_NUMBER() over (partition by code order by...

Viewing post 1 (of 1 total)