mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-25 14:28:05 +02:00
Not an alternative, but introductory work
This was not intended to be an alternative, but for explanation on how to begin such a query. This one only returns all required friendships including those already existing. Then better delete it completely.
This commit is contained in:
parent
3bb436e81a
commit
5a93365187
1 changed files with 0 additions and 5 deletions
|
@ -1,5 +0,0 @@
|
||||||
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>;
|
|
Loading…
Add table
Add a link
Reference in a new issue