I just finished writing an SQL statement so big that I'm pretty sure it's going to end up being the jump off point for SkyNet.