About the SQL queries

In SQL Query Analyzer, choose a vault store database and then do the following: