Usually you would go with the SQL that Skemcin has posted and use a loop to iterate through the recordse.g. if you has two fields called user_id and username in a table called USER
Set rs = Server.CreateObject("ADODB.recordset")dataSQL = "SELECT TOP 10 user_id, username FROM [USER] ORDER BY user_id DESC"rs.Open dataSQL, conn
<table border="1" cellpadding="0" cellspacing="2"> <tr> <td>user_id</td> <td>username</td> </tr> <% While NOT rs.EOF%> <tr> <td><%=rs("user_id")%></td> <td><%=rs("username")%></td> </tr> <% rs.MoveNext()Wend%></table>