dblink ('dbname = name_db_distance port = PortOfDB host = HostOfDB user = usernameDB
password = passwordDB', 'MY QUESRY')
dbname = name of the database
port = Port Of the database
host = Host Of the database
user = username of the database
password = password of the dat...