how about you start off in blocks here. Just start with a select. Write the select statement that will get you all rows in a that you will update, then start joining in the other conditions as you've explained them and ensure you are getting the proper new last name. Then convert it to an update.
or have a look at declare cursor.. for update
update ... where current of cursor..
the other gaps can be filled after reading some chapters or to have a look at provided samples
Best Regards, Guy Przytula
Database Software Consultant
Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
Information Server Datastage Certified http://www.infocura.be