Client ProductType Profession
C1 PT1 Doctor
C1 PT2 Doctor
C2 PT2
In the example, the profession must come from PT1 only. If the client doesn't have PT1, his profession is erased. If he has another product as well as PT1 the profession of that product is that recorded for PT1.
Is there an SQL instruction to update the profession in this way ? I think it must be possible but doubt that it would be human readable!
Thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.