i have a table student like
sname
-----
ram
ram
ram
raj
raj
raj
i need the output like
sname
-----
ram
raj
ram
raj
ram
raj
Answer Posted / deepak rohilla
select (substring(name,1,3)+' '+substring(name,13,3)
+' '+substring(name,5,3)+' '+substring(name,17,3)
+' '+substring(name,9,3)+' '+substring(name,21,3))name
from employee where name like '%raj%'
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How to query multiple tables jointly?
Why union all is faster than union?
What protocol does sql server use?
What is trace flag in sql server?
What command must you use to include the not null constraint after a table has already been created?
Explain the properties of the relational tables?
What is a filestream?
What do you understand by the analysis services in sql server?
How to loop through result set objects using mssql_fetch_array()?
What is a synonym for manipulation?
How to download and install microsoft sql server management studio express?
Create and insert into temp table in sql server?
How can a database be repaired?
Explain partitioned view?
Is truncate autocommit?