Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2006
    Posts
    157

    Unanswered: denormalizing a result set (was "Hello")

    Can any one please help me in creating query


    Actual Data in database
    ID Name Award Note
    91 Maxine Ace Award Give on date 23rd February.
    91 Maxine Ace Award Give on date 27th January.
    91 Maxine Meal Voucher Give on date 5th June.
    91 Maxine Meal Voucher Give on date 8th August.
    92 Collette Ace Award Give on date 2nd January.
    92 Collette Ace Award Give on date 3rd March.
    92 Collette Ace Award Give on date 5th July
    92 Collette Ace Award Give on date 9 April
    92 Collette Meal Voucher Give on date 8th November.
    92 Collette Meal Voucher Give on date 7th June.
    92 Collette Meal Voucher Give on date 4th July.


    Required Data
    ID Name Award No of Times Note
    91 Maxine Ace Award 2 Give on date 23rd February.Give on date 27th January.
    91 Maxine Meal Voucher 2 Give on date 5th June.Give on date 8th August.
    92 Collette Ace Award 3 Give on date 2nd January.Give on date 3rd March.Give on date 5th July
    92 Collette Meal Voucher 3 Give on date 8th November.Give on date 7th June.Give on date 4th July.

    Thanks,
    Last edited by r937; 07-26-06 at 07:58.

Posting Permissions

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