mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-24 22:08:04 +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:
parent
fe6543ad0b
commit
8d0fccde3a
1 changed files with 2 additions and 1 deletions
|
@ -4,9 +4,10 @@ FROM (
|
|||
) f1
|
||||
JOIN ON
|
||||
(
|
||||
SELECT personni FROM FriendshipSymmetric WHERE person1 = <id>
|
||||
SELECT person2 FROM FriendshipSymmetric WHERE person1 = <id>
|
||||
) f2
|
||||
EXCEPT
|
||||
(
|
||||
SELECT * FROM FriendshipSymmetric
|
||||
)
|
||||
WHERE f1.person2 != f2.person2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue