Find0resource relatedDatabases using SQL.