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 difference between drop truncate and delete?
Explain the difference between delete,drop and truncate in SQL Server?
What do you understand by integration services in sql server?
What is updatable resultset?
Do you know what are acid properties of transaction?
How to Sync Two SQL Azure Databases?
Explain how many types of relationship?
Write a SQL query in order to merge two different columns into single column?
What is ms sql server index?
Which operator do you use to return all of the rows from one query except rows are returned in a second query?
Explain the properties of a relational table?
What is report snapshot?
how would you store your query in an SSRS report or a Database server?
What is row_number () and partition by in sql server?
What is transaction server implicit?