SELECT (b.descr || ' - ' || c.descr) description
FROM table1 a
INNER JOIN table2 b ON a.account = b.account
INNER JOIN table3 c ON a.product = c.product
WHERE a.descr = ' ' ;
How to update a table using the above subquery? its returning more than one row nearly 8000 rows? If you have any solutions for this please share with me?