The below query should not result in any out put as we donot have any rows in the view with staffid ='DD'
SELECT *
FROM userProviderView
WHERE StaffID = 'DD'
Please find below the distinct staffid in the view
SQL> select distinct staffid FROM userProviderView;
STAFFID
-----------------------------------
17BF0E9C-AF06-21EC-C01EF05C58D94B28
2CA7A4BF-0F63-E2EF-D720650A4C712161
7B5B9706-C34B-03A5-2816C36A3153B975
7B67C887-0ABA-B8FC-7FAC8466BD136711
7B78253A-D352-FF4B-D96E60F6905B2A7D
87527451-FFE1-D0D1-8F3C2F357F68C504
8A8B2A4C-D4A3-E4B7-9AAA42251E8F5C4D
CD5A3E9E-E58D-7647-C0C1E4A322E97BD9
D3FC7CE3-B386-B295-F45520F03B1E0705
EF1DDCE0-DEA7-F81C-2D79E7AB86D46EFF
11 rows selected.
Please let me know what is wrong in the output of the first query
Thank you
Surya
| Top Expert: |
sujith80 |
| Expert Since: |
02/14/2004 |
| Accepted Solutions: |
1273 |
sujith80 has been an Expert for 4 years 10 months, during which he has posted 3436 comments
and answered 1273 questions. sujith80 is just one of 761 experts in the Oracle 10.x Zone.
20081119-EE-VQP-47 - Hierarchy / EE_QW_2_20070628