Query
From: Kim (anonymous_at_discussions.microsoft.com)
Date: 08/12/04
- Next message: Hugo Kornelis: "Re: Query"
- Previous message: Anith Sen: "Re: Date Format"
- Next in thread: Hugo Kornelis: "Re: Query"
- Reply: Hugo Kornelis: "Re: Query"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Aug 2004 11:56:32 -0700
I have duplicate records in a table based on say
OrderNum, I would like to copy 1st record for each
OrderNum from this table into a new table and then update
the OrderNum record in the 2nd table with values from
rest of the records in the 1st table, can someone help me
in doing this?
Ex.
Frist table may have -
ORder1 AreaField1 description ...
ORder1 AreaField1 Description ...
Order1 AreaField2 Description ...
ORder2 AreadField Description ...
Order2 AreaField Description ...
ORder3 AreaField Description ...
ORder4 AreaField Description ...
I would like the 2nd table to look lik -
ORder1 AreaField1+AreaField2 Description ...
ORder2 AreaField Description ...
Order3 AreaField Description ...
ORder4 AreaField Description....
Thank you very much,
-Kim
- Next message: Hugo Kornelis: "Re: Query"
- Previous message: Anith Sen: "Re: Date Format"
- Next in thread: Hugo Kornelis: "Re: Query"
- Reply: Hugo Kornelis: "Re: Query"
- Messages sorted by: [ date ] [ thread ]