瀏覽代碼

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.
Stefan Koch 12 年之前
父節點
當前提交
5a93365187
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      documents/musterloesung-db-2012-09-24/d2c1.2.sql

+ 0 - 5
documents/musterloesung-db-2012-09-24/d2c1.2.sql

@@ -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>;