Skip to content

Tag: oracle

Many rows as a result of SELECT SQL

The table consists of the Record and Record author fields. There is an employee table with the Employee and His manager fields. It is necessary to read records from the first table that belong to a specific manager or his employees. I tried like this: Issued: ORA-01427: single row subquery returns more than o…

Sum up all values from a list PLSQL

I want to sum up all values from a INDEX BY TABLE list. In the list there are values like this: 24000, 4500, 7890 and so on. This is the code: Answer Lets assume that you have an associated array and you want to sum up the values within it. And, lets also assume that the associative array’s index is

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 …