SQL Querying simplified.