The wireless sensor network is an emerging technology in the era of communication network. In many applications, for the data transmission from base station to different communicating nodes this technology is widely used. But due to the wide area communication and lack of connection range in between far away nodes from the base station, it difficult to connect all the nodes directly to base station by using broadcasting and multicasting techniques. So here the authors have an excellent techniques of data mining i.e. Clustering, it is an efficient technique to connect all the sensor nodes to base station by grouping the nearby sensor nodes.