I am pretty handy with basic ASP. I can write pages where users connect to databases, query them, and get results that are nicely formated in HTML. Now I have a project where I need to write code so that users can create statistical tables, for example frequency tables with arbitrary row and column percents on very large databases. I can think of many ways to do this, but what I am wondering is, What is the most EFFICIENT way? Which method returns tables the fastest?