In this tutorial you'll learn: the basic theory behind the relational database model; how to use SQL, the query language for relational databases; how to export data from a database as XML; how to write a program that queries a database and formats the results as XML.