Hi all i have one query with union
select name from employee_1
Union
select name from employee_2
,
here i want to display all employee results , if i have an employee with name ='ganesh' , if there is no such employee with name='ganesh' then dont return any result from query
pls help me on this

Dharmraj ThakurRank #577 · 4.2K reputationPosted May 15, 2017, 10:28 PM EDT
Vishwas Kadamannaya111 reputationPosted May 15, 2017, 5:10 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted May 15, 2017, 9:58 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted May 11, 2017, 10:51 PM EDT