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

For normalization, for instance : Select stddev(col1)/avg(col1), stddev(col2)/avg(col2),... from mytable group by key. One line.


That's just a handful of columns. You have to manually type out each and every arrangement.

Add in if you want the new columns to be added in place and you have to bring in window functions.




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

Search: