Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2010
    Posts
    13

    Smile Unanswered: Grouping on derived

    How do I group on a derived field?

    I derived a date field that's stored as 9's compliment on the to an actual date. Now I would lile to group on it.

    Thanks,
    Don

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Use a subselect?

  3. #3
    Join Date
    Feb 2008
    Location
    Japan
    Posts
    3,483
    Write the derived expression itself, like this:

    GROUP BY derived expression

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •