in emptable i want to retrive the name of employee whose
name in 'J'char.exp: arjun,jagadesh,niranjan,anju,aaaj etc.
Answer Posted / faridha
select * from emp where ename like 'J%' or '%J' and
not like ('arjun','jagadesh','niranjan','anju','aaaj');
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is proper subset of candidate key?
What is use of except clause? How does it differ from not in clause?
Explain what is analysis service repository?
How many triggers are possible per table?
What is the difference between sdf and mdf?
How do I view a stored procedure in sql server query?
What is lock escalation? : sql server database administration
What is catalog views?
Explain foreign key in sql server?
Explain about Normalization?
Can two tables share the same primary key?
Does partitioning help performance?
How do I open port 1433?
What are the new features in sql server 2016?
What is blocking and how would you troubleshoot it? : sql server database administration