Hi all,
Can any one give answer for this question.
Suppose im having employee table with fields, eno, ename,
dept, address1, address2, address3.
In address field employee can fill only address1 or address2
or address3... at a time he can fill three address fields.
now i want all employee names who filled only one address
field.. Plz its urjent can any one give querry.. Thanks in
advance.
Answer Posted / ajit
select *from addr1 where add1 is not null and add2 is null
and add3 is null or add1 is null and add2 is not null and
add3 is null or add1 is null and add2 is null
and add3 is not null
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
List the various oracle database objects?
In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col
please explain.. DB architecture ...
What is index in Oracle?
Explain an index segment?
WHAT IS ecc 6.0
List the parts of a database trigger.
What is connection pool in oracle?
Can a formula column be obtained through a select statement ?
 What are the oracle DML commands possible through an update strategy?
How to use subqueries with the in operator using oracle?
How to call a stored function in oracle?
Explain how are indexes update?
Why does for update in oracle 8 cause an ora-01002 error?
How data locks are respected in oracle?