mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-25 06:18:05 +02:00
5 lines
188 B
SQL
5 lines
188 B
SQL
SELECT f1.person2, f2.person2
|
|
FROM FriendshipSymmetric f1
|
|
JOIN FriendshipSymmetric f2 ON f1.person1 = f2.person1
|
|
WHERE f1.person2 != f2.person2
|
|
AND f1.person1 = <id>;
|