Agents and Databases: Friends or Foes?