Building huge MySQL queries occasionally recalls Oscar Wilde: “I have spent most of the day putting in a comma and the rest of the day taking it out.”