Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Need a 2nd opinion on a query

    Well, not really. I think that it's much better to separate "join logic" from "business logic" where one belongs to ON and another to WHERE. It's a matter or coding...

  • RE: Need a 2nd opinion on a query

    Actually, it's probably

    Select count(*)

    from tblevent a inner join tblevent b on

    a.omsid = b.omsid

    where a.Recordtype = 'promo'

    and b.Recordtype = 'event'

Viewing 2 posts - 1 through 2 (of 2 total)