2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 14:28:05 +02:00

Fixed a copy paste errors and filtered out all edges with form (x,x)

Before, there were edges in this form (x,x) included but they shouldn't be included.
This commit is contained in:
Nilan 2013-07-27 19:42:28 +02:00
parent fe6543ad0b
commit 8d0fccde3a

View file

@ -4,9 +4,10 @@ FROM (
) f1 ) f1
JOIN ON JOIN ON
( (
SELECT personni FROM FriendshipSymmetric WHERE person1 = <id> SELECT person2 FROM FriendshipSymmetric WHERE person1 = <id>
) f2 ) f2
EXCEPT EXCEPT
( (
SELECT * FROM FriendshipSymmetric SELECT * FROM FriendshipSymmetric
) )
WHERE f1.person2 != f2.person2