Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> View the extreme values of a result set? I.e. I run a query which returns 200 results, and I want to look at the first few and the last few. (PMA: home and end. CLI: scroll?)

Well, you could do that; if you know you are interested in extremes to start with, use ORDER BY and LIMIT to just get the extremes in the first place (or, for more refined concepts of "extremes", consider the use of window functions.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: