Per le ricerche usa il database. Crea opportunamente una

SELECT

aggiungendo i criteri per la

WHERE

e passala ad DBMS.