how to select alphabets in a one column , for this the
table name is PA_TASKS and column name is TASK_NUMBER, In
TASK_NUMBER the data like this
1.1.3NN,1.1.4NN,1.5.1NN,1.3.2NE,1.5NN,1NN,1.2NE,1CE , For
this i need to disply output as NN,NN,NN,NE,NN,NN,NE,CE,
Its some urgent requirement ,thanks in advance

Answer Posted / vinay singh

select * from PA_TASKS pp
where pp.TASK_NUMBER in
(select QQ.TASK_NUMBER from PA_TASKS QQ
where length(trim(translate
(QQ.TASK_NUMBER,'0123456789',' '))) > 0
)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does cross join work in sql?

529


Explain cursor types?

572


Which tcp/ip port does sql server run?

524


What is a data manipulation language?

568


What is trigger types in sql?

529






Can we create a trigger on view?

481


how to get a list of all tables in a database? : Sql dba

507


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

2000


Is subquery faster than join?

566


How do you select unique values in sql?

494


Do we need to create index on primary key?

461


What are the packages in pl sql?

566


What are all different types of collation sensitivity?

523


what is the use of double ampersand (&&) in sql queries?

619


What is AUTH_ID and AUTH_USER in pl/sql ?

1684