<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6389.0">
<TITLE>Getting last 3 records</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I have a table that is full of oil well test data. Basically date and volumes. There are dozens of records with different dates for each well. I need to get the average of the last (I.e. most recent) three tests for each well. Tried the top values but could not see how to do it for each individual well. Your assistance appreciated.</FONT></P>
<P><FONT SIZE=1 FACE="Times New Roman">No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.</FONT><BR>
</P>
<BR>
</BODY>
</HTML>