user feature and user_brand feature sql code