Part 3. Database introspection and queries