asked on
ASKER
update table1
set agingcategory = (select agingcategory
from agingcategory_table
where (trunc(sysdate, 'mm') - 1) - table1.date
between agingcategory_table.from_days
and agingcategory_table.to_days
)
ASKER
Oracle is an object-relational database management system. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java, but it also includes support for C and C++. Oracle also has its own enterprise modules and application server software.
TRUSTED BY
Please provide more sample data and expected results.
Also, are you looking for a select statement that gives the final results or are you looking for an update statement(s) that modifies one or more of the tables?