The AskTOM team is taking a break over the holiday season, so we're not taking questions or responding to comments. Please have a happy and safe festive season and as always, thanks for being a member of the AskTOM community.
Thanks for the question.
Asked: May 25, 2022 - 7:05 am UTC
Last updated: August 04, 2023 - 5:32 am UTC
Version: 18
Viewed 10K+ times! This question is
update a set propertyaddress = nvl2(a.propertyaddress, b.propertyaddress,b.propertyaddress) from nashvillehousing a join nashvillehousing b on a.parcelid = b.parcelid and a.uniqueid_ != b.uniqueid_ where a.propertyaddress is null
update nashvillehousing a set propertyaddress = ( select nvl2(a.propertyaddress, b.propertyaddress,b.propertyaddress) from nashvillehousing b where a.parcelid = b.parcelid and a.uniqueid_ != b.uniqueid_ ) where a.propertyaddress is null
Theron Knapp, August 01, 2023 - 7:26 pm UTC
The Oracle documentation contains a complete SQL reference.