New queries for the registration table