can i use aggregation function (LAST) in mysql?? if yes then why give me error for following query::
SELECT `user_id`,last(`value`) FROM `My_TABLE` gro
Because there is no such function called as last() in mysql..
Try to use group, order by clause in mysql