Yes, SQL is a horror, especially when not done right. It is really easy to let queries go out of hand, and just write lines and lines of code just to craft a single SQL query. You cannot debug them. You cannot easily maintain them. You cannot easily tune them. Then why do people write them in the first place?
To the other end of the spectrum are people who completely avoid writing queries that access more than one table at a time. These are the guys leaning towards no-sql, non-rdbms solutions, developers who prefer to do the joins in their application code instead of writing a few lines of sql. ‘That’s right, we don’t need no stinkin’ SQL!’
That’s why I decided to start this blog, to get people appreciate the art of query writing once once more. Hopefully, I can manage to convince a few of you at least, to dabble into writing beautiful sql queries again.