To display the all employee name with end of ‘S’ without using like operator ?

Questions by ddkdhar   answers by ddkdhar

Showing Answers 1 - 24 of 24 Answers

neetus

  • Mar 7th, 2007
 

select employee_name from employees where substr(employee_name,-1,1)='S';

Faizal

  • Mar 8th, 2007
 


Also, u can try this way:

select ename from emp where lower(substr(ename,length(ename),1))='s';

Cheers - Faizal

Raj

  • Mar 22nd, 2007
 

select ename from emp where substr(ename,-1)='S';

  Was this answer useful?  Yes

roosu

  • Sep 6th, 2007
 

Hi,
Try this:

SELECT * FROM emp WHERE ename LIKE '%S'

  Was this answer useful?  Yes

pradeep bhargav

  • Oct 12th, 2007
 

select employee_name from employees where substr(first_name,-1)='s'

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions