Book: The Practical SQL Handbook

This is a good introduction to writing SQL for database systems.