Procedure for searching of data or a group of data in a database