次のようなmysqlテーブルチャットがあります
+---------+-----------+-------------+----------------+
| chat_id | sender_id | receiver_id | msg |
+---------+-----------+-------------+----------------+
| 1 | 1002 | 1001 | test |
| 2 | 1001 | 1002 | test |
| 3 | 1002 | 1001 | test |
| 5 | 1001 | 1002 | asdf |
| 6 | 1003 | 1001 | tesdf |
| 9 | 1001 | 1003 | tasdfa a fasd |
| 10 | 1001 | 1004 | dsf asdf a |
| 11 | 1005 | 1001 | dsf asdf asdf |
+---------+-----------+-------------+----------------+
ユーザー 1002、1003、1004、1005 の間でユーザー 1001 の会話があります。
ユーザー 1001 と会話したユーザー (1002,1003,1004,1005) のリストが必要です。
mysql クエリはどうなりますか? 私を助けてください。