Mining sequential patterns is to discover sequential purchasing behaviors of most customers from a large amount of customer transactions. In this paper, a data mining language is presented. From the data mining language, use s can specify the interested items and the criteria of the sequential patterns to be discovered. Also, an efficient data mining technique is proposed to ext act the sequential patterns according to the uses` requests.