A relational approach to association rules and functional dependencies