Skip to content
Advertisement

sql update multiple rows with subselect

I am trying to copy the corresponding graduation_date values from the graduation_term table into the rows in the user_education_mba_school table that have the matching graduation_term_id. Here is my nonworking query

— Multi-JOIN not working…

Advertisement

Answer

Several databases support the update ... from syntax, which is fairly clear:

If your database doesn’t, please clarify which database you are using.

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