I need to retrieve data from three tables using an outer join. I created a sql like the following:
SELECT a.ID, a.name, b.payment, c.description
FROM table1 a, table2 b, table3 c
WHERE (a.ID = b.ID
AND b.active = 'Y'
AND c.ID = a.cust_code (+)
It returns that the SQL command does not end properly. What is wrong with this?
Thanks
SELECT a.ID, a.name, b.payment, c.description
FROM table1 a, table2 b, table3 c
WHERE (a.ID = b.ID
AND b.active = 'Y'
AND c.ID = a.cust_code (+)
It returns that the SQL command does not end properly. What is wrong with this?
Thanks