have yoy tried the query or tried to analyze the query ?
what is the error message ?
have you tried to qualify the column names ?
where work_id = 1234 -- does this belong to the update or to the select mast_2 ?
"pls give me corrected or equivalent query. " -- we provide hints/tips : no solution
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