Using Apriori to diming knowledge from database