From 5a9336518749aeecf09e488167ad7264293709b7 Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Tue, 30 Jul 2013 13:03:38 +0200 Subject: [PATCH] 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. --- documents/musterloesung-db-2012-09-24/d2c1.2.sql | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 documents/musterloesung-db-2012-09-24/d2c1.2.sql diff --git a/documents/musterloesung-db-2012-09-24/d2c1.2.sql b/documents/musterloesung-db-2012-09-24/d2c1.2.sql deleted file mode 100644 index 0ac52f6..0000000 --- a/documents/musterloesung-db-2012-09-24/d2c1.2.sql +++ /dev/null @@ -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 = ;