Nearly every application collects data, loads of data, and stores it in some database. In the end, users want to get some valuable information out of the data. That's why reports are always the most important part an application provides to the end user. To get those reports on-screen or on paper, we first query the data from the database. Consequently, querying the database can be considered the backbone of our solution.
In this chapter, we shall: