I need to update one table based on values from two tables.

This is the select that works, but I want to update values in whssd00.

select count(*) from whssd00
join ptist00 on sddid# = stdid#
where (sdsps# = '131357867' or sdsps# = '131357868')
and stshtocity = 'RENO'

How can I change this SELECT to update the value in SDSPS#?

Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.