CORE / SQL: start of work on guild points