Implementation of query language
Implementation of quering