Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/08/2024 06:27 AM
Hello,
I want the consult option should display just one particular person irrespective of who logged in.
For eg: If anyone selects a consult option it should option it should always display my name "nsharma".
Please help me with the query.
Solved! Go to Solution.
07/08/2024 06:31 AM
Select u from Users u where 1=1 and u.id in (select distinct id from Users where username='nsharma')
07/08/2024 06:31 AM
@NID27 try below
select u from Users u where 1=1 and u.id =:loggedInUser
07/08/2024 07:23 AM
Thaks Rushi and Raghu for the replies. The query provided by Rushi Worked.