Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Update distinct rows

927316Mar 29 2012 — edited Mar 29 2012
Table A

DEPT || NAME
============
1 || DEF
1 || ABC
2 || ABC
3 || DEF


TABLE B

DEPT || NAME || FLAG
=================
1 || ABC || 0
23 || ABC || 0



I'm supposed to update the Table B Flag to 1... Matching the distinct values of DEPT and NAME from Table A
The Column 'Flag' in table B default value is 0
This post has been answered by Solomon Yakobson on Mar 29 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2012
Added on Mar 29 2012
4 comments
2,572 views