Hands on: Understanding SQL queries

All relational databases use SQL (Structured Query Language) to query the data. But when you think about it (and even when you dont), SQL belongs to an odd class of computer language because it is used to tell the database what to do, but not how to do it.