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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

query processing

2172


Give an example of why you would want to denormalize a database

976


How to count rows with the count(*) function in ms sql server?

1015


What is named calculation? : sql server analysis services, ssas

982


What is bit data type? What's the information that can be stored inside a bit column?

921


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1081


What is the difference between Triggers and Stored Procedure?

1096


How to recover from sql injection? : sql server security

1017


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

1005


What is database mirroring?

1117


Why we need to use secondry database file? though, we can do same work using primary database file also.

6886


Does partitioning improve performance?

975


What happens if we shrink log file in sql server?

983


What is blocking and how would you troubleshoot it? : sql server database administration

1043


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1171