Skip to content
Advertisement

UPDATE ACROSS JOIN SYNTAX

I am trying to get an update statement to function how I need. I’ve tried the following with INNER / OUTER LEFT / RIGHT JOINS. I continue to have records that are not updated in the usertype2 table despite having usertype3 child values. Am I going about this the right way? Usertype2 and Usertype3 will always have a mat_id parent value, matter is always parent and usertype2 and usertype3 are child records.

Advertisement

Answer

You can write the query as:

However, your original query should do what you want.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement