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 |
how to get rank of diffrent student in same table based on newly inserted row in sql server2008
What is the difference between seek predicate and predicate?
What does it mean to be in union?
Can we call stored procedure in view in sql server?
Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?
What is the use of for clause?
What are the different SQL Server Versions you have worked on?
What is the maximum number of index per table?
How do I list the available tables in a database I'm querying?
Explain about system stored procedure?
what information is maintained within the msdb database? : Sql server administration
What are the advantages of partitioning?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)