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
Name the different type of indexes in sql?
What new changes are being made in SQL Server?
What is the use of stored procedure?
How to disconnect from a sql server using mssql_close()?
Do you know what are various aggregate functions that are available?
What Are the Main Features of SQL Azure?
How many types of functions are there in sql server?
What is a cursor, index in sql?
What do you mean by 'normalization'?
Can binary strings be used in arithmetical operations?
How to copy the tables, schema and views from one sql server to another?
List the ways in which dynamic sql can be executed?
Explain iaas, paas and saas?
What is the use of keyword with encryption. Create a store procedure with encryption?
What are partitioned views?