This class renders the results of a SQL query as a HTML table.
It takes the SQL query to execute and processes results splitting them in multiple pages. A method prints out navigation links (for first, last, previous, and next pages).
It also generates the ordering links in the header row, allowing the user to sort, ascending and descending,
This is the main class. There are specific implementations for each database engine.