Hi,
I have a table like this:
name
+------------------------------------+
| name |
+------------------------------------+
| This is an rna-binding protein. The data which is useful is available from the desired location. |
+------------------------------------+
1 row in set (0.00 sec)
I want to remove extra space i.e in between binding and protein, desired and location, useful and this.
I tried with trim function but that didn't remove these spaces.
There should be only one space in between binding and protein, desired and location, useful and this.
Output should be like this:
select * from remove;
+--------------------------------+
| name |
+--------------------------------+
| This is an rna-binding protein. The data which is useful is available from the desired location |
+--------------------------------+
1 row in set (0.00 sec)
How can i remove extra spaces???
Any suggestions??
Regards
Vanditha