created sql for get users fields in drupal database