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

what is a materialized view? : Sql dba

753


What are the operators in sql?

752


What is meaning of <> in sql?

798


how to escape special characters in sql statements? : Sql dba

717


what is the difference between char_length and length? : Sql dba

788






what are enums used for in mysql? : Sql dba

816


what is the syntax for using sql_variant_property? : Transact sql

708


What is the difference among union, minus and intersect?

731


Can a table have no primary key?

774


How does sql profiler work?

753


What are its different types of dbms?

715


What is pivot in sql?

670


What is scalar data type in pl sql?

788


What is pl sql and why it is used for?

799


How to write html code in pl sql?

804