Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


One table Test with single column. These are the values in
the table
a
b
c
d
e
f
g
h
I need a query (without using any variable) with output as -
a b c
d f f
g h



One table Test with single column. These are the values in the table a b c d e f g h I ne..

Answer / anjana

Table test have one column as name:

Test
name
a
b
c
d
e
f
g

select replace(name,'e','f') from test order by name


Output will be:

a
b
c
d
f
f
g

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is the use of sql profiler in sql server 2012?

0 Answers  


What is difference between rownum and row_number?

0 Answers  


What are the operating modes in which database mirroring runs?

0 Answers  


How the data stores in a page?

1 Answers  


Is it possible to create trigger on views?

0 Answers  


what is the different types of backups available in sql server? : Sql server database administration

0 Answers  


Explain the xml support sql server extends?

0 Answers  


Can an entity have two primary keys?

0 Answers  


what's the maximum size of a row? : Sql server database administration

0 Answers  


What is a mixed extent?

0 Answers  


Can a cursor be updated? If yes, how you can protect which columns are updated?

0 Answers  


How to retrieve error messages using odbc_errormsg()?

0 Answers  


Categories