When working on any client project, there always come's a requirement to have some custom queries to read from a table or in some cases to writ…