As you can see, there are several ways to extract and use the data collected and stored in the SMS database. Throughout this book, we've looked at examples of queries for various reporting purposes, and now you should have a better understanding of how to create—and improve—them and how to generate queries of your own to view status messages, populate collections, and otherwise search for data based on your specific criteria. Chapter 16 focuses on another database management issue—security.