-
With sql we can make unions and intersections.
But does sql manage exclusivity?
Imagine we have 2 tables:
- one containing "all the people"
- the second containing "a short list of people", which can be empty
Can we create a view containing: the "list", if not empty, otherwise the "all people table" ?
In other words I need a different join (inner or outer) depending on the existence of a not empty table.
Thanks for your help,
Nadina
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|