SQL for Halls of Reflection implementation.