Hi, if I have a table with only one field A like this:

record#1: 2
record#2: 3
record#3: 2
record#4: 4
record#5: 6
record#6: 8

How to write a sql statement to retrieve the average value of field A
for the last 3 records?

Did I make sense here? Thanks for help.





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to