Development of data mining language for relational databases is relatively simple than for developing other databases like transactional databases. Also the kind of knowledge to be mined normally does not include sequential pattern mining. The authors have developed TDML which solves the above two problems. A limitation of this paper is that the user should be familiar with the knowledge to be mined and types of association rule mining and sequential pattern mining. Also he needs to be familiarized with the syntax and combination of them. To avoid such limitation, they have developed an integrated environment which helps the TDML user.