SQL for doing p-value testing in Redshift | Hacker News Reader