UPDATE file o SET Profession = (
SELECT Profession FROM file i WHERE
i.Client = o.Client AND i.ProductType='PT1')
WHERE ProductType <> 'PT1'
The last WHERE isn't _needed_ but it avoids the redundant update that
set's PT1's profession to PT1's profession.
Walden H Leverich III
(516) 627-3800 x3051
Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact