Sometimes querying databases seems complicated. How can that be when SQL is so simple? It turns out that the design of the database is key to achieving simplicity. Here, we look at how to solve issues with a complex database.