in emptable i want to retrive the name of employee whose
name in 'J'char.exp: arjun,jagadesh,niranjan,anju,aaaj etc.
Answers were Sorted based on User's Feedback
Answer / muthu kumar
select * from emp where empname like '%j%'
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / deepa
For those who names starts with letter J is
select * from emp where name like 'j%'
For those who names with letter J is
select * from emp where name like '%j%'
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / 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 |
Answer / ashok
select * from employee where name like=%'j'%
Thanx
Ashok
Is This Answer Correct ? | 1 Yes | 7 No |
Answer / ashok
select * from employee where name like=%'j'%
Thanx
Ashok
Is This Answer Correct ? | 0 Yes | 7 No |
explain different types of jions with examples briefly?
Without Using Cursors , How to Select the Selected row??
3 Answers CarrizalSoft Technologies, Wipro,
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture
Can a synonym name of a table be used instead of a table name in a select statement?
Please get the 4 th maximum salary from a table without using any sql keyword (TOP,MAX are mot allowed)
What is the difference between char and varchar2 datatype in sql?
What do you mean by an execution plan? Why is it used? How would you view it?
Can you explain different types of locks in sql server?
What are sql server procedures?
What is Extended user-defined?
Do you know what guidelines should be followed to help minimize deadlocks?
What the different components of Replication and what is their use?