How do I write an Oracle SQL query for this tricky question?
Posted
by atrueguy
on Stack Overflow
See other posts from Stack Overflow
or by atrueguy
Published on 2010-06-05T16:36:20Z
Indexed on
2010/06/08
15:32 UTC
Read the original article
Hit count: 224
Here is the table data with the column name as Ships.
+--------------+
Ships |
+--------------+
Duke of north |
---------------+
Prince of Wales|
---------------+
Baltic |
---------------+
Replace all characters between the first and the last spaces (excluding these spaces) by symbols of an asterisk (*). The number of asterisks must be equal to number of replaced characters.
© Stack Overflow or respective owner