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 |
hi,i want t0 knom d syntax for a super key with an example
In which situation you use Self joins?
1 Answers CarrizalSoft Technologies, HP, TCS,
What is rtm version in sql server?
What is table join?
What is difference between count (*) and count 1?
What is correlated subquery in sql server?
How to sort query output in descending order in ms sql server?
Write a SQL query in order to merge two different columns into single column?
What are commit and rollback in sql?
I have student marks in a student table. I need second highest mark .Then what will the query for this?
37 Answers NetCore, Patni, SAP Labs, Temenos, Wipro,
How to select some specific rows from a table in ms sql server?
What is the difference between DATETIME2 and DATETIME?
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)