I have a really simple question, is it possible to update a table with new values using just one update statement.
Say for example I have a table with author, title, date, popularity. Now I got some new data which has author name, title corresponding new popularity. How do I update the table now in one statement. Note that author and title are not unique.
You can do it in a single statement using Oracle’s MERGE statement:
Oracle’s MERGE statement