Searching databases - basic guidelines