Skip to content
Advertisement

Updating joint query in Oracle

I’m trying to update the name on the trade table according to the user table however as we have so many trades I don’t want my query to update each and every trade. only the ones that have the condition below:

The above update query updates all the trades with the condition above. But if I check the select query it only returns 1000 count how can I fix this query to update only the 1000 records required and not all names in the trade table?

Advertisement

Answer

I think you want a where clause:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement