I've seen a query in code something like this...
Expand|Select|Wrap|Line Numbers
- select *
- from table1 a1 , table1 a2, table2 a3,
- where a1.childid = a2.parentid(+)
- and a2.childtype (+)= 'Something'
- and a2.parenttype (+)= 'Something'
- and a2.childid = a3.id (+)
But..I've searched google, other forums.. But i can't convert this query to postgreSql..(my mind is stopped)
Postgre wants me to use LEFT JOIN RIGHT JOIN, and wants me to use this after the FROM word..
So.. I am confused. Have you got any idea for this query?
Thanks in advance..