私はこのコードを得ました:
        SELECT
            topics.id,
            topics.id_first,
                            posts.id_first
          FROM topics
        LEFT
          JOIN posts
            ON posts.id = topics.id_first_msg
私の意図は、次のようなことをすることです:
        SELECT
            topics.id,
            topics.id_first,
                            posts.id_first,
                            posts.id_last
          FROM topics
        LEFT
          JOIN posts
            ON posts.id = topics.id_first_msg
        LEFT
          JOIN posts
            ON posts.id = topics.id_last_msg
しかし、Left Join を 2 回実行しようとすると、エラーが発生します。では、どの方法が正しいのでしょうか?ありがとう。