mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
db getext
This commit is contained in:
parent
a430494180
commit
fe6543ad0b
13 changed files with 315 additions and 0 deletions
11
documents/musterloesung-db-2012-09-24/d2b.sql
Normal file
11
documents/musterloesung-db-2012-09-24/d2b.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
CREATE VIEW FriendshipSymmetric AS (
|
||||
(
|
||||
SELECT person1, person2
|
||||
FROM Friendship
|
||||
)
|
||||
UNION
|
||||
(
|
||||
SELECT person2 AS person1, person1 AS person2
|
||||
FROM Friendship
|
||||
)
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue