0

I have the join condition as below

Select ct.payment,pm.order   
from contract as ct  
left join payment_order as pm  
on ct.con_id=pm.id  

Here the table payment_order is in another database 'payment'. How can i query this using dblink. please help.

2
  • Search for "executes a query" in the duplicate link. It shows a great example of how to use dblink. Commented Mar 20, 2018 at 1:24
  • Thank you for the duplicate link... That solved my question Commented Mar 20, 2018 at 2:31

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.