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 / anju hajela

select substr(task_number,-2) from pa_task;

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an alias command? : Sql dba

729


Can you select everything, but 1 or 2 fields, without writer's cramp?

691


Explain the insert into statements in sql?

729


What is pl sql code?

752


What is mutating sql table?

826






What has stored procedures in sql?

783


What are the query optimization techniques?

711


Can we connect to postgresql using sql developer?

699


What is acid property in a database?

763


what is oltp (online transaction processing)? : Sql dba

721


What is ttitle and btitle?

768


What is union?

815


What is difference between stored procedure and trigger?

744


How can we link a sql database to an existing android app?

732


what is data control language? : Sql dba

748