mail-id table contains two columns(email_id,userid)
it contains different types of mail-ids,and no of users.
here username length is differ na,(ex-
tamil@yahoo.com,joshua@hotmail.com like)
now i want to fetch the email-ids only starting from '@'
(ex-@gmail.com,@yahoo.com,@hotmail.com
Answer Posted / amitabha mandal
select substr(mail_id,instr(email_id,'@'),(length
(email_id,'@') - instr(email_id,'@'))+1) from table_name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is clause? : Sql dba
How is a process of pl/sql compiled?
explain what is mysql? : Sql dba
What are different types of functions in sql?
Explain the advantages and disadvantages of stored procedure?
What are field types?
Explain what is rdbms?
What is an implicit commit?
What is pl/sql table? Why is it used?
What is a string data type in sql?
What is difference between stored procedures and application procedures?
Explain the uses of database trigger.
Is sql dba a good career? : SQL DBA
how can we know the number of days between two given dates using mysql? : Sql dba
How can we find duplicate records in a table?