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 |
What are the new security features added in sql server 2012? : sql server security
Can you move the resources after pausing the node? : sql server database administration
What are different types of replication in sql server?
What is referential integrity? What are the advantages of it?
4 Answers Descon, Digital Domain,
How to include date and time values in sql statements?
What is sql sandbox in sql server?
How will you add a dimension to cube? : sql server analysis services, ssas
What is normalization? What number of normalization shapes are there?
What is an indexed view?
Explain the difference between primary keys and foreign keys?
How display code or Text of Stored Procedure using Sql query in Sql Server ?
What are difference between Cluster index and Non-Cluster index?
Oracle (3253)
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)