Hacker News new | ask | show | jobs
by collyw 4308 days ago
SQL syntax is easy, but judging from co-workers and my own experience, it takes a fair bit of time to begin thinking in sets, and being able to do more complex queries (for example queries with the same table joined in more than once).

My team leader always describes the output as "if this, then that". SQL isn't imperative. I translate his ifs to wheres then I have a reasonable start on the query.