>>404
SELECT * FROM table ORDER BY sample_id ASC LIMIT count(*)-5, 5;
みたいなことがやりたいんでしょ?(できないけど)

俺には泥くさい方法しか思い浮ばんorz