New function which returns the formatted left join query. This is required as Oracle and postgres have different left join syntax
New function which returns the formatted left join query. This is required as Oracle and postgres have different left join syntax