fix some PostgreSQL code

Job ID: 32209211

Budget: $10 – $30 USD

I have some postgresql code where I am trying to left join on a database after I have drilled through on features with intersect. I am able to have both parts of the code work separately, but I am having trouble integrating them into one set of code so I do not end up with a unneeded large database. thanks
Related categories: SQL MySQL PostgreSQL