Title: SQL code
Last modified: August 20, 2016

---

# SQL code

 *  Resolved [sarunas13](https://wordpress.org/support/users/sarunas13/)
 * (@sarunas13)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/sql-code/)
 * Hello,
    In my blog we are three admins. After some changes there is a problem
   in comments area with our avatars.
 * In old comments when user1 made a comment it shows the avatar of user2 or user3.
 * i found in “phpmyadmin” at “wp_comments” that user1 appers sometimes (as a comment_author)
   with another user_id (2 or 3). I can change it and solve the solution but i would’n
   like to do it one by one.
 * How can i give a code in wp_comments that this “comment_author ” appears only
   with this “id”? But do not change it one by one..

The topic ‘SQL code’ is closed to new replies.

## Tags

 * [avatars](https://wordpress.org/support/topic-tag/avatars/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [sarunas13](https://wordpress.org/support/users/sarunas13/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/sql-code/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
