On Two Apriori-Based Rule Generators: Apriori in Prolog and Apriori in SQL