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 Full Text Search ?

1 Answers   TCS,


What is the purpose of object explorer and its features? : sql server management studio

0 Answers  


Can you explain what are commit and rollback in sql?

0 Answers  


how to take backup bcp out for a column in table in sql server?

0 Answers  


employee table has employee id ----------- empid ---------------- 1 2 3 3 3 4 5 5 5 6 6 6 7 here the values r repeated two times.how to select the repeated values only.i.e 3,5,6 should alone come.

3 Answers  


Explain Geometry datatype in sql server 2008 with example

0 Answers   Infosys,


Delete duplicate rows without using rowid.

0 Answers   Nagarro,


Explain hostprotectionattribute in sql server 2005?

0 Answers  


What is row by row processing ?

2 Answers  


What is nolock?

0 Answers  


Explain Normalization and DE normalization

0 Answers   iNautix,


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

0 Answers  


Categories