A Relational Database Approach For Frequent Subgraph Mining