<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I have a table with 2 columns:</FONT></DIV>
<DIV><FONT face=Arial size=2>BookId BookOrdered</FONT></DIV>
<DIV><FONT face=Arial
size=2>1
10</FONT></DIV>
<DIV><FONT face=Arial
size=2>2 25</FONT></DIV>
<DIV><FONT face=Arial
size=2>1
2</FONT></DIV>
<DIV><FONT face=Arial
size=2>3 50</FONT></DIV>
<DIV><FONT face=Arial
size=2>1
3</FONT></DIV>
<DIV><FONT face=Arial size=2>and want to get the top e.g. 2 most popular
books:</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>BookId BookOrdered</FONT></DIV>
<DIV><FONT face=Arial
size=2>3
50</FONT></DIV>
<DIV><FONT face=Arial
size=2>2 25</FONT></DIV>
<DIV>Are there any clue?</DIV>
<DIV>TIA,</DIV>
<DIV> Ervin</DIV></FONT></DIV></BODY></HTML>