Targeting customers via a database