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
how to start mysql server? : Sql dba
Can delete statement be rollbacked?
how to escape special characters in sql statements? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
how to use regular expression in pattern match conditions? : Sql dba
Can we rollback truncate?
What is the best sql course?
What is the current version of postgresql?
how many tables will create when we create table, what are they? : Sql dba
define sql insert statement ? : Sql dba
what is sql server agent? : Sql dba
Does group by remove duplicates?
Can we use distinct and group by together?
Do we need to rebuild index after truncate?
what is collation? : Sql dba