Recently at Kickstarter, I hacked together a way to do statistics in SQL to support A/B test reporting.

All the details are in this blog post.

Updated: